preCUST.qsrc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  1. # preCUST
  2. cls
  3. gs 'themes', 'indoors'
  4. !!Body Customization and Initializations
  5. if $ARGS[0] = 'BeforeCust':
  6. !! This is a placeholder at the moment
  7. end
  8. !!******************** TG Start Body Customization Menu ******************************
  9. if $ARGS[0] = 'TGStart':
  10. $start_type = 'tg'
  11. !! This is to bypass the next part if the avatar system was used
  12. !! It will be changed to bypass the head options, once more body options are added
  13. if player_avatar = 1: gt 'preCUST', 'Done', 'TGS'
  14. !! Just hair and eye color here for now; the dialog will be update as more options are added
  15. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  16. '<center><img <<$set_imgh>> src="images/pre/shared/character_creation_pic1.jpg"></center>'
  17. 'As you drift in unconsciousness, an impression of a woman forms in your mind. Many aspects of her appearance are indistinct, but there are some things you can make out.'
  18. 'She is fairly tall.'
  19. *nl
  20. '<center>Customize your:</center>'
  21. '<center><a href="exec:gs ''preCUST'', ''hair''"><img src="images/pre/shared/hair icon.png"></a> <a href="exec:gs ''begin'', ''eyes''"><img src="images/pre/shared/eye icon.png"></a></center>'
  22. *nl
  23. 'Everything else about her is fuzzy...'
  24. act 'Done': gt 'preCUST', 'Done', 'TGS'
  25. end
  26. !!******************** SG Start Body Customization Menu ******************************
  27. if $ARGS[0] = 'SGStart':
  28. $start_type = 'sgs'
  29. !! This is to bypass the next part if the avatar system was used
  30. !! It will be changed to bypass the head options, once more body options are added
  31. if player_avatar = 1: gt 'preCUST', 'Done', 'SGS'
  32. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  33. '<center><img <<$set_imgh>> src="images/pre/shared/character_creation_pic1.jpg"></center>'
  34. *nl
  35. '<center>Customize your:</center>'
  36. '<center><a href="exec:gs ''preCUST'', ''hair''"><img src="images/pre/shared/hair icon.png"></a> <a href="exec:gs ''begin'', ''eyes''"><img src="images/pre/shared/eye icon.png"></a></center>'
  37. act 'Done': gt 'preCUST', 'Done', 'SGS'
  38. end
  39. !!******************** NT Start Body Customization Menu ******************************
  40. if $ARGS[0] = 'NTStart':
  41. $start_type = 'nt'
  42. !! This is to bypass the next part if the avatar system was used
  43. !! It will be changed to bypass the head options, once more body options are added
  44. !! It is using the TG done to complete and the magikDostup to split at the end
  45. NTstart = 1
  46. !!Default Names
  47. $pcs_firstname = 'Svetlana'
  48. $pcs_lastname = 'Lebedev'
  49. $pcs_nickname = 'Sveta'
  50. !!Player names are set here
  51. $temp_firstname = '<<$pcs_firstname>>'
  52. $pcs_firstname = input("What is your first name? (Leave blank for Svetlana)")
  53. if $pcs_firstname = '':$pcs_firstname = '<<$temp_firstname>>'
  54. killvar '$temp_firstname'
  55. $temp_lastname = '<<$pcs_lastname>>'
  56. $pcs_lastname = input("What is your family name? (Leave blank for Lebedev)")
  57. if $pcs_lastname = '':$pcs_lastname = '<<$temp_lastname>>'
  58. killvar '$temp_lastname'
  59. $temp_nickname = '<<$pcs_nickname>>'
  60. $pcs_nickname = input("What is your nickname? (Leave blank for Sveta)")
  61. if $pcs_nickname = '':$pcs_nickname = '<<$temp_nickname>>'
  62. killvar '$temp_nickname'
  63. if player_avatar = 1:
  64. act 'Continue': gt 'preCUST', 'Done', 'NT'
  65. else
  66. gs 'preCUST', 'NTStart2'
  67. end
  68. end
  69. if $ARGS[0] = 'NTStart2':
  70. pcs_hairlng = 100
  71. !! Just hair and eye color here for now; the dialog will be update as more options are added
  72. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  73. '<center><img <<$set_imgh>> src="images/pre/shared/character_creation_pic1.jpg"></center>'
  74. 'As you look in the mirror, your face comes into focus. Some aspects of your appearance are already set, you can define the others now.'
  75. 'You are fairly tall.'
  76. *nl
  77. '<center>Customize your:</center>'
  78. '<center><a href="exec:gs ''preCUST'', ''hair''"><img src="images/pre/shared/hair icon.png"></a> <a href="exec:gs ''begin'', ''eyes''"><img src="images/pre/shared/eye icon.png"></a></center>'
  79. act 'Done': gt 'preCUST', 'Done', 'NT'
  80. end
  81. !!******************** Start Body Customization options ******************************
  82. if $ARGS[0] = 'hair':
  83. if pcs_haircol = 0: 'Your hair is <a href="exec:pcs_haircol = 1 & gt ''preCUST'', ''hair''">black</a>.'
  84. if pcs_haircol = 1: 'Your hair is <a href="exec:pcs_haircol = 2 & gt ''preCUST'', ''hair''">brown</a>.'
  85. if pcs_haircol = 2: 'Your hair is <a href="exec:pcs_haircol = 3 & gt ''preCUST'', ''hair''">red</a>.'
  86. if pcs_haircol = 3: 'Your hair is <a href="exec:pcs_haircol = 0 & gt ''preCUST'', ''hair''">blonde</a>.'
  87. if defcurly = 0:'And it''s naturally <a href="exec:defcurly = 1 & curly = 2147483647 & gt ''preCUST'', ''hair''">straight</a>.'
  88. if defcurly = 1:'And it''s naturally <a href="exec:defcurly = 0 & curly = 0 & gt ''preCUST'', ''hair''">curly</a>.'
  89. nathcol = pcs_haircol
  90. if $start_type = 'tg':
  91. act 'Done': gt 'preCUST', 'TGStart'
  92. elseif $start_type = 'nt':
  93. act 'Done': gt 'preCUST', 'NTStart2'
  94. else
  95. act 'Done': gt 'preCUST', 'SGStart'
  96. end
  97. end
  98. !!******************** Final variable setting and initializations ***********************
  99. if $ARGS[0] = 'Done':
  100. !! Top area for things that need to be done before setting the variables for either start
  101. year = 2016
  102. BDSMfilm = 0
  103. pornstudio = 0
  104. pfilmSTOP = 0
  105. thinkpreg = 0
  106. denypreg = 0
  107. pertemp = 1
  108. pillcvrt = 1
  109. pcs_naturallashes = pcs_lashes
  110. !! Initializing elasticity
  111. vshrink = 1
  112. vshrinkdays = 6
  113. ashrink = 1
  114. ashrinkdays = 3
  115. fairycurse = -1
  116. $excer_name[1] = 'Default 1'
  117. $excer_name[2] = 'Default 2'
  118. $excer_name[3] = 'Default 3'
  119. $excer_name[4] = 'Default 4'
  120. $excer_name[5] = 'Default 5'
  121. gs 'fight', 'Wrestlergen'
  122. monthsend[1] = 31
  123. if ((year mod 4 = 0) and (year mod 100 ! 0)) or (year mod 400 = 0):
  124. Leapyear = 1 & monthsend[2] = 29
  125. else
  126. Leapyear = 0 & monthsend[2] = 28
  127. end
  128. monthsend[3] = 31
  129. monthsend[4] = 30
  130. monthsend[5] = 31
  131. monthsend[6] = 30
  132. monthsend[7] = 31
  133. monthsend[8] = 31
  134. monthsend[9] = 30
  135. monthsend[10] = 31
  136. monthsend[11] = 30
  137. monthsend[12] = 31
  138. $monthName[1] = 'January'
  139. $monthName[2] = 'February'
  140. $monthName[3] = 'March'
  141. $monthName[4] = 'April'
  142. $monthName[5] = 'May'
  143. $monthName[6] = 'June'
  144. $monthName[7] = 'July'
  145. $monthName[8] = 'August'
  146. $monthName[9] = 'September'
  147. $monthName[10] = 'October'
  148. $monthName[11] = 'November'
  149. $monthName[12] = 'December'
  150. $month = $monthName[month]
  151. gs 'telefon', 'setup'
  152. !! TG Start Specific Variable Setting
  153. if $ARGS[1] = 'TGS':
  154. age = 18
  155. month = 5
  156. $month = 'May'
  157. day = 4
  158. week = 3
  159. hour = 13
  160. if player_avatar = 0:
  161. birthyear = year - age
  162. birthmonth = 4
  163. birthday = 1
  164. school_year = 1998
  165. end
  166. !! Body
  167. pcs_hgt = 170
  168. salo = 60
  169. dick = 0
  170. !! Stats
  171. pcs_stren = 10
  172. strenbuf = 10
  173. pcs_agil = 10
  174. agilbuf = 10
  175. pcs_vital = 10
  176. vitalbuf = 10
  177. pcs_intel = 10
  178. pcs_sprt = 10
  179. pcs_react = 10
  180. pcs_chrsm = 10
  181. pcs_prcptn = 10
  182. pcs_magik = 0
  183. money = 16500
  184. pcs_pubes = 30
  185. pcs_leghair = 12
  186. pcs_makeup = 1
  187. home_owned[1] = 1
  188. !! Maruda Hair Mod
  189. pcs_hairlng = 17
  190. !! ***********
  191. cltarelka = 1
  192. fairy = 10
  193. eda = 5
  194. poroshok = 5
  195. shampoo = 5
  196. tampon = 2
  197. pcs_energy = 100
  198. pcs_hydra = 100
  199. pcs_sleep = 100
  200. willpowermax = 150
  201. !! Starting Option Adjustments
  202. !! The TG Background options would be aplied here
  203. !! ***********
  204. end
  205. !! NT Start Specific Variable Setting
  206. if $ARGS[1] = 'NT':
  207. age = 18
  208. month = 5
  209. $month = 'May'
  210. day = 4
  211. week = 3
  212. hour = 13
  213. if player_avatar = 0:
  214. birthyear = year - age
  215. birthmonth = 4
  216. birthday = 1
  217. school_year = 1998
  218. end
  219. !! Body
  220. pcs_hgt = 170
  221. salo = 60
  222. dick = 0
  223. !! Stats
  224. pcs_stren = 20
  225. strenbuf = 20
  226. pcs_agil = 15
  227. agilbuf = 15
  228. pcs_vital = 25
  229. vitalbuf = 25
  230. pcs_intel = 30
  231. pcs_sprt = 25
  232. pcs_react = 25
  233. pcs_chrsm = 15
  234. pcs_prcptn = 40
  235. money = 13000
  236. pcs_pubes = 30
  237. pcs_leghair = 12
  238. pcs_makeup = 5
  239. cheap_purses[7] = 1
  240. $currentpursetype = 'cheap'
  241. currentpursenumber = 7
  242. bag = 1
  243. home_owned[1] = 1
  244. pcs_inhib = 15
  245. pcs_heels = 20
  246. pcs_makupskl = 15
  247. pcs_artskls = 15
  248. pcs_compskl = 20
  249. pcs_comphckng = 10
  250. pcs_chess = 15
  251. pcs_danc = 30
  252. cltarelka = 1
  253. fairy = 10
  254. eda = 5
  255. poroshok = 5
  256. shampoo = 20
  257. tampon = 15
  258. pcs_energy = 100
  259. pcs_hydra = 100
  260. pcs_sleep = 100
  261. willpowermax = 100
  262. !! Starting Option Adjustments
  263. !! The TG Background options would be aplied here
  264. !! ***********
  265. end
  266. !! SG Start Specific Variable Setting
  267. if $ARGS[1] = 'SGS' or $ARGS[1] = 'CSB':
  268. school[6] = 1
  269. sisboyday = -2
  270. home_owned[1] = 0
  271. cltarelka = 0
  272. fairy = 0
  273. eda = 0
  274. poroshok = 0
  275. shampoo = 0
  276. hcolmotherremember = pcs_haircol
  277. hcolfatherremember = pcs_haircol
  278. hcolfronce = 1
  279. !!Setting Kolkas birthday based off the PCs
  280. koldobtmp_d = rand(1,28)
  281. koldobtmp_y = birthyear
  282. koldobtmp_m = birthmonth + 11
  283. if koldobtmp_m > 12:
  284. koldobtmp_y += 1
  285. koldobtmp_m -= 12
  286. end
  287. npc_dob['A34'] = koldobtmp_y * 10000
  288. npc_dob['A34'] += koldobtmp_m * 100
  289. npc_dob['A34'] += koldobtmp_d
  290. killvar 'koldobtmp_d' & killvar 'koldobtmp_m' & killvar 'koldobtmp_y'
  291. $holyday += ', <b><<kanicont>> days left.</b>'
  292. end
  293. !!*************************
  294. !! Final Initializations
  295. VersionCheck = 5030
  296. pcs_dob = birthyear * 10000
  297. pcs_dob += (birthmonth * 100)
  298. pcs_dob += birthday
  299. age = year - ((pcs_dob - (pcs_dob mod 10000)) / 10000)
  300. if ((month * 100) + day) < pcs_dob mod 10000: age -= 1
  301. if age < 17:
  302. vidage = age
  303. else
  304. vidage = age - 1
  305. end
  306. vidageday = 300
  307. pcs_health = pcs_vital * 10 + pcs_stren * 5
  308. pcs_willpwr = pcs_intel * 5 + pcs_sprt * 5
  309. pcs_mana = (pcs_intel * pcs_magik) + pcs_magik * 100 + pcs_vital * 10 + rikudo
  310. pcs_mood = 100
  311. pcs_stam = 100
  312. nathcol = pcs_haircol
  313. oldsavepcs_haircol = 1
  314. gs 'body_shape', 'initial'
  315. !! Adding underwear and default shoes and assigning them
  316. if $ARGS[1] ! 'CSB':
  317. cheap_panties[37] = 1
  318. cheap_bras[11] = 1
  319. $pantyworntype = 'cheap'
  320. pantywornnumber = 37
  321. $braworntype = 'cheap'
  322. brawornnumber = 11
  323. sgandm[6] = 1
  324. strainers[21] = 1
  325. $shoeworntype = 'gandm'
  326. shoewornnumber = 6
  327. end
  328. !! Starting clothing set
  329. if NTstart = 1:
  330. cheap[161] = 1
  331. cheapH[161] = 100
  332. cheapB[161] = pcs_hips
  333. exercise[29] = 1
  334. exerciseH[29] = 100
  335. cheap[370] = 1
  336. cheapH[370] = 100
  337. cheapB[370] = pcs_hips
  338. swimwear[3] = 1
  339. swimwearH[3] = 60
  340. swimwearB[3] = pcs_hips
  341. sportsclothingnumber = 29
  342. gs 'clothing', 'wear', 'cheap', 370
  343. elseif goth_clothing = 1:
  344. killvar 'goth_clothing'
  345. exercise[4] = 1
  346. exerciseH[4] = 100
  347. strainers[21] = 1
  348. sgandm[43] = 1
  349. shoewornnumber = 43
  350. $shoeworntype = 'gandm'
  351. average[70] = 1
  352. averageH[70] = 100
  353. averageB[70] = pcs_hips
  354. cheap[60] = 1
  355. cheapH[60] = 100
  356. cheapB[60] = pcs_hips
  357. sportsclothingnumber = 45
  358. gs 'clothing', 'wear', 'average', 70
  359. elseif $ARGS[1] = 'CSB':
  360. cheap_panties[5] = 1
  361. cheap_bras[12] = 1
  362. $pantyworntype = 'cheap'
  363. pantywornnumber = 5
  364. $braworntype = 'cheap'
  365. brawornnumber = 12
  366. exercise[4] = 1
  367. exerciseH[4] = 100
  368. strainers[21] = 1
  369. sgandm[43] = 1
  370. shoewornnumber = 43
  371. $shoeworntype = 'gandm'
  372. cheap[397] = 1
  373. cheapH[397] = 100
  374. cheapB[397] = pcs_hips
  375. cheap[355] = 1
  376. cheapH[355] = 100
  377. cheapB[355] = pcs_hips
  378. sportsclothingnumber = 4
  379. gs 'clothing', 'wear', 'cheap', 355
  380. elseif pcs_inhib = 0:
  381. cheap[15] = 1
  382. cheapH[15] = 100
  383. cheapB[15] = pcs_hips
  384. exercise[4] = 1
  385. exerciseH[4] = 100
  386. cheap[36] = 1
  387. cheapH[36] = 100
  388. cheapB[36] = pcs_hips
  389. sportsclothingnumber = 4
  390. gs 'clothing', 'wear', 'cheap', 15
  391. elseif pcs_inhib = 5:
  392. cheap[48] = 1
  393. cheapH[48] = 100
  394. cheapB[48] = pcs_hips
  395. exercise[4] = 1
  396. exerciseH[4] = 100
  397. cheap[83] = 1
  398. cheapH[83] = 100
  399. cheapB[83] = pcs_hips
  400. sportsclothingnumber = 4
  401. gs 'clothing', 'wear', 'cheap', 48
  402. elseif pcs_inhib = 10:
  403. cheap[20] = 1
  404. cheapH[20] = 100
  405. cheapB[20] = pcs_hips
  406. exercise[4] = 1
  407. exerciseH[4] = 100
  408. cheap[70] = 1
  409. cheapH[70] = 100
  410. cheapB[70] = pcs_hips
  411. sportsclothingnumber = 4
  412. gs 'clothing', 'wear', 'cheap', 20
  413. elseif pcs_inhib = 15:
  414. cheap[32] = 1
  415. cheapH[32] = 100
  416. cheapB[32] = pcs_hips
  417. exercise[4] = 1
  418. exerciseH[4] = 100
  419. cheap[62] = 1
  420. cheapH[62] = 100
  421. cheapB[62] = pcs_hips
  422. sportsclothingnumber = 4
  423. gs 'clothing', 'wear', 'cheap', 32
  424. elseif pcs_inhib = 20:
  425. cheap[4] = 1
  426. cheapH[4] = 100
  427. cheapB[4] = pcs_hips
  428. exercise[4] = 1
  429. exerciseH[4] = 100
  430. cheap[41] = 1
  431. cheapH[41] = 100
  432. cheapB[41] = pcs_hips
  433. sportsclothingnumber = 4
  434. gs 'clothing', 'wear', 'cheap', 41
  435. elseif pcs_inhib = 25:
  436. cheap[50] = 1
  437. cheapH[50] = 100
  438. cheapB[50] = pcs_hips
  439. exercise[4] = 1
  440. exerciseH[4] = 100
  441. cheap[81] = 1
  442. cheapH[81] = 100
  443. cheapB[81] = pcs_hips
  444. sportsclothingnumber = 4
  445. gs 'clothing', 'wear', 'cheap', 50
  446. elseif pcs_inhib = 30:
  447. cheap[82] = 1
  448. cheapH[82] = 100
  449. cheapB[82] = pcs_hips
  450. exercise[4] = 1
  451. exerciseH[4] = 100
  452. cheap[43] = 1
  453. cheapH[43] = 100
  454. cheapB[43] = pcs_hips
  455. sportsclothingnumber = 4
  456. gs 'clothing', 'wear', 'cheap', 43
  457. elseif pcs_inhib = 35:
  458. cheap[43] = 1
  459. cheapH[43] = 100
  460. cheapB[43] = pcs_hips
  461. exercise[4] = 1
  462. exerciseH[4] = 100
  463. cheap[73] = 1
  464. cheapH[73] = 100
  465. cheapB[73] = pcs_hips
  466. sportsclothingnumber = 4
  467. gs 'clothing', 'wear', 'cheap', 43
  468. elseif pcs_inhib = 40:
  469. cheap[226] = 1
  470. cheapH[226] = 100
  471. cheapB[226] = pcs_hips
  472. exercise[95] = 1
  473. exerciseH[95] = 100
  474. cheap[236] = 1
  475. cheapH[236] = 100
  476. cheapB[236] = pcs_hips
  477. sportsclothingnumber = 95
  478. gs 'clothing', 'wear', 'cheap', 226
  479. elseif pcs_inhib = 45:
  480. cheap[292] = 1
  481. cheapH[292] = 100
  482. cheapB[292] = pcs_hips
  483. exercise[94] = 1
  484. exerciseH[94] = 100
  485. cheap[148] = 1
  486. cheapH[148] = 100
  487. cheapB[148] = pcs_hips
  488. sportsclothingnumber = 94
  489. gs 'clothing', 'wear', 'cheap', 148
  490. elseif pcs_inhib = 50:
  491. cheap[118] = 1
  492. cheapH[118] = 100
  493. cheapB[118] = pcs_hips
  494. exercise[58] = 1
  495. exerciseH[58] = 100
  496. cheap[136] = 1
  497. cheapH[136] = 100
  498. cheapB[136] = pcs_hips
  499. swimwear[24] = 1
  500. swimwearH[24] = 60
  501. swimwearB[24] = pcs_hips
  502. sportsclothingnumber = 58
  503. gs 'clothing', 'wear', 'cheap', 118
  504. end
  505. coat[5] = 1
  506. coatH[5] = 200
  507. defaultcoat = 5
  508. if swim_start = 58:
  509. swimwear[58] = 1
  510. swimwearH[58] = 60
  511. swimwearB[58] = pcs_hips
  512. elseif swim_start = 98:
  513. swimwear[98] = 1
  514. swimwearH[98] = 60
  515. swimwearB[98] = pcs_hips
  516. elseif swim_start = 69:
  517. swimwear[69] = 1
  518. swimwearH[69] = 60
  519. swimwearB[69] = pcs_hips
  520. end
  521. !!setting default exercise outfit
  522. if $ARGS[1] ! 'CSB':
  523. sportspantynumber = 37
  524. sportsbranumber = 11
  525. else
  526. sportspantynumber = 5
  527. sportsbranumber = 12
  528. end
  529. $sportsbratype = 'cheap'
  530. $sportspantytype = 'cheap'
  531. sportsshoenumber = 21
  532. sportscoat = 5
  533. $sportspursetype = $currentpursetype
  534. sportspursenumber = currentpursenumber
  535. $sports_clothing_name = 'default sports outfit'
  536. killvar 'swim_start'
  537. !! **********
  538. gs 'daystart'
  539. gs 'din_pav'
  540. gs 'din_npc'
  541. gs 'dinSex2'
  542. gs 'dina'
  543. gs 'din_van'
  544. gs 'din_bad'
  545. gs 'dinSex'
  546. !! 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
  547. rikudootvet = 1415
  548. gs 'BanSexType'
  549. gs 'outdoors', 'weather'
  550. menoage = rand(40,50)
  551. temprand = rand(0,10)
  552. if temprand = 0:
  553. menoage += rand(0,5)
  554. elseif temprand < 4:
  555. menoage += rand(3,10)
  556. elseif temprand < 9:
  557. menoage += rand(5,12)
  558. else
  559. menoage += rand(7,13)
  560. end
  561. !!Setting up period start and turning on auto tracking if not on hardcore difficulty
  562. daylastperiod = daystart
  563. temprand = rand(1,3)
  564. if temprand = 1:
  565. cycle = 1
  566. EggRH = rand(1,149)
  567. FocH = EggRH + 4*24
  568. mesec = 0
  569. unfertegg = 0
  570. ferteggage = 0
  571. Ovulate = 0
  572. LutH = 0
  573. daylastperiod -= FocH/24
  574. elseif temprand = 2:
  575. lastovulation = daystart
  576. cycle = 2
  577. unfertegg = 1
  578. ferteggage = rand(0,44)
  579. Ovulate = (rand(24,44) - ferteggage)
  580. if Ovulate <= 0: Ovulate = 1
  581. mesec = 0
  582. EggRH = 0
  583. FocH = 0
  584. LutH = 0
  585. daylastperiod -= 10+(ferteggage/24)
  586. elseif temprand = 3:
  587. cycle = 3
  588. LutH = rand(0,300)
  589. ferteggage = 36 + LutH
  590. mesec = 0
  591. EggRH = 0
  592. FocH = 0
  593. unfertegg = 0
  594. Ovulate = 0
  595. daylastperiod -= 10+(ferteggage/24)
  596. end
  597. if daylastperiod + 4 > daystart:
  598. lastmens = daylastperiod - 20
  599. else
  600. lastmens = daylastperiod+4
  601. end
  602. if difficulty = 4:
  603. cyccustom = 0
  604. else
  605. cyccustom = 1
  606. end
  607. pcs_horny = 0
  608. killvar 'opPRE'
  609. killvar 'tgs_skipinto'
  610. gs 'stat'
  611. showstat 0
  612. showobjs 0
  613. if $ARGS[1] = 'NT':
  614. gt 'preNT'
  615. elseif $ARGS[1] = 'TGS':
  616. gt 'preTG', 'sleepPRE'
  617. elseif $ARGS[1] = 'CSB':
  618. gt 'preCSB', 'intro_0'
  619. else
  620. gt 'preALT', 'One'
  621. end
  622. end
  623. --- preCUST ---------------------------------