preCUST.qsrc 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637
  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. !! Starting Option Adjustments
  201. !! The TG Background options would be aplied here
  202. !! ***********
  203. end
  204. !! NT Start Specific Variable Setting
  205. if $ARGS[1] = 'NT':
  206. age = 18
  207. month = 5
  208. $month = 'May'
  209. day = 4
  210. week = 3
  211. hour = 13
  212. if player_avatar = 0:
  213. birthyear = year - age
  214. birthmonth = 4
  215. birthday = 1
  216. school_year = 1998
  217. end
  218. !! Body
  219. pcs_hgt = 170
  220. salo = 60
  221. dick = 0
  222. !! Stats
  223. pcs_stren = 20
  224. strenbuf = 20
  225. pcs_agil = 15
  226. agilbuf = 15
  227. pcs_vital = 25
  228. vitalbuf = 25
  229. pcs_intel = 30
  230. pcs_sprt = 25
  231. pcs_react = 25
  232. pcs_chrsm = 15
  233. pcs_prcptn = 40
  234. money = 13000
  235. pcs_pubes = 30
  236. pcs_leghair = 12
  237. pcs_makeup = 5
  238. cheap_purses[7] = 1
  239. $currentpursetype = 'cheap'
  240. currentpursenumber = 7
  241. bag = 1
  242. home_owned[1] = 1
  243. pcs_inhib = 15
  244. pcs_heels = 20
  245. pcs_makupskl = 15
  246. pcs_artskls = 15
  247. pcs_compskl = 20
  248. pcs_comphckng = 10
  249. pcs_chess = 15
  250. pcs_danc = 30
  251. cltarelka = 1
  252. fairy = 10
  253. eda = 5
  254. poroshok = 5
  255. shampoo = 20
  256. tampon = 15
  257. pcs_energy = 100
  258. pcs_hydra = 100
  259. pcs_sleep = 100
  260. !! Starting Option Adjustments
  261. !! The TG Background options would be aplied here
  262. !! ***********
  263. end
  264. !! SG Start Specific Variable Setting
  265. if $ARGS[1] = 'SGS' or $ARGS[1] = 'CSB':
  266. school[6] = 1
  267. sisboyday = -2
  268. home_owned[1] = 0
  269. cltarelka = 0
  270. fairy = 0
  271. eda = 0
  272. poroshok = 0
  273. shampoo = 0
  274. hcolmotherremember = pcs_haircol
  275. hcolfatherremember = pcs_haircol
  276. hcolfronce = 1
  277. !!Setting Kolkas birthday based off the PCs
  278. koldobtmp_d = rand(1,28)
  279. koldobtmp_y = birthyear
  280. koldobtmp_m = birthmonth + 11
  281. if koldobtmp_m > 12:
  282. koldobtmp_y += 1
  283. koldobtmp_m -= 12
  284. end
  285. npc_dob['A34'] = koldobtmp_y * 10000
  286. npc_dob['A34'] += koldobtmp_m * 100
  287. npc_dob['A34'] += koldobtmp_d
  288. killvar 'koldobtmp_d' & killvar 'koldobtmp_m' & killvar 'koldobtmp_y'
  289. $holyday += ', <b><<kanicont>> days left.</b>'
  290. end
  291. !!*************************
  292. !! Final Initializations
  293. VersionCheck = 5030
  294. pcs_dob = birthyear * 10000
  295. pcs_dob += (birthmonth * 100)
  296. pcs_dob += birthday
  297. age = year - ((pcs_dob - (pcs_dob mod 10000)) / 10000)
  298. if ((month * 100) + day) < pcs_dob mod 10000: age -= 1
  299. if age < 17:
  300. vidage = age
  301. else
  302. vidage = age - 1
  303. end
  304. vidageday = 300
  305. pcs_health = pcs_vital * 10 + pcs_stren * 5
  306. pcs_willpwr = pcs_intel * 5 + pcs_sprt * 5
  307. pcs_manna = (pcs_intel * pcs_magik) + pcs_magik * 100 + pcs_vital * 10 + rikudo
  308. pcs_mood = 100
  309. pcs_stam = 100
  310. nathcol = pcs_haircol
  311. oldsavepcs_haircol = 1
  312. gs 'body_shape', 'initial'
  313. !! Adding underwear and default shoes and assigning them
  314. if $ARGS[1] ! 'CSB':
  315. cheap_panties[37] = 1
  316. cheap_bras[11] = 1
  317. $pantyworntype = 'cheap'
  318. pantywornnumber = 37
  319. $braworntype = 'cheap'
  320. brawornnumber = 11
  321. sgandm[6] = 1
  322. strainers[21] = 1
  323. $shoeworntype = 'gandm'
  324. shoewornnumber = 6
  325. end
  326. !! Starting clothing set
  327. if NTstart = 1:
  328. cheap[161] = 1
  329. cheapH[161] = 100
  330. cheapB[161] = pcs_hips
  331. exercise[29] = 1
  332. exerciseH[29] = 100
  333. cheap[370] = 1
  334. cheapH[370] = 100
  335. cheapB[370] = pcs_hips
  336. swimwear[3] = 1
  337. swimwearH[3] = 60
  338. swimwearB[3] = pcs_hips
  339. sportsclothingnumber = 29
  340. gs 'clothing', 'wear', 'cheap', 370
  341. elseif $ARGS[1] = 'CSB':
  342. cheap_panties[5] = 1
  343. cheap_bras[12] = 1
  344. $pantyworntype = 'cheap'
  345. pantywornnumber = 5
  346. $braworntype = 'cheap'
  347. brawornnumber = 12
  348. exercise[4] = 1
  349. exerciseH[4] = 100
  350. strainers[21] = 1
  351. sgandm[43] = 1
  352. shoewornnumber = 43
  353. $shoeworntype = 'gandm'
  354. cheap[397] = 1
  355. cheapH[397] = 100
  356. cheapB[397] = pcs_hips
  357. cheap[355] = 1
  358. cheapH[355] = 100
  359. cheapB[355] = pcs_hips
  360. sportsclothingnumber = 4
  361. gs 'clothing', 'wear', 'cheap', 355
  362. elseif pcs_inhib = 0:
  363. cheap[15] = 1
  364. cheapH[15] = 100
  365. cheapB[15] = pcs_hips
  366. exercise[4] = 1
  367. exerciseH[4] = 100
  368. cheap[36] = 1
  369. cheapH[36] = 100
  370. cheapB[36] = pcs_hips
  371. sportsclothingnumber = 4
  372. gs 'clothing', 'wear', 'cheap', 15
  373. elseif pcs_inhib = 5:
  374. cheap[48] = 1
  375. cheapH[48] = 100
  376. cheapB[48] = pcs_hips
  377. exercise[4] = 1
  378. exerciseH[4] = 100
  379. cheap[83] = 1
  380. cheapH[83] = 100
  381. cheapB[83] = pcs_hips
  382. sportsclothingnumber = 4
  383. gs 'clothing', 'wear', 'cheap', 48
  384. elseif pcs_inhib = 10:
  385. cheap[20] = 1
  386. cheapH[20] = 100
  387. cheapB[20] = pcs_hips
  388. exercise[4] = 1
  389. exerciseH[4] = 100
  390. cheap[70] = 1
  391. cheapH[70] = 100
  392. cheapB[70] = pcs_hips
  393. sportsclothingnumber = 4
  394. gs 'clothing', 'wear', 'cheap', 20
  395. elseif pcs_inhib = 15:
  396. cheap[32] = 1
  397. cheapH[32] = 100
  398. cheapB[32] = pcs_hips
  399. exercise[4] = 1
  400. exerciseH[4] = 100
  401. cheap[62] = 1
  402. cheapH[62] = 100
  403. cheapB[62] = pcs_hips
  404. sportsclothingnumber = 4
  405. gs 'clothing', 'wear', 'cheap', 32
  406. elseif pcs_inhib = 20:
  407. cheap[4] = 1
  408. cheapH[4] = 100
  409. cheapB[4] = pcs_hips
  410. exercise[4] = 1
  411. exerciseH[4] = 100
  412. cheap[41] = 1
  413. cheapH[41] = 100
  414. cheapB[41] = pcs_hips
  415. sportsclothingnumber = 4
  416. gs 'clothing', 'wear', 'cheap', 41
  417. elseif pcs_inhib = 25:
  418. cheap[50] = 1
  419. cheapH[50] = 100
  420. cheapB[50] = pcs_hips
  421. exercise[4] = 1
  422. exerciseH[4] = 100
  423. cheap[81] = 1
  424. cheapH[81] = 100
  425. cheapB[81] = pcs_hips
  426. sportsclothingnumber = 4
  427. gs 'clothing', 'wear', 'cheap', 50
  428. elseif pcs_inhib = 30:
  429. cheap[82] = 1
  430. cheapH[82] = 100
  431. cheapB[82] = pcs_hips
  432. exercise[4] = 1
  433. exerciseH[4] = 100
  434. cheap[43] = 1
  435. cheapH[43] = 100
  436. cheapB[43] = pcs_hips
  437. sportsclothingnumber = 4
  438. gs 'clothing', 'wear', 'cheap', 43
  439. elseif pcs_inhib = 35:
  440. cheap[43] = 1
  441. cheapH[43] = 100
  442. cheapB[43] = pcs_hips
  443. exercise[4] = 1
  444. exerciseH[4] = 100
  445. cheap[73] = 1
  446. cheapH[73] = 100
  447. cheapB[73] = pcs_hips
  448. sportsclothingnumber = 4
  449. gs 'clothing', 'wear', 'cheap', 43
  450. end
  451. coat[5] = 1
  452. coatH[5] = 200
  453. defaultcoat = 5
  454. if swim_start = 58:
  455. swimwear[58] = 1
  456. swimwearH[58] = 60
  457. swimwearB[58] = pcs_hips
  458. elseif swim_start = 98:
  459. swimwear[98] = 1
  460. swimwearH[98] = 60
  461. swimwearB[98] = pcs_hips
  462. elseif swim_start = 69:
  463. swimwear[69] = 1
  464. swimwearH[69] = 60
  465. swimwearB[69] = pcs_hips
  466. end
  467. !!setting default exercise outfit
  468. if $ARGS[1] ! 'CSB':
  469. sportspantynumber = 37
  470. sportsbranumber = 11
  471. else
  472. sportspantynumber = 5
  473. sportsbranumber = 12
  474. end
  475. $sportsbratype = 'cheap'
  476. $sportspantytype = 'cheap'
  477. sportsshoenumber = 21
  478. sportscoat = 5
  479. $sportspursetype = $currentpursetype
  480. sportspursenumber = currentpursenumber
  481. $sports_clothing_name = 'default sports outfit'
  482. killvar 'swim_start'
  483. !! **********
  484. gs 'daystart'
  485. gs 'din_pav'
  486. gs 'din_npc'
  487. gs 'dinSex2'
  488. gs 'dina'
  489. gs 'din_van'
  490. gs 'din_bad'
  491. gs 'dinSex'
  492. gs 'dinBoroda'
  493. gs 'BanSexType'
  494. gs 'outdoors', 'weather'
  495. menoage = rand(40,50)
  496. temprand = rand(0,10)
  497. if temprand = 0:
  498. menoage += rand(0,5)
  499. elseif temprand < 4:
  500. menoage += rand(3,10)
  501. elseif temprand < 9:
  502. menoage += rand(5,12)
  503. else
  504. menoage += rand(7,13)
  505. end
  506. daylastperiod = daystart
  507. temprand = rand(1,3)
  508. if temprand = 1:
  509. cycle = 1
  510. EggRH = rand(1,149)
  511. FocH = EggRH + 4*24
  512. mesec = 0
  513. unfertegg = 0
  514. ferteggage = 0
  515. Ovulate = 0
  516. LutH = 0
  517. daylastperiod -= FocH/24
  518. elseif temprand = 2:
  519. lastovulation = daystart
  520. cycle = 2
  521. unfertegg = 1
  522. ferteggage = rand(0,44)
  523. Ovulate = (rand(24,44) - ferteggage)
  524. if Ovulate <= 0: Ovulate = 1
  525. mesec = 0
  526. EggRH = 0
  527. FocH = 0
  528. LutH = 0
  529. daylastperiod -= 10+(ferteggage/24)
  530. elseif temprand = 3:
  531. cycle = 3
  532. LutH = rand(0,300)
  533. ferteggage = 36 + LutH
  534. mesec = 0
  535. EggRH = 0
  536. FocH = 0
  537. unfertegg = 0
  538. Ovulate = 0
  539. daylastperiod -= 10+(ferteggage/24)
  540. end
  541. if daylastperiod + 4 > daystart:
  542. lastmens = daylastperiod - 20
  543. else
  544. lastmens = daylastperiod+4
  545. end
  546. pcs_horny = 0
  547. killvar 'opPRE'
  548. killvar 'tgs_skipinto'
  549. gs 'stat'
  550. showstat 0
  551. showobjs 0
  552. if $ARGS[1] = 'NT':
  553. gt 'preNT'
  554. elseif $ARGS[1] = 'TGS':
  555. gt 'preTG', 'sleepPRE'
  556. elseif $ARGS[1] = 'CSB':
  557. gt 'preCSB', 'intro_0'
  558. else
  559. gt 'preALT', 'One'
  560. end
  561. end
  562. --- preCUST ---------------------------------