cikl 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294
  1. # cikl
  2. !!----------------------------------------------------------------------------
  3. !! Time calculations
  4. day += 1
  5. week += 1
  6. hour -= 24
  7. if day > monthsEnd[month]:
  8. day -= monthsEnd[month]
  9. month += 1
  10. if month > 12: month = 1 & year += 1
  11. !!MJ: Dont think that one is needed. But it was in the original loop.
  12. if month < 1: month = 1
  13. $month = $monthName[month]
  14. !! new years party calculation
  15. temp = func('shortgs','dow',year,12,31)
  16. if temp < 6:
  17. nyp_day = 31
  18. elseif temp = 6:
  19. nyp_day = 30
  20. else
  21. nyp_day = 29
  22. end
  23. end
  24. !!MJ: Dont think that one is needed. But it was here already.
  25. if day <= 0:day = 1
  26. if week > 7:
  27. :loopweek
  28. week -= 7
  29. husbandrink = 0
  30. if military = 1:military = 0
  31. if week > 7:jump 'loopweek'
  32. end
  33. !!----------------------------------------------------------------------------
  34. !!Fame call to update all the fame variables
  35. gs 'fame'
  36. !!moving the porn schedule ahead a day, flaffing for missed shootings, if it even matters
  37. if (film > 0 or pornstack = 1) and pfilmNO = 0 and pfilmSTOP = 0:
  38. if pfilmday[0] > 0: gs 'pornschedule', 'pornmiss'
  39. gs 'pornschedule', 'schedule'
  40. end
  41. !!acting strings to set available jobs
  42. if casting = 1:
  43. acting_string1 = rand(10000000000,199999999999)
  44. acting_string2 = rand(10000000000,199999999999)
  45. end
  46. gs 'daystart'
  47. dynamic $hypnoDaychange
  48. !!phone reset for bf
  49. ringA = 0
  50. ringB = 0
  51. ringC = 0
  52. if BuyHous = 2 and ArendHouseSL <= 0: ArendHouseSL = 0 & BuyHous = 0 & housr = 0
  53. if BuyHous = 2 and ArendHouseSL > 0: ArendHouseSL -= 1
  54. !!Appearance Age
  55. vidageday -= 1
  56. if vidageday <= 0:
  57. vidageday = 360
  58. vidage += 1
  59. end
  60. !!Birthday
  61. age = year - ((pcs_dob - (pcs_dob mod 10000)) / 10000)
  62. if ((month * 100) + day) <= pcs_dob mod 10000: age -= 1
  63. if workDolgDay > 0: workDolgDay -= 1
  64. if QWdogreiqTimer > 0: QWdogreiqTimer -= 1
  65. if husband > 0: husbanday += 1
  66. if husband > 10 and husbanday > 0: husband -= 15
  67. if fingal > 0: fingal -= 1
  68. if husbandMark = 1 and husband <= 10:
  69. husbizvradd = 0
  70. husbharmin = 0
  71. husbandMark = 0
  72. husband = 0
  73. divorced += 1
  74. if KFOnLineReaga > 0:KFOnLineReaga -= 1
  75. '<b><font color="red">Your husband has filed for a divorce.</font></b>'
  76. end
  77. if katjaPreg = 0 and month >= 2:
  78. if schoool_year = 2001 and year > 2016:
  79. katjaPreg = 1
  80. elseif schoool_year = 2000 and year > 2017:
  81. katjaPreg = 1
  82. end
  83. end
  84. !! after having surgery you will be in recuperation for a few days
  85. if surgeryday ! '':
  86. if daystart - 7 <= surgeryday:
  87. dailyhealthimprov = (daystart - surgeryday) * 50
  88. pcs_health = dailyhealthimprov
  89. recuperation = 1
  90. else
  91. killvar 'recuperation'
  92. killvar 'dailyhealthimprov'
  93. end
  94. end
  95. !!Street events daily reset
  96. streetevent_hour = -2
  97. !!Clothing stock and price randomizers
  98. Clothingstock = rand (0,23)
  99. i = 1
  100. :loopprice
  101. Clothingstock[i] = rand (0,500)
  102. i += 1
  103. if i <= 147:jump 'loopprice'
  104. if coatH[defaultcoat] <= 0: defaultcoat = 0
  105. !!------------------------------------------------------------------------------------------------------------
  106. !! Bimbo
  107. !!------------------------------------------------------------------------------------------------------------
  108. !!A Succubus cannot be a Bimbo
  109. if succubusflag = 1 and bimbo > 0: bimbo -= succublvl * 2
  110. !!Bonus from clothing and shoes
  111. if succubusflag = 0 and $cheatBimbo ! '<b>ON</b>':
  112. if bimbocl = 1:
  113. bimbocl = 0
  114. bimbo += 2
  115. end
  116. if bimbosh = 1:
  117. bimbosh = 0
  118. bimbo += 1
  119. end
  120. else
  121. bimbocl = 0
  122. end
  123. !!Once bimbolevel is set to 1, must use the withdrawal in stat to return to 0
  124. if bimbo > 0 or bimbolevel > 0:
  125. if bimbo < 10:
  126. bimbo -= 1
  127. elseif bimbo < 20:
  128. bimbolevel = 1
  129. elseif bimbo < 30:
  130. bimbolevel = 2
  131. else
  132. bimbolevel = 3
  133. end
  134. end
  135. if bimbo >= 40: bimbo = 40
  136. !!Bimbo levels. They use custom variables so they won''t permanently change character stats
  137. if bimbolevel = 0: supnatvnesh = 0 & bimbostupidity = 0
  138. if bimbolevel = 1: supnatvnesh = 2 & bimbostupidity = (pcs_intel / 6)
  139. if bimbolevel = 2: supnatvnesh = 4 & bimbostupidity = (pcs_intel / 4)
  140. if bimbolevel = 3: supnatvnesh = 8 & bimbostupidity = (pcs_intel / 3)
  141. !!Succubus Level & hunger calcs
  142. if succubusflag = 1:
  143. cheatHealth = 1
  144. dynamic $cheatmenu['std_cure']
  145. !! A Succubus cannot be a Bimbo
  146. if bimbolevel > 0 and bimbo > 0: bimbowithdrawal = 40
  147. !! Hunger handling
  148. if sucxpsnapshot >= succubxp: succhungry += 1
  149. sucxpsnapshot = succubxp
  150. if succubxp < 0: succubxp = 0
  151. !! Level handling
  152. if succubxp < 60:
  153. succublvl = 1
  154. $sucself1 = 'that feeling'
  155. sucstorecap = 0
  156. if bimbolevel <= 0: supnatvnesh = 1
  157. elseif succubxp < 150:
  158. succublvl = 2
  159. $sucself1 = 'the power'
  160. sucstorecap = 0
  161. if bimbolevel <= 0: supnatvnesh = 3
  162. elseif succubxp < 270:
  163. succublvl = 3
  164. $sucself1 = 'your other self'
  165. sucstorecap = 100
  166. if bimbolevel <= 0: supnatvnesh = 6
  167. else
  168. succublvl = 4
  169. $sucself1 = 'your true self'
  170. sucstorecap = 200
  171. if bimbolevel <= 0: supnatvnesh = 10
  172. end
  173. if sucskill >= 2 and succublvl >= 2: sucstorecap += 100
  174. if sucskill >= 3 and succublvl >= 2: sucstorecap += (sucstorecap * 2) / 10
  175. if stren_muta < (succublvl - 1): stren_muta = (succublvl - 1)
  176. if agil_muta < (succublvl - 1): agil_muta = (succublvl - 1)
  177. if vital_muta < (succublvl - 1): vital_muta = (succublvl - 1)
  178. if intel_muta < (succublvl - 1): intel_muta = (succublvl - 1)
  179. if react_muta < (succublvl - 1): react_muta = (succublvl - 1)
  180. if sprt_muta < (succublvl - 1): sprt_muta = (succublvl - 1)
  181. if chrsm_muta < (succublvl - 1): chrsm_muta = (succublvl - 1)
  182. if prcptn_muta < (succublvl - 1): prcptn_muta = (succublvl - 1)
  183. if (sucexcess >= 100 and (sucskill < 2 or succhungry > -2)) or (sucexcess >= 100 + sucstorecap and sucskill >= 2):
  184. if pcs_stren < 250: stren_exp += 20 & sucexcess -= 10
  185. if pcs_agil < 250: agil_exp += 20 & sucexcess -= 10
  186. if pcs_vital < 250: vital_exp += 20 & sucexcess -= 10
  187. if pcs_intel < 250: intel_exp += 20 & sucexcess -= 10
  188. if pcs_react < 250: react_exp += 20 & sucexcess -= 10
  189. if pcs_sprt < 250: sprt_exp += 20 & sucexcess -= 10
  190. if pcs_chrsm < 250: chrsm_exp += 20 & sucexcess -= 10
  191. if pcs_prcptn < 250: prcptn_exp += 20 & sucexcess -= 10
  192. if succhungry > (0 - 2 - succublvl): succhungry -= 1 & sucexcess -= 10
  193. if pcs_skin < 100: pcs_skin += 1 & sucexcess -= 2
  194. !! This is to drive the Succubus vidage into the max appearance range
  195. if vidageday < 720 and vidage >= 28: vidageday += 4 & sucexcess -= 4
  196. if vidageday > 0 and vidage <= 20: vidageday -= 4 & sucexcess -= 4
  197. if vidageday >= 720 and vidage > 28:
  198. vidageday -= 360
  199. vidage -= 1
  200. end
  201. if sucexcess > sucstorecap: sucexcess = sucstorecap
  202. elseif sucexcess < 0 and succhungry < 0:
  203. succhungry += 1
  204. if (0 - sucexcess) < (10 * succublvl):
  205. sucexcess = 0
  206. else
  207. sucexcess += (10 * succublvl)
  208. end
  209. end
  210. if sucexcess < 0: sucpowzeroed += 1
  211. if sucexcess >= 0 and sucpowzeroed > 0: sucpowzeroed -= 1
  212. !! This is so a Succubus always moves toward a default vaginal and anal size when she has the accomadation ability
  213. if sucskill >= 4:
  214. if pcs_vag - 2 >= 13:
  215. pcs_vag -= 2
  216. elseif pcs_vag + 2 <= 13:
  217. pcs_vag += 2
  218. end
  219. if pcs_ass - 2 >= 8:
  220. pcs_ass -= 2
  221. elseif pcs_ass + 2 <= 8:
  222. pcs_ass += 2
  223. end
  224. end
  225. end
  226. !!Bimbo second half, after Succubus so changes there can be reflected here if still bimbo and Succubus
  227. !!Checks how often sex has occured in the last 24 hours and for drops in bimbo score, for calculating withdrawal
  228. if bimbolevel >= 1:
  229. bimbo += ((stat['vaginal'] + stat['bj'] + stat['anal']) - snapshotX) - 3
  230. if bimbo > snapshotY:
  231. bimbowithdrawal = 0
  232. else
  233. bimbowithdrawal += 1
  234. end
  235. end
  236. if bimbo < 0: bimbo = 0
  237. snapshotX = (stat['vaginal'] + stat['bj'] + stat['anal'])
  238. snapshotY = bimbo
  239. !!------------------------------------------------------------------------------------------------------------
  240. if defcurly = 0 and curly > 0:curly -= 1
  241. if defcurly = 1:
  242. if straight > 0: straight -= 1
  243. if straight = 0: curly = 2147483647
  244. end
  245. ! WD: Added daily reduction of braids for Maruda Hair Mod
  246. if hbraids > 0: hbraids -= 1
  247. pcs_sweat += 2
  248. if pcs_tan > 0: pcs_tan -= 1
  249. if prezikmsg = 2: prezikmsg = 3
  250. !!------------------------------------------------------------------------------------------------------------
  251. !! Birth control
  252. !!------------------------------------------------------------------------------------------------------------
  253. !! Birth Control Management variables
  254. !!
  255. !! tabletkimm : The modifier for the current mood of the MC.
  256. !! tabletkiap : Autopill factor affecting the liklihood you took your pill as you should have
  257. !! tabletkipt : Pill Dicipline Take increase
  258. !! tabletkipi : Pill Dicipline Dont take increase
  259. !! tabletkicpd : Current MC Pill Dicipline
  260. !! tabletkichday : Current day that the Birth Control is being evaluated for
  261. !! tabletkicheck : If the birth control is automatically handled
  262. !! tabletki : How many packages of Birth Control Pills there are
  263. !! tabletkiold : Total number packages of expired pills
  264. !! tabletkifake : Total number packages of fake/counterfeit pills
  265. !! tabletkirej : Total number packages of factory rejected pills
  266. !! tabletkifert : Total number packages of subsituted fertility pills
  267. !! tabletkisug : Total number packages of sugar pills
  268. !! pillsleft : Total number packages of pills in current package
  269. !! tabletkishot : The flag for being on the Birth Control shot.
  270. !! pillcon : The number for the current birth control chemical level.
  271. !! pilldays : The number of consecutive days (you believe) you have taken your pill
  272. if Luth > (LutH_Max-75) and placebopart <= 0: placebopart = 8
  273. placebopart -= 1
  274. if tabletkishot <= 0: pillcon -= 1000 & pillcon2 -= 1000
  275. if pillcon < 0: pillcon = 0
  276. if pillcon2 < 0: pillcon2 = 0
  277. if tabletkicheck = 2:
  278. if tabletkishot ! 0:
  279. !!cycle = 1
  280. mesec = 0
  281. if rand(0,1000) = 1000:
  282. EggRH = rand(20,80)
  283. else
  284. EggRH = 0
  285. end
  286. FocH = EggRH
  287. end
  288. if tabletkishot <= 0:
  289. pillcon -= 29000
  290. pillcon2 -= 29000
  291. if tabletkishot < 0: tabletkishot = 0
  292. end
  293. if shotdays = -8:
  294. tabletkicheck = 0
  295. shotdue = 0
  296. 'Your birth control shot is no longer protecting you.'
  297. elseif shotdays <= 0:
  298. if shotdays = 0:
  299. shotdue = 7
  300. else
  301. shotdue -= 1
  302. end
  303. 'The chemicals regulating your fertility cycle are wearing off, you need to get your shot in <<shotdue>> days.'
  304. elseif shotdays > 1 and shotdays < 5:
  305. 'You are due for a birth control shot soon if you do not get one, you might get pregnant.'
  306. elseif shotdays = 1:
  307. 'Your birth control shot is due for renewal tomorrow.'
  308. end
  309. if shotdays > -100:shotdays -=1
  310. if tabletkishot > 0:tabletkishot -= 1
  311. end
  312. tabletkipd += tabletkipi
  313. tabletkipi = 0
  314. tabletkipt = 0
  315. if tabletkicheck = 1:
  316. if tabletki = 0 and pillsleft[ptype] = 0:
  317. tabletkicheck = 0
  318. 'You are out of birth control pills.'
  319. tabletkipi = -5
  320. elseif tabletki = 0 and pillsleft[ptype] = 28:
  321. 'You have just opened your last package of birth control pills. You need to buy more.'
  322. elseif tabletki = 0 and pillsleft[ptype] <= 5:
  323. 'You are running out of birth control pills, you only have a few left.'
  324. end
  325. end
  326. if tabletkicheck = 1 and tabletkichday < daystart:
  327. tabletkichday = daystart
  328. tabletkimm = (100*(pcs_willpwr / willpowermax)) + pcs_mood
  329. if pcs_sleep < 10:
  330. tabletkimm -= (100- (pcs_sleep * 10))
  331. end
  332. if pcs_willpwr < willpowermax / 4:
  333. tabletkimm = tabletkimm / 4
  334. elseif pcs_mood < 10:
  335. tabletkimm = tabletkimm / 2
  336. end
  337. tabletkiap = tabletkimm
  338. tabletkiap += (pcs_intel * 4) + (pcs_sprt * 2) + (age * 3)
  339. tabletkiap -= ((kid * 30) + (abort * 2) - (tabletkipd * ((60 - age) / 10)))
  340. temprand = rand(0,(200 + (tabletkimm - ((100 - pcs_sprt) * 3))))
  341. tabletkiap += temprand
  342. if tabletkiap < 300:
  343. if tabletkipd > -10:
  344. if pcs_willpwr < willpowermax / 4:
  345. pilldaychk = 0
  346. 'You stare at your package of birth control pills, you know you should take one but you can''t quite work up enough effort to care.'
  347. elseif pcs_mood < 10:
  348. pilldaychk = 0
  349. 'You stare at your package of birth control pills, but you don''t open it.'
  350. elseif pcs_sleep < 10:
  351. pilldaychk = 0
  352. 'You fumble with your birth control pills, trying to get a pill out. You finally give up too tired to manage it.'
  353. else
  354. pilldaychk = 0
  355. 'You just realized you forgot to take your birth control pill today.'
  356. end
  357. end
  358. tabletkipt = 2
  359. tabletkipi = -4
  360. else
  361. if tabletkiap < 350:
  362. temprand = rand(0,5)
  363. else
  364. temprand = rand(0,1000)
  365. end
  366. if temprand = 0:
  367. temprand = rand(0,1)
  368. if temprand = 0:
  369. gs 'din_bad','takepill'
  370. tabletkipt = -2
  371. tabletkipi = 1
  372. else
  373. tabletkipt = 3
  374. tabletkipi = -3
  375. end
  376. if tabletkipd > -10:
  377. pilldaychk = 0
  378. 'You find yourself holding the bottle of birth control pills, you cannot remember if you took one or not.'
  379. end
  380. if tabletkipd > 0:
  381. if rand(0,9) = 0:
  382. if tabletkipt < 0:
  383. pilldaychk = 0
  384. 'You don''t think you have taken your pill today.'
  385. else
  386. pilldaychk = 1
  387. 'You think you have taken your pill today.'
  388. end
  389. else
  390. if tabletkipt > 0:
  391. pilldaychk = 0
  392. 'You don''t think you have taken your pill today.'
  393. else
  394. pilldaychk = 1
  395. 'You think you have taken your pill today.'
  396. end
  397. end
  398. end
  399. else
  400. 'You take your birth control pill for the day.'
  401. pilldaychk = 1
  402. gs 'din_bad','takepill'
  403. if rand(0,7) = 0 and tabletkiday >= (daystart - 1): tabletkipd += 1
  404. tabletkiday = daystart
  405. tabletkipt = 0
  406. tabletkipi = 0
  407. end
  408. end
  409. elseif tabletkicheck = 0:
  410. if tabletkiday >= (daystart - 1) and tabletkipt = 0 and rand(0,7) = 0: tabletkipt = 1
  411. if pillcon > 0 and tabletkipi = 0 and rand(0,3) = 0 and (tabletkiday + 15) > daystart = 0: tabletkipi = -1
  412. end
  413. if pilldaychk = 1:
  414. pilldays += 1
  415. else
  416. pilldays -= 1
  417. end
  418. pilldaychk = 0
  419. if pilldays > 18: pilldays = 18
  420. if pilldays < 0: pilldays = 0
  421. !!
  422. $MenCal[] = $str(cycle)
  423. if ArrSize('$MenCal') = 60: killvar '$MenCal',0
  424. !!------------------------------------------------------------------------------------------------------------
  425. if lashair ! 1:
  426. pcs_leghair += 1
  427. pcs_pubes += 1
  428. end
  429. if age < 18 and rand (0,2) = 0 and pcs_leghair > 0: pcs_leghair -= 1
  430. if pcs_breath = 1:pcs_breath = 0
  431. if cheatNoEat = 1 and dounspell = 1:fat += 15
  432. !!STD check
  433. if SifacOnce = 1:Sifilis += 1
  434. if GerpesOnce = 1:Gerpes += 1
  435. if TriperOnce = 1:
  436. if Triper > 0:
  437. Triper += 1
  438. end
  439. if TriperOral > 0:
  440. TriperOral += 1
  441. end
  442. If TriperOral > 14 and TriperNapr = 0:
  443. if rand(TriperOral,100) > 80:
  444. TriperOral = 0
  445. if Triper = 0:TriperOnce = 0
  446. TriperOralSigns = 0
  447. end
  448. end
  449. end
  450. if KandidozOnce = 1:Kandidoz += 1
  451. VeneraN = 0
  452. if VeneraOnce > 0:VeneraOnce = 0
  453. if SifacOnce = 1:VeneraN += 1
  454. if GerpesOnce = 1:VeneraN += 1
  455. if TriperOnce = 1:VeneraN += 1
  456. Venera = VeneraN
  457. if pcs_ass > 1 and ashrink > 0 and analplugIN = 0:
  458. if anusK < 0:anusK = 0
  459. if anusK < ashrinkdays:anusK += 1
  460. if anusK >= ashrinkdays:pcs_ass -= ashrink & anusK = 0
  461. if pcs_ass < 0: pcs_ass = 0
  462. end
  463. if pcs_vag > 10 and vshrink > 0:
  464. if vaginaK < 0:vaginaK = 0
  465. if vaginaK < vshrinkdays:vaginaK += 1
  466. if vaginaK >= vshrinkdays:vaginaK = 0 & pcs_vag -= vshrink
  467. end
  468. lipkoef -= rand(0,1)
  469. if lipkoef <= 0: lipkoef = 0
  470. if Enable_autotampon = 0 and isprok = 1:isprok = 0 & 'You threw away your used tampon.'
  471. if Enable_autotampon = 0 and isprokp = 1:isprokp = 0 & 'You threw away your used sanitary pad.'
  472. if preg = 1:
  473. pregtime = pregchem / 24
  474. if pregtimes = 0:pregtimes = 1
  475. elseif preg = 2 and pregminut < totminut:
  476. if Enable_nogameover = 0 :
  477. cla
  478. *clr
  479. over = 4
  480. MSG '<center><b>A horrible pain shoots through your body.</b></center>'
  481. xgt 'gameover'
  482. exit
  483. else
  484. MSG'<font color=red><B>You should die for giving birth unprepared, but Cheat Mode keeps you Alive.</B></font>'
  485. pregminut = totminut + 1440
  486. end
  487. elseif preg = 0:
  488. KILLVAR 'pregTalkBrother'
  489. KILLVAR 'pregTalkSister'
  490. KILLVAR 'pregTalkFather'
  491. !{KILLVAR 'pregTalkFamily' -- Do not kill this (Abortion talk).}
  492. KILLVAR 'pregTalkMom'
  493. KILLVAR 'pregTalk'
  494. KILLVAR 'pregTalkNat'
  495. KILLVAR 'pregTalkKatja'
  496. KILLVAR 'pregTalkAlbina'
  497. KILLVAR 'pregTalkPC'
  498. KILLVAR 'pregTalkStarlets'
  499. KILLVAR 'pregTalkvball'
  500. KILLVAR 'pregTalkTrack'
  501. killvar 'pregtalkStarlets'
  502. killvar 'pregtalkvball'
  503. killvar 'pregtime'
  504. killvar 'knowpreg'
  505. killvar 'denypreg'
  506. killvar '$wombthfath'
  507. end
  508. !!------------------------------------------------------------------------------------------------------------
  509. !! Arousal
  510. !!------------------------------------------------------------------------------------------------------------
  511. if magikDostup = 0:
  512. if pcs_horny < 100:pcs_horny += pcs_vag
  513. else
  514. if pcs_vag = 0:
  515. razeba = 0
  516. if pcs_horny > 0 and pcs_horny <= 50:pcs_horny -= 10
  517. if pcs_horny > 50:pcs_horny -= 25
  518. elseif pcs_vag > 0:
  519. if pregtimes = 0:
  520. if age < 18:
  521. razeba = 1
  522. if pcs_horny > 0 and pcs_horny <= 50:pcs_horny -= 5
  523. if pcs_horny > 50 and pcs_horny < 80:pcs_horny -= 10
  524. if pcs_horny >= 80:pcs_horny -= 20
  525. elseif age >= 18 and age < 21:
  526. razeba = 2
  527. if pcs_horny > 0 and pcs_horny <= 50:pcs_horny -= 1
  528. if pcs_horny > 50 and pcs_horny < 80:pcs_horny -= 5
  529. if pcs_horny >= 80:pcs_horny -= 10
  530. elseif age >= 21 and age < 25:
  531. razeba = 3
  532. if pcs_horny > 0 and pcs_horny <= 50:pcs_horny += 1
  533. if pcs_horny > 50 and pcs_horny < 80:pcs_horny -= 1
  534. if pcs_horny >= 80:pcs_horny -= 5
  535. elseif age >= 25 and age < 30:
  536. razeba = 4
  537. if pcs_horny > 0 and pcs_horny <= 50:pcs_horny += 5
  538. if pcs_horny > 50 and pcs_horny < 80:pcs_horny += 1
  539. if pcs_horny >= 80:pcs_horny -= 5
  540. elseif age >= 30:
  541. razeba = 5
  542. if pcs_horny > 0 and pcs_horny <= 50:pcs_horny += 10
  543. if pcs_horny > 50 and pcs_horny < 80:pcs_horny += 5
  544. if pcs_horny >= 80:pcs_horny += 1
  545. end
  546. elseif pregtimes > 0:
  547. if preg = 0:
  548. razeba = 5
  549. if pcs_horny > 0 and pcs_horny <= 50:pcs_horny += 10
  550. if pcs_horny > 50 and pcs_horny < 80:pcs_horny += 5
  551. if pcs_horny >= 80:pcs_horny += 1
  552. elseif preg > 0:
  553. razeba = 6
  554. if pcs_horny < 100:pcs_horny += pregtime / 10
  555. end
  556. end
  557. end
  558. end
  559. if pcs_horny < 0:pcs_horny = 0
  560. !!------------------------------------------------------------------------------------------------------------
  561. !!Exhibitionism
  562. if exhibition_outdoors > 0:
  563. if pcs_exhibition > 90:
  564. exhibition_outdoors = exhibition_outdoors * 3
  565. elseif pcs_exhibition > 75:
  566. exhibition_outdoors = exhibition_outdoors * 5 / 2
  567. elseif pcs_exhibition > 60:
  568. exhibition_outdoors = exhibition_outdoors * 2
  569. elseif pcs_exhibition > 30:
  570. exhibition_outdoors = exhibition_outdoors * 3 / 2
  571. end
  572. if exhibition_outdoors <= 5:
  573. exhibition_exp += rand(3,6)
  574. elseif exhibition_outdoors <= 10:
  575. exhibition_exp += rand(5,9)
  576. elseif exhibition_outdoors <= 15:
  577. exhibition_exp += rand(7,12)
  578. elseif exhibition_outdoors <= 20:
  579. exhibition_exp += rand(9,15)
  580. elseif exhibition_outdoors <= 25:
  581. exhibition_exp += rand(12,20)
  582. elseif exhibition_outdoors <= 30:
  583. exhibition_exp += rand(16,25)
  584. elseif exhibition_outdoors <= 35:
  585. exhibition_exp += rand(20,30)
  586. elseif exhibition_outdoors <= 40:
  587. exhibition_exp += rand(25,40)
  588. elseif exhibition_outdoors <= 50:
  589. exhibition_exp += rand(35,50)
  590. elseif exhibition_outdoors <= 65:
  591. exhibition_exp += rand(50,75)
  592. else
  593. exhibition_exp += rand(70,100)
  594. end
  595. end
  596. exhibition_outdoors = 0
  597. if pcs_exhibition = 0:
  598. if exhibition_exp >= 5: pcs_exhibition = 1 & exhibition_exp -= 5
  599. else
  600. !!Intentional double to add up to 2 points
  601. if exhibition_exp >= 5 * pcs_exhibition / 2: exhibition_exp -= 5 * pcs_exhibition / 2 & pcs_exhibition += 1
  602. if exhibition_exp >= 5 * pcs_exhibition / 2: exhibition_exp -= 5 * pcs_exhibition / 2 & pcs_exhibition += 1
  603. end
  604. if pcs_exhibition > 50 and exhibitionQW < 3: pcs_exhibition = 50
  605. !counter for Dimka avoidance
  606. if dimaFilm = 1 and dimaRudeBlock = 0:
  607. nodimkaK += 1
  608. DimkaWarnedToday = 0
  609. end
  610. !!------------------------------------------------------------------------------------------------------------
  611. !!Fame degradation
  612. gs 'fame', 'deg'
  613. !!Traits
  614. gs 'traits', 'overnight'
  615. !!------------------------------------------------------------------------------------------------------------
  616. !! Maruda hair mod
  617. !!------------------------------------------------------------------------------------------------------------
  618. !! Max. Hair length 600mm, or 60cm, which should be somewhere in the lower back area.
  619. !! Hair grows 1mm each day, it takes 20 months (1 month = 30 days) to regrow the hair from 0.
  620. if pcs_hairlng < 1001 and hairgrowcht = 0:pcs_hairlng += 1
  621. if pcs_haircol ! nathcol:
  622. dyefade -=1
  623. if dyefade < 0: dyefade = 0
  624. if dyefade > 0 and dyefade < 7: dyevmod = 5
  625. if dyefade = 0: dyevmod = 15
  626. end
  627. if hscrunch > 0:
  628. hscrunchrand = rand(1, 100)
  629. if hscrunchrand <= 8:hscrunch -= 1
  630. end
  631. !!------------------------------------------------------------------------------------------------------------
  632. !! Clothing wear and tear
  633. gs 'starenie'
  634. if nark > 60:
  635. nark = 60
  636. elseif nark > 30:
  637. nark -= 3
  638. elseif nark > 0:
  639. nark -= 1
  640. end
  641. if pregtime > 10:fat += 1
  642. !!------------------------------------------------------------------------------------------------------------
  643. !! Pain
  644. !!------------------------------------------------------------------------------------------------------------
  645. if pain['head'] > 0:pain['head'] -= rand(1,3)
  646. if pain['hair'] > 0:pain['hair'] -= rand(1,3)
  647. if pain['ears'] > 0:pain['ears'] -= rand(1,3)
  648. if pain['eyebrows'] > 0:pain['eyebrows'] -= rand(1,3)
  649. if pain['eyes'] > 0:pain['eyes'] -= rand(1,3)
  650. if pain['cheeks'] > 0:pain['cheeks'] -= rand(1,3)
  651. if pain['nose'] > 0:pain['nose'] -= rand(1,3)
  652. if pain['mouth'] > 0:pain['mouth'] -= rand(1,3)
  653. if pain['lips'] > 0:pain['lips'] -= rand(1,3)
  654. if pain['tongue'] > 0:pain['tongue'] -= rand(1,3)
  655. if pain['throat'] > 0:pain['throat'] -= rand(1,3)
  656. if pain['neck'] > 0:pain['neck'] -= rand(1,3)
  657. if pain['back'] > 0:pain['back'] -= rand(1,3)
  658. if pain['asscheeks'] > 0:pain['asscheeks'] -= rand(1,3)
  659. if pain['asshole'] > 0:pain['asshole'] -= rand(1,3)
  660. if pain['hips'] > 0:pain['hips'] -= rand(1,3)
  661. if pain['thighs'] > 0:pain['thighs'] -= rand(1,3)
  662. if pain['legL'] > 0:pain['legL'] -= rand(1,3)
  663. if pain['legR'] > 0:pain['legR'] -= rand(1,3)
  664. if pain['feet'] > 0:pain['feet'] -= rand(1,3)
  665. if pain['toes'] > 0:pain['toes'] -= rand(1,3)
  666. if pain['shoulders'] > 0:pain['shoulders'] -= rand(1,3)
  667. if pain['armL'] > 0:pain['armL'] -= rand(1,3)
  668. if pain['armR'] > 0:pain['armR'] -= rand(1,3)
  669. if pain['hands'] > 0:pain['hands'] -= rand(1,3)
  670. if pain['fingers'] > 0:pain['fingers'] -= rand(1,3)
  671. if pain['chest'] > 0:pain['chest'] -= rand(1,3)
  672. if pain['breasts'] > 0:pain['breasts'] -= rand(1,3)
  673. if pain['nipples'] > 0:pain['nipples'] -= rand(1,3)
  674. if pain['ribs'] > 0:pain['ribs'] -= rand(1,3)
  675. if pain['tummy'] > 0:pain['tummy'] -= rand(1,3)
  676. if pain['pubic'] > 0:pain['pubic'] -= rand(1,3)
  677. if pain['vaginal'] > 0:pain['vaginal'] -= rand(1,3)
  678. if pain['labia'] > 0:pain['labia'] -= rand(1,3)
  679. if pain['clitoris'] > 0:pain['clitoris'] -= rand(1,3)
  680. if pain['urethra'] > 0:pain['urethra'] -= rand(1,3)
  681. if pain['cervix'] > 0:pain['cervix'] -= rand(1,3)
  682. if painpub = 2:
  683. if painpubday + 5 < daystart:
  684. $painpub = 'Your vulva is painfully sore.'
  685. painpub = 1
  686. painpubday = daystart
  687. elseif painpubday + 5 >= daystart:
  688. $painpub = 'Your vulva is painfully sore.'
  689. end
  690. elseif painpub = 1:
  691. if painpubday + 5 < daystart:
  692. $painpub = ''
  693. painpub = 0
  694. painpubday = daystart
  695. elseif painpubday + 5 >= daystart:
  696. $painpub = 'Your vulva is a little sore.'
  697. end
  698. end
  699. !!---- Calculation of lash extension degradation and false lash removal
  700. if pcs_lashes > 2:
  701. if lashextensionstyle >= 1:
  702. lashextensionduration -= 1
  703. if lashextensionduration >= 1 and lashextensionduration <= 4:
  704. 'It''s time for you to do your maintenance on your lash extensions; you should go to the salon or you risk growing them all out.'
  705. end
  706. if lashextensionduration <= 0:
  707. 'You waited too long to do maintenance on your lash extensions; there''s too little there to notice or work with at this point.'
  708. pcs_lashes = pcs_naturallashes
  709. killvar 'lashextensionstyle'
  710. killvar 'lashextensionduration'
  711. killvar 'lashextensionnew'
  712. end
  713. end
  714. if false_lashes > 0:
  715. false_lashes -= 1
  716. if false_lashes = 0:
  717. 'Your false lashes came off in the night; there''s no recovering them now.'
  718. pcs_lashes = pcs_naturallashes
  719. else
  720. 'Somehow, your lashes managed to stay attached throughout the night. You might be able to get away with wearing them another day straight.'
  721. end
  722. end
  723. end
  724. prezikProver += 1
  725. if pirs_pain_ton > 0:pirs_pain_ton -= 1
  726. if shorthair = 1:
  727. shorthairday += 1
  728. if shorthairday >= 45:shorthairday = 0 & shorthair = 0
  729. end
  730. !!------------------------------------------------------------------------------------------------------------
  731. if KatjaOTN > 0:
  732. if KatjaHorny > 0 and KatjaLust < 40:KatjaHorny -= rand(1, 3)
  733. if KatjaLust >= 40:KatjaHorny += rand(1, 3)
  734. if KatjaHorny < 0:KatjaHorny = 0
  735. if KatjaHorny >= 100:KatjaHorny = 0 & KatjaMastr += 1 & KatjaLust += 1
  736. end
  737. if npc_rel['A69'] > 60 and rand(0,3) = 0:npc_rel['A69'] -= 1
  738. !!------------------------------------------------------------------------------------------------------------
  739. !! Generation
  740. !!------------------------------------------------------------------------------------------------------------
  741. if NPCnum < 290:
  742. NPCnow = NPCnum
  743. NPCnum += rand(1, 3)
  744. gs 'npc'
  745. elseif NPCnum < 300:
  746. NPCnow = NPCnum
  747. NPCnum += 1
  748. gs 'npc'
  749. end
  750. !!------------------------------------------------------------------------------------------------------------
  751. if kanikuli = 0:pcs_grades -= 1
  752. dmishaevent = 0
  753. if Gspravka <= 0 and GspravkaT = 1:GspravkaT = 0 & Gspravka = 0
  754. if GspravkaT = 1:Gspravka -= 1
  755. if IvanPodstavaQW = 2 and PodpiskaNeviezd = 30:IvanPodstavaQW = 3
  756. if IvanPodstavaQW = 2 and PodpiskaNeviezd > 0 and PodpiskaNeviezd < 30:PodpiskaNeviezd += 1
  757. gs 'stat_sklattrib', 'daycall'
  758. if dounspell = 1:
  759. if strenbuf > 90:
  760. strenbuf -= 2
  761. elseif strenbuf > 80:
  762. strenbuf -= 1
  763. end
  764. if vitalbuf > 90:
  765. vitalbuf -= 2
  766. elseif vitalbuf > 80:
  767. vitalbuf -= 1
  768. end
  769. if strenbuf > pcs_stren: strenbuf -= 1
  770. if strenbuf < pcs_stren: strenbuf += 1
  771. if vitalbuf > pcs_vital: vitalbuf -= 1
  772. if vitalbuf < pcs_vital: vitalbuf += 1
  773. if agilbuf > pcs_agil: agilbuf -= 1
  774. if agilbuf < pcs_agil: agilbuf += 1
  775. else
  776. gs 'body_shape'
  777. end
  778. if husband > 0 and husbandrink ! 11:husbandrink = rand(0, 10)
  779. inWorkYoungShop = 0
  780. husbandsexday = 0
  781. borsexkol = 0
  782. givisexday = 0
  783. if shantsr > 0:
  784. pay = shantsr * 5000
  785. karta += pay
  786. shantsr = 0
  787. end
  788. if shantbog > 0:
  789. :shantftb
  790. shantftbgrand = rand(0, 10)
  791. if shantftbgrand > 2:
  792. shantpopala += 1
  793. shantbog -= 1
  794. if shantbog > 0:jump 'shantftb'
  795. elseif shantftbgrand <= 2:
  796. karta += 30000
  797. shantbog -= 1
  798. if shantbog > 0:jump 'shantftb'
  799. end
  800. end
  801. petersexday = 0
  802. klismaday1 = 0
  803. !! Resetting relationships that go over the max
  804. :toptemprel
  805. if temprel < 250:
  806. temprel +=1
  807. if npc_rel['A'+'<<temprel>>'] > 100:npc_rel['A'+'<<temprel>>'] = 100
  808. jump 'toptemprel'
  809. end
  810. killvar 'temprel'
  811. !!------------------------------------------------------------------------------------------------------------
  812. !! Banking
  813. !!------------------------------------------------------------------------------------------------------------
  814. !!MJ: Add some (daily) interest to the bank account.
  815. !!Not very realistic but won''t make anyone too rich.
  816. if bankAccount = 1:
  817. kartatotal = karta
  818. :kartaloop
  819. if kartatotal > 20000000:
  820. kartacount += 1
  821. largekarta[kartacount] = 20000000
  822. kartatotal -= 20000000
  823. jump 'kartaloop'
  824. else
  825. largekarta[0] = kartatotal
  826. end
  827. if karta >= 2000000:
  828. !! yearly interest of 2.3% recalculated into daily interest = 0.006% daily
  829. intrate = 60
  830. elseif karta >= 0:
  831. !! yearly interest of 1.15% recalculated into daily interest = 0.003% daily
  832. intrate = 30
  833. else
  834. !! yearly overdraft interest of 20% recalculated into daily interest = 0.055% daily
  835. intrate = 550
  836. end
  837. :intloop
  838. if kartacount > 0:
  839. smallmoneypos += (largekarta[kartacount] * intrate)
  840. if smallmoneypos >= 1000000 or smallmoneypos <= -1000000: karta += smallmoneypos / 1000000 & smallmoneypos = smallmoneypos mod 1000000
  841. largekarta[kartacount] = 0
  842. kartacount -= 1
  843. jump 'intloop'
  844. else
  845. smallmoneypos += (largekarta[0] * intrate)
  846. largekarta[0] = 0
  847. if kartacount ! 0: kartacount = 0
  848. end
  849. if smallmoneypos >= 1000000 or smallmoneypos <= -1000000:
  850. karta += smallmoneypos / 1000000
  851. smallmoneypos = smallmoneypos mod 1000000
  852. end
  853. if atmDeposit > 0 and atmDepositDate <= daystart:
  854. karta += atmDeposit
  855. atmDeposit = 0
  856. end
  857. end
  858. !!------------------------------------------------------------------------------------------------------------
  859. !! Payments
  860. !!------------------------------------------------------------------------------------------------------------
  861. if day = 25:
  862. !! meynold payment
  863. if mey_vika_qw >= 35 and mey_tamara_help_count >= 10 and mey_tamara_qw_end = 0:
  864. money += 10000
  865. '<b><font color=green>For your efforts aunt Tamara gave you 10000 rubles</font></b>'
  866. mey_tamara_help_count = 0
  867. end
  868. if PersSecWork = 1 and PersSecWorkTimes > 0 and paydaybistrosec = 0:
  869. Pay = PersSecWorkTimes * 2500
  870. PersSecWorkTimes = 0
  871. karta += Pay
  872. paydaybistrosec = 1
  873. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your job as a secretary.</font></b>'
  874. end
  875. if workKafe = 1 and paydayKafe = 0:
  876. paydayKafe = 1
  877. pay = smenaKafe * 600
  878. karta += pay
  879. smenaKafe = 0
  880. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your job as a waitress in a cafe.</font></b>'
  881. end
  882. if workhosp = 1 and nopaypoly = 0:
  883. pay = smena * 1000
  884. karta += pay
  885. smena = 0
  886. nopaypoly = 1
  887. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your work in the clinic.</font></b>'
  888. end
  889. if worksalon = 1 and nopaysalon = 0:
  890. pay = smena * 800
  891. karta += pay
  892. smena = 0
  893. nopaysalon = 1
  894. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your work in a beauty salon.</font></b>'
  895. end
  896. if tanwork = 1 and nopaytanwork = 0:
  897. nopaytanwork = 1
  898. karta += 25000
  899. '<b><font color="green">Your salary of 25,000 <b>₽</b> has been paid into your bank account for your work as a house maid.</font></b>'
  900. end
  901. if workSec = 1 and paydaySec = 0:
  902. paydaySec = 1
  903. pay = sekDay * 800
  904. if officebestslut >= 3:pay += 20000
  905. karta += pay
  906. sekDay = 0
  907. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your job as a secretary.</font></b>'
  908. end
  909. if workFabrika = 1:
  910. pay = smenaFabrika * 400
  911. smenaFabrika = 0
  912. karta += pay
  913. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your job at the garment factory.</font></b>'
  914. end
  915. if husband > 0 and paydayHusb = 0:
  916. paydayHusb = 1
  917. if husbFin = 0:huspay = 15000
  918. if husbFin = 1:huspay = 25000
  919. if husbFin = 2:huspay = 40000
  920. karta += huspay
  921. '<b><font color="green">Your husband has paid <<huspay>> <b>₽</b> into your bank account.</font></b>'
  922. end
  923. if stipuha = 1 and stipuhaday = 0:stipuhaday = 1 & karta += 1200 & '<b><font color="green">You have received 1,200 <b>₽</b> scholarship.</font></b>'
  924. if housr = 1 and haday = 0 and BuyHous = 0:haday = 1 & money -= 3000 & '<b><font color="red">You paid 3,000 <b>₽</b> for your apartment.</font></b>'
  925. if housr = 1 and electroday = 0:
  926. electroday = 1
  927. if elektro >= 800:elektro = 800 + rand(0, 100)
  928. money -= elektro
  929. '<b><font color="red">You paid <<elektro>> for electricity.</font></b>'
  930. end
  931. if housr = 1 and kabel > 0 and kabelday = 0:kabelday = 1 & money -= 300 & '<b><font color="red">You have paid 300 <b>₽</b> for cable TV.</font></b>'
  932. end
  933. if day ! 25:
  934. if paydayHusb = 1:paydayHusb = 0
  935. if workKafe = 1 and paydayKafe = 1:paydayKafe = 0
  936. if workSec = 1 and paydaySec = 1:paydaySec = 0
  937. if housr = 1 and haday = 1 and BuyHous = 0:haday = 0
  938. if housr = 1 and electroday = 1:electroday = 0
  939. if housr = 1 and kabel > 0 and kabelday = 1:kabelday = 0
  940. if stipuhaday = 1:stipuhaday = 0
  941. if nopaytanwork = 1:nopaytanwork = 0
  942. if nopaypoly = 1:nopaypoly = 0
  943. if nopaysalon = 1:nopaysalon = 0
  944. if paydaybistrosec = 1:paydaybistrosec = 0
  945. end
  946. if sdaday = day and sdamonth = month and housr = 0:
  947. housr = 1
  948. '<b><font color="red">Your tenants have moved out and your apartment is now vacant.</font></b>'
  949. !msg 'Your tenants have moved out and your apartment is now vacant.'
  950. end
  951. !!------------------------------------------------------------------------------------------------------------
  952. killvar 'holyday'
  953. killvar 'kanikuli'
  954. !!sisboyparty
  955. !!-1 - don''t go to the party
  956. !!0 - don''t know about parties
  957. !!1 - knows about the parties
  958. !!2 - agreed to go to the party
  959. !!3 - Missed the party
  960. if storyline = 1:
  961. !!Party refresh if you didn''t see sis
  962. if week = 1 and sisboyparty ! 2:
  963. if sisboyparty = -1: sisboyparty = 1
  964. if sisboypartyQW >= 2 and sisboyparty > 0:
  965. sisboyparty_day = daystart + rand(3,5)
  966. end
  967. end
  968. if sisboyparty = 2 and sisboyparty_day + 1 < daystart: sisboyparty = 3
  969. !!missed graduation
  970. if month = 5 and day = 26:
  971. if schoool_year = 2001 and year = 2018 and kanikuli ! 7:
  972. grad_miss = daystart + 1
  973. elseif schoool_year = 2000 and year = 2017 and kanikuli ! 7:
  974. grad_miss = daystart + 1
  975. end
  976. end
  977. if SchoolAtestat = 0:
  978. if month = 12 and day > 25:
  979. if day < 31:
  980. $holyday = '<b>Winter Break in <<32-day>> days.</b>'
  981. else
  982. $holyday = '<b>Winter Break starts tomorrow.</b>'
  983. end
  984. elseif month = 1 and day <= 15:
  985. kanikuli = 2
  986. if day < 13:
  987. $holyday = '<b>Winter Break.</b>'
  988. elseif day < 15:
  989. $holyday = '<b>Winter Break ends in <<16-day>> days.</b>'
  990. else
  991. $holyday = '<b>Last day of Winter Break.</b>'
  992. end
  993. elseif month = 3 and day > 13:
  994. if day < 19:
  995. $holyday = '<b>Spring Break starts in <<20-day>> days.</b>'
  996. elseif day = 19:
  997. $holyday = '<b>Spring Break starts tomorrow.</b>'
  998. elseif day >= 20 and day <= 26:
  999. kanikuli = 3
  1000. if day < 24:
  1001. $holyday = '<b>Spring Break.</b>'
  1002. elseif day < 26:
  1003. $holyday = '<b>Spring Break ends in <<27-day>> days.</b>'
  1004. else
  1005. $holyday = '<b>Last day of Spring Break.</b>'
  1006. end
  1007. end
  1008. elseif month = 5:
  1009. if ( (schoool_year = 2000 and year = 2017) or (schoool_year = 2001 and year = 2018) ) and day >= 19 and day <= 25:
  1010. if day = 25:
  1011. kanikuli = 6
  1012. $holyday = '<b>Your graduation is today. Be there by 8:00.</b>'
  1013. elseif day = 24:
  1014. $holyday = '<b>Your graduation is tomorrow. Be there by 8:00.</b>'
  1015. else
  1016. $holyday = '<b>Your graduation is in <<26-day>> days.</b>'
  1017. end
  1018. elseif day >= 25:
  1019. if day = 31:
  1020. $holyday = '<b>Summer Break starts tomorrow.</b>'
  1021. else
  1022. $holyday = '<b>Summer Break starts in <<32-day>> days.</b>'
  1023. end
  1024. end
  1025. elseif month = 6 or month = 7 or month = 8:
  1026. kanikuli = 4
  1027. if month = 8 and day >= 25:
  1028. if day = 31:
  1029. $holyday = '<b>Last day of Summer Break.</b>'
  1030. else
  1031. $holyday = '<b>Summer Break ends in <<32-day>> days.</b>'
  1032. end
  1033. else
  1034. $holyday = '<b>Summer Break.</b>'
  1035. end
  1036. elseif month = 10 and day >= 29:
  1037. $holyday = '<b>Autumn Break starts in <<35-day>> days.</b>'
  1038. elseif month = 11:
  1039. if day < 3:
  1040. $holyday = '<b>Autumn Break starts in <<4-day>> days.</b>'
  1041. elseif day = 3:
  1042. $holyday = '<b>Autumn Break starts tomorrow.</b>'
  1043. elseif day < 6:
  1044. kanikuli = 1
  1045. $holyday = '<b>Autumn Break.</b>'
  1046. elseif day < 11:
  1047. kanikuli = 1
  1048. $holyday = '<b>Autumn Break ends in <<12-day>> days.</b>'
  1049. elseif day = 11:
  1050. kanikuli = 1
  1051. $holyday = '<b>Last day of Autumn Break.</b>'
  1052. end
  1053. end
  1054. end
  1055. end
  1056. killvar 'natholi'
  1057. if month = 1 and day >= 1 and day <= 8:
  1058. $natholi = 'New Year holidays'
  1059. natholi = 1
  1060. if day = 1:$natholi += ', New Year'
  1061. if day = 7:$natholi += ', Christmas'
  1062. end
  1063. if month = 2 and day = 23:$natholi = 'Defender of Fatherland Day' & natholi = 1
  1064. if month = 3 and day = 8:$natholi = 'Women''s Day' & natholi = 1
  1065. if month = 5 and day = 1:$natholi = 'Spring and Labor Day' & natholi = 1
  1066. if month = 5 and day = 2:$natholi = 'National holiday' & natholi = 1
  1067. if month = 5 and day = 9:$natholi = 'Victory Day' & natholi = 1
  1068. if month = 6 and day = 12:$natholi = 'Russia Day' & natholi = 1
  1069. if month = 6 and day = 13:$natholi = 'National holiday' & natholi = 1
  1070. if month = 11 and day = 4:$natholi = 'Unity Day' & natholi = 1
  1071. if natholi = 1:
  1072. if $holyday ! '': $holyday += '<br>'
  1073. $holiday += $natholi
  1074. end
  1075. if bcream_used >= 1:
  1076. bcream_used = 0
  1077. temp = rand(0,5)
  1078. nbsize += temp
  1079. if temp > 0:'Feels like your breasts have grown slightly.'
  1080. end
  1081. if steroid_dose >= 1:
  1082. if lashair < 1:
  1083. pcs_pubes += steroid_dose
  1084. pcs_leghair += steroid_dose
  1085. end
  1086. steroid_dose = 0
  1087. end
  1088. if aphrodisiac_overdose = 1:aphrodisiac_overdose = 0
  1089. if aphrodisiac_timer ! 0:aphrodisiac_timer = 0
  1090. if mentats_dose = 1:
  1091. mentats_dose = 0
  1092. elseif mentats_dose > 1:
  1093. pain['head'] += 20 * mentats_dose
  1094. mentats_dose = 0
  1095. end
  1096. if breastpumped = 0 and breastcount > 0: breastcount -= 1
  1097. if breastpumped = 1: breastpumped = 0
  1098. !!Appearance base calculation call
  1099. gs 'body_shape', 'basebeautycalc'
  1100. !! vovan, from 1.2.5
  1101. hanters_check = 0
  1102. mushroom_pickers = 0
  1103. horse_river = 0
  1104. haying_time = 0
  1105. mira_go_river = 0
  1106. forestpicnic = 0
  1107. if Mira_no > 0: Mira_no -= 1
  1108. if Mira_no < 0: Mira_no = 0
  1109. if catout ! 0: catout = 0
  1110. if feedcat ! 0: feedcat = 0
  1111. loc_count = ARRSIZE('$CloLosLoc')
  1112. i = loc_count - 1
  1113. :loopCloLoc
  1114. $CloLoc = $CloLosLoc[i]
  1115. CloLostOn = CloLosDay[$CloLoc]
  1116. if CloLostOn + RAND(7,14) < daystart :
  1117. gs 'clothing', 'recover_lost_clothes', $CloLoc, 2
  1118. end
  1119. i -=1
  1120. if i > -1 :jump 'loopCloLoc'
  1121. --- cikl ---------------------------------