preCUST 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  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 & pcs_haircurl = 2147483647 & gt ''preCUST'', ''TGStart''">straight</a>.'
  35. if defcurly = 1:'And it''s naturally <a href="exec:defcurly = 0 & pcs_haircurl = 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 & pcs_haircurl = 2147483647 & gt ''preCUST'', ''SGStart''">straight</a>.'
  58. if defcurly = 1:'And it''s naturally <a href="exec:defcurly = 0 & pcs_haircurl = 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. !!******************** Final variable setting and initializations ***********************
  64. if $ARGS[0] = 'Done':
  65. !! Top area for things that need to be done before setting the variables for either start
  66. year = 2016
  67. tanga = 1
  68. BDSMfilm = 0
  69. pornstudio = 0
  70. pfilmSTOP = 0
  71. thinkpreg = 0
  72. denypreg = 0
  73. pertemp = 1
  74. pillcvrt = 1
  75. !! Initializing elasticity
  76. vshrink = 1
  77. vshrinkdays = 6
  78. ashrink = 1
  79. ashrinkdays = 3
  80. fairycurse = -1
  81. $excer_name[1] = 'Default 1'
  82. $excer_name[2] = 'Default 2'
  83. $excer_name[3] = 'Default 3'
  84. $excer_name[4] = 'Default 4'
  85. gs 'fight', 'Wrestlergen'
  86. monthsend[1] = 31
  87. if ((year mod 4 = 0) and (year mod 100 ! 0)) or (year mod 400 = 0):
  88. Leapyear = 1 & monthsend[2] = 29
  89. else
  90. Leapyear = 0 & monthsend[2] = 28
  91. end
  92. monthsend[3] = 31
  93. monthsend[4] = 30
  94. monthsend[5] = 31
  95. monthsend[6] = 30
  96. monthsend[7] = 31
  97. monthsend[8] = 31
  98. monthsend[9] = 30
  99. monthsend[10] = 31
  100. monthsend[11] = 30
  101. monthsend[12] = 31
  102. $monthName[1] = 'January'
  103. $monthName[2] = 'February'
  104. $monthName[3] = 'March'
  105. $monthName[4] = 'April'
  106. $monthName[5] = 'May'
  107. $monthName[6] = 'June'
  108. $monthName[7] = 'July'
  109. $monthName[8] = 'August'
  110. $monthName[9] = 'September'
  111. $monthName[10] = 'October'
  112. $monthName[11] = 'November'
  113. $monthName[12] = 'December'
  114. $month = $monthName[month]
  115. !! TG Start Specific Variable Setting
  116. if $ARGS[1] = 'TGS':
  117. age = 18
  118. month = 5
  119. $month = 'May'
  120. day = 4
  121. week = 3
  122. hour = 13
  123. if player_avatar = 0:
  124. birthyear = year - age
  125. birthmonth = 4
  126. birthday = 1
  127. schoool_year = 1998
  128. end
  129. !! Body
  130. pcs_hgt = 170
  131. salo = 60
  132. dick = 0
  133. !! Stats
  134. pcs_stren = 10
  135. strenbuf = 10
  136. pcs_agil = 10
  137. agilbuf = 10
  138. pcs_vital = 10
  139. vitalbuf = 10
  140. pcs_intel = 10
  141. pcs_sprt = 10
  142. pcs_react = 10
  143. pcs_chrsm = 10
  144. pcs_prcptn = 10
  145. pcs_magik = 0
  146. money = 16500
  147. housrA = 1
  148. pcs_pubes = 30
  149. pcs_leghair = 12
  150. pcs_makeup = 1
  151. housr = 1
  152. !! Maruda Hair Mod
  153. pcs_hairlng = 17
  154. !! ***********
  155. cltarelka = 1
  156. fairy = 10
  157. eda = 5
  158. clrbelo = 2
  159. poroshok = 5
  160. shampoo = 5
  161. tampon = 2
  162. pcs_energy = 100
  163. water = 100
  164. pcs_sleep = 100
  165. !! Starting Option Adjustments
  166. !! The TG Background options would be aplied here
  167. !! ***********
  168. end
  169. !! SG Start Specific Variable Setting
  170. if $ARGS[1] = 'SGS':
  171. school[6] = 1
  172. umbrella = 1
  173. sisboyday = -2
  174. housr = 0
  175. cltarelka = 0
  176. fairy = 0
  177. eda = 0
  178. clrbelo = 10
  179. poroshok = 0
  180. shampoo = 0
  181. sanpad = 20
  182. hcolmotherremember = pcs_haircol
  183. hcolfatherremember = pcs_haircol
  184. hcolfronce = 1
  185. !!Setting Kolkas birthday based off the PCs
  186. koldobtmp_d = rand(1,28)
  187. koldobtmp_y = birthyear
  188. koldobtmp_m = birthmonth + 11
  189. if koldobtmp_m > 12:
  190. koldobtmp_y += 1
  191. koldobtmp_m -= 12
  192. end
  193. npc_dob['A34'] = koldobtmp_y * 10000
  194. npc_dob['A34'] += koldobtmp_m * 100
  195. npc_dob['A34'] += koldobtmp_d
  196. killvar 'koldobtmp_d' & killvar 'koldobtmp_m' & killvar 'koldobtmp_y'
  197. $holyday += ', <b><<kanicont>> days left.</b>'
  198. end
  199. !!*************************
  200. !! Final Initializations
  201. VersionCheck = 5030
  202. pcs_dob = birthyear * 10000
  203. pcs_dob += (birthmonth * 100)
  204. pcs_dob += birthday
  205. age = year - ((pcs_dob - (pcs_dob mod 10000)) / 10000)
  206. if ((month * 100) + day) < pcs_dob mod 10000: age -= 1
  207. if age < 17:
  208. vidage = age
  209. else
  210. vidage = age - 1
  211. end
  212. vidageday = 300
  213. pcs_health = pcs_vital * 10 + pcs_stren * 5
  214. pcs_willpwr = pcs_intel * 5 + pcs_sprt * 5
  215. pcs_manna = (pcs_intel * pcs_magik) + pcs_magik * 100 + pcs_vital * 10 + rikudo
  216. pcs_mood = 100
  217. pcs_stam = 100
  218. nathcol = pcs_haircol
  219. oldsavepcs_haircol = 1
  220. gs 'body_shape', 'initial'
  221. !! Starting clothing set
  222. if pcs_exhibition = 0:
  223. cheap[15] = 1
  224. cheapH[15] = 100
  225. cheapB[15] = pcs_hips
  226. exercise[4] = 1
  227. exerciseH[4] = 100
  228. cheap[36] = 1
  229. cheapH[36] = 100
  230. cheapB[36] = pcs_hips
  231. gs 'clothing', 'wear', 'cheap', 15
  232. elseif pcs_exhibition = 5:
  233. cheap[48] = 1
  234. cheapH[48] = 100
  235. cheapB[48] = pcs_hips
  236. exercise[4] = 1
  237. exerciseH[4] = 100
  238. cheap[83] = 1
  239. cheapH[83] = 100
  240. cheapB[83] = pcs_hips
  241. gs 'clothing', 'wear', 'cheap', 48
  242. elseif pcs_exhibition = 10:
  243. cheap[49] = 1
  244. cheapH[49] = 100
  245. cheapB[49] = pcs_hips
  246. exercise[4] = 1
  247. exerciseH[4] = 100
  248. cheap[70] = 1
  249. cheapH[70] = 100
  250. cheapB[70] = pcs_hips
  251. gs 'clothing', 'wear', 'cheap', 49
  252. elseif pcs_exhibition = 15:
  253. cheap[32] = 1
  254. cheapH[32] = 100
  255. cheapB[32] = pcs_hips
  256. exercise[4] = 1
  257. exerciseH[4] = 100
  258. cheap[62] = 1
  259. cheapH[62] = 100
  260. cheapB[62] = pcs_hips
  261. gs 'clothing', 'wear', 'cheap', 32
  262. elseif pcs_exhibition = 20:
  263. cheap[4] = 1
  264. cheapH[4] = 100
  265. cheapB[4] = pcs_hips
  266. exercise[4] = 1
  267. exerciseH[4] = 100
  268. cheap[41] = 1
  269. cheapH[41] = 100
  270. cheapB[41] = pcs_hips
  271. gs 'clothing', 'wear', 'cheap', 41
  272. elseif pcs_exhibition = 25:
  273. cheap[50] = 1
  274. cheapH[50] = 100
  275. cheapB[50] = pcs_hips
  276. exercise[4] = 1
  277. exerciseH[4] = 100
  278. cheap[81] = 1
  279. cheapH[81] = 100
  280. cheapB[81] = pcs_hips
  281. gs 'clothing', 'wear', 'cheap', 50
  282. elseif pcs_exhibition = 30:
  283. cheap[82] = 1
  284. cheapH[82] = 100
  285. cheapB[82] = pcs_hips
  286. exercise[4] = 1
  287. exerciseH[4] = 100
  288. cheap[43] = 1
  289. cheapH[43] = 100
  290. cheapB[43] = pcs_hips
  291. gs 'clothing', 'wear', 'cheap', 43
  292. elseif pcs_exhibition = 35:
  293. cheap[43] = 1
  294. cheapH[43] = 100
  295. cheapB[43] = pcs_hips
  296. exercise[4] = 1
  297. exerciseH[4] = 100
  298. cheap[73] = 1
  299. cheapH[73] = 100
  300. cheapB[73] = pcs_hips
  301. gs 'clothing', 'wear', 'cheap', 43
  302. end
  303. coat[5] = 1
  304. coatH[5] = 200
  305. defaultcoat = 5
  306. !! **********
  307. gs 'daystart'
  308. gs 'din_pav'
  309. gs 'dinSex2'
  310. gs 'dina'
  311. gs 'din_van'
  312. gs 'din_bad'
  313. gs 'dinSex'
  314. gs 'dinBoroda'
  315. gs 'BanSexType'
  316. gs 'outdoors', 'weather'
  317. daylastperiod = daystart
  318. temprand = rand(0,3)
  319. if temprand = 0:
  320. cycle = 0
  321. mesec = rand(1,96)
  322. EggRH = 0
  323. FocH = 0
  324. unfertegg = 0
  325. ferteggage = 0
  326. Ovulate = 0
  327. LutH = 0
  328. daylastperiod -= (96-mesec)/24
  329. elseif temprand = 1:
  330. cycle = 1
  331. EggRH = rand(1,149)
  332. FocH = EggRH
  333. mesec = 0
  334. unfertegg = 0
  335. ferteggage = 0
  336. Ovulate = 0
  337. LutH = 0
  338. daylastperiod -= 4+(FocH/24)
  339. elseif temprand = 2:
  340. cycle = 2
  341. unfertegg = 1
  342. ferteggage = rand(0,44)
  343. Ovulate = (rand(24,44) - ferteggage)
  344. if Ovulate <= 0: Ovulate = 1
  345. mesec = 0
  346. EggRH = 0
  347. FocH = 0
  348. LutH = 0
  349. daylastperiod -= 10+(ferteggage/24)
  350. elseif temprand = 3:
  351. cycle = 3
  352. LutH = rand(0,300)
  353. ferteggage = 36 + LutH
  354. mesec = 0
  355. EggRH = 0
  356. FocH = 0
  357. unfertegg = 0
  358. Ovulate = 0
  359. daylastperiod -= 10+(ferteggage/24)
  360. end
  361. if daylastperiod + 4 > daystart:
  362. lastmens = daylastperiod - 20
  363. else
  364. lastmens = daylastperiod+4
  365. end
  366. pcs_horny = 0
  367. killvar 'opPRE'
  368. killvar 'tgs_skipinto'
  369. gs 'stat'
  370. showstat 0
  371. showobjs 0
  372. if $ARGS[1] = 'TGS':
  373. gt 'preTG', 'sleepPRE'
  374. else
  375. gt 'preALT', 'One'
  376. end
  377. end
  378. --- preCUST ---------------------------------