intro_initialization.qsrc 11 KB

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