preCUST.qsrc 14 KB

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