1
0

preCUST.qsrc 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  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. $excer_name[5] = 'Default 5'
  117. gs 'fight', 'Wrestlergen'
  118. monthsend[1] = 31
  119. if ((year mod 4 = 0) and (year mod 100 ! 0)) or (year mod 400 = 0):
  120. Leapyear = 1 & monthsend[2] = 29
  121. else
  122. Leapyear = 0 & monthsend[2] = 28
  123. end
  124. monthsend[3] = 31
  125. monthsend[4] = 30
  126. monthsend[5] = 31
  127. monthsend[6] = 30
  128. monthsend[7] = 31
  129. monthsend[8] = 31
  130. monthsend[9] = 30
  131. monthsend[10] = 31
  132. monthsend[11] = 30
  133. monthsend[12] = 31
  134. $monthName[1] = 'January'
  135. $monthName[2] = 'February'
  136. $monthName[3] = 'March'
  137. $monthName[4] = 'April'
  138. $monthName[5] = 'May'
  139. $monthName[6] = 'June'
  140. $monthName[7] = 'July'
  141. $monthName[8] = 'August'
  142. $monthName[9] = 'September'
  143. $monthName[10] = 'October'
  144. $monthName[11] = 'November'
  145. $monthName[12] = 'December'
  146. $month = $monthName[month]
  147. gs 'telefon', 'setup'
  148. !! TG Start Specific Variable Setting
  149. if $ARGS[1] = 'TGS':
  150. age = 18
  151. month = 5
  152. $month = 'May'
  153. day = 4
  154. week = 3
  155. hour = 13
  156. if player_avatar = 0:
  157. birthyear = year - age
  158. birthmonth = 4
  159. birthday = 1
  160. school_year = 1998
  161. end
  162. !! Body
  163. pcs_hgt = 170
  164. salo = 60
  165. dick = 0
  166. !! Stats
  167. pcs_stren = 10
  168. strenbuf = 10
  169. pcs_agil = 10
  170. agilbuf = 10
  171. pcs_vital = 10
  172. vitalbuf = 10
  173. pcs_intel = 10
  174. pcs_sprt = 10
  175. pcs_react = 10
  176. pcs_chrsm = 10
  177. pcs_prcptn = 10
  178. pcs_magik = 0
  179. money = 16500
  180. pcs_pubes = 30
  181. pcs_leghair = 12
  182. pcs_makeup = 1
  183. home_owned[1] = 1
  184. !! Maruda Hair Mod
  185. pcs_hairlng = 17
  186. !! ***********
  187. cltarelka = 1
  188. fairy = 10
  189. eda = 5
  190. poroshok = 5
  191. shampoo = 5
  192. tampon = 2
  193. pcs_energy = 100
  194. pcs_hydra = 100
  195. pcs_sleep = 100
  196. !! Starting Option Adjustments
  197. !! The TG Background options would be aplied here
  198. !! ***********
  199. end
  200. !! NT Start Specific Variable Setting
  201. if $ARGS[1] = 'NT':
  202. age = 18
  203. month = 5
  204. $month = 'May'
  205. day = 4
  206. week = 3
  207. hour = 13
  208. if player_avatar = 0:
  209. birthyear = year - age
  210. birthmonth = 4
  211. birthday = 1
  212. school_year = 1998
  213. end
  214. !! Body
  215. pcs_hgt = 170
  216. salo = 60
  217. dick = 0
  218. !! Stats
  219. pcs_stren = 20
  220. strenbuf = 20
  221. pcs_agil = 15
  222. agilbuf = 15
  223. pcs_vital = 25
  224. vitalbuf = 25
  225. pcs_intel = 30
  226. pcs_sprt = 25
  227. pcs_react = 25
  228. pcs_chrsm = 15
  229. pcs_prcptn = 40
  230. money = 13000
  231. pcs_pubes = 30
  232. pcs_leghair = 12
  233. pcs_makeup = 5
  234. cheap_purses[7] = 1
  235. $currentpursetype = 'cheap'
  236. currentpursenumber = 7
  237. bag = 1
  238. home_owned[1] = 1
  239. pcs_inhib = 15
  240. pcs_heels = 20
  241. pcs_makupskl = 15
  242. pcs_artskls = 15
  243. pcs_compskl = 20
  244. pcs_comphckng = 10
  245. pcs_chess = 15
  246. pcs_danc = 30
  247. cltarelka = 1
  248. fairy = 10
  249. eda = 5
  250. poroshok = 5
  251. shampoo = 20
  252. tampon = 15
  253. pcs_energy = 100
  254. pcs_hydra = 100
  255. pcs_sleep = 100
  256. !! Starting Option Adjustments
  257. !! The TG Background options would be aplied here
  258. !! ***********
  259. end
  260. !! SG Start Specific Variable Setting
  261. if $ARGS[1] = 'SGS' or $ARGS[1] = 'CSB':
  262. school[6] = 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. 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. sportsclothingnumber = 29
  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. strainers[21] = 1
  347. sgandm[43] = 1
  348. shoewornnumber = 43
  349. $shoeworntype = 'gandm'
  350. cheap[397] = 1
  351. cheapH[397] = 100
  352. cheapB[397] = pcs_hips
  353. cheap[355] = 1
  354. cheapH[355] = 100
  355. cheapB[355] = pcs_hips
  356. sportsclothingnumber = 4
  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. cheap[36] = 1
  365. cheapH[36] = 100
  366. cheapB[36] = pcs_hips
  367. sportsclothingnumber = 4
  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. cheap[83] = 1
  376. cheapH[83] = 100
  377. cheapB[83] = pcs_hips
  378. sportsclothingnumber = 4
  379. gs 'clothing', 'wear', 'cheap', 48
  380. elseif pcs_inhib = 10:
  381. cheap[20] = 1
  382. cheapH[20] = 100
  383. cheapB[20] = pcs_hips
  384. exercise[4] = 1
  385. exerciseH[4] = 100
  386. cheap[70] = 1
  387. cheapH[70] = 100
  388. cheapB[70] = pcs_hips
  389. sportsclothingnumber = 4
  390. gs 'clothing', 'wear', 'cheap', 20
  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. cheap[62] = 1
  398. cheapH[62] = 100
  399. cheapB[62] = pcs_hips
  400. sportsclothingnumber = 4
  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. cheap[41] = 1
  409. cheapH[41] = 100
  410. cheapB[41] = pcs_hips
  411. sportsclothingnumber = 4
  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. cheap[81] = 1
  420. cheapH[81] = 100
  421. cheapB[81] = pcs_hips
  422. sportsclothingnumber = 4
  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. cheap[43] = 1
  431. cheapH[43] = 100
  432. cheapB[43] = pcs_hips
  433. sportsclothingnumber = 4
  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. cheap[73] = 1
  442. cheapH[73] = 100
  443. cheapB[73] = pcs_hips
  444. sportsclothingnumber = 4
  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. if $ARGS[1] ! 'CSB':
  465. sportspantynumber = 37
  466. sportsbranumber = 11
  467. else
  468. sportspantynumber = 5
  469. sportsbranumber = 12
  470. end
  471. $sportsbratype = 'cheap'
  472. $sportspantytype = 'cheap'
  473. sportsshoenumber = 21
  474. sportscoat = 5
  475. $sportspursetype = $currentpursetype
  476. sportspursenumber = currentpursenumber
  477. $sports_clothing_name = 'default sports outfit'
  478. killvar 'swim_start'
  479. !! **********
  480. gs 'daystart'
  481. gs 'din_pav'
  482. gs 'din_npc'
  483. gs 'dinSex2'
  484. gs 'dina'
  485. gs 'din_van'
  486. gs 'din_bad'
  487. gs 'dinSex'
  488. gs 'dinBoroda'
  489. gs 'BanSexType'
  490. gs 'outdoors', 'weather'
  491. menoage = rand(40,50)
  492. temprand = rand(0,10)
  493. if temprand = 0:
  494. menoage += rand(0,5)
  495. elseif temprand < 4:
  496. menoage += rand(3,10)
  497. elseif temprand < 9:
  498. menoage += rand(5,12)
  499. else
  500. menoage += rand(7,13)
  501. end
  502. daylastperiod = daystart
  503. temprand = rand(1,3)
  504. if temprand = 1:
  505. cycle = 1
  506. EggRH = rand(1,149)
  507. FocH = EggRH + 4*24
  508. mesec = 0
  509. unfertegg = 0
  510. ferteggage = 0
  511. Ovulate = 0
  512. LutH = 0
  513. daylastperiod -= FocH/24
  514. elseif temprand = 2:
  515. lastovulation = daystart
  516. cycle = 2
  517. unfertegg = 1
  518. ferteggage = rand(0,44)
  519. Ovulate = (rand(24,44) - ferteggage)
  520. if Ovulate <= 0: Ovulate = 1
  521. mesec = 0
  522. EggRH = 0
  523. FocH = 0
  524. LutH = 0
  525. daylastperiod -= 10+(ferteggage/24)
  526. elseif temprand = 3:
  527. cycle = 3
  528. LutH = rand(0,300)
  529. ferteggage = 36 + LutH
  530. mesec = 0
  531. EggRH = 0
  532. FocH = 0
  533. unfertegg = 0
  534. Ovulate = 0
  535. daylastperiod -= 10+(ferteggage/24)
  536. end
  537. if daylastperiod + 4 > daystart:
  538. lastmens = daylastperiod - 20
  539. else
  540. lastmens = daylastperiod+4
  541. end
  542. pcs_horny = 0
  543. killvar 'opPRE'
  544. killvar 'tgs_skipinto'
  545. gs 'stat'
  546. showstat 0
  547. showobjs 0
  548. if $ARGS[1] = 'NT':
  549. gt 'preNT'
  550. elseif $ARGS[1] = 'TGS':
  551. gt 'preTG', 'sleepPRE'
  552. elseif $ARGS[1] = 'CSB':
  553. gt 'preCSB', 'intro_0'
  554. else
  555. gt 'preALT', 'One'
  556. end
  557. end
  558. --- preCUST ---------------------------------