mod_iwhore_realstat.qsrc 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253
  1. # mod_iwhore_realstat
  2. ! PL '<center><video autoplay loop src="mod/iwhore/images/locations/pavlovsk/events/status/bpm35.mp4"></video></center>'
  3. if $ARGS[0] = 'status':
  4. !!!!!!!!!!!!!!!!!!!!!
  5. !!!Pain calculation!!
  6. !!!!!!!!!!!!!!!!!!!!!
  7. ! if recovering_old_stat = 1: gs 'outdoors', 'main'
  8. if jenna_hellcome ! 1:
  9. gs 'outdoors', 'main'
  10. else
  11. fcolor = rgb(255, 255, 255)
  12. bcolor = rgb(0, 0, 0)
  13. end
  14. if pain['killer'] = 0:
  15. pain['relief'] = 0
  16. elseif pain['killer'] = 1:
  17. pain['relief'] = 50
  18. end
  19. paintmp1 = func('shortgs','modul',pain['head'],pain['hair'],pain['ears'],pain['eyebrows'],pain['eyes'],pain['cheeks'],pain['nose'],pain['mouth'])
  20. paintmp2 = func('shortgs','modul',pain['tummy'],pain['pubic'],pain['vaginal'],pain['labia'],pain['clitoris'],pain['urethra'],pain['cervix'],pain['lips'])
  21. paintmp3 = func('shortgs','modul',pain['throat'],pain['asscheeks'],pain['asshole'],pain['hips'],pain['thighs'],pain['legL'],pain['legR'],pain['feet'])
  22. paintmp4 = func('shortgs','modul',pain['toes'],pain['shoulders'],pain['armL'],pain['armR'],pain['hands'],pain['fingers'],pain['chest'],pain['breasts'])
  23. paintmp5 = func('shortgs','modul',pain['tongue'],pain['neck'],pain['back'],pain['nipples'],pain['ribs'],vgape * 8, agape * 10,spanked * 24)
  24. pain['total'] = func('shortgs','modul',paintmp1,paintmp2,paintmp3,paintmp4,paintmp5)
  25. if pain['total'] > 100: pain['total'] = 100
  26. pain['damage'] = pain['total']
  27. if StrongNarkota > 0:
  28. pain['relief'] = 90
  29. elseif nark > 0:
  30. pain['relief'] = 60
  31. ! elseif pain['killer'] > 12 and alko <= 9:
  32. ! pain['relief'] = 50
  33. end
  34. if pain['relief'] ! 0:
  35. if (pain['total'] / pain['relief']) > 0:
  36. pain['total'] = pain['total'] / pain['relief']
  37. elseif pain['total'] > 0:
  38. pain['total'] = 0
  39. end
  40. end
  41. if pain['total'] > 80:
  42. if (pcs_health * 5) >= healthmax: pcs_health = pcs_health * 20 / 100
  43. if (pcs_mood * 5) >= 100: pcs_mood = pcs_mood * 20 / 100
  44. elseif pain['total'] > 60:
  45. if (pcs_health * 5 / 2) >= healthmax: pcs_health = pcs_health * 40 / 100
  46. if (pcs_mood * 5 / 2) >= 100: pcs_mood = pcs_mood * 40 / 100
  47. elseif pain['total'] > 40:
  48. if (pcs_health * 5 / 3) >= healthmax: pcs_health = pcs_health * 60 / 100
  49. if (pcs_mood * 5 / 3) >= 100: pcs_mood = pcs_mood * 60 / 100
  50. elseif pain['total'] > 20:
  51. if (pcs_health * 5 / 4) >= healthmax: pcs_health = pcs_health * 80 / 100
  52. if (pcs_mood * 5 / 4) >= 100: pcs_mood = pcs_mood * 80 / 100
  53. elseif pain['total'] > 0:
  54. if (pcs_health * 10 / 9) >= healthmax: pcs_health = pcs_health * 90 / 100
  55. if (pcs_mood * 10 / 9) >= 100: pcs_mood = pcs_mood * 90 / 100
  56. end
  57. !!--------------------------pain calculation end--------------------------------
  58. if pcs_sleep > 100: pcs_sleep = 100
  59. if pcs_mood > 100:
  60. pcs_mood = 100
  61. elseif pcs_mood < 0:
  62. pcs_mood = 0
  63. !! Asylum: basically this means clinically insane, like court-ordered committed, saliva dripping, blubbering... Ordinarily irreversible at this stage meaning Game Over, but cheat can help
  64. end
  65. ! PL 'Make up were used to not scary visitors; your hair were shaved in a little area.'
  66. gs 'indik', '2', pcs_horny, pcs_horny
  67. PL '<<$ind>> Arousal'
  68. gs 'indik', '2', pain['total'], pain['total'], pain['damage']
  69. PL '<<$ind>> Pain'
  70. gs 'indik', '1', pcs_health * 100 / healthmax, pcs_health
  71. PL '<<$ind>> Health'
  72. if MagikDostup = 0:
  73. gs 'indik', '1', pcs_mana * 100 / manamax, pcs_mana
  74. PL '<<$ind>> Manna'
  75. end
  76. gs 'indik', '1', pcs_willpwr * 100 / willpowermax, pcs_willpwr
  77. PL '<<$ind>> Willpower'
  78. gs 'indik', '1', pcs_stam * 100 / stammax, pcs_stam
  79. PL '<<$ind>> Stamina'
  80. gs 'indik', '1', pcs_mood, pcs_mood
  81. PL '<<$ind>> Mood'
  82. if cheatNoEat = 0:
  83. gs 'indik', '1', pcs_energy, pcs_energy
  84. PL '<<$ind>> Hunger'
  85. end
  86. if cheatNoDrink = 0:
  87. gs 'indik', '1', pcs_hydra, pcs_hydra
  88. PL '<<$ind>> Thirst'
  89. end
  90. if cheatNoSleep = 0:
  91. gs 'indik', '1', pcs_sleep, pcs_sleep
  92. PL '<<$ind>> Sleep'
  93. end
  94. if mesec > 0:
  95. PL '<BR><font color="red">You are currently having your period.</font> '
  96. else
  97. if recovering_old_stat = 1:
  98. ''
  99. else
  100. PL 'You cannot keep track of your period.'
  101. end
  102. end
  103. if pcs_horny >= 50:
  104. if pcs_horny < 90:
  105. PL '<BR><font color = #DB7093>You are a little nervous, you wonder why...</font>'
  106. else
  107. PL '<BR><font color = #FF1493>You are really nervous...you wonder why...</font>'
  108. end
  109. end
  110. if lactation['active'] <= 0 and lactation['prolactinlvl'] >= 100:
  111. PL 'Your breasts feel weirdly engorged and sore.'
  112. end
  113. if lactation['active'] >= 1:
  114. if lactation['breastmv'] >= lactation['breastmm']-1:
  115. if lact_engorgement > 0 and lact_engorgement < 3:
  116. lact_engorgement = 0
  117. PL 'The nurse milk you.'
  118. end
  119. else
  120. PL 'Your breasts feel soft and empty.'
  121. end
  122. end
  123. ! if recuperation = 1:
  124. ! PL '<font color="red">Pray to your God</font></b>'
  125. ! end
  126. if body_write ! 0 or face_write ! 0:
  127. body_write = 0
  128. face_write = 0
  129. end
  130. if Gerpes >= 5 and GenHerpes =1:
  131. Gerpes = 1
  132. GenHerpes = 0
  133. PL '<BR><b><font color="red">Infections are not helpful: you were taken care for genital herpes</font></b>'
  134. end
  135. if Gerpes >= 3 and Orerpes = 1:
  136. Gerpes = 1
  137. Orerpes = 0
  138. PL '<BR><b><font color="red">Infections are not helpful: you were taken care for oral herpes</font></b>'
  139. end
  140. if Sifilis >= 2:
  141. Sifilis = 1
  142. PL '<BR><b><font color="red">Infections are not helpful: you were taken care for Sifilis. </font></b>'
  143. end
  144. if Triper > 2:
  145. Triper = 1
  146. PL '<BR><b><font color="red">Infections are not helpful: you were taken care for Triper.</font></b>'
  147. end
  148. if Kandidoz > 30:
  149. Kandidoz = 1
  150. PL '<BR><b><font color="red">Infections are not helpful: you were taken care for thrush.</font></b>'
  151. end
  152. if fingal > 0:
  153. PL '<BR><b><font color="red">You have a black eye...and more.</font></b>'
  154. end
  155. ! WD: Bimbo look
  156. if recovering_old_stat = 1:
  157. ''
  158. else
  159. if pcs_sweat ! 0:
  160. pcs_sweat = 0
  161. ! PL 'You were cleaned from sweat and mud and completely disinfected.'
  162. end
  163. if bimbolevel > 0 or succubusflag > 0 or hypnoAddict > 0:
  164. PL 'You are not conscious of your status'
  165. end
  166. end
  167. if frost > 0:
  168. if frost <= 5:
  169. frost = 0
  170. PL '<BR><b><font color="red">You are freezing...but it''s not your body.</font></b>'
  171. end
  172. end
  173. if sick > 0:
  174. sick = 0
  175. PL '<BR><b><font color="red">Infections are not helpful: you were taken care for your sick</font></b>'
  176. end
  177. if StrongNarkota > 20 or body_healing = 1 or body_healing = 2:
  178. PL '<BR><b><font color="red">You are stoned.</font></b>'
  179. end
  180. !if insleep = 0: gs 'stat_display'
  181. if insleep = 0: gs 'stat_sklattrib'
  182. !!The following seems to be part of the combat system.
  183. musle[1] = strenbuf
  184. flex[1] = pcs_agil
  185. stamina[1] = pcs_vital * 3
  186. wipo[1] = pcs_sprt
  187. pcs_hgt[1] = pcs_hgt
  188. salo[1] = salo
  189. fat[1] = fat
  190. Bteh[1] = bteh
  191. Uteh[1] = uteh
  192. Zteh[1] = zteh
  193. !!This is a temporary stop-gap measure for the accomadation skill and will be removed
  194. if succubusflag = 1 and sucskill >= 4:
  195. if pain['throat'] > 0: pain['throat'] = 0 & sucexcess -= 1
  196. if pain['asshole'] > 0: pain['asshole'] = 0 & sucexcess -= 1
  197. if pain['vaginal'] > 0: pain['vaginal'] = 0 & sucexcess -= 1
  198. if vgape > 0: vgape = 0 & vgapetime = 0 & sucexcess -= 1
  199. if agape > 0: agape = 0 & agapetime = 0 & sucexcess -= 1
  200. end
  201. !!mouth cleaning for drinks
  202. if pcs_hydra > hydra_check:
  203. cumspclnt = 2
  204. gs 'cum_cleanup'
  205. end
  206. if alko > 0 and frost > 0:frost = 0
  207. if StrongNarkota >= 20:
  208. if alko > 0:alko = 0
  209. end
  210. if lernSkill >= 8: intel_exp += 1 & lernSkill = 0
  211. if lern >= 10: intel_exp += 1 & lern = 0
  212. if SNarkvnesh = 0:SNarkvnesh = 1
  213. if SNarkTimes >= SNarkvnesh * 25:
  214. SNarkvnesh += 1
  215. vidage += 1
  216. end
  217. if gopota >= 20 and gnewQW = 1:gnewQW = 2
  218. if workDisk = 4 and week > 5:workDisk = 1
  219. if workDisk = 3 and week > 5:workDiskAtkPlayer = 1
  220. if bfa < 0: bfa = 0
  221. if pcs_vag > 36: pcs_vag = 36
  222. if pcs_throat > 36: pcs_throat = 36
  223. if pcs_ass > 36: pcs_ass = 36
  224. if NarkImmune = 1:
  225. if narkoman ! 0:narkoman = 0
  226. elseif nark >= 30 and narkoman = 0 and NarkImmune = 0:
  227. narkoman = 1
  228. elseif nark = 0 and narkoman = 1:
  229. narkoman = 0
  230. end
  231. if CheatSlut = 1 or succubusflag = 1:
  232. !!Succubus cannot get pregnant
  233. mesec = 0
  234. FocH = 0
  235. EggRH = 0
  236. Ovulate = 0
  237. fertegg = 0
  238. UnfertEgg = 0
  239. PregChem = 0
  240. preg = 0
  241. LutH = 0
  242. RecovH = 0
  243. babyembryo = 0
  244. cycle = 1
  245. end
  246. if pcs_horny < 50 and cheatHorny = 1: pcs_horny = 50
  247. if hypnoAddict = 1 and pcs_horny < 30:
  248. pcs_horny = 30
  249. elseif hypnoAddict = 2 and pcs_horny < 50:
  250. pcs_horny = 50
  251. end
  252. !!These will be made obsolete with the combat system overhaul
  253. if pcs_dom < 0: SUB = SUB - pcs_dom & pcs_dom = 0
  254. if SUB < 0: pcs_dom = pcs_dom - SUB & SUB = 0
  255. if pcs_dom > 100: pcs_dom = 100
  256. if SUB > 100: SUB = 100
  257. if SUB >= pcs_dom and pcs_dom > 0:SUB = SUB - pcs_dom & pcs_dom = 0
  258. if pcs_dom >= SUB and SUB > 0:pcs_dom = pcs_dom - SUB & SUB = 0
  259. if pcs_horny < 0: pcs_horny = 0
  260. if pcs_inhib < 0:
  261. pcs_inhib = 0
  262. elseif pcs_inhib > 100:
  263. pcs_inhib = 100
  264. end
  265. healthmax = (pcs_vital * 10 + pcs_stren * 5)
  266. willpowermax = (pcs_intel * 5 + pcs_sprt * 5)
  267. stammax = 5 * (2 * pcs_vital + pcs_agil + pcs_stren) / 2
  268. manamax = (pcs_intel * pcs_magik) + pcs_magik * 100 + pcs_vital * 10 + rikudo
  269. speed = (2 * (pcs_stren + pcs_agil) + pcs_vital) / 5
  270. if healthmax < 1: healthmax = 1
  271. if willpowermax < 1: willpowermax = 1
  272. if stammax < 1: stammax = 1
  273. if manamax < 1: manamax = 1
  274. !pre-calc max value for later display
  275. if fairycurse >= daystart and fairyshoo > 0: pcs_horny = 90
  276. if min_arousal > pcs_horny: pcs_horny = min_arousal
  277. if Enable_lockhorny > 0 and pcs_horny < Enable_lockhorny - 1: pcs_horny = Enable_lockhorny - 1
  278. if pcs_horny < 0: pcs_horny = 0
  279. if pcs_health > healthmax: pcs_health = healthmax
  280. if pcs_willpwr > willpowermax: pcs_willpwr = willpowermax
  281. if pcs_stam > stammax: pcs_stam = stammax
  282. if pcs_mana > manamax: pcs_mana = manamax
  283. if pcs_mood > 100: pcs_mood = 100
  284. !!!!!!!!!!!
  285. !!!TIME!!!
  286. !!!!!!!!!!!
  287. if nminut ! minut or nhour ! hour:
  288. ! Zero totminut will be at New Years Eve of 2015
  289. ! Years since 2015 in days
  290. totminut = (year - 2015) * 365
  291. ! Days this year
  292. if month > 1 : totminut += 31 & ! Jan
  293. if month > 2 : totminut += 28 & ! Feb
  294. if month > 3 : totminut += 31 & ! Mar
  295. if month > 4 : totminut += 30 & ! Apr
  296. if month > 5 : totminut += 31 & ! May
  297. if month > 6 : totminut += 30 & ! Jun
  298. if month > 7 : totminut += 31 & ! Jul
  299. if month > 8 : totminut += 31 & ! Aug
  300. if month > 9 : totminut += 30 & ! Sep
  301. if month > 10: totminut += 31 & ! Oct
  302. if month > 11: totminut += 30 & ! Nov
  303. if month > 12: totminut += 31 & ! Dec
  304. if month > 13: totminut += 31 & ! Jan rollover sanity check
  305. totminut += day
  306. ! Hours
  307. totminut = totminut * 24 + hour
  308. ! Minutes
  309. totminut = totminut * 60 + minut + sec / 60
  310. nminut = minut
  311. nhour = hour
  312. end
  313. !!painkiller
  314. if pain['killer'] > 0:
  315. if pain['killer'] = 1: pain_timer = totminut - 2
  316. pain['killer'] = totminut - pain_timer
  317. if pain['killer'] >= 243: pain['killer'] = 0
  318. end
  319. ! WD: 'daystart' Should start at 1
  320. if daystart = 0: daystart = 1
  321. !!Gaping of vagina recovery time
  322. if vgape > 0:
  323. if vgapetime = 0: vgapetime = totminut
  324. if (vgapetime + 60) <= totminut:vgape -= 1 & vgapetime = 0
  325. end
  326. !!Gaping of anus recovery time
  327. if agape > 0:
  328. if agapetime = 0: agapetime = totminut
  329. if (agapetime + 90) <= totminut:agape -= 1 & agapetime = 0
  330. end
  331. !!Recovery from spanking - will be superseded by pain system
  332. if spanked > 0:
  333. if spankedtime = 0: spankedtime = totminut
  334. if (spankedtime + 2040) <= totminut:spanked -= 1 & spankedtime = 0
  335. end
  336. !! Orgasmic cooldown
  337. if orgasmic ! 0:
  338. if orgasmic < totminut - 30: orgasmic = 0 & pcs_horny = 0
  339. end
  340. if sec >= 60:
  341. :loopsec
  342. minut += 1
  343. sec -= 60
  344. if sec >= 60:jump 'loopsec'
  345. end
  346. if minut >= 60:
  347. :loopmin
  348. hour += 1
  349. minut -= 60
  350. if SbrosNerdism = 1:pcs_nerd = pcs_sprt / 10 - orgasm
  351. if pcs_nerd < 0:pcs_nerd = 0
  352. if obkvsdam > 0:obkvsdam = rand(2, 5)
  353. if scpopt > 1: scpopt = 0
  354. if insleep = 1:
  355. if amphHigh > 0:
  356. pcs_energy -= (4 / amphetamineBonus + succublvl/2)
  357. pcs_hydra -= (8 / amphetamineBonus + succublvl/2)
  358. else
  359. pcs_energy -= (4 * amphetamineBonus + succublvl/2)
  360. pcs_hydra -= (8 * amphetamineBonus + succublvl/2)
  361. end
  362. ! pcs_stam += stammax / 10
  363. pcs_sleep -= 4
  364. if alko > 0: alko -= 1
  365. else
  366. if amphHigh > 0:
  367. pcs_energy -= (8 / amphetamineBonus + succublvl)
  368. pcs_hydra -= (16 / amphetamineBonus + succublvl)
  369. else
  370. pcs_energy -= (8 * amphetamineBonus + succublvl)
  371. pcs_hydra -= (16 * amphetamineBonus + succublvl)
  372. end
  373. ! pcs_stam += stammax / 20
  374. pcs_sleep -= 4
  375. end
  376. if pcs_stam > stammax: pcs_stam = stammax
  377. gs 'femcyc'
  378. ! if hypnoAddict > 0:dynamic $hypnoAddiction
  379. !!manna regen
  380. ! pcs_mana += manamax / 20
  381. if alko > 0 and alkoblock = 0:
  382. if alko >= 6:
  383. if pcs_run > 0: run_deg -= 1
  384. if vball_lvl >= 50: vball_deg -= 1
  385. if alko >= 10:
  386. if pcs_stren > 10: stren_deg -= 1
  387. if pcs_vital > 10: vital_deg -= 1
  388. if pcs_intel > 10: intel_deg -= 1
  389. alko -= rand (0,1)
  390. end
  391. end
  392. alko -= rand (0,1)
  393. end
  394. !!!!!!!!!!!!!
  395. !!!Avtoboy!!!
  396. !!!!!!!!!!!!!
  397. if hour >= 8 and hour <= 23 and NPCnum > 10 and insleep = 0:
  398. :markturnirotbort
  399. xf = 0
  400. :markturnirotbortt
  401. xf += 1
  402. turnirFighter[xf] = rand(2, NPCnum)
  403. if xf < 2:jump 'markturnirotbortt'
  404. if turnirFighter[1] = turnirFighter[2]:jump 'markturnirotbort'
  405. a = turnirFighter[1]
  406. i = turnirFighter[2]
  407. NoView = 1
  408. gs 'mod_iwhore_autofight'
  409. end
  410. !!!!!!!!!!!!!
  411. if shame > 0:shame -= 1 & pcs_mood -= 5
  412. if smoker >= 20:smokerNeed += 1
  413. if smokerNeed > 10 and InSleep = 0 and pcs_mood > 20:pcs_mood -= pcs_mood / 10
  414. if smokerNeed > 300:smokerNeed = 0 & smoker = 0
  415. if StrongNarkota > 0:pcs_mood -= (40 / StrongNarkota) & StrongNarkota -= 1
  416. if amphWithdrawl >= 5: amphWithdrawl += 1 & pcs_mood -= (amphWithdrawl / 5)
  417. if amphHigh > 0:
  418. if amphWithdrawl < 2: amphWithdrawl = 2
  419. amphetamineBonus = 3
  420. amphHigh -= 4
  421. pcs_mood += (2 * amphHigh)
  422. elseif amphHigh <= 0 and amphWithdrawl = 2:
  423. if amphIntake > 0:
  424. amphIntake -= 1
  425. else
  426. amphWithdrawl = 0
  427. end
  428. amphHigh = 0
  429. amphetamineBonus = 2
  430. pcs_mood -= pcs_mood / 10
  431. elseif amphIntake > 0:
  432. amphWithdrawl += 1
  433. elseif amphHigh = 0 and amphWithdrawl = 0:
  434. amphetamineBonus = 1
  435. end
  436. if amphWithdrawl > 169: amphWithdrawl = 1 & amphetamineBonus = 1 & amphCount = 0
  437. if SLomka > 0 and pcs_mood > 10:SLomka += 1 & pcs_mood -= pcs_mood / 10
  438. if SLomka > 100 and StrongNarkota <= 0:SLomka = 0 & SNarkTimes = 0
  439. if narkoman = 1 and narkday ! daystart:
  440. pcs_health -= 5
  441. pcs_willpwr -= 5
  442. pcs_mood -= 10
  443. end
  444. if pcs_energy > 100:
  445. fat += (pcs_energy - 100) / 4
  446. pcs_energy = 100
  447. elseif pcs_energy <= (10 + vitalbuf / 25) and fat > (2 + vitalbuf / 25):
  448. pcs_energy += 6
  449. fat -= 2
  450. end
  451. if pcs_hydra > 200: pcs_hydra = 200
  452. if pcs_lipbalm > 0:pcs_lipbalm -= 1
  453. if sickstage = 1:sick += 1 & sicktimer += 1
  454. if sickstage = 1 and sicktimer >= 80:sicktimer = 0 & sickstage = 2
  455. if sickstage = 2 and sick > 0:sick -= 1
  456. if sickstage = 2 and sick <= 0:sick = 0 & sickstage = 0
  457. if perkice > 0:perkice -= 1
  458. if frost > 0:frost -= 1
  459. if KGOLpers > 0:
  460. if KGHP < KGHPMAX:KGHP += 10
  461. end
  462. !! pain[0] = pain['total'] , pain[1] = pain['damage'] , pain[2] = pain['relief']
  463. i = arrsize('pain')
  464. :statpainloop
  465. if i > 0:
  466. i -= 1
  467. pain[i] -= rand(0,1)
  468. if pain[i] < 0: pain[i] = 0
  469. jump 'statpainloop'
  470. end
  471. if insleep = 0:
  472. pcs_sweat += rand(0,1)
  473. if temper >= 20: pcs_sweat += rand(0,1)
  474. end
  475. ! vovan edition, from 1.2.5
  476. if clearclothes > 0: clearclothes -= 1
  477. if huntersAndreisex > 0: huntersAndreisex -= 1
  478. if huntersSergeisex > 0: huntersSergeisex -= 1
  479. if huntersIgorsex > 0: huntersIgorsex -= 1
  480. if huntslutsex > 0: huntslutsex -= 1
  481. if mira_go_blok > 0: mira_go_blok -= 1
  482. if mira_no_home > 0: mira_no_home -= 1
  483. gs 'traits', 'hourly'
  484. if minut >= 60:jump 'loopmin'
  485. end
  486. if hour >= 24: gs 'cikl'
  487. if minut < 10:
  488. $nilmin = '0'
  489. else
  490. $nilmin = ''
  491. end
  492. if kid > 0:
  493. i = arrsize('yearkid')
  494. :LoopKidAgeCounter
  495. if i >= 0:
  496. if yearkid[i] = year + 1 and monthkid[i] = month and daykid[i] = day: msg'It is <<$kidname[i]>>''s birthday today.'
  497. i -= 1
  498. jump 'LoopKidAgeCounter'
  499. end
  500. end
  501. if pcs_sleep < 0:
  502. pcs_sleep = 0
  503. pcs_mood -= 5
  504. end
  505. if recovering_old_stat = 1:
  506. ''
  507. else
  508. if pcs_energy < 12:
  509. pcs_energy += rand(35,80)
  510. ! pcs_health += 5
  511. end
  512. if pcs_hydra < 35:
  513. pcs_hydra += 100
  514. ! pcs_health += 2
  515. ! pcs_willpwr += 1
  516. end
  517. end
  518. !!Set hydra_check value
  519. hydra_check = pcs_hydra
  520. if pcs_mood < 0:
  521. pcs_mood = 0
  522. end
  523. if pcs_health < 0:
  524. pcs_health = 1
  525. end
  526. if pcs_willpwr < 0 :
  527. pcs_willpwr = 0
  528. end
  529. if pcs_stam < 0:
  530. pcs_stam = 0
  531. end
  532. gs 'body'
  533. !!!!!!!!!!!!!
  534. !!Mood
  535. maxmood = 100 - moodmodifier
  536. if pcs_mood > 100:
  537. pcs_mood = 100
  538. !! Asylum: basically this means clinically insane, like court-ordered committed, saliva dripping, blubbering... Ordinarily irreversible at this stage meaning Game Over, but cheat can help
  539. end
  540. if hour >= 8 and hour < 14 and week < 6 and mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and kanikuli = 0 and schoolProgulDay ! daystart:
  541. !!absence from school
  542. schoolprogul += 1
  543. schoolProgulDay = daystart
  544. end
  545. if cumcondslip <= 0: cumcondslip_deep = 0
  546. ! if insleep = 0: gs 'stat_display'
  547. !!!!!!!!!!!!!!!!!!!!!!!STOP!!!!!!!!!!!!!!!!!!!!!!!!!
  548. if recovering_old_stat = 1:
  549. if pcs_health >= healthmax:
  550. PL '<font color="green">You are very healthy.</font>'
  551. elseif pcs_health >= healthmax * 75 / 100:
  552. PL '<font color=#0064FF>You are healthy.</font>'
  553. elseif pcs_health >= healthmax * 50 / 100:
  554. PL '<font color="brown">You are not healthy.</font>'
  555. elseif pcs_health >= healthmax * 25 / 100:
  556. PL '<font color="red">You are sick.</font>'
  557. else
  558. PL '<font color="red">You are on the verge of death.</font>'
  559. end
  560. if pcs_willpwr >= willpowermax:
  561. PL '<font color="green">Your mind is clear.</font>'
  562. elseif pcs_willpwr >= willpowermax * 75 / 100:
  563. PL '<font color=#0064FF>You are mostly clear of mind.</font>'
  564. elseif pcs_willpwr >= willpowermax * 50 / 100:
  565. PL '<font color="brown">You are depressed.</font>'
  566. elseif pcs_willpwr >= willpowermax * 25 / 100:
  567. PL '<font color="red">You have depression.</font>'
  568. else
  569. PL '<font color="red">You are on the verge of madness.</font>'
  570. end
  571. if pcs_mood >= 80:
  572. PL '<font color="green">You are in a great mood.</font>'
  573. elseif pcs_mood >= 60:
  574. PL '<font color=#0064FF>You are in a good mood.</font>'
  575. elseif pcs_mood >= 40:
  576. PL '<font color="brown">You are in an OK mood.</font>'
  577. elseif pcs_mood >= 20:
  578. PL '<font color="orange">You are in a bad mood.</font>'
  579. elseif pcs_mood >= 5:
  580. PL '<font color="red">You are in a terrible mood.</font>'
  581. else
  582. PL '<font color="red">You are really depressed and need to improve your mood.</font>'
  583. end
  584. if pcs_energy >= 80:
  585. PL '<font color="green">You couldn''t eat one more bite.</font>'
  586. elseif pcs_energy >= 40:
  587. PL '<font color=#0064FF>You''re not really hungry, but a small snack would be very welcome.</font>'
  588. elseif pcs_energy >= 8:
  589. PL '<font color="brown">You are hungry.</font>'
  590. else
  591. PL '<font color="red">You are very hungry.</font>'
  592. end
  593. if pcs_hydra >= 80:
  594. PL '<font color="green">You are not thirsty at all.</font>'
  595. elseif pcs_hydra >= 40:
  596. PL '<font color=#0064FF>You are slightly thirsty.</font>'
  597. elseif pcs_hydra >= 8:
  598. PL '<font color="brown">You are thirsty.</font>'
  599. else
  600. PL '<font color="red">You are very thirsty.</font>'
  601. end
  602. if pcs_sleep >= 80:
  603. PL '<font color="green">You are well rested.</font>'
  604. elseif pcs_sleep >= 40:
  605. PL '<font color=#0064FF>You are slightly tired.</font>'
  606. elseif pcs_sleep >= 8:
  607. PL '<font color="brown">You are tired.</font>'
  608. else
  609. PL '<font color="red">You are very tired.</font>'
  610. end
  611. else
  612. if pcs_health >= healthmax:
  613. PL '<font color="green">You think you are healthy.</font>'
  614. elseif pcs_health >= healthmax * 75 / 100:
  615. PL '<font color=#0064FF>You are not sure about your health status.</font>'
  616. elseif pcs_health >= healthmax * 50 / 100:
  617. PL '<font color="brown">Something is wrong....</font>'
  618. elseif pcs_health >= healthmax * 25 / 100:
  619. PL '<font color="red">You are on the verge of death.</font>'
  620. else
  621. PL '<font color="red">Prey to your God.</font>'
  622. end
  623. if pcs_willpwr >= willpowermax:
  624. PL '<font color="green">Your mind is clear...</font>'
  625. elseif pcs_willpwr >= willpowermax * 75 / 100:
  626. PL '<font color=#0064FF>You can think clear...</font>'
  627. elseif pcs_willpwr >= willpowermax * 50 / 100:
  628. PL '<font color="brown">You are depressed.</font>'
  629. elseif pcs_willpwr >= willpowermax * 25 / 100:
  630. PL '<font color="red">You feel hopeless.</font>'
  631. else
  632. PL '<font color="red">You are on the verge of madness.</font>'
  633. end
  634. if pcs_mood >= 80:
  635. PL '<font color="green">You are in a great mood.</font>'
  636. elseif pcs_mood >= 60:
  637. PL '<font color=#0064FF>You are in a good mood.</font>'
  638. elseif pcs_mood >= 40:
  639. PL '<font color="brown">You are in an OK mood.</font>'
  640. elseif pcs_mood >= 20:
  641. PL '<font color="orange">You are in a bad mood.</font>'
  642. elseif pcs_mood >= 5:
  643. PL '<font color="red">You are in a terrible mood.</font>'
  644. else
  645. PL '<font color="red">You feel emptied.</font>'
  646. end
  647. if pcs_energy >= 80:
  648. PL '<font color="green">Your body ask for something...</font>'
  649. elseif pcs_energy >= 40:
  650. PL '<font color=#0064FF>You look for food but...where?</font>'
  651. elseif pcs_energy >= 8:
  652. PL '<font color="brown">Food...you need it.</font>'
  653. else
  654. PL '<font color="red">Is really hungry what you feel?</font>'
  655. end
  656. if pcs_sleep >= 80:
  657. PL '<font color="green">You think you can move.</font>'
  658. elseif pcs_sleep >= 40:
  659. PL '<font color=#0064FF>You move with difficulties.</font>'
  660. elseif pcs_sleep >= 8:
  661. PL '<font color="brown">You put all your strenght to move.</font>'
  662. else
  663. PL '<font color="red">Every movement is a pain.</font>'
  664. end
  665. if cheatNoSleep= 0:
  666. PL '<BR>You cannot rest...not now.'
  667. else
  668. cheatNoSleep= 0
  669. PL 'You cannot escape from sleeping in there...'
  670. msg 'Consider to reinstate your cheat settings...if you''ll have a future.'
  671. end
  672. end
  673. if mesec > 0 :
  674. if $pantyworntype ! 'none':
  675. isprokp = 1
  676. else
  677. isprok = 1
  678. end
  679. end
  680. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  681. PL '<br><br><a href="exec:savegame ''quicksave.sav'' && pl''Quicksave Done''">Quick Save</a> <a href="exec:savegame">Save</a> <a href="exec:opengame">Load</a> <a href="exec:if input(''Input Anything to confirm Quick Load'') ! null: opengame ''quicksave.sav''">Quick Load</a>'
  682. end
  683. if $ARGS[0] = 'condition':
  684. '<a href="exec:msg''<<$pcs_firstname>> <<$pcs_lastname>> female <<age>> years old; height: <<pcs_hgt>>cm, weight: <<salo>>. <br>Pain head = <<pain[''head'']>> <br>Pain ears = <<pain[''ears'']>> <br>Pain eyes = <<pain[''eyes'']>> <br>Pain mouth = <<pain[''mouth'']>> <br>Pain neck = <<pain[''neck'']>> <br>Pain eyebrows = <<pain[''eyebrows'']>> <br>Pain back = <<pain[''back'']>> <br>Pain legL = <<pain[''legL'']>> <br>Pain legR = <<pain[''legR'']>> <br>Pain feet = <<pain[''feet'']>> <br>Pain toes = <<pain[''toes'']>> <br>Pain shoulders = <<pain[''shoulders'']>> <br>Pain armL = <<pain[''armL'']>> <br>Pain armR = <<pain[''armR'']>> <br>Pain handL = <<pain[''handL'']>> <br>Pain handR = <<pain[''handR'']>> <br>Pain fingers = <<pain[''fingers'']>> <br>Pain chest = <<pain[''chest'']>> <br>Pain ribs = <<pain[''ribs'']>> <br>Pain tummy = <<pain[''tummy'']>> ''">Pain status</a>'
  685. '<a href="exec:msg''<<$pcs_firstname>> <<$pcs_lastname>> female <<age>> years old; height: <<pcs_hgt>>cm, weight: <<salo>>. <br>Head: cracked spots, bones in place. <br>Brain: blood pressed the brain caused of the loss of vital functions: drained. Evaluation in progress.<br>Heart: critical. Two reanimations executed: a third could be fathal. 24h/24h evaluation.<br>Ears damaged: in place. <br>Eyes can be open with extreme caution: evaluation in progress.<br>Lost of <<pcs_teeth>><<$zuba>>, jaw cracked bones in place.<br>Neck: signs of strangling and hit: extreme caution to avoid spinal lesion. <br>Eyebrows: opened tissues, not the main blood loss source. <br>Back: wounds, scars and cracked bones: all in place. Extreme caution. <br>Left leg: cracked bones all in place: a deep wound caused by some wood, was the main source of blood loss. Treated before arrived. <br>Right arm: cracked bones and others severe wounds caused of big blood loss: treated before arrived. <br>Right leg, left arms hands and feet: cracked bones all in place, toes and fingers included.<br>Left shoulder dislocated: treated. <br>Tummy: evaluation in progress for deep damage not safe: extreme caution.<br>Ribs: different ribs cracked. Bones in place no lungs perforation.<br>Lungs: drained 500+270 cc of dirty water full of bacterial. (Consideration: ...sewer? To report to the police.)<br>No reactions to stimuli, no EEG activities. Status: coma. Grade evaluation: in progress.<br><br>Treatment:<br>24h/24h evaluation<br>Artifical feeding<br>Artificial breathing<br>Pharmacolocical deep sedation required: planned reduction at day 3 if patient will survive the night to evaluate coma deepness.<br>Machine pain control: EVA2000 Reserved<br>Antibiotics intravenous continue injection<br>Cortef intravenous two at day<br>Vitamins<br>Daily care<br><br>NOT ENOUGH EXPERIENCED NURSE CAN APPROACH THE PATIENT.<br>Nurses allowed: Niniel and Lyudmila<br>Niniel: vacancy<br>Lyudmila: avaible<br> Dr Ignatiy Bogomolov''">Clinical condition</a>'
  686. end
  687. if $ARGS[0] = 'rikudo':
  688. if MagikDostup = 0:
  689. if pcs_magik > magikhigh:
  690. magikhigh += 1
  691. rikudo += pcs_magik * 100
  692. $stat_msg += '<BR><b>You feel like a strength has been revealed within you and you gush with magic, lifting you to a new energy level.</b>'
  693. !! This will be replaced when a more advanced physical system is made
  694. if (pcs_magik mod 2 ! 0) and pcs_eyesize < 2: pcs_eyesize += 1
  695. if (pcs_magik mod 2 = 0) and pcs_lashes < 2: pcs_lashes += 1
  696. end
  697. else
  698. !!This is for error catching
  699. killvar 'pcs_magik'
  700. killvar 'rikudo'
  701. killvar 'pcs_splcstng'
  702. end
  703. end
  704. if $ARGS[0] = 'day':
  705. cls
  706. minut += 5
  707. gs 'mod_iwhore_realstat' , 'status'
  708. cls
  709. if body_healing =< 1:
  710. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/status/broken.jpg"></center>'
  711. elseif body_healing = 2 or body_healing = 3 or body_healing = 4:
  712. PL '<center><video autoplay loop src="mod/iwhore/images/locations/pavlovsk/events/status/moth.mp4"></video></center>'
  713. elseif body_healing = 5 or body_healing = 6:
  714. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day7/in0.jpg"></center>'
  715. elseif body_healing >= 7:
  716. gs 'outdoors', 'main'
  717. PL '<<$weatherImage>>'
  718. else
  719. ''
  720. end
  721. PL '--:-- --- --/--/----'
  722. ! PL '<<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>> <<$week[week]>> <<day>> <<$month>> <<year>>'
  723. gs 'mod_iwhore_realstat' , 'status'
  724. end
  725. if $ARGS[0] = 'day_out':
  726. cls
  727. minut += 5
  728. gs 'mod_iwhore_realstat' , 'status'
  729. cls
  730. if body_healing =< 1:
  731. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/status/broken.jpg"></center>'
  732. elseif body_healing = 2 or body_healing = 3 or body_healing = 4:
  733. PL '<center><video autoplay loop src="mod/iwhore/images/locations/pavlovsk/events/status/moth.mp4"></video></center>'
  734. elseif body_healing = 5 or body_healing = 6:
  735. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day7/in0.jpg"></center>'
  736. elseif body_healing >= 7:
  737. gs 'outdoors', 'main'
  738. PL '<<$weatherImage>>'
  739. else
  740. ''
  741. end
  742. PL '<<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>> <<$week[week]>> <<day>> <<$month>> <<year>>'
  743. gs 'mod_iwhore_realstat' , 'status'
  744. end
  745. if $ARGS[0] = 'night':
  746. cls
  747. minut += 5
  748. gs 'mod_iwhore_realstat' , 'status'
  749. cls
  750. if body_healing < 1:
  751. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day1/tired.jpg"></center>'
  752. elseif body_healing = 1:
  753. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day2/tired.jpg"></center>'
  754. elseif body_healing = 2:
  755. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day3/tired.jpg"></center>'
  756. elseif body_healing = 3:
  757. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day4/tired.jpg"></center>'
  758. elseif body_healing = 4:
  759. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day5/tired.jpg"></center>'
  760. elseif body_healing = 5:
  761. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day6/tired.jpg"></center>'
  762. elseif body_healing = 6:
  763. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day7/in0.jpg"></center>'
  764. elseif body_healing >= 7:
  765. gs 'outdoors', 'main'
  766. PL '<<$weatherImage>>'
  767. else
  768. ''
  769. end
  770. PL '--:-- --- --/--/----'
  771. ! PL '<<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>> <<$week[week]>> <<day>> <<$month>> <<year>>'
  772. gs 'mod_iwhore_realstat' , 'status'
  773. end
  774. if $ARGS[0] = 'night_out':
  775. cls
  776. minut += 5
  777. gs 'mod_iwhore_realstat' , 'status'
  778. cls
  779. if body_healing < 1:
  780. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day1/tired.jpg"></center>'
  781. elseif body_healing = 1:
  782. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day2/tired.jpg"></center>'
  783. elseif body_healing = 2:
  784. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day3/tired.jpg"></center>'
  785. elseif body_healing = 3:
  786. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day4/tired.jpg"></center>'
  787. elseif body_healing = 4:
  788. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day5/tired.jpg"></center>'
  789. elseif body_healing = 5:
  790. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day6/tired.jpg"></center>'
  791. elseif body_healing = 6:
  792. PL '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/fight/day7/in0.jpg"></center>'
  793. elseif body_healing >= 7:
  794. gs 'outdoors', 'main'
  795. PL '<<$weatherImage>>'
  796. else
  797. ''
  798. end
  799. PL '<<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>> <<$week[week]>> <<day>> <<$month>> <<year>>'
  800. gs 'mod_iwhore_realstat' , 'status'
  801. end
  802. if $ARGS[0] = 'dailycare':
  803. cls
  804. minut += 5
  805. gs 'mod_iwhore_realstat' , 'status'
  806. cls
  807. if body_healing =< 3:
  808. PL '<center><img width="75%" src="mod/iwhore/images/locations/pavlovsk/events/fight/stage0g.jpg"></center>'
  809. elseif body_healing =< 5:
  810. PL '<center><img width="70%" src="mod/iwhore/images/locations/pavlovsk/events/fight/stage1.jpg"></center>'
  811. elseif body_healing =< 7:
  812. PL '<center><img width="75%" src="mod/iwhore/images/locations/pavlovsk/events/fight/stage2.jpg"></center>'
  813. else
  814. gs 'outdoors', 'main'
  815. PL '<<$weatherImage>>'
  816. end
  817. PL '<<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>> <<$week[week]>> <<day>> <<$month>> <<year>>'
  818. gs 'mod_iwhore_realstat' , 'status'
  819. end
  820. if $ARGS[0] = 'first_day':
  821. cls
  822. minut += 5
  823. PL '<center><img width="70%" src="mod/iwhore/images/locations/pavlovsk/events/fight/stage0g.jpg"></center>'
  824. PL '<<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>> <<$week[week]>> <<day>> <<$month>> <<year>>'
  825. gs 'mod_iwhore_realstat' , 'status'
  826. end
  827. if $ARGS[0] = 'restoring':
  828. cls
  829. minut += 2
  830. gs 'mod_iwhore_realstat' , 'status'
  831. cls
  832. PL '<<$weatherImage>>'
  833. PL '<<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>> <<$week[week]>> <<day>> <<$month>> <<year>>'
  834. gs 'mod_iwhore_realstat' , 'status'
  835. if (body_healing = 8 or body_healing = 9 or body_healing = 10 or body_healing = 11) and hour < 22 and hour > 6 and minut > 45: gt 'mod_iwhore_recovery', 'schedule'
  836. end
  837. if $ARGS[0] = 'starter':
  838. if hour = 7:
  839. if body_healing >= 8:
  840. pcs_energy = 50
  841. pcs_willpwr = 5
  842. pcs_mood = 5
  843. pcs_sleep = 40
  844. if body_healing = 8:
  845. pcs_stam = 10
  846. elseif body_healing = 9:
  847. pcs_stam = 15
  848. elseif body_healing = 10:
  849. pcs_stam = 20
  850. elseif body_healing = 11:
  851. pcs_stam = 25
  852. elseif body_healing = 12:
  853. pcs_stam = 30
  854. elseif body_healing = 13:
  855. pcs_stam = 50
  856. end
  857. else
  858. pcs_energy = 1
  859. pcs_willpwr = 0
  860. pcs_mood = 0
  861. pcs_sleep = 10
  862. pcs_stam = 1
  863. end
  864. end
  865. end
  866. if $ARGS[0] = 'mind_pieces':
  867. if mind_healing < 1:
  868. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces1.jpg"></center>'
  869. elseif mind_healing = 1:
  870. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces2.jpg"></center>'
  871. elseif mind_healing = 2:
  872. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces3.jpg"></center>'
  873. elseif mind_healing = 3:
  874. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces4.jpg"></center>'
  875. elseif mind_healing = 4:
  876. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces5.jpg"></center>'
  877. elseif mind_healing = 5:
  878. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces6.jpg"></center>'
  879. elseif mind_healing = 6:
  880. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces7.jpg"></center>'
  881. elseif mind_healing = 7:
  882. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces8.jpg"></center>'
  883. elseif mind_healing = 8:
  884. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces9.jpg"></center>'
  885. elseif mind_healing = 9:
  886. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces10.jpg"></center>'
  887. elseif mind_healing = 10:
  888. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces11.jpg"></center>'
  889. elseif mind_healing = 11:
  890. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/pieces12.jpg"></center>'
  891. elseif mind_healing = 12:
  892. ADDOBJ '<center><img width="85%" src="mod/iwhore/images/locations/pavlovsk/events/beast/mind/x.jpg"></center>'
  893. else
  894. ADDOBJ ''
  895. end
  896. end
  897. if $ARGS[0] = 'lida':
  898. if pain['head'] > 0:pain['head'] -= rand(1,5)
  899. if pain['hair'] > 0:pain['hair'] -= rand(1,5)
  900. if pain['ears'] > 0:pain['ears'] -= rand(1,5)
  901. if pain['eyebrows'] > 0:pain['eyebrows'] -= rand(1,5)
  902. if pain['eyes'] > 0:pain['eyes'] -= rand(1,5)
  903. if pain['cheeks'] > 0:pain['cheeks'] -= rand(1,5)
  904. if pain['nose'] > 0:pain['nose'] -= rand(1,5)
  905. if pain['mouth'] > 0:pain['mouth'] -= rand(1,5)
  906. if pain['lips'] > 0:pain['lips'] -= rand(1,5)
  907. if pain['tongue'] > 0:pain['tongue'] -= rand(1,5)
  908. if pain['throat'] > 0:pain['throat'] -= rand(1,5)
  909. if pain['neck'] > 0:pain['neck'] -= rand(1,5)
  910. if pain['back'] > 0:pain['back'] -= rand(1,5)
  911. if pain['asscheeks'] > 0:pain['asscheeks'] -= rand(1,5)
  912. if pain['asshole'] > 0:pain['asshole'] -= rand(1,5)
  913. if pain['hips'] > 0:pain['hips'] -= rand(1,5)
  914. if pain['thighs'] > 0:pain['thighs'] -= rand(1,5)
  915. if pain['legL'] > 0:pain['legL'] -= rand(1,5)
  916. if pain['legR'] > 0:pain['legR'] -= rand(1,5)
  917. if pain['feet'] > 0:pain['feet'] -= rand(1,5)
  918. if pain['toes'] > 0:pain['toes'] -= rand(1,5)
  919. if pain['shoulders'] > 0:pain['shoulders'] -= rand(1,5)
  920. if pain['armL'] > 0:pain['armL'] -= rand(1,5)
  921. if pain['armR'] > 0:pain['armR'] -= rand(1,5)
  922. if pain['hands'] > 0:pain['hands'] -= rand(1,5)
  923. if pain['fingers'] > 0:pain['fingers'] -= rand(1,5)
  924. if pain['chest'] > 0:pain['chest'] -= rand(1,5)
  925. if pain['breasts'] > 0:pain['breasts'] -= rand(1,5)
  926. if pain['nipples'] > 0:pain['nipples'] -= rand(1,5)
  927. if pain['ribs'] > 0:pain['ribs'] -= rand(1,5)
  928. if pain['tummy'] > 0:pain['tummy'] -= rand(1,5)
  929. if pain['pubic'] > 0:pain['pubic'] -= rand(1,5)
  930. if pain['vaginal'] > 0:pain['vaginal'] -= rand(1,5)
  931. if pain['labia'] > 0:pain['labia'] -= rand(1,5)
  932. if pain['clitoris'] > 0:pain['clitoris'] -= rand(1,5)
  933. if pain['urethra'] > 0:pain['urethra'] -= rand(1,5)
  934. if pain['cervix'] > 0:pain['cervix'] -= rand(1,5)
  935. end
  936. if $ARGS[0] = 'lidalove':
  937. if pain['head'] > 0:pain['head'] -= rand(0,3)
  938. if pain['hair'] > 0:pain['hair'] -= rand(0,3)
  939. if pain['ears'] > 0:pain['ears'] -= rand(0,3)
  940. if pain['eyebrows'] > 0:pain['eyebrows'] -= rand(0,3)
  941. if pain['eyes'] > 0:pain['eyes'] -= rand(0,3)
  942. if pain['cheeks'] > 0:pain['cheeks'] -= rand(0,3)
  943. if pain['nose'] > 0:pain['nose'] -= rand(0,3)
  944. if pain['mouth'] > 0:pain['mouth'] -= rand(0,3)
  945. if pain['lips'] > 0:pain['lips'] -= rand(0,3)
  946. if pain['tongue'] > 0:pain['tongue'] -= rand(0,3)
  947. if pain['throat'] > 0:pain['throat'] -= rand(0,3)
  948. if pain['neck'] > 0:pain['neck'] -= rand(0,3)
  949. if pain['back'] > 0:pain['back'] -= rand(0,3)
  950. if pain['asscheeks'] > 0:pain['asscheeks'] -= rand(0,3)
  951. if pain['asshole'] > 0:pain['asshole'] -= rand(0,3)
  952. if pain['hips'] > 0:pain['hips'] -= rand(0,3)
  953. if pain['thighs'] > 0:pain['thighs'] -= rand(0,3)
  954. if pain['legL'] > 0:pain['legL'] -= rand(0,3)
  955. if pain['legR'] > 0:pain['legR'] -= rand(0,3)
  956. if pain['feet'] > 0:pain['feet'] -= rand(0,3)
  957. if pain['toes'] > 0:pain['toes'] -= rand(0,3)
  958. if pain['shoulders'] > 0:pain['shoulders'] -= rand(0,3)
  959. if pain['armL'] > 0:pain['armL'] -= rand(0,3)
  960. if pain['armR'] > 0:pain['armR'] -= rand(0,3)
  961. if pain['hands'] > 0:pain['hands'] -= rand(0,3)
  962. if pain['fingers'] > 0:pain['fingers'] -= rand(0,3)
  963. if pain['chest'] > 0:pain['chest'] -= rand(0,3)
  964. if pain['breasts'] > 0:pain['breasts'] -= rand(0,3)
  965. if pain['nipples'] > 0:pain['nipples'] -= rand(0,3)
  966. if pain['ribs'] > 0:pain['ribs'] -= rand(0,3)
  967. if pain['tummy'] > 0:pain['tummy'] -= rand(0,3)
  968. if pain['pubic'] > 0:pain['pubic'] -= rand(0,3)
  969. if pain['vaginal'] > 0:pain['vaginal'] -= rand(0,3)
  970. if pain['labia'] > 0:pain['labia'] -= rand(0,3)
  971. if pain['clitoris'] > 0:pain['clitoris'] -= rand(0,3)
  972. if pain['urethra'] > 0:pain['urethra'] -= rand(0,3)
  973. if pain['cervix'] > 0:pain['cervix'] -= rand(0,3)
  974. end
  975. if $ARGS[0] = 'lidamemo':
  976. *clr & cla
  977. '<center><img <<$set_imgh>> src="mod/iwhore/images/locations/pavlovsk/events/fight/care/recovery/lida1.jpg"></center>'
  978. if hour = 8:
  979. 'Nurse Lida: "...We should go to Dr Bogomolov..."'
  980. elseif hour = 7:
  981. 'Nurse Lida: "...Did you wash yourself?...You should before going to Dr Bogomolov..."'
  982. elseif hour = 10:
  983. 'Nurse Lida: "...Spa Time!"'
  984. elseif hour = 12:
  985. 'Nurse Lida: "...You are weak, you need to eat something..."'
  986. elseif hour = 13:
  987. 'Nurse Lida: "Did you wash your mouth? We should go to the dentist..."'
  988. elseif hour = 14:
  989. 'Nurse Lida: "...Uhmmm...card game? Some juicy gossip?"'
  990. elseif hour = 15:
  991. 'Nurse Lida: "...Hehehe...let Lida made her work!"'
  992. elseif hour = 17:
  993. 'Nurse Lida: "...Spa bonus!"'
  994. elseif hour = 19:
  995. 'Nurse Lida: "...You are weak, you need to eat something..."'
  996. elseif hour = 20:
  997. 'Nurse Lida: "...Let''s talk!"'
  998. elseif hour = 21:
  999. 'Nurse Lida: "...You should rest. Tomorrow will be a wonderful day!"'
  1000. else
  1001. ''
  1002. end
  1003. if hour = 10:
  1004. act 'Pool':gt 'mod_iwhore_therapy', 's_p_a'
  1005. elseif hour = 8:
  1006. act 'Doctor Bogomolov''s office':gt 'mod_iwhore_therapy', 'bogomolov'
  1007. elseif hour = 9:
  1008. act 'Doctor Smirnitskaya''s office':gt 'mod_iwhore_therapy', 'smirnitskaya'
  1009. elseif hour = 17:
  1010. act 'Pool':gt 'mod_iwhore_therapy', 's_p_a'
  1011. elseif hour = 15:
  1012. act 'Exercise':gt 'mod_iwhore_therapy', 'exercise'
  1013. elseif hour = 14 and iskra_war >= 2:
  1014. act '"Lida...that girl..."':gt 'mod_iwhore_recovery', 'purity'
  1015. elseif hour = 12 or hour = 19:
  1016. act 'Eat':gt 'mod_iwhore_recovery', 'lunch'
  1017. elseif hour = 13:
  1018. act 'Tooth replacement':gt 'mod_iwhore_therapy', 'tooth'
  1019. elseif hour = 20:
  1020. act 'Chit chat':gt 'mod_iwhore_recovery', 'lidachat'
  1021. if headquarter = 1:
  1022. act '"Headquarter?"':gt 'mod_iwhore_recovery', 'nursestation'
  1023. else
  1024. act '"Can we go to the headquarter?"':gt 'mod_iwhore_recovery', 'nursestation'
  1025. end
  1026. elseif hour = 21:
  1027. act 'Go to sleep':gt 'mod_iwhore_recovery', 'bed'
  1028. else
  1029. ''
  1030. end
  1031. act 'Your room':gt 'mod_iwhore_recovery', 'room120'
  1032. act 'Hallway':gt 'mod_iwhore_recovery', 'hallway'
  1033. end
  1034. if $ARGS[0] = 'was':
  1035. pregtime = 0
  1036. pregtalk = 0
  1037. preg = 0
  1038. abortionbirthdate = daystart
  1039. cycle = 4
  1040. unintendedabort = 1
  1041. RecovH = rand(7,70)
  1042. RecovH += pregchem
  1043. ! knowpregloss = 2
  1044. ! thinkpreg = 0
  1045. ! knowpreg = 0
  1046. nextbaby = arrsize('yearkid')
  1047. ! to create an apposite ending for broodcurse? probably this is the best solution...
  1048. ! to check at the ending before using gs 'stat'
  1049. if broodcurse > 0: over = 13 & gt'gameover'
  1050. :poliabortloop
  1051. if Babyptype[nextbaby] < 200:
  1052. KILLVAR 'polkid',nextbaby
  1053. KILLVAR '$kidname',nextbaby
  1054. KILLVAR 'kidage',nextbaby
  1055. KILLVAR 'daykid',nextbaby
  1056. KILLVAR 'monthkid',nextbaby
  1057. KILLVAR 'yearkid',nextbaby
  1058. KILLVAR 'Babyptype',nextbaby
  1059. KILLVAR '$ChildFath',nextbaby
  1060. KILLVAR '$ChildThFath',nextbaby
  1061. KILLVAR 'hairkid',nextbaby
  1062. KILLVAR 'eyeskid',nextbaby
  1063. KILLVAR 'cumarrcon',nextbaby
  1064. KILLVAR '$wombpotfath',nextbaby
  1065. BabyEmbryo -= 1
  1066. nextbaby -= 1
  1067. end
  1068. nextbaby -= 1
  1069. if nextbaby > 0:
  1070. jump 'poliabortloop'
  1071. end
  1072. ! To leave pcs_childtrauma because it''s similar and probably linked to Pavlin child loss.
  1073. ! Actually used pcs_was_trauma and pcs_awake_trauma...keep in mind.
  1074. ! pcs_childtrauma += 8
  1075. Surgeryday = daystart
  1076. recuperation = 1
  1077. killvar 'dailyhealthimprov'
  1078. end
  1079. --- mod_iwhore_realstat ---------------------------------