stat 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094
  1. # stat
  2. clr
  3. if Enable_Android = 0:
  4. if oldobjmenu = 0:
  5. gs 'obj_din', 'new'
  6. else
  7. gs 'obj_din', 'old'
  8. end
  9. end
  10. if daystart_start < 100:
  11. pl '<BR>Did you start at the <a href="exec:daystart_start = 241 & gs''daystart'' & gs''stat''">end of August</a> or <a href="exec:daystart_start = 152 & gs''daystart'' & gs''stat''">beginning of June</a>?'
  12. exit
  13. end
  14. view
  15. rand1=rand(0,100)
  16. $stat_msg=''
  17. if poSkill > 1000:poSkill = 1000
  18. if cheatHealth = 1:dynamic $cheatmenu['std_cure']
  19. if analplay >= 2 and anus <= 10:anus += 1 & analplay = 0
  20. if analplay >= 4 and anus <= 15:anus += 1 & analplay = 0
  21. if analplay >= 8 and anus <= 20:anus += 1 & analplay = 0
  22. musle[1] = musle
  23. flex[1] = pcs_agil
  24. stamina[1] = pcs_vital * 3
  25. wipo[1] = will
  26. intel[1] = pcs_intel - bimbostupidity
  27. krasota[1] = vnesh
  28. rost[1] = rost
  29. salo[1] = salo
  30. fat[1] = fat
  31. Bteh[1] = bteh
  32. Uteh[1] = uteh
  33. Zteh[1] = zteh
  34. !!flex[0] = pcs_agil
  35. !!stamina[0] = pcs_vital * 3
  36. !!krasota[0] = vnesh
  37. !!wipo[0] = will
  38. !!This is a temporary stop-gap measure for the accomadation skill and will be removed
  39. if succubusflag = 1 and sucskill >= 4:
  40. if pain['throat'] > 0: pain['throat'] = 0 & sucexcess -= 1
  41. if pain['asshole'] > 0: pain['asshole'] = 0 & sucexcess -= 1
  42. if pain['vaginal'] > 0: pain['vaginal'] = 0 & sucexcess -= 1
  43. if vgape > 0: vgape = 0 & vgapetime = 0 & sucexcess -= 1
  44. if agape > 0: agape = 0 & agapetime = 0 & sucexcess -= 1
  45. end
  46. !!!CHEATS!!!
  47. if cheatWork = 1:work = 0
  48. if cheatWorkKiskis = 1:young_shop_miss = 0
  49. if cheatHapri = 1:hapri = 1
  50. if cheatKlisma = 1:klismaday = daystart & klismaday1 = 1
  51. if cheatNomakeup = 1:
  52. if mop = 0:mop = 1
  53. end
  54. if cheatNosweat = 1 and sweat > 0:sweat = 0
  55. if cheatNoEat = 1:
  56. if energy < 35:energy = 35
  57. if water < 35:water = 35
  58. end
  59. if cheatpirate = 1 and pirathorny < 20:pirathorny = 20
  60. if CheatNoSleep = 1 and son < 35:son = 35
  61. if alko > 0 and frost > 0:frost = 0
  62. if StrongNarkota >= 20:
  63. if alko > 0:alko = 0
  64. end
  65. if lernSkill >= 8:pcs_intel += 1 & lernSkill = 0
  66. if lern >= 10:pcs_intel += 1 & lern = 0
  67. if GorSlut = 1:
  68. $gnikname = 'flirt'
  69. elseif GorSlut = 2:
  70. $gnikname = 'cocksucker'
  71. elseif GorSlut = 3:
  72. $gnikname = 'easy lay'
  73. elseif GorSlut = 4:
  74. $gnikname = 'sex addict'
  75. elseif GorSlut = 5:
  76. $gnikname = 'slut'
  77. elseif GorSlut = 6:
  78. $gnikname = 'talking pussy'
  79. end
  80. if GorSlut >= 2:KatjaKnowBJ = 1
  81. if GorSlut >= 1 or preg > 0:KatjaKnowSex = 1
  82. if GorSlut > 6: GorSlut = 6
  83. if film > 0:
  84. !pornoaktrissa
  85. $kompromatFoto = 'The photo is a screenshot from one of your porn movies.'
  86. elseif fotoyousuck = 1:
  87. !!sucked in a couple of guys and was sfotografirovanna
  88. $kompromatFoto = 'The picture shows you sucking two cocks at the same time.'
  89. elseif fotoCFNMsex > 0:
  90. $kompromatFoto = 'In the photo you see yourself getting fucked from behind by a random guy. This must have been taken in the stripclub.'
  91. elseif fotoCFNMblowjobCum > 0:
  92. !!cum on face in the strip club
  93. $kompromatFoto = 'In the photo you are sitting infront of a guy, kissing his cock. There seems to be cum on your face. This photo must have been taken in the stripclub.'
  94. elseif fotoCFNMblowjob > 0:
  95. !!sucked in front of everyone
  96. $kompromatFoto = 'In the photo you are giving a guy a blowjob. You can spot a group of women in the background and it seems like this photo was taken in the stripclub.'
  97. elseif stripdancesum > 0:
  98. !!stripper
  99. $kompromatFoto = 'In the photo you are dancing on a pole. Obviously someone photographed you, while you were on stage at the stripclub.'
  100. elseif modelfoto > 0:
  101. !!photo model
  102. $kompromatFoto = 'The photo shows you naked, it is very well taken and must be from a shoot at the modeling agency.'
  103. end
  104. shameless = guy + stat['bj'] + stat['anal'] + stat['hj'] + ((slutty + gang) * 2)
  105. moneySUM = money + karta + stolmoney
  106. cumSUM = cumsumbod/40
  107. if husbizvradd > 5:izvratH = 1
  108. if husbharmin > 10:harakHusb = 0
  109. if clrbelo < 0:clrbelo = 0 & tanga = 0
  110. if husband = 0:
  111. husbizvradd = 0
  112. husbharmin = 0
  113. husbandMark = 0
  114. houseslut = 0
  115. end
  116. if SNarkvnesh = 0:SNarkvnesh = 1
  117. if SNarkTimes >= SNarkvnesh * 25:
  118. SNarkvnesh += 1
  119. vidage += 1
  120. end
  121. if gopota >= 20 and gnewQW = 1:gnewQW = 2
  122. if workDisk = 4 and week > 5:workDisk = 1
  123. if workDisk = 3 and week > 5:workDiskAtkPlayer = 1
  124. if fat < 0:fat = 0
  125. if vokal < 0:vokal = 0
  126. if vokal > 100:vokal = 100
  127. if dance > 100:dance = 100
  128. if stripdance > 100:stripdance = 100
  129. if poledance > 100:poledance = 100
  130. if bfa < 0:bfa = 0
  131. if beg < 0:beg = 0
  132. if beg > 2000:beg = 2000
  133. if oficiant > 100:oficiant = 100
  134. if vagina > 36:vagina = 36
  135. if throat > 36:throat = 36
  136. if anus > 36:anus = 36
  137. if Jab > 120:Jab = 120
  138. if Punch > 120:Punch = 120
  139. if Kik > 120:Kik = 120
  140. if KikDef > 120:KikDef = 120
  141. if NarkImmune = 1:
  142. if narkoman ! 0:narkoman = 0
  143. elseif nark >= 30 and narkoman = 0 and NarkImmune = 0:
  144. narkoman = 1
  145. elseif nark = 0 and narkoman = 1:
  146. narkoman = 0
  147. end
  148. if CheatSlut = 1 or succubusflag = 1:
  149. !!Succubus cannot get pregnant
  150. mesec = 0
  151. FocH = 0
  152. EggRH = 0
  153. Ovulate = 0
  154. fertegg = 0
  155. UnfertEgg = 0
  156. PregChem = 0
  157. preg = 0
  158. LutH = 0
  159. RecovH = 0
  160. babyembryo = 0
  161. cycle = 1
  162. if pcs_horny < 50 and CheatSlut = 1: pcs_horny = 50
  163. end
  164. boxing = Jab + Punch + Kik + KikDef
  165. if boxing > 100:boxing = 100
  166. if pcs_stren > 100 and mutagenP = 0:pcs_stren = 100
  167. if speed > 100 and mutagenS = 0:speed = 100
  168. if pcs_agil > 100 and mutagenA = 0:pcs_agil = 100
  169. if react > 100 and mutagenR = 0:react = 100
  170. if pcs_vital > 100 and mutagenV = 0:pcs_vital = 100
  171. if will > 100 and mutagenW = 0:will = 100
  172. if pcs_intel > 100 and mutagenI = 0 and student = 0 and diplom = 0:pcs_intel = 100
  173. if pcs_stren > 150 and mutagenP = 1:pcs_stren = 150
  174. if speed > 150 and mutagenS = 1:speed = 150
  175. if pcs_agil > 150 and mutagenA = 1:pcs_agil = 150
  176. if react > 150 and mutagenR = 1:react = 150
  177. if pcs_vital > 150 and mutagenV = 1:pcs_vital = 150
  178. if will > 150 and mutagenW = 1:will = 150
  179. if pcs_intel > 150 and mutagenI = 1 and student = 0 and diplom = 0:pcs_intel = 150
  180. if pcs_stren > 200 and mutagenP = 2:pcs_stren = 200
  181. if speed > 200 and mutagenS = 2:speed = 200
  182. if pcs_agil > 200 and mutagenA = 2:pcs_agil = 200
  183. if react > 200 and mutagenR = 2:react = 200
  184. if pcs_vital > 200 and mutagenV = 2:pcs_vital = 200
  185. if will > 200 and mutagenW = 2:will = 200
  186. if pcs_intel > 200 and mutagenI = 2 and student = 0 and diplom = 0:pcs_intel = 200
  187. if pcs_stren > 250 and mutagenP = 3:pcs_stren = 250
  188. if speed > 250 and mutagenS = 3:speed = 250
  189. if pcs_agil > 250 and mutagenA = 3:pcs_agil = 250
  190. if react > 250 and mutagenR = 3:react = 250
  191. if pcs_vital > 250 and mutagenV = 3:pcs_vital = 250
  192. if will > 250 and mutagenW = 3:will = 250
  193. if pcs_intel > 250 and mutagenI = 3 and student = 0 and diplom = 0:pcs_intel = 250
  194. if pcs_intel > 250:pcs_intel = 250
  195. if MagikDostup = 0:
  196. !!!CV edition: Moved the statement after each orgasm stage to it''s own string
  197. $levelUpString = '<b>You feel like a strength has been revealed within you and you gush with magic, lifting you to a new energy level.</b>'
  198. if orgasm >= 1 and magik < 1:
  199. magik = 1
  200. glaraz += 1
  201. rikudo += 500
  202. $stat_msg += '<BR>' + $levelUpString
  203. elseif orgasm >= 2 and magik < 2:
  204. magik = 2
  205. resnic += 1
  206. rikudo += 500
  207. $stat_msg += '<BR>' + $levelUpString
  208. elseif orgasm >= 4 and magik < 3:
  209. magik = 3
  210. glaraz += 1
  211. rikudo += 500
  212. $stat_msg += '<BR>' + $levelUpString
  213. elseif orgasm >= 8 and magik < 4:
  214. magik = 4
  215. resnic += 1
  216. rikudo += 500
  217. $stat_msg += '<BR>' + $levelUpString
  218. elseif orgasm >= 16 and magik < 5:
  219. magik = 5
  220. glaraz += 1
  221. rikudo += 500
  222. $stat_msg += '<BR>' + $levelUpString
  223. elseif orgasm >= 32 and magik < 6:
  224. magik = 6
  225. resnic += 1
  226. rikudo += 1000
  227. $stat_msg += '<BR>' + $levelUpString
  228. elseif orgasm >= 64 and magik < 7:
  229. magik = 7
  230. glaraz += 1
  231. rikudo += 1000
  232. $stat_msg += '<BR>' + $levelUpString
  233. elseif orgasm >= 100 and magik < 8:
  234. magik = 8
  235. rikudo += 1000
  236. $stat_msg += '<BR>' + $levelUpString
  237. elseif orgasm >= 200 and magik < 9:
  238. magik = 9
  239. rikudo += 1000
  240. $stat_msg += '<BR>' + $levelUpString
  241. elseif orgasm >= 300 and magik < 10:
  242. magik = 10
  243. rikudo += 2000
  244. $stat_msg += '<BR>' + $levelUpString
  245. elseif orgasm >= 400 and magik < 11:
  246. magik = 11
  247. rikudo += 4000
  248. $stat_msg += '<BR>' + $levelUpString
  249. elseif orgasm >= 500 and magik < 12:
  250. magik = 12
  251. rikudo += 4000
  252. $stat_msg += '<BR>' + $levelUpString
  253. elseif orgasm >= 600 and magik < 13:
  254. magik = 13
  255. rikudo += 4000
  256. $stat_msg += '<BR>' + $levelUpString
  257. elseif orgasm >= 700 and magik < 14:
  258. magik = 14
  259. rikudo += 4000
  260. $stat_msg += '<BR>' + $levelUpString
  261. elseif orgasm >= 800 and magik < 15:
  262. magik = 15
  263. rikudo += 8000
  264. $stat_msg += '<BR>' + $levelUpString
  265. elseif orgasm >= 900 and magik < 16:
  266. magik = 16
  267. rikudo += 8000
  268. $stat_msg += '<BR>' + $levelUpString
  269. elseif orgasm >= 1000 and magik < 17:
  270. magik = 17
  271. rikudo += 8000
  272. $stat_msg += '<BR>' + $levelUpString
  273. elseif orgasm >= 1100 and magik < 18:
  274. magik = 18
  275. rikudo += 8000
  276. $stat_msg += '<BR>' + $levelUpString
  277. elseif orgasm >= 1200 and magik < 19:
  278. magik = 19
  279. rikudo += 8000
  280. $stat_msg += '<BR>' + $levelUpString
  281. elseif orgasm >= 1300 and magik < 20:
  282. magik = 20
  283. rikudo += 16000
  284. $stat_msg += '<BR>' + $levelUpString
  285. elseif orgasm >= 1400 and magik < 20:
  286. magik = 21
  287. rikudo += 21000
  288. $stat_msg += '<BR>' + $levelUpString
  289. end
  290. !!!
  291. end
  292. if pcs_dom > 100: pcs_dom = 100
  293. if SUB > 100: SUB = 100
  294. if VAF > 200: VAF = 200
  295. if SUB >= pcs_dom and pcs_dom > 0:SUB = SUB - pcs_dom & pcs_dom = 0
  296. if pcs_dom >= SUB and SUB > 0:pcs_dom = pcs_dom - SUB & SUB = 0
  297. if pcs_horny < 0:pcs_horny = 0
  298. healthmax = (pcs_vital*10 + pcs_stren*5)
  299. willpowermax = (pcs_intel*5 + will*5)
  300. mannamax = (pcs_intel * magik) + magik * 100 + pcs_vital * 10 + rikudo
  301. if healthmax < 1:healthmax = 1
  302. if willpowermax < 1:willpowermax = 1
  303. if mannamax < 1:mannamax = 1
  304. !pre-calc max value for later display
  305. if fairycurse >= daystart and fairyshoo > 0: pcs_horny = 90
  306. if min_arousal > pcs_horny:pcs_horny = min_arousal
  307. if Enable_lockhorny > 0 and pcs_horny < Enable_lockhorny - 1:pcs_horny = Enable_lockhorny - 1
  308. if pcs_horny < 0:pcs_horny = 0
  309. if health > healthmax:health = healthmax
  310. if willpower > willpowermax:willpower = willpowermax
  311. if manna > mannamax:manna = mannamax
  312. if hypnoAddict = 1 and pcs_horny < 30:
  313. pcs_horny = 30
  314. elseif hypnoAddict = 2 and pcs_horny < 50:
  315. pcs_horny = 50
  316. end
  317. if spdirtyi = 1 or hypnoAddict = 0:missCum = 0
  318. if missCum >= timeTresh:
  319. if pcs_horny < 90:pcs_horny = 90
  320. if preziktype = 0: prezikcount = prezik
  321. if preziktype = 2: preziksabo = prezik
  322. prezik = 0
  323. preziktype = 1
  324. end
  325. !!musle = strenbuf + vitalbuf
  326. !!!!!!!!!!!
  327. !!!TIME!!!
  328. !!!!!!!!!!!
  329. ! WD: totminut fix ~ Calculates total minutes since NYE 2000
  330. if nminut ! minut:
  331. ! Zero totminut will be at New Years Eve of 2015
  332. ! Years since 2015 in days
  333. totminut = (year - 2015) * 365
  334. ! Days this year
  335. if month > 1 : totminut += 31 & ! Jan
  336. if month > 2 : totminut += 28 & ! Feb
  337. if month > 3 : totminut += 31 & ! Mar
  338. if month > 4 : totminut += 30 & ! Apr
  339. if month > 5 : totminut += 31 & ! May
  340. if month > 6 : totminut += 30 & ! Jun
  341. if month > 7 : totminut += 31 & ! Jul
  342. if month > 8 : totminut += 31 & ! Aug
  343. if month > 9 : totminut += 30 & ! Sep
  344. if month > 10: totminut += 31 & ! Oct
  345. if month > 11: totminut += 30 & ! Nov
  346. if month > 12: totminut += 31 & ! Dec
  347. if month > 13: totminut += 31 & ! Jan rollover sanity check
  348. totminut += day
  349. ! Hours
  350. totminut = totminut * 24 + hour
  351. ! Minutes
  352. totminut = totminut * 60 + minut + sec / 60
  353. nminut = minut
  354. end
  355. !!painkiller
  356. if pain['killer'] > 0:
  357. if pain['killer'] = 1: pain_timer = totminut - 2
  358. pain['killer'] = totminut - pain_timer
  359. if pain['killer'] >= 243: pain['killer'] = 0
  360. end
  361. ! WD: 'daystart' Should start at 1
  362. if daystart = 0: daystart = 1
  363. !!Gaping of vagina recovery time
  364. if vgape > 0:
  365. if vgapetime = 0: vgapetime = totminut
  366. if (vgapetime + 2500) <= totminut:vgape -= 1 & vgapetime = 0
  367. end
  368. !!Gaping of anus recovery time
  369. if agape > 0:
  370. if agapetime = 0: agapetime = totminut
  371. if (agapetime + 2500) <= totminut:agape -= 1 & agapetime = 0
  372. end
  373. !!Recovery from spanking - will be superseded by pain system
  374. if spanked > 0:
  375. if spankedtime = 0: spankedtime = totminut
  376. if (spankedtime + 2500) <= totminut:spanked -= 1 & spankedtime = 0
  377. end
  378. !! Orgasmic cooldown
  379. if orgasmic ! 0:
  380. if orgasmic < totminut - 30: orgasmic = 0 & pcs_horny = 0
  381. end
  382. if sec >= 60:
  383. :loopsec
  384. minut += 1
  385. sec -= 60
  386. if sec >= 60:jump 'loopsec'
  387. end
  388. if minut >= 60:
  389. :loopmin
  390. hour += 1
  391. if SbrosNerdism = 1:Astat_nerd[pc] = will / 10 - orgasm
  392. if Astat_nerd[pc] < 0:Astat_nerd[pc] = 0
  393. if obkvsdam > 0:obkvsdam = rand(2, 5)
  394. if scpopt > 1: scpopt = 0
  395. if insleep = 1:
  396. energy -= (4 + succublvl/2)
  397. water -= (4 + succublvl/2)
  398. son -= 4
  399. else
  400. energy -= (8 + succublvl)
  401. water -= (8 + succublvl)
  402. son -= 4
  403. end
  404. minut -= 60
  405. gs 'femcyc'
  406. if hypnoAddict > 0:dynamic $hypnoAddiction
  407. if alko > 0 and alkoblock = 0:
  408. if alko >= 4:
  409. if beg > 0:beg -= 1
  410. if pcs_vball >= 50:pcs_vball -= 1
  411. if alko >= 6:
  412. if pcs_stren > 10:pcs_stren -= 1
  413. if pcs_vital > 10:pcs_vital -= 1
  414. if pcs_intel > 10:pcs_intel -= 1
  415. alko -= rand (1, 2)
  416. end
  417. end
  418. alko -= 1
  419. end
  420. !!!!!!!!!!!!!
  421. !!!Avtoboy!!!
  422. !!!!!!!!!!!!!
  423. if hour >= 8 and hour <= 23 and NPCnum > 10 and insleep = 0:
  424. :markturnirotbort
  425. xf = 0
  426. :markturnirotbortt
  427. xf += 1
  428. turnirFighter[xf] = rand(2, NPCnum)
  429. if xf < 2:jump 'markturnirotbortt'
  430. if turnirFighter[1] = turnirFighter[2]:jump 'markturnirotbort'
  431. a = turnirFighter[1]
  432. i = turnirFighter[2]
  433. NoView = 1
  434. gs 'Autofight'
  435. end
  436. !!!!!!!!!!!!!
  437. if shame > 0:shame -= 1 & manna -= 5
  438. if smoker >= 20:smokerNeed += 1
  439. if smokerNeed > 10 and InSleep = 0:manna -= manna * 10/100
  440. if smokerNeed > 300:smokerNeed = 0 & smoker = 0
  441. if StrongNarkota > 0:StrongNarkota -= 1
  442. if SLomka > 0:SLomka += 1 & manna -= 500
  443. if SLomka > 100 and StrongNarkota <= 0:SLomka = 0 & SNarkTimes = 0
  444. if narkoman = 1 and narkday ! daystart:
  445. health -= 5
  446. willpower -= 5
  447. manna -= 10
  448. end
  449. if tanga = 0 and PCloPants > 0 and $clothingworntype ! 'nude':mosolpred += 1
  450. if mosolpred >= 10:
  451. mosol += 1
  452. mosolpred -= 10
  453. end
  454. if mosol >= 50:
  455. manna -= 5
  456. end
  457. if energy > 100:
  458. fat += (energy - 100) / 4
  459. energy = 100
  460. end
  461. if mosol > 0:
  462. if tanga = 1 or $clothingworntype = 'nude':mosol -= 1
  463. end
  464. if lipbalmstat > 0:lipbalmstat -= 1
  465. if sickstage = 1:sick += 1 & sicktimer += 1
  466. if sickstage = 1 and sicktimer >= 80:sicktimer = 0 & sickstage = 2
  467. if sickstage = 2 and sick > 0:sick -= 1
  468. if sickstage = 2 and sick <= 0:sick = 0 & sickstage = 0
  469. if perkice > 0:perkice -= 1
  470. if frost > 0:frost -= 1
  471. if KGOLpers > 0:
  472. if KGHP < KGHPMAX:KGHP += 10
  473. if KGManna < KGMannaMax:KGManna += 10
  474. end
  475. if pain['head'] > 0:pain['head'] -= rand(0,1)
  476. if pain['hair'] > 0:pain['hair'] -= rand(0,1)
  477. if pain['ears'] > 0:pain['ears'] -= rand(0,1)
  478. if pain['eyebrows'] > 0:pain['eyebrows'] -= rand(0,1)
  479. if pain['eyes'] > 0:pain['eyes'] -= rand(0,1)
  480. if pain['cheeks'] > 0:pain['cheeks'] -= rand(0,1)
  481. if pain['nose'] > 0:pain['nose'] -= rand(0,1)
  482. if pain['mouth'] > 0:pain['mouth'] -= rand(0,1)
  483. if pain['lips'] > 0:pain['lips'] -= rand(0,1)
  484. if pain['tongue'] > 0:pain['tongue'] -= rand(0,1)
  485. if pain['throat'] > 0:pain['throat'] -= rand(0,1)
  486. if pain['neck'] > 0:pain['neck'] -= rand(0,1)
  487. if pain['back'] > 0:pain['back'] -= rand(0,1)
  488. if pain['asscheeks'] > 0:pain['asscheeks'] -= rand(0,1)
  489. if pain['asshole'] > 0:pain['asshole'] -= rand(0,1)
  490. if pain['hips'] > 0:pain['hips'] -= rand(0,1)
  491. if pain['thighs'] > 0:pain['thighs'] -= rand(0,1)
  492. if pain['legL'] > 0:pain['legL'] -= rand(0,1)
  493. if pain['legR'] > 0:pain['legR'] -= rand(0,1)
  494. if pain['feet'] > 0:pain['feet'] -= rand(0,1)
  495. if pain['toes'] > 0:pain['toes'] -= rand(0,1)
  496. if pain['shoulders'] > 0:pain['shoulders'] -= rand(0,1)
  497. if pain['armL'] > 0:pain['armL'] -= rand(0,1)
  498. if pain['armR'] > 0:pain['armR'] -= rand(0,1)
  499. if pain['hands'] > 0:pain['hands'] -= rand(0,1)
  500. if pain['fingers'] > 0:pain['fingers'] -= rand(0,1)
  501. if pain['chest'] > 0:pain['chest'] -= rand(0,1)
  502. if pain['breasts'] > 0:pain['breasts'] -= rand(0,1)
  503. if pain['nipples'] > 0:pain['nipples'] -= rand(0,1)
  504. if pain['ribs'] > 0:pain['ribs'] -= rand(0,1)
  505. if pain['tummy'] > 0:pain['tummy'] -= rand(0,1)
  506. if pain['pubic'] > 0:pain['pubic'] -= rand(0,1)
  507. if pain['vaginal'] > 0:pain['vaginal'] -= rand(0,1)
  508. if pain['clitoris'] > 0:pain['clitoris'] -= rand(0,1)
  509. if pain['urethra'] > 0:pain['urethra'] -= rand(0,1)
  510. if pain['cervix'] > 0:pain['cervix'] -= rand(0,1)
  511. if aphrodisiac_timer >= 1:
  512. if pcs_horny < 80:
  513. pcs_horny = 80
  514. else
  515. pcs_horny += 10
  516. end
  517. aphrodisiac_timer -= 1
  518. end
  519. if tanga = 1 and clit_size >= 25:pcs_horny += 20
  520. if insleep = 0:
  521. sweat += rand(0,1)
  522. if temper >= 20: sweat += rand(0,1)
  523. end
  524. ! vovan edition, from 1.2.5
  525. if clearclothes > 0: clearclothes -= 1
  526. if hantersAndreisex > 0: hantersAndreisex -= 1
  527. if hantersSergeisex > 0: hantersSergeisex -= 1
  528. if hantersIgorsex > 0: hantersIgorsex -= 1
  529. if hantslutsex > 0: hantslutsex -= 1
  530. if mira_go_blok > 0: mira_go_blok -= 1
  531. if mira_no_home > 0: mira_no_home -= 1
  532. if minut >= 60:jump 'loopmin'
  533. end
  534. if hour >= 24: gs 'cikl'
  535. if minut < 10:
  536. $nilmin = '0'
  537. else
  538. $nilmin = ''
  539. end
  540. if kid > 0:
  541. i = arrsize('yearkid')
  542. :LoopKidAgeCounter
  543. if i >= 0:
  544. if yearkid[i] = year + 1 and monthkid[i] = month and daykid[i] = day: msg'It is <<$kidname[i]>>''s birthday today.'
  545. i -= 1
  546. jump 'LoopKidAgeCounter'
  547. end
  548. end
  549. !!moodlet
  550. !!mannamax
  551. !!totminut
  552. if Mud >= totminut:
  553. manna = mannamax
  554. $mud = 'You feel buoyed.'
  555. else
  556. $mud = ''
  557. end
  558. if Astat_nerd[pc] > 0:
  559. if lastreadday = daystart:
  560. !!<font color="green">You are completely healthy shine and a healthy glow.</font>
  561. manna = mannamax
  562. SbrosNerdism = 0
  563. $mudnerd = '<font color="green">You are lost in a fantasy after reading a book.</font>'
  564. end
  565. if lastreadday + 1 = daystart:
  566. !!manna = mannamax
  567. SbrosNerdism = 0
  568. $mudnerd = '<font color="black">You are a little bored and want to plunge into a book.</font>'
  569. end
  570. if lastreadday + 2 = daystart:
  571. SbrosNerdism = 0
  572. if manna > mannamax / 2:manna -= 10
  573. $mudnerd = '<font color="red">You really want to read something.</font>'
  574. end
  575. if lastreadday + 3 <= daystart:
  576. if manna > mannamax / 10:manna -= 10
  577. SbrosNerdism = 1
  578. $mudnerd = '<font color="red"><b>You have an incredibly strong desire to read!!!</b></font>'
  579. end
  580. !!$mudnerd += 'lastread<<lastread>> totminut<<totminut>> <<totminut - lastread>>'
  581. else
  582. SbrosNerdism = 0
  583. $mudnerd = ''
  584. end
  585. if bimbolevel > 0:
  586. if bimbowithdrawal = 0:
  587. $bimbostatus = '<font color = #FF1493>You''re, like, super hawt today.</font>'
  588. elseif bimbowithdrawal = 1:
  589. $bimbostatus = '<font color="green">You feel, like, kind of lame today.</font>'
  590. elseif bimbowithdrawal < 4:
  591. $bimbostatus = '<font color="black">You feel, like, totally lame today.</font>'
  592. elseif bimbowithdrawal < 6:
  593. if manna > mannamax / 2:manna -= 10
  594. $bimbostatus = '<font color="red">You really feel, like, awful today.</font>'
  595. elseif bimbowithdrawal >= 6:
  596. if manna > mannamax / 10:manna -= 10
  597. $bimbostatus= '<font color="red"><b>You feel that, like, horrible today!</b></font>'
  598. end
  599. if bimbowithdrawal > 30:
  600. bimbowithdrawal = 0
  601. bimbo = 0
  602. bimbolevel = 0
  603. $stat_msg += '<BR>You suddenly feel as if your head is clear, instead of filled with pink thoughts.'
  604. end
  605. else
  606. bimbowithdrawal = 0
  607. $bimbostatus = ''
  608. end
  609. !
  610. ! WD: Triggers every 15 minutes if not sleeping
  611. ! Update to remove long iterations on loading saves from previous versions
  612. ! Do Nothing if sleeping, invalid Trig15Minute value or more than 6 hours 16 minute pass
  613. if InSleep ! 0 or Trig15Minute > totminut or (totminut - Trig15Minute) >= 376:
  614. set Trig15Minute = totminut
  615. ! More than 15 minutes since last check
  616. else
  617. if (totminut - Trig15Minute) >= 15:
  618. ! begin Loop
  619. :Trig15MinuteLoop
  620. ! Horny Actions
  621. if pcs_horny > 100:
  622. set Trig15Minute = totminut
  623. else
  624. set Trig15Minute += 15
  625. ! WD: Fix vibrator arousal to trigger every 15 minutes, moved from 'time' location
  626. if vibratorin = 1:pcs_horny += rand(1, 5)
  627. ! WD: Fixed Piecing arousal to trigger every 15 minutes, instead of once per day
  628. if pcs_horny < 70:
  629. hornystat = 0
  630. if pirsF = 1:hornystat += 1
  631. if pirsG = 1:hornystat += 1
  632. if pirsGL = 1:hornystat += 1
  633. hornyStat = hornystat * 4
  634. if pirsA = 1:hornystat += 1
  635. if pirsB = 1:hornystat += 1
  636. if pirsC = 1:hornystat += 1
  637. if pirsD = 1:hornystat += 1
  638. if pirsE = 1:hornystat += 1
  639. if pirsN = 1:hornystat += 1
  640. set pcs_horny += hornyStat / 4 + rand(1,4) <= hornyStat mod 4 & ! Apply 1/4 of value on average
  641. end
  642. ! WD: Clothing
  643. if CloStyle = 4 and pcs_horny < 70:set pcs_horny += rand(0, 2)
  644. if (PCloSkirt > 5 or PCloPants > 5) and pcs_horny < 50:set pcs_horny += rand(0, 1)
  645. if PCloTopCut = 4 and pcs_horny < 50:set pcs_horny += rand(0, 1)
  646. end
  647. !!SECTION: Bimbo (15 minute interval update checks)
  648. if bimbolevel = 2:
  649. if manna < mannamax:manna += ((manna / 100) * (rand(0,1)))
  650. if pcs_horny < 25:pcs_horny = 25
  651. if pcs_horny < 100:pcs_horny += 1
  652. end
  653. if bimbolevel = 3:
  654. if (manna < mannamax):manna += ((manna / 100) * (rand(0,2)))
  655. if pcs_horny < 50:pcs_horny = 50
  656. if pcs_horny < 100:pcs_horny += 2
  657. end
  658. !! This is the Succubus non-direct injection (pun intented) sex to sexnutrition and the sexnutrition conversion handling
  659. if succubusflag = 1:
  660. if pcs_horny < 50: pcs_horny = 50
  661. if pcs_horny < 100: pcs_horny += succublvl
  662. if succhungry > 0:
  663. energy -= succhungry*succublvl
  664. water -= succhungry*succublvl
  665. son -= succhungry*succublvl
  666. end
  667. if cumlip > 0:sexnutrition += cumlip & cumlip = 0
  668. !if swallow > 0:sexnutrition += swallow * 2 & swallow = 0
  669. if cumpussy > 0:sexnutrition += cumpussy * 4 & cumpussy = 0
  670. if cumanus > 0:sexnutrition += cumanus * 4 & cumanus = 0
  671. if arrsize('sparrvol') > 0:
  672. suctempi = -1
  673. :SuccAbsorbLoop
  674. suctempi += 1
  675. if suctempi <= 1 or suctempi = 4 or suctempi >= 8:
  676. if suctempi = 12: jump 'SuccAbsorbLoop'
  677. suctemparr = arrpos('sparrloc',suctempi)
  678. if suctemparr >= 0 and sparrloc[suctemparr] = suctempi and sparrvol[suctemparr] > 0:
  679. sexnutrition += succublvl * 5
  680. cumsumbod -= sparrvol[suctemparr]
  681. succubxp += 2
  682. sucabscum = 1
  683. gs 'cum_cleanup', 'cleandeposit', suctemparr
  684. cumloc[suctempi] = 0
  685. spdirty = 0
  686. spdirtyn = 0
  687. spdirtyv = 0
  688. spdirtyf = 0
  689. !! debug code $stat_msg += '<BR>Absorb ext <<sexnutrition>>'
  690. end
  691. end
  692. if suctempi < 17:jump 'SuccAbsorbLoop'
  693. end
  694. if suclezsex < lesbian:
  695. sexnutrition += succublvl * 20
  696. suclezsex = lesbian
  697. succubxp += 3
  698. sucabslez = 1
  699. end
  700. if sexnutrition > 0:
  701. if sucskill >= 3 and succublvl >= 2: sexnutrition += (sexnutrition * 2) / 10
  702. if sucabslez = 1 and sucabscum = 1:
  703. $sucabs1 = 'absorbed energy from the woman you had sex with'
  704. $sucabs2 = ' and you '
  705. $sucabs3 = 'absorb the semen in your body'
  706. elseif sucabscum = 1:
  707. $sucabs3 = 'absorb the semen in your body'
  708. elseif sucabslez = 1:
  709. $sucabs1 = 'absorbed energy from the woman you had sex with'
  710. else
  711. !!Debug code
  712. $stat_msg += '<BR>SOMETHING HAPPENED!'
  713. end
  714. $stat_msg += '<BR>You <<$sucabs1>><<$sucabs2>><<$sucabs3>>, gaining nourishment.'
  715. sucabslez = 0 & sucabscum = 0
  716. $sucabs1 = '' & $sucabs2 = '' & $sucabs3 = ''
  717. if (manna < mannamax): manna += ((manna / 100) * 5)
  718. if energy > 100: entemp = (energy - 100)
  719. if sucexcess < 0 and sexnutrition > 20 and energy > 30:
  720. if sexnutrition - 20 >= (0 - sucexcess) * 2:
  721. sexnutrition += sucexcess * 2
  722. sucexcess = 0
  723. else
  724. sucexcess += (sexnutrition - 20) / 2
  725. sexnutrition = 20
  726. end
  727. end
  728. water += sexnutrition / 2
  729. energy += sexnutrition / 2
  730. son += sexnutrition / 20
  731. if succhungry > 0: succhungry = 0
  732. sexnutrition = 0
  733. if energy > 100: sucexcess += (energy - entemp - 100) & energy = 100 + entemp & killvar 'entemp'
  734. end
  735. end
  736. !! safeguards to prevent bimbolevel from going above or below its intended limits
  737. if bimbolevel > 3: bimbolevel = 3
  738. if bimbolevel < 0: bimbolevel = 0
  739. ! do loop
  740. if (totminut - Trig15Minute) >= 15:jump 'Trig15MinuteLoop'
  741. end
  742. end
  743. !!!!!!!!!!!!!
  744. !!!ENERGY!!!
  745. !!!!!!!!!!!!!
  746. if succubusflag = 1:
  747. if energy < 0:
  748. if fat >= 1:
  749. fat -= 2
  750. energy += 8 + succublvl
  751. else
  752. energy += 8 + succublvl
  753. sucexcess -= (8+succublvl) * (6-succublvl)
  754. end
  755. end
  756. if health < 0:
  757. health = 10
  758. sucexcess -= 25 * (9-succublvl)
  759. end
  760. if willpower < 0:
  761. willpower = 10
  762. sucexcess -= 20 * (9-succublvl)
  763. sucpowzeroed = 4
  764. end
  765. end
  766. if son < 0:
  767. son = 0
  768. manna -= 5
  769. end
  770. if energy < 0:
  771. energy = 0
  772. health -= 5
  773. if fat = 0 and pcs_stren + pcs_vital > 0:
  774. pcs_stren -= 1
  775. pcs_vital -= 1
  776. energy += 8
  777. elseif fat = 0 and pcs_stren + pcs_vital <= 0:
  778. if Enable_nogameover = 0 :
  779. over = 3
  780. gt'gameover'
  781. exit
  782. else
  783. $stat_msg += '<BR><font color=red><B>You starved to death, but Cheat Mode keeps you Alive.</B></font>'
  784. fat = 1
  785. end
  786. elseif fat > 0:
  787. fat -= 1
  788. energy += 8
  789. end
  790. end
  791. if water < 0:
  792. water = 1
  793. health -= 10
  794. willpower -= 1
  795. end
  796. if manna <= 0:
  797. manna = 1
  798. health -= 5
  799. willpower -= 5
  800. !!fat += 1
  801. end
  802. if health < 0:
  803. if Enable_nogameover = 0 :
  804. over = 1
  805. gt'gameover'
  806. exit & !nogameover by illume
  807. else
  808. $stat_msg += '<BR><font color=red><B>You died from injuries, but Cheat Mode keeps you Alive.</B></font>'
  809. health = 0
  810. end
  811. end
  812. if willpower <= 0 :
  813. !this will set willpower to 0 correctly; then check mana =1 for insane-gameover(willpower=0&mana=1).
  814. if manna <= 1:
  815. if Enable_nogameover = 0 :
  816. over = 2
  817. gt'gameover'
  818. exit & !nogameover by illume
  819. else
  820. $stat_msg += '<BR><font color=red><B>You are insane, but Cheat Mode keeps you Alive.</B></font>'
  821. !manna already checked for >=1 in line 1113 if manna <= 0, no need to set another one
  822. end
  823. end
  824. willpower = 0
  825. end
  826. if saloonce = 0 and opPRE = 0:
  827. saloonce = 1
  828. salo = fat
  829. strenbuf = pcs_stren
  830. vitalbuf = pcs_vital
  831. agilbuf = pcs_agil
  832. end
  833. !cars-increase/depressed mood after orgasm/rape
  834. if rape > 0 and rape ! rape_count and orgasm = orgasm_count:
  835. manna = 10
  836. rape_count = rape
  837. elseif orgasm > 0 and orgasm ! orgasm_count:
  838. manna = mannamax
  839. orgasm_count = orgasm
  840. elseif rape > 0 and rape ! rape_count and orgasm > 0 and orgasm ! orgasm_count:
  841. manna = mannamax
  842. orgasm_count = orgasm
  843. rape_count = rape
  844. end
  845. gs 'body'
  846. !!!!!!!!!!!!!
  847. if health >= healthmax:
  848. $health = '<font color="green">You are very healthy.</font>'
  849. elseif health >= healthmax * 75 / 100:
  850. $health = '<font color="blue">You are healthy.</font>'
  851. elseif health >= healthmax * 50 / 100:
  852. $health = '<font color="brown">You are not healthy.</font>'
  853. elseif health >= healthmax * 25 / 100:
  854. $health = '<font color="red">You are sick.</font>'
  855. else
  856. $health = '<font color="red">You are on the verge of death.</font>'
  857. end
  858. if willpower >= willpowermax:
  859. $willpower = '<font color="green">Your mind is clear.</font>'
  860. elseif willpower >= willpowermax * 75 / 100:
  861. $willpower = '<font color="blue">You are mostly clear of mind.</font>'
  862. elseif willpower >= willpowermax * 50 / 100:
  863. $willpower = '<font color="brown">You are depressed.</font>'
  864. elseif willpower >= willpowermax * 25 / 100:
  865. $willpower = '<font color="red">You have depression.</font>'
  866. else
  867. $willpower = '<font color="red">You are on the verge of madness.</font>'
  868. end
  869. if manna >= mannamax:
  870. $manna = '<font color="green">You are in a good mood.</font>'
  871. elseif manna >= mannamax * 75 / 100:
  872. $manna = '<font color="blue">You have a normal mood.</font>'
  873. elseif manna >= mannamax * 50 / 100:
  874. $manna = '<font color="brown">You are in a bad mood.</font>'
  875. elseif manna >= mannamax * 25 / 100:
  876. $manna = '<font color="red">You are in a terrible mood.</font>'
  877. else
  878. $manna = '<font color="red">Your mood is stuck in the gutter.</font>'
  879. end
  880. if energy >= 80:
  881. $energy = '<font color="green">You couldn''t eat one more bite.</font>'
  882. elseif energy >= 40:
  883. $energy = '<font color="blue">You''re not really hungry, but a small snack would be very welcome.</font>'
  884. elseif energy >= 8:
  885. $energy = '<font color="brown">You are hungry.</font>'
  886. else
  887. $energy = '<font color="red">You are very hungry.</font>'
  888. end
  889. if water >= 80:
  890. $water = '<font color="green">You are not thirsty at all.</font>'
  891. elseif water >= 40:
  892. $water = '<font color="blue">You are slightly thirsty.</font>'
  893. elseif water >= 8:
  894. $water = '<font color="brown">You are thirsty.</font>'
  895. else
  896. $water = '<font color="red">You are very thirsty.</font>'
  897. end
  898. if son >= 80:
  899. $son = '<font color="green">You are well rested.</font>'
  900. elseif son >= 40:
  901. $son = '<font color="blue">You are slightly tired.</font>'
  902. elseif son >= 8:
  903. $son = '<font color="brown">You are tired.</font>'
  904. else
  905. $son = '<font color="red">You are very tired.</font>'
  906. end
  907. !$din_shame = {
  908. !!dynamic din_shame
  909. !!shame += 1
  910. !!if shame >= 5:shame = 4 & shameless += 1
  911. !!if shame >= 4:$shame = '<font color="red"><b>of your cheeks blaze zalivshego them blush with shame.</b></font>'
  912. !!if shame = 3:$shame = '<font color="red">Your cheeks are red from the blush of shame.</font>'
  913. !!if shame = 2:$shame = '<font color="brown">You nemnog opokrasneli shame.</font>'
  914. !!if shame = 1:$shame = '<font color="green">You''re a little confused.</font>'
  915. !!if shame <= 0:$shame = '<font color="green">You''re a little confused.</font>'
  916. !!gs 'stat'
  917. }
  918. !!if shame >= 5:shame = 4 & shameless += 1
  919. !!if shame >= 4:$shame = '<font color="red"><b>of your cheeks blaze zalivshego them blush with shame.</b></font>'
  920. !!if shame = 3:$shame = '<font color="red">Your cheeks are red from the blush of shame.</font>'
  921. !!if shame = 2:$shame = '<font color="brown">You nemnog opokrasneli shame.</font>'
  922. !!if shame = 1:$shame = '<font color="green">You''re a little confused.</font>'
  923. !!if shame <= 0:$shame = '<font color="green">You''re a little confused.</font>'
  924. maxmood = 100-moodmodifier
  925. if mood > maxmood:
  926. mood = maxmood
  927. manna = mannamax
  928. $mood = 'You feel buoyed.'
  929. elseif mood < 0:
  930. mood = 0
  931. !{Asylum: basically this means clinically insane, like court-ordered committed, saliva dripping, blubbering...
  932. Ordinarily irreversible at this stage meaning Game Over, but cheat can help}
  933. end
  934. if workFabrika = 1 and week => 1 and week <= 5 and hour > 8 and age => 16 and age < 18 and FabrikaProgulDay ! day or workFabrika = 1 and week => 1 and week <= 5 and hour > 16 and age > 18 and FabrikaProgulDay ! day:
  935. !absence from work in a factory in Pavlovsk
  936. FabrikaProgul += 1
  937. FabrikaProgulDay = day
  938. end
  939. if hotelroom > 0:
  940. if hotelroom1day = daystart: $stat_msg += '<BR>You have 1 night left on your hotel booking.'
  941. if hotelroom1day < daystart and hour <= 11: $stat_msg += '<BR>Your hotel booking has expired and you cannot return to your room after 11:00'
  942. if hotelroom1day < daystart and hour > 11: hotelroom = 0
  943. end
  944. if hour >= 8 and hour < 16 and week < 6 and StoryLine > 0 and SchoolAtestat = 0 and kanikuli = 0 and schoolProgulDay ! daystart:
  945. !!absence from school
  946. schoolprogul += 1
  947. schoolProgulDay = daystart
  948. end
  949. if insleep = 0:gs 'stat_display'
  950. if cumcondslip <= 0:cumcondslip_deep = 0
  951. --- stat ---------------------------------