preCUST.qsrc 13 KB

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