preCUST 14 KB

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