preCUST.qsrc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602
  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':
  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
  310. cheap_panties[37] = 1
  311. cheap_bras[11] = 1
  312. $pantyworntype = 'cheap'
  313. pantywornnumber = 37
  314. $braworntype = 'cheap'
  315. brawornnumber = 11
  316. !!adding default shoes and assigning them
  317. sgandm[6] = 1
  318. strainers[21] = 1
  319. $shoeworntype = 'gandm'
  320. shoewornnumber = 6
  321. !! Starting clothing set
  322. if NTstart = 1:
  323. cheap[161] = 1
  324. cheapH[161] = 100
  325. cheapB[161] = pcs_hips
  326. exercise[29] = 1
  327. exerciseH[29] = 100
  328. sportsclothingnumber = 29
  329. cheap[370] = 1
  330. cheapH[370] = 100
  331. cheapB[370] = pcs_hips
  332. swimwear[3] = 1
  333. swimwearH[3] = 60
  334. swimwearB[3] = pcs_hips
  335. gs 'clothing', 'wear', 'cheap', 370
  336. elseif pcs_inhib = 0:
  337. cheap[15] = 1
  338. cheapH[15] = 100
  339. cheapB[15] = pcs_hips
  340. exercise[4] = 1
  341. exerciseH[4] = 100
  342. sportsclothingnumber = 4
  343. cheap[36] = 1
  344. cheapH[36] = 100
  345. cheapB[36] = pcs_hips
  346. gs 'clothing', 'wear', 'cheap', 15
  347. elseif pcs_inhib = 5:
  348. cheap[48] = 1
  349. cheapH[48] = 100
  350. cheapB[48] = pcs_hips
  351. exercise[4] = 1
  352. exerciseH[4] = 100
  353. sportsclothingnumber = 4
  354. cheap[83] = 1
  355. cheapH[83] = 100
  356. cheapB[83] = pcs_hips
  357. gs 'clothing', 'wear', 'cheap', 48
  358. elseif pcs_inhib = 10:
  359. cheap[49] = 1
  360. cheapH[49] = 100
  361. cheapB[49] = pcs_hips
  362. exercise[4] = 1
  363. exerciseH[4] = 100
  364. sportsclothingnumber = 4
  365. cheap[70] = 1
  366. cheapH[70] = 100
  367. cheapB[70] = pcs_hips
  368. gs 'clothing', 'wear', 'cheap', 49
  369. elseif pcs_inhib = 15:
  370. cheap[32] = 1
  371. cheapH[32] = 100
  372. cheapB[32] = pcs_hips
  373. exercise[4] = 1
  374. exerciseH[4] = 100
  375. sportsclothingnumber = 4
  376. cheap[62] = 1
  377. cheapH[62] = 100
  378. cheapB[62] = pcs_hips
  379. gs 'clothing', 'wear', 'cheap', 32
  380. elseif pcs_inhib = 20:
  381. cheap[4] = 1
  382. cheapH[4] = 100
  383. cheapB[4] = pcs_hips
  384. exercise[4] = 1
  385. exerciseH[4] = 100
  386. sportsclothingnumber = 4
  387. cheap[41] = 1
  388. cheapH[41] = 100
  389. cheapB[41] = pcs_hips
  390. gs 'clothing', 'wear', 'cheap', 41
  391. elseif pcs_inhib = 25:
  392. cheap[50] = 1
  393. cheapH[50] = 100
  394. cheapB[50] = pcs_hips
  395. exercise[4] = 1
  396. exerciseH[4] = 100
  397. sportsclothingnumber = 4
  398. cheap[81] = 1
  399. cheapH[81] = 100
  400. cheapB[81] = pcs_hips
  401. gs 'clothing', 'wear', 'cheap', 50
  402. elseif pcs_inhib = 30:
  403. cheap[82] = 1
  404. cheapH[82] = 100
  405. cheapB[82] = pcs_hips
  406. exercise[4] = 1
  407. exerciseH[4] = 100
  408. sportsclothingnumber = 4
  409. cheap[43] = 1
  410. cheapH[43] = 100
  411. cheapB[43] = pcs_hips
  412. gs 'clothing', 'wear', 'cheap', 43
  413. elseif pcs_inhib = 35:
  414. cheap[43] = 1
  415. cheapH[43] = 100
  416. cheapB[43] = pcs_hips
  417. exercise[4] = 1
  418. exerciseH[4] = 100
  419. sportsclothingnumber = 4
  420. cheap[73] = 1
  421. cheapH[73] = 100
  422. cheapB[73] = pcs_hips
  423. gs 'clothing', 'wear', 'cheap', 43
  424. end
  425. coat[5] = 1
  426. coatH[5] = 200
  427. defaultcoat = 5
  428. if swim_start = 58:
  429. swimwear[58] = 1
  430. swimwearH[58] = 60
  431. swimwearB[58] = pcs_hips
  432. elseif swim_start = 98:
  433. swimwear[98] = 1
  434. swimwearH[98] = 60
  435. swimwearB[98] = pcs_hips
  436. elseif swim_start = 69:
  437. swimwear[69] = 1
  438. swimwearH[69] = 60
  439. swimwearB[69] = pcs_hips
  440. end
  441. !!setting default exercise outfit
  442. $sportsbratype = 'cheap'
  443. sportsbranumber = 11
  444. $sportspantytype = 'cheap'
  445. sportspantynumber = 37
  446. sportsshoenumber = 21
  447. sportscoat = 5
  448. $sportspursetype = $currentpursetype
  449. sportspursenumber = currentpursenumber
  450. killvar 'swim_start'
  451. !! **********
  452. gs 'daystart'
  453. gs 'din_pav'
  454. gs 'din_npc'
  455. gs 'dinSex2'
  456. gs 'dina'
  457. gs 'din_van'
  458. gs 'din_bad'
  459. gs 'dinSex'
  460. gs 'dinBoroda'
  461. gs 'BanSexType'
  462. gs 'outdoors', 'weather'
  463. menoage = rand(40,50)
  464. temprand = rand(0,10)
  465. if temprand = 0:
  466. menoage += rand(0,5)
  467. elseif temprand < 4:
  468. menoage += rand(3,10)
  469. elseif temprand < 9:
  470. menoage += rand(5,12)
  471. else
  472. menoage += rand(7,13)
  473. end
  474. daylastperiod = daystart
  475. temprand = rand(1,3)
  476. if temprand = 1:
  477. cycle = 1
  478. EggRH = rand(1,149)
  479. FocH = EggRH + 4*24
  480. mesec = 0
  481. unfertegg = 0
  482. ferteggage = 0
  483. Ovulate = 0
  484. LutH = 0
  485. daylastperiod -= FocH/24
  486. elseif temprand = 2:
  487. cycle = 2
  488. unfertegg = 1
  489. ferteggage = rand(0,44)
  490. Ovulate = (rand(24,44) - ferteggage)
  491. if Ovulate <= 0: Ovulate = 1
  492. mesec = 0
  493. EggRH = 0
  494. FocH = 0
  495. LutH = 0
  496. daylastperiod -= 10+(ferteggage/24)
  497. elseif temprand = 3:
  498. cycle = 3
  499. LutH = rand(0,300)
  500. ferteggage = 36 + LutH
  501. mesec = 0
  502. EggRH = 0
  503. FocH = 0
  504. unfertegg = 0
  505. Ovulate = 0
  506. daylastperiod -= 10+(ferteggage/24)
  507. end
  508. if daylastperiod + 4 > daystart:
  509. lastmens = daylastperiod - 20
  510. else
  511. lastmens = daylastperiod+4
  512. end
  513. pcs_horny = 0
  514. killvar 'opPRE'
  515. killvar 'tgs_skipinto'
  516. gs 'stat'
  517. showstat 0
  518. showobjs 0
  519. if $ARGS[1] = 'NT':
  520. gt 'preNT'
  521. elseif $ARGS[1] = 'TGS':
  522. gt 'preTG', 'sleepPRE'
  523. else
  524. gt 'preALT', 'One'
  525. end
  526. end
  527. --- preCUST ---------------------------------