cikl 33 KB

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