preCUST 9.9 KB

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