1
0

preCUST.qsrc 14 KB

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