intro_initialization_city.qsrc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519
  1. # intro_initialization_city
  2. !!*************************
  3. !! Final Initializations
  4. !! Top area for things that need to be done before setting the variables for either start
  5. if mid($start_type,1,3) ! 'uni':
  6. month = 6
  7. $month = 'June'
  8. day = 4
  9. week = 2
  10. hour = 13
  11. end
  12. year = 2017
  13. BDSMfilm = 0
  14. pornstudio = 0
  15. pfilmSTOP = 0
  16. thinkpreg = 0
  17. denypreg = 0
  18. pertemp = 1
  19. pillcvrt = 1
  20. pcs_naturallashes = pcs_lashes
  21. !! Initializing elasticity
  22. vshrink = 1
  23. vshrinkdays = 6
  24. ashrink = 1
  25. ashrinkdays = 3
  26. fairycurse = -1
  27. $excer_name[1] = 'Default 1'
  28. $excer_name[2] = 'Default 2'
  29. $excer_name[3] = 'Default 3'
  30. $excer_name[4] = 'Default 4'
  31. $excer_name[5] = 'Default 5'
  32. monthsend[1] = 31
  33. if ((year mod 4 = 0) and (year mod 100 ! 0)) or (year mod 400 = 0):
  34. Leapyear = 1 & monthsend[2] = 29
  35. else
  36. Leapyear = 0 & monthsend[2] = 28
  37. end
  38. monthsend[3] = 31
  39. monthsend[4] = 30
  40. monthsend[5] = 31
  41. monthsend[6] = 30
  42. monthsend[7] = 31
  43. monthsend[8] = 31
  44. monthsend[9] = 30
  45. monthsend[10] = 31
  46. monthsend[11] = 30
  47. monthsend[12] = 31
  48. $monthName[1] = 'January'
  49. $monthName[2] = 'February'
  50. $monthName[3] = 'March'
  51. $monthName[4] = 'April'
  52. $monthName[5] = 'May'
  53. $monthName[6] = 'June'
  54. $monthName[7] = 'July'
  55. $monthName[8] = 'August'
  56. $monthName[9] = 'September'
  57. $monthName[10] = 'October'
  58. $monthName[11] = 'November'
  59. $monthName[12] = 'December'
  60. $month = $monthName[month]
  61. gs 'telefon', 'setup'
  62. pcs_dob = birthyear * 10000
  63. pcs_dob += (birthmonth * 100)
  64. pcs_dob += birthday
  65. age = year - ((pcs_dob - (pcs_dob mod 10000)) / 10000)
  66. if ((month * 100) + day) < pcs_dob mod 10000: age -= 1
  67. !! apartment access and two months of rent paid
  68. if mid($start_type,1,4) = 'city':
  69. gs 'homes_properties', 'rent_property', 'city_apartment', 61
  70. gs 'homes_properties', 'set_home', 'city_apartment'
  71. end
  72. vidage = age - 1
  73. vidageday = 300
  74. pcs_health = pcs_vital * 10 + pcs_stren * 5
  75. pcs_willpwr = pcs_intel * 5 + pcs_sprt * 5
  76. pcs_mana = (pcs_intel * pcs_magik) + pcs_magik * 100 + pcs_vital * 10 + rikudo
  77. pcs_mood = 100
  78. pcs_stam = 100
  79. nathcol = pcs_haircol
  80. pcs_pubecol = pcs_haircol & pcs_pubecol[1] = 1
  81. oldsavepcs_haircol = 1
  82. gs 'body', 'initial'
  83. !! **********
  84. gs 'daystart'
  85. gs 'yearstart'
  86. gs 'din_pav'
  87. gs 'din_npc'
  88. gs 'dinSex2'
  89. gs 'dina'
  90. gs 'din_van'
  91. gs 'din_bad'
  92. gs 'dinSex'
  93. !! KEY! I merged 'dinBoroda' with 'clener' and removed the dynamics. This line was at the end of dinBoroda, so I moved it here just in case. Sicaa
  94. rikudootvet = 1415
  95. gs 'BanSexType'
  96. gs 'outdoors', 'weather'
  97. menoage = rand(40,50)
  98. temprand = rand(0,10)
  99. if temprand = 0:
  100. menoage += rand(0,5)
  101. elseif temprand < 4:
  102. menoage += rand(3,10)
  103. elseif temprand < 9:
  104. menoage += rand(5,12)
  105. else
  106. menoage += rand(7,13)
  107. end
  108. !!Setting up period start and turning on auto tracking if not on hardcore difficulty
  109. daylastperiod = daystart
  110. temprand = rand(1,3)
  111. if temprand = 1:
  112. cycle = 1
  113. EggRH = rand(1,149)
  114. FocH = EggRH + 4*24
  115. mesec = 0
  116. unfertegg = 0
  117. ferteggage = 0
  118. Ovulate = 0
  119. LutH = 0
  120. daylastperiod -= FocH/24
  121. elseif temprand = 2:
  122. lastovulation = daystart
  123. cycle = 2
  124. unfertegg = 1
  125. ferteggage = rand(0,44)
  126. Ovulate = (rand(24,44) - ferteggage)
  127. if Ovulate <= 0: Ovulate = 1
  128. mesec = 0
  129. EggRH = 0
  130. FocH = 0
  131. LutH = 0
  132. daylastperiod -= 10+(ferteggage/24)
  133. elseif temprand = 3:
  134. cycle = 3
  135. LutH = rand(0,300)
  136. ferteggage = 36 + LutH
  137. mesec = 0
  138. EggRH = 0
  139. FocH = 0
  140. unfertegg = 0
  141. Ovulate = 0
  142. daylastperiod -= 10+(ferteggage/24)
  143. end
  144. if daylastperiod + 4 > daystart:
  145. lastmens = daylastperiod - 20
  146. else
  147. lastmens = daylastperiod+4
  148. end
  149. if difficulty = 4:
  150. cyccustom = 0
  151. else
  152. cyccustom = 1
  153. end
  154. gs 'npcstatic1'
  155. gs 'npcstatic2'
  156. gs 'npcstatic3'
  157. gs 'npcstatic4'
  158. gs 'npcstatic5'
  159. gs 'npcstatic6'
  160. pcs_horny = 0
  161. killvar 'opPRE'
  162. killvar 'tgs_skipinto'
  163. gs 'stat'
  164. showstat 0
  165. showobjs 0
  166. !!Clothing has to run last so that hip size is set
  167. !! Adding underwear and default shoes and assigning them
  168. cheap_panties[1] = 1
  169. cheap_bras[1] = 1
  170. $pantyworntype = 'cheap'
  171. pantywornnumber = 1
  172. $braworntype = 'cheap'
  173. brawornnumber = 1
  174. gm_shoe[6] = 1
  175. $shoeworntype = 'gm'
  176. shoewornnumber = 6
  177. gm_coats[1] = 1
  178. $coatworntype = 'gm'
  179. coatwornnumber = 1
  180. !! Starting clothing set
  181. cheap_panties[12] = 1
  182. cheap_bras[12] = 1
  183. danilovich_outfits[81] = 1
  184. danilovich_outfits_h[81] = 100
  185. danilovich_shoe[21] = 1
  186. gm_shoe[9] = 1
  187. gm_outfits[30] = 1
  188. gm_outfits_h[30] = 100
  189. gm_outfits_b[30] = pcs_hips
  190. cats_dress[1] = 1
  191. cats_dress_h[1] = 100
  192. cats_dress_b[1] = pcs_hips
  193. danilovich_swimsuit[3] = 1
  194. danilovich_swimsuit_h[3] = 60
  195. danilovich_swimsuit_b[3] = pcs_hips
  196. if school_clothing = 1:
  197. cats_panties[15] = 1
  198. cats_bras[15] = 1
  199. $pantyworntype = 'cats'
  200. pantywornnumber = 15
  201. $braworntype = 'cats'
  202. brawornnumber = 15
  203. danilovich_outfits[91] = 1
  204. danilovich_outfits_h[91] = 100
  205. danilovich_shoe[21] = 0
  206. danilovich_shoe[19] = 1
  207. gm_shoe[9] = 0
  208. gm_shoe[25] = 0
  209. shoewornnumber = 25
  210. $shoeworntype = 'gm'
  211. bomba_dress[7] = 1
  212. bomba_dress_h[7] = 100
  213. bomba_dress_b[7] = pcs_hips
  214. dolls_shoe[1] = 1
  215. dolls_dress[4] = 1
  216. dolls_dress_h[4] = 100
  217. dolls_dress_b[4] = pcs_hips
  218. dolls_dress[23] = 1
  219. dolls_dress_h[23] = 100
  220. dolls_dress_b[23] = pcs_hips
  221. dolls_outfits[16] = 1
  222. dolls_outfits_h[16] = 100
  223. dolls_outfits_b[16] = pcs_hips
  224. dolls_outfits[31] = 1
  225. dolls_outfits_h[31] = 100
  226. dolls_outfits_b[31] = pcs_hips
  227. sportsclothingnumber = 91
  228. gs 'clothing', 'wear', 'dolls_dress', 4
  229. elseif pcs_inhib < 5:
  230. gm_outfits[30] = 1
  231. gm_outfits_h[30] = 100
  232. gm_outfits_b[30] = pcs_hips
  233. gm_outfits[2] = 1
  234. gm_outfits_h[2] = 100
  235. gm_outfits_b[2] = pcs_hips
  236. gm_outfits[54] = 1
  237. gm_outfits_h[54] = 100
  238. gm_outfits_b[54] = pcs_hips
  239. coco_outfits[5] = 1
  240. coco_outfits_h[5] = 100
  241. coco_outfits_b[5] = pcs_hips
  242. danilovich_outfits[81] = 1
  243. danilovich_outfits_h[81] = 100
  244. cats_dress[14] = 1
  245. cats_dress_h[14] = 100
  246. cats_dress_b[14] = pcs_hips
  247. sportsclothingnumber = 81
  248. gs 'clothing', 'wear', 'cats_dress', 1
  249. elseif pcs_inhib < 10:
  250. gm_outfits[15] = 1
  251. gm_outfits_h[15] = 100
  252. gm_outfits_b[15] = pcs_hips
  253. danilovich_outfits[80] = 1
  254. danilovich_outfits_h[80] = 100
  255. flamingos_outfits[9] = 1
  256. flamingos_outfits_h[9] = 100
  257. flamingos_outfits_b[9] = pcs_hips
  258. nerdvana_outfits[38] = 1
  259. nerdvana_outfits_h[38] = 100
  260. nerdvana_outfits_b[38] = pcs_hips
  261. gm_office[11] = 1
  262. gm_office_h[11] = 100
  263. gm_office_b[11] = pcs_hips
  264. gm_dress[4] = 1
  265. gm_dress_h[4] = 100
  266. gm_dress_b[4] = pcs_hips
  267. sportsclothingnumber = 80
  268. gs 'clothing', 'wear', 'gm_dress', 4
  269. elseif pcs_inhib < 15:
  270. gm_outfits[58] = 1
  271. gm_outfits_h[58] = 100
  272. gm_outfits_b[58] = pcs_hips
  273. danilovich_outfits[106] = 1
  274. danilovich_outfits_h[106] = 100
  275. gm_dress[7] = 1
  276. gm_dress_h[7] = 100
  277. gm_dress_b[7] = pcs_hips
  278. gm_dress[16] = 1
  279. gm_dress_h[16] = 100
  280. gm_dress_b[16] = pcs_hips
  281. bomba_outfits[12] = 1
  282. bomba_outfits_h[12] = 100
  283. bomba_outfits_b[12] = pcs_hips
  284. bomba_outfits[3] = 1
  285. bomba_outfits_h[3] = 100
  286. bomba_outfits_b[3] = pcs_hips
  287. sportsclothingnumber = 106
  288. gs 'clothing', 'wear', 'gm_dress', 7
  289. elseif pcs_inhib < 20:
  290. gm_outfits[55] = 1
  291. gm_outfits_h[55] = 100
  292. gm_outfits_b[55] = pcs_hips
  293. danilovich_outfits[102] = 1
  294. danilovich_outfits_h[102] = 100
  295. danilovich_outfits[64] = 1
  296. danilovich_outfits_h[64] = 100
  297. flamingos_dress[109] = 1
  298. flamingos_dress_h[109] = 100
  299. flamingos_dress_b[109] = pcs_hips
  300. gm_outfits[99] = 1
  301. gm_outfits_h[99] = 100
  302. gm_outfits_b[99] = pcs_hips
  303. gm_dress[7] = 1
  304. gm_dress_h[7] = 100
  305. gm_dress_b[7] = pcs_hips
  306. sportsclothingnumber = 43
  307. gs 'clothing', 'wear', 'gm_outfits', 99
  308. elseif pcs_inhib < 25:
  309. gm_outfits[58] = 1
  310. gm_outfits_h[58] = 100
  311. gm_outfits_b[58] = pcs_hips
  312. gm_outfits[181] = 1
  313. gm_outfits_h[181] = 100
  314. gm_outfits_b[181] = pcs_hips
  315. dolls_outfits[1] = 1
  316. dolls_outfits_h[1] = 100
  317. dolls_outfits_b[1] = pcs_hips
  318. flamingos_dress[59] = 1
  319. flamingos_dress_h[59] = 100
  320. flamingos_dress_b[59] = pcs_hips
  321. danilovich_outfits[87] = 1
  322. danilovich_outfits_h[87] = 100
  323. gm_dress[39] = 1
  324. gm_dress_h[39] = 100
  325. gm_dress_b[39] = pcs_hips
  326. sportsclothingnumber = 1
  327. gs 'clothing', 'wear', 'flamingos_dress', 59
  328. elseif pcs_inhib < 30:
  329. gm_outfits[91] = 1
  330. gm_outfits_h[91] = 100
  331. gm_outfits_b[91] = pcs_hips
  332. danilovich_outfits[96] = 1
  333. danilovich_outfits_h[96] = 100
  334. flamingos_dress[89] = 1
  335. flamingos_dress_h[89] = 100
  336. flamingos_dress_b[89] = pcs_hips
  337. fashionista_outfits[17] = 1
  338. fashionista_outfits_h[17] = 100
  339. fashionista_outfits_b[17] = pcs_hips
  340. scandalicious_dress[2] = 1
  341. scandalicious_dress_h[2] = 100
  342. scandalicious_dress_b[2] = pcs_hips
  343. gm_dress[57] = 1
  344. gm_dress_h[57] = 100
  345. gm_dress_b[57] = pcs_hips
  346. sportsclothingnumber = 48
  347. gs 'clothing', 'wear', 'flamingos_dress', 89
  348. elseif pcs_inhib < 35:
  349. gm_outfits[95] = 1
  350. gm_outfits_h[95] = 100
  351. gm_outfits_b[95] = pcs_hips
  352. danilovich_outfits[48] = 1
  353. danilovich_outfits_h[48] = 100
  354. scandalicious_dress[18] = 1
  355. scandalicious_dress_h[18] = 100
  356. scandalicious_dress_b[18] = pcs_hips
  357. bomba_outfits[36] = 1
  358. bomba_outfits_h[36] = 100
  359. bomba_outfits_b[36] = pcs_hips
  360. cats_dress[67] = 1
  361. cats_dress_h[67] = 100
  362. cats_dress_b[67] = pcs_hips
  363. gm_dress[63] = 1
  364. gm_dress_h[63] = 100
  365. gm_dress_b[63] = pcs_hips
  366. sportsclothingnumber = 40
  367. gs 'clothing', 'wear', 'bomba_outfits', 36
  368. elseif pcs_inhib < 40:
  369. gm_outfits[124] = 1
  370. gm_outfits_h[124] = 100
  371. gm_outfits_b[124] = pcs_hips
  372. danilovich_outfits[45] = 1
  373. danilovich_outfits_h[45] = 100
  374. scandalicious_dress[45] = 1
  375. scandalicious_dress_h[45] = 100
  376. scandalicious_dress_b[45] = pcs_hips
  377. cats_dress[203] = 1
  378. cats_dress_h[203] = 100
  379. cats_dress_b[203] = pcs_hips
  380. cats_outfits[196] = 1
  381. cats_outfits_h[196] = 100
  382. cats_outfits_b[196] = pcs_hips
  383. gm_dress[89] = 1
  384. gm_dress_h[89] = 100
  385. gm_dress_b[89] = pcs_hips
  386. sportsclothingnumber = 45
  387. gs 'clothing', 'wear', 'cats_dress', 203
  388. elseif pcs_inhib < 45:
  389. gm_outfits[131] = 1
  390. gm_outfits_h[131] = 100
  391. gm_outfits_b[131] = pcs_hips
  392. danilovich_outfits[38] = 1
  393. danilovich_outfits_h[38] = 100
  394. scandalicious_dress[7] = 1
  395. scandalicious_dress_h[7] = 100
  396. scandalicious_dress_b[7] = pcs_hips
  397. market_outfits[2] = 1
  398. market_outfits_h[2] = 40
  399. market_outfits_b[2] = pcs_hips
  400. cats_dress[219] = 1
  401. cats_dress_h[219] = 100
  402. cats_dress_b[219] = pcs_hips
  403. gm_dress[109] = 1
  404. gm_dress_h[109] = 100
  405. gm_dress_b[109] = pcs_hips
  406. sportsclothingnumber = 38
  407. gs 'clothing', 'wear', 'market_outfits', 2
  408. elseif pcs_inhib < 50:
  409. gm_outfits[145] = 1
  410. gm_outfits_h[145] = 100
  411. gm_outfits_b[145] = pcs_hips
  412. danilovich_outfits[17] = 1
  413. danilovich_outfits_h[17] = 100
  414. scandalicious_dress[96] = 1
  415. scandalicious_dress_h[96] = 100
  416. scandalicious_dress_b[96] = pcs_hips
  417. market_outfits[10] = 1
  418. market_outfits_h[10] = 40
  419. market_outfits_b[10] = pcs_hips
  420. nerdvana_outfits[60] = 1
  421. nerdvana_outfits_h[60] = 100
  422. nerdvana_outfits_b[60] = pcs_hips
  423. gm_dress[123] = 1
  424. gm_dress_h[123] = 100
  425. gm_dress_b[123] = pcs_hips
  426. sportsclothingnumber = 143
  427. gs 'clothing', 'wear', 'scandalicious_dress', 96
  428. else
  429. gm_outfits[149] = 1
  430. gm_outfits_h[149] = 100
  431. gm_outfits_b[149] = pcs_hips
  432. danilovich_outfits[15] = 1
  433. danilovich_outfits_h[15] = 100
  434. scandalicious_dress[46] = 1
  435. scandalicious_dress_h[46] = 100
  436. scandalicious_dress_b[46] = pcs_hips
  437. scandalicious_outfits[16] = 1
  438. scandalicious_outfits_h[16] = 100
  439. scandalicious_outfits_b[16] = pcs_hips
  440. market_outfits[12] = 1
  441. market_outfits_h[12] = 40
  442. market_outfits_b[12] = pcs_hips
  443. market_outfits
  444. gm_dress[149] = 1
  445. gm_dress_h[149] = 100
  446. gm_dress_b[149] = pcs_hips
  447. scandalicious_bikinis[55] = 1
  448. scandalicious_bikinis_h[55] = 60
  449. scandalicious_bikinis_b[55] = pcs_hips
  450. sportsclothingnumber = 15
  451. gs 'clothing', 'wear', 'scandalicious_dress', 46
  452. end
  453. if swim_start = 99:
  454. allure_swimsuit[99] = 1
  455. allure_swimsuit_h[99] = 60
  456. allure_swimsuit_b[99] = pcs_hips
  457. elseif swim_start = 1:
  458. danilovich_swimsuit[1] = 1
  459. danilovich_swimsuit_h[1] = 60
  460. danilovich_swimsuit_b[1] = pcs_hips
  461. end
  462. if danilovich_shoe[17] = 1:
  463. sportsshoenumber = 17
  464. else
  465. sportsshoenumber = 21
  466. end
  467. $sportspursetype = $currentpursetype
  468. sportspursenumber = currentpursenumber
  469. $sports_clothing_name = 'default sports outfit'
  470. killvar 'swim_start'
  471. gs 'body'
  472. gs 'body', 'DailyUpdate'
  473. gs 'AppearanceSystem', 'UpdateBaseAppearnce'
  474. --- intro_initialization_city ---------------------------------