saveupdater.qsrc 102 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314
  1. # saveupdater
  2. !! This file is for updating save game when one variable have been replaced by another.
  3. !! If you have replaced a variable for another, then you should first go to saveg.gsrc and update the version number as instructed there.
  4. !! Then at the bottom of this file just after the last end add the following line:
  5. !! if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < "new version number":
  6. !! where "new version number" should be as instructed in the start of saveg.qsrc
  7. !! Then add you replacement of variables after this line. You can see how this is done by looking through this file.
  8. !! When you do this you should always commit this file and saveg.qsrc at the same time.
  9. temp_current_save_version = ( (100*version_major + version_minor) * 100 + version_revision ) * 100 + version_patch
  10. !!======================================================================================================!!
  11. !! !!
  12. !! !!Version 0.8.0!! !!
  13. !! !!
  14. !!======================================================================================================!!
  15. if temp_current_save_version < 00080000:
  16. !!------------------------------grandparent variable clean up---for 0.8.0 release---------------------------
  17. !!---Grandpa
  18. If grandpa_bilberry > 0: grandpaQW['chore_berry_quantity'] = grandpa_bilberry & killvar 'grandpa_bilberry'
  19. If grandpa_boletus > 0: grandpaQW['chore_mushroom_quantity'] = grandpa_boletus & killvar 'grandpa_boletus'
  20. If grandpahelpday > 0: grandpaQW['last_day_helped'] = grandpahelpday & killvar 'grandpahelpday'
  21. If grandpahelping > 0: grandpaQW['chore_type'] = grandpahelping & killvar 'grandpahelping'
  22. If grandpatalk > 0: grandpaQW['last_hour_talked'] = grandpatalk & killvar 'grandpatalk'
  23. If grandpatalkday > 0: grandpaQW['last_day_talked'] = grandpatalkday & killvar 'grandpatalkday'
  24. If grandpatalkforest > 0: grandpaQW['talked_about_forest'] = grandpatalkforest & killvar 'grandpatalkforest'
  25. If comb_horse > 0: grandpaQW['chore_brush_horse'] = comb_horse & killvar 'comb_horse'
  26. If cow_field > 0: grandpaQW['chore_lead_cow_to_field'] = cow_field & killvar 'cow_field'
  27. If feed_boar > 0: grandpaQW['chore_feed_boar'] = feed_boar & killvar 'feed_boar'
  28. If feed_cow > 0: grandpaQW['chore_feed_cow'] = feed_cow & killvar 'feed_cow'
  29. If feed_horse > 0: grandpaQW['chore_feed_horse'] = feed_horse & killvar 'feed_horse'
  30. If graze_cow > 0: grandpaQW['chore_herd_cattle'] = graze_cow & killvar 'graze_cow'
  31. If graze_cow_exp > 0: grandpaQW['chore_herd_cattle_experience'] = graze_cow_exp & killvar 'graze_cow_exp'
  32. If haying_time > 0: grandpaQW['chore_bale_hay'] = haying_time & killvar 'haying_time'
  33. If horse_field > 0: grandpaQW['chore_lead_horse_to_field'] = horse_field & killvar 'horse_field'
  34. If horse_river > 0: grandpaQW['chore_bathe_horse'] = horse_river & killvar 'horse_river'
  35. If go_in_bilberry > 0: grandpaQW['chore_gather_berries'] = go_in_bilberry & killvar 'go_in_bilberry'
  36. If go_in_boletus > 0: grandpaQW['chore_gather_mushrooms'] = go_in_boletus & killvar 'go_in_boletus'
  37. If go_in_boletus_bilberry > 0: grandpaQW['chore_gather_both'] = go_in_boletus_bilberry & killvar 'go_in_boletus_bilberry'
  38. !!---Grandma
  39. If grandma_trouble > 0: grandmaQW['nudity_trouble'] = grandma_trouble & killvar 'grandma_trouble'
  40. If grandmastory > 0: grandmaQW['last_day_asked_for_story'] = grandmastory & killvar 'grandmastory'
  41. If grandmatalk > 0: grandmaQW['last_hour_talked'] = grandmatalk & killvar 'grandmatalk'
  42. If grandmatalkday > 0: grandmaQW['last_day_talked'] = grandmatalkday & killvar 'grandmatalkday'
  43. If grandmatalkgad > 0: grandmaQW['talked_about_gadukino'] = grandmatalkgad & killvar 'grandmatalkgad'
  44. If monthbabkapay > 0: grandmaQW['last_month_paid'] = monthbabkapay & killvar 'monthbabkapay'
  45. If grandmahelpday > 0: grandmaQW['last_day_helped'] = grandmahelpday & killvar 'grandmahelpday'
  46. If grandmahelp > 0: grandmaQW['help_amount'] = grandmahelp & killvar 'grandmahelp'
  47. If grandmahelping > 0: grandmaQW['chore_type'] = grandmahelping & killvar 'grandmahelping'
  48. If collect_strawberries > 0: grandmaQW['chore_collect_strawberries'] = collect_strawberries & killvar 'collect_strawberries'
  49. If feed_chickens > 0: grandmaQW['chore_feed_chickens'] = feed_chickens & killvar 'feed_chickens'
  50. If fruit_collect > 0: grandmaQW['chore_collect_fruit'] = fruit_collect & killvar 'fruit_collect'
  51. If harvest_garden > 0: grandmaQW['chore_harvest_garden'] = harvest_garden & killvar 'harvest_garden'
  52. If milk_cow > 0: grandmaQW['chore_milk_cow'] = milk_cow & killvar 'milk_cow'
  53. If water_garden > 0: grandmaQW['chore_water_garden'] = water_garden & killvar 'water_garden'
  54. If work_garden > 0: grandmaQW['chore_work_in_garden'] = work_garden & killvar 'work_garden'
  55. !!---------------------------end of grandparent variable clean up---for 0.8.0 release-----------------------
  56. !! ----- Natasha story variables migrated to array ----- 0.8.0
  57. ! Natasha''s mom NPC data for existing saves
  58. if $npc_firstname['A191'] ! 'Isabella':
  59. gs 'npc_standard_preferences', 'A191'
  60. $npc_dna['A<<npctemp>>'] = '1614037462 1959746313 1085890273 0326112989 0869737602 6676723523 3590292041'
  61. $npc_firstname['A<<npctemp>>'] = 'Isabella'
  62. $npc_nickname['A<<npctemp>>'] = 'Bella'
  63. $npc_lastname['A<<npctemp>>'] = 'Belova'
  64. $npc_usedname['A<<npctemp>>'] = 'Isabella'
  65. $npc_notes['A<<npctemp>>'] = 'Your classmate Natasha''s mother, Isabella Belova.'
  66. npc_dob['A<<npctemp>>'] = 19820922
  67. npc_gender['A<<npctemp>>'] = 1
  68. gs 'npcstaticdefaults', 'defaults'
  69. npc_bust['A<<npctemp>>'] = 23
  70. end
  71. killvar '$NatashaMotherName' & killvar '$NatashaMotherNickname'
  72. if NatashaQW > 0: NatbelQW['QWstage'] = NatashaQW & killvar 'NatashaQW'
  73. if natbelXP > 0: NatbelQW['natbelXP'] = natbelXP & killvar 'natbelXP'
  74. if NatBelBestFrend > 0: NatbelQW['BestFriend'] = NatBelBestFrend & killvar 'NatBelBestFrend'
  75. if BeInNatBelHome > 0: NatbelQW['VisitedHome'] = BeInNatBelHome & killvar 'BeInNatBelHome'
  76. if natashaFirstvisit > 0: NatbelQW['FirstVisit'] = natashaFirstvisit & killvar 'natashaFirstvisit'
  77. if NatNoTV > 0: NatbelQW['NoTV'] = NatNoTV & killvar 'NatNoTV'
  78. if ShowRand > 0: NatbelQW['TVshow'] = ShowRand & killvar 'ShowRand'
  79. if $ShowMsg ! '': $NatbelQW['TVmsg'] = $ShowMsg & killvar '$ShowMsg'
  80. if NatashaWatchedYourPorn > 0: NatbelQW['WatchedYourPorn'] = NatashaWatchedYourPorn & killvar 'NatashaWatchedYourPorn'
  81. if NatDolg > 0: NatbelQW['Debt'] = NatDolg & killvar 'NatDolg'
  82. if NatDolgDay > 0: NatbelQW['DebtDay'] = NatDolgDay & killvar 'NatDolgDay'
  83. if nattimeleft > 0: NatbelQW['DebtTimeLeft'] = nattimeleft & killvar 'nattimeleft'
  84. if NatashaMoneyGivenTimes > 0: NatbelQW['MoneyGivenTimes'] = NatashaMoneyGivenTimes & killvar 'NatashaMoneyGivenTimes'
  85. if NatashaHW > 0: NatbelQW['homework'] = NatashaHW & killvar 'NatashaHW'
  86. if natdoingHW > 0: NatbelQW['doingHW'] = natdoingHW & killvar 'natdoingHW'
  87. if NatashaNakedHW > 0: NatbelQW['nakedHW'] = NatashaNakedHW & killvar 'NatashaNakedHW'
  88. if natunderwear > 0: NatbelQW['underwear'] = natunderwear & killvar 'natunderwear'
  89. if natund > 0: NatbelQW['underwearShop'] = natund & killvar 'natund'
  90. if natseethrough > 0: NatbelQW['seethrough'] = natseethrough & killvar 'natseethrough'
  91. if natseethroughwearing > 0: NatbelQW['seethroughwearing'] = natseethroughwearing & killvar 'natseethroughwearing'
  92. if natseethroughworn > 0: NatbelQW['seethroughworn'] = natseethroughworn & killvar 'natseethroughworn'
  93. if natseehtroughkitchen > 0: NatbelQW['seethroughkitchen'] = natseehtroughkitchen & killvar 'natseehtroughkitchen'
  94. if natmomrobe > 0: NatbelQW['momrobe'] = natmomrobe & killvar 'natmomrobe'
  95. if nattraining > 0: NatbelQW['training'] = nattraining & killvar 'nattraining'
  96. if natlesb > 0: NatbelQW['lesbian'] = natlesb & killvar 'natlesb'
  97. if natpee > 0: NatbelQW['pee'] = natpee & killvar 'natpee'
  98. if HaveCucumber > 0: NatbelQW['cucumber'] = HaveCucumber & killvar 'HaveCucumber'
  99. if natkolkatease > 0: NatbelQW['KolkaTease'] = natkolkatease & killvar 'natkolkatease'
  100. if kolkawantsnat > 0: NatbelQW['KolkaWantsNat'] = kolkawantsnat & killvar 'kolkawantsnat'
  101. if natfuckday > 0: NatbelQW['KolkaFuckDay'] = natfuckday & killvar 'natfuckday'
  102. if NatKolkaSex > 0: NatbelQW['KolkaSex'] = NatKolkaSex & killvar 'NatKolkaSex'
  103. if natbj > 0: NatbelQW['bj'] = natbj & killvar 'natbj'
  104. if NatKolkaFootjob > 0: NatbelQW['KolkaFootjob'] = NatKolkaFootjob & killvar 'NatKolkaFootjob'
  105. if natcp > 0: NatbelQW['KolkaCP'] = natcp & killvar 'natcp'
  106. ! Adding all previous creampies to the new vaginal sex tracker so it can start above 0 if possible
  107. if NatbelQW['KolkaCP'] > 0 and NatbelQW['vaginal'] = 0:
  108. NatbelQW['vaginal'] = NatbelQW['KolkaCP']
  109. end
  110. if natanal > 0: NatbelQW['anal'] = natanal & killvar 'natanal'
  111. if natpregday > 0: NatbelQW['pregday'] = natpregday & killvar 'natpregday'
  112. if nataskedbaby > 0: NatbelQW['askedbaby'] = nataskedbaby & killvar 'nataskedbaby'
  113. if natbabycount > 0: NatbelQW['babycount'] = natbabycount & killvar 'natbabycount'
  114. if MetNatMother > 0: NatbelQW['MetMother'] = MetNatMother & killvar 'MetNatMother'
  115. ! These can be set to 0, so wiping them in any case to get rid of them
  116. NatbelQW['MotherHome'] = NatashaMotherHome & killvar 'NatashaMotherHome'
  117. NatbelQW['MotherDoor'] = DoorOpenBy & killvar 'DoorOpenBy'
  118. NatbelQW['MotherState'] = NatashaMotherState & killvar 'NatashaMotherState'
  119. NatbelQW['MotherStateMsg'] = NatashaMotherStateMsg & killvar 'NatashaMotherStateMsg'
  120. NatbelQW['MotherStateKeep'] = NatashaMotherStateKeep & killvar 'NatashaMotherStateKeep'
  121. if SeenNatMomHitachi > 0: NatbelQW['SeenNatMomHitachi'] = SeenNatMomHitachi & killvar 'SeenNatMomHitachi'
  122. if CaughtByNatMomHitachi > 0: NatbelQW['CaughtByNatMomHitachi'] = CaughtByNatMomHitachi & killvar 'CaughtByNatMomHitachi'
  123. if $NatMomVibName ! '': $NatbelQW['NatMomVibName'] = $NatMomVibName & killvar '$NatMomVibName'
  124. ! typos found in the natasha files & other cleaning up
  125. if nhib_exp > 0: inhib_exp += nhib_exp & killvar 'nhib_exp'
  126. killvar 'natsleeprand'
  127. killvar 'imgrand'
  128. !! ----- Natasha story variables migrated to array ----- 0.8.0
  129. ! ----- Parrot story variables migrated to array
  130. if saveparQW > 0: ParrotQW['Level'] = saveparQW & killvar 'saveparQW'
  131. if popugai > 0: ParrotQW['Owned1'] = popugai & killvar 'popugai'
  132. if popugai2 > 0: ParrotQW['Owned2'] = popugai2 & killvar 'popugai2'
  133. if saveparjourQW > 0: ParrotQW['Day'] = saveparjourQW & killvar 'saveparjourQW'
  134. if parbuydate > 0: ParrotQW['BuyDate'] = parbuydate & killvar 'parbuydate'
  135. if sisrelparday > 0: ParrotQW['SisterReleaseParrotDay'] = sisrelparday & killvar 'sisrelparday'
  136. if saveparQWfailed > 0: ParrotQW['Failed'] = saveparQWfailed & killvar 'saveparQWfailed'
  137. If sispopconf > 0: ParrotQW['SisKeepParrot'] = sispopconf & killvar 'sispopconf'
  138. if $namepopu ! '': $ParrotQW['Name1'] = $namepopu & killvar '$namepopu'
  139. if $namepopu2 ! '': $ParrotQW['Name2'] = $namepopu2 & killvar '$namepopu2'
  140. ! ----- Parrot story variables migrated to array
  141. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  142. if BankPapper > 0: BurgerQW['BankTask'] = BankPapper & killvar 'BankPapper'
  143. if BistroBoss > 0: BurgerQW['BossSlut'] = BistroBoss & killvar 'BistroBoss'
  144. if BistroBossDay > 0: BurgerQW['BossSlutLastServed'] = BistroBossDay & killvar 'BistroBossDay'
  145. if bistroQW > 0: BurgerQW['Level'] = bistroQW & killvar 'bistroQW'
  146. if $burgerIvanText ! '': $BurgerQW['IvanSecurityCamDesc'] = $burgerIvanText & killvar '$burgerIvanText'
  147. if BuSWworkEnd > 0: BurgerQW['SaunaWhoreKnown'] = BuSWworkEnd & killvar 'BuSWworkEnd'
  148. if dayBankPapper > 0: BurgerQW['BankTaskDay'] = dayBankPapper & killvar 'dayBankPapper'
  149. if DayTerminalPapper > 0: BurgerQW['TerminalTaskDay'] = DayTerminalPapper & killvar 'DayTerminalPapper'
  150. if gossipBU > 0: BurgerQW['SlutReputation'] = gossipBU & killvar 'gossipBU'
  151. if IvanEvidence > 0: BurgerQW['IlyQWEvidence'] = IvanEvidence & killvar 'IvanEvidence'
  152. if ivanFilmBJ > 0: BurgerQW['IlyQWBJFilmed'] = ivanFilmBJ & killvar 'ivanFilmBJ'
  153. if IvanKvartira > 0: BurgerQW['IlyQWTatianaHelp'] = IvanKvartira & killvar 'IvanKvartira'
  154. if IvanPodstavaDay > 0: BurgerQW['IlyQWDay'] = IvanPodstavaDay & killvar 'IvanPodstavaDay'
  155. if IvanPodstavaQW > 0: BurgerQW['IlyQW'] = IvanPodstavaQW & killvar 'IvanPodstavaQW'
  156. if kompromatBlackMail > 0: BurgerQW['IlyQWBlackmail'] = kompromatBlackMail & killvar 'kompromatBlackMail'
  157. if $kompromatFoto ! '': $BurgerQW['IlyQWBlackmailPhoto'] = $kompromatFoto & killvar '$kompromatFoto'
  158. if NoBistroWork > 0: BurgerQW['WorkBlocked'] = NoBistroWork & killvar 'NoBistroWork'
  159. if PersSecWork > 0: BurgerQW['Secretary'] = PersSecWork & killvar 'PersSecWork'
  160. if PersSecWorkTimes > 0: BurgerQW['SecretaryTimesWorked'] = PersSecWorkTimes & killvar 'PersSecWorkTimes'
  161. if PodpiskaNeviezd > 0: BurgerQW['IlyQWPoliceDayCount'] = PodpiskaNeviezd & killvar 'PodpiskaNeviezd'
  162. if posuda > 0: BurgerQW['WashDishesCount'] = posuda & killvar 'posuda'
  163. if posudaA > 0: BurgerQW['WashFloorCount'] = posudaA & killvar 'posudaA'
  164. if posudaday > 0: BurgerQW['WashedDishesLastDay'] = posudaday & killvar 'posudaday'
  165. if posudaAday > 0: BurgerQW['WashFloorLastDay'] = posudaAday & killvar 'posudaAday'
  166. if PSBBtimes > 0: BurgerQW['WorkShift'] = PSBBtimes & killvar 'PSBBtimes'
  167. if sergeyPQW > 0: BurgerQW['sergeyQW'] = sergeyPQW & killvar 'sergeyPQW'
  168. if soplakTimes > 0: BurgerQW['sergeyQWServiced1'] = soplakTimes & killvar 'soplakTimes'
  169. if soplakTimes1 > 0: BurgerQW['sergeyQWServiced2'] = soplakTimes1 & killvar 'soplakTimes1'
  170. if TerminalPapper > 0: BurgerQW['TerminalTask'] = TerminalPapper & killvar 'TerminalPapper'
  171. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  172. ! ----- Albina story variables migrated to array
  173. if AlbFather > 0: AlbinaQW['AlbFatherQW'] = AlbFather & killvar 'AlbFather'
  174. if AlbFrend > 0: AlbinaQW['Friends'] = AlbFrend & killvar 'AlbFrend'
  175. if ZvezdEnd > 0: AlbinaQW['StarletsShutDown'] = ZvezdEnd & killvar 'ZvezdEnd'
  176. if DanceWhore > 0: AlbinaQW['StarletsWhore'] = DanceWhore & killvar 'DanceWhore'
  177. if beinalbinahome > 0: AlbinaQW['KnowsHouse'] = beinalbinahome & killvar 'beinalbinahome'
  178. if albsportday > 0: AlbinaQW['SportDay'] = albsportday & killvar 'albsportday'
  179. if albsporthome > 0: AlbinaQW['SportHome'] = albsporthome & killvar 'albsporthome'
  180. if gamebet > 0: AlbinaQW['gamebet'] = gamebet & killvar 'gamebet'
  181. if stardance > 0: AlbinaQW['ShowTriggerCount'] = stardance & killvar 'stardance'
  182. if albrideday > 0: AlbinaQW['albrideday'] = albrideday & killvar 'albrideday'
  183. if albinaQWdance > 0: AlbinaQW['StarletsJoined'] = albinaQWdance & killvar 'albinaQWdance'
  184. if AlbZverHelp > 0: AlbinaQW['ChristinaHelp'] = AlbZverHelp & killvar 'AlbZverHelp'
  185. if alb_father_meeting > 0: AlbinaQW['ParkRally'] = alb_father_meeting & killvar 'alb_father_meeting'
  186. if alb_father_day > 0: AlbinaQW['ParkRallyDay'] = alb_father_day & killvar 'alb_father_day'
  187. if AlbFaterBlackTime > 0: AlbinaQW['ElectionCampaignTime'] = AlbFaterBlackTime & killvar 'AlbFaterBlackTime'
  188. if startletsday > 0: AlbinaQW['startletsday'] = startletsday & killvar 'startletsday'
  189. if AlbVsNiko > 0: AlbinaQW['niko_help'] = AlbVsNiko & killvar 'AlbVsNiko'
  190. ! ----- Albina story variables migrated to array
  191. !! Updating npc_bust[] array to the new values ----- 0.8.0
  192. if npc_bust['A12'] = 9: npc_bust['A12'] = 23
  193. if npc_bust['A13'] = 9: npc_bust['A13'] = 8
  194. if npc_bust['A14'] = 9: npc_bust['A14'] = 20
  195. if npc_bust['A15'] = 9: npc_bust['A15'] = 18
  196. if npc_bust['A16'] = 9: npc_bust['A16'] = 26
  197. if npc_bust['A17'] = 9: npc_bust['A17'] = 34
  198. if npc_bust['A18'] = 9: npc_bust['A18'] = 21
  199. if npc_bust['A19'] = 9: npc_bust['A19'] = 14
  200. if npc_bust['A20'] = 9: npc_bust['A20'] = 22
  201. if npc_bust['A21'] = 9: npc_bust['A21'] = 18
  202. if npc_bust['A22'] = 9: npc_bust['A22'] = 27
  203. if npc_bust['A23'] = 9: npc_bust['A23'] = 14
  204. if npc_bust['A24'] = 9: npc_bust['A24'] = 20
  205. if npc_bust['A25'] = 9: npc_bust['A25'] = 21
  206. if npc_bust['A29'] = 9: npc_bust['A29'] = 25
  207. if npc_bust['A30'] = 9: npc_bust['A30'] = 18
  208. if npc_bust['A33'] = 9: npc_bust['A33'] = 19
  209. if npc_bust['A134'] = 9: npc_bust['A134'] = 20
  210. if npc_bust['A135'] = 9: npc_bust['A135'] = 13
  211. if npc_bust['A136'] = 9: npc_bust['A136'] = 30
  212. if npc_bust['A137'] = 9: npc_bust['A137'] = 34
  213. if npc_bust['A138'] = 9: npc_bust['A138'] = 18
  214. if npc_bust['A139'] = 9: npc_bust['A139'] = 22
  215. if npc_bust['A140'] = 9: npc_bust['A140'] = 13
  216. if npc_bust['A141'] = 9: npc_bust['A141'] = 20
  217. if npc_bust['A142'] = 9: npc_bust['A142'] = 13
  218. if npc_bust['A143'] = 9: npc_bust['A143'] = 7
  219. if npc_bust['A144'] = 9: npc_bust['A144'] = 24
  220. if npc_bust['A145'] = 9: npc_bust['A145'] = 31
  221. !! Updating npc_bust[] array to the new values ----- 0.8.0
  222. !!-----------Adding pube colours for 0.8.0-----------
  223. if pcs_pubecol[1] = 0:
  224. pcs_pubecol = pcs_haircol
  225. pcs_pubecol[1] = 1
  226. pcs_pubecol[2] = pcs_haircol
  227. end
  228. !!-----------Adding pube colours for 0.8.0-----------
  229. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  230. killvar 'olufirst'
  231. killvar 'tetyafirst'
  232. killvar 'oluuosegunday_count'
  233. killvar 'oluuosegunday_day'
  234. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  235. !!trait update
  236. if pcs_traits['update_1'] = 0:
  237. pcs_traits['update_1'] = 1
  238. pcs_traits['alko_day'] = alko_trait_day
  239. pcs_traits['alko_points'] = alko_trait_counter
  240. pcs_traits['alko_status'] = alko_trait
  241. killvar 'alko_trait_day'
  242. killvar 'alko_trait_counter'
  243. killvar 'alko_trait'
  244. end
  245. if trt_cumeater = 1: pcs_traits['cumeater'] = 1 & trt_cumeater = 7
  246. !! ----- Other bug fixes and cleanup ----- 0.8.0
  247. if pcs_gaming_exp > 0: gs 'exp_gain', 'gaming', pcs_gaming_exp & killvar 'pcs_gaming_exp'
  248. if nerd_night_game ! 0: killvar 'nerd_night_game'
  249. if nerd_night_game_day ! 0: nerd_game['game_day'] = nerd_night_game_day & killvar 'nerd_night_game_day'
  250. !!Masturbation check wasn''t being cleared
  251. mastrOnce = 0
  252. !! ----- Other bug fixes and cleanup ----- 0.8.0
  253. end
  254. !!------------------------------------!!Version 0.8.0.1!!-----------------------------------------------!!
  255. if temp_current_save_version < 00080001:
  256. !!--------0.8.0.1---school social group adjustment
  257. if gruptipe[9000] = 0:
  258. gruptipe[9000] = 1
  259. grupvalue[1] = grupvalue[1] * 10
  260. grupvalue[2] = grupvalue[2] * 10
  261. grupvalue[3] = grupvalue[3] * 10
  262. grupvalue[4] = grupvalue[4] * 10
  263. end
  264. !!--------0.8.0.1---school social group adjustment
  265. end
  266. !!------------------------------------------------------------------------------------------------------!!
  267. !! !!Version 0.8.1!! !!
  268. !!------------------------------------------------------------------------------------------------------!!
  269. if temp_current_save_version < 00080100:
  270. !!--------0.8.1--- Music variable names changed
  271. if ml_update_1 = 0:
  272. ml_guitar['hasguitar'] = ml_guitar
  273. ml_guitar['carried'] = ml_guitarWithMe
  274. ml_guitar['chordbook'] = ml_chordbook
  275. ml_performance['performed_minutes'] = ml_performed_minutes
  276. ml_performance['max_perform_minutes'] = ml_max_perform_minutes
  277. ml_guitarlesson['lessoncount'] = ml_lessoncount
  278. ml_guitarlesson['lessonday'] = ml_lessonday
  279. $ml_guitarlesson['lessonday'] = $ml_lessonday
  280. ml_guitarlesson['lessonhour'] = 15
  281. ml_guitarlesson['nextlesson'] = daystart + (ml_guitarlesson['lessonday'] + 7 - week)
  282. ml_guitarlesson['advertisement'] = ml_guitarlessonadv
  283. ml_guitarlesson['enquired'] = ml_enquired
  284. if age < 18:
  285. ml_guitarlesson['lessoncost'] = 300
  286. else
  287. ml_guitarlesson['lessoncost'] = 500
  288. end
  289. killvar 'ml_guitarWithMe'
  290. killvar 'ml_performed_minutes'
  291. killvar 'ml_max_perform_minutes'
  292. killvar 'ml_guitarlessonadv'
  293. killvar 'ml_enquired'
  294. killvar 'ml_lessonday'
  295. killvar '$ml_lessonday'
  296. killvar 'ml_lessoncost'
  297. !!--------0.8.1--- Music variable names changed
  298. ml_update_1 = 1
  299. end
  300. !! changed $metkaM to $locM_arg and $metka to $loc_arg in the code - needed for correction saves saved prior to version 0.8.1
  301. if arrsize('$metkaM') > 0 or arrsize('$metka') > 0:
  302. $locM_arg = $metkaM
  303. $loc_arg = $metka
  304. killvar '$metkaM'
  305. killvar '$metka'
  306. end
  307. !!---------------------------------------------------------------
  308. !! fixes the variable for Christina getting outcasted, so she will show up in the journal correctly
  309. if zverSlutQW = 2:
  310. npc_grupTipe['A18'] = 5
  311. end
  312. !!---------------------------------------------------------------
  313. !!model variable updates
  314. if anastasia > 0 and anastasia['status'] = 0 and anastasia['saveupdate'] = 0:
  315. anastasia['status'] = anastasia
  316. anastasia['escort_ask'] = anastasia_escort_ask
  317. anastasia['model_exp'] = anastasia_mode_exp
  318. anastasia['sex'] = anastasiasex
  319. anastasia['saveupdate'] = 1
  320. end
  321. if foto_models['emily'] > 0 and emily['status'] = 0 and emily['saveupdate'] = 0:
  322. emily['status'] = foto_models['emily']
  323. emily['hate'] = emily_hate
  324. emily['model_exp'] = emily_model_exp
  325. emily['saveupdate'] = 1
  326. end
  327. if jeff > 0 and jeff['status'] = 0 and jeff['saveupdate'] = 0:
  328. jeff['status'] = jeff
  329. jeff['grope'] = jeff_grope
  330. jeff['movies'] = jeff_movies
  331. jeff['model_exp'] = jeff_model_exp
  332. jeff['saveupdate'] = 1
  333. end
  334. if krystal > 0 and krystal['status'] = 0 and krystal['saveupdate'] = 0:
  335. krystal['status'] = krystal['talk']
  336. krystal['saveupdate'] = 1
  337. end
  338. if $model['firstname'] = '':
  339. $model['firstname'] = $pcs_firstname
  340. $model['nickname'] = $pcs_nickname
  341. $model['lastname'] = $pcs_lastname
  342. end
  343. if $model['pay_method'] = '': $model['pay_method'] = 'cash_envelope'
  344. !! Fixing Katja and Natasha relationship
  345. if npc_sex['A14'] > 1: npc_sex['A14'] = 1
  346. if npc_sex['A16'] > 1: npc_sex['A16'] = 1
  347. !! University related vars update
  348. if student >= 0:
  349. gs 'uniutil', 'transfer_legacy_vars'
  350. end
  351. !!---------------------------------------------------------------
  352. !! Lariska story variables migrated to array
  353. if KotovZverHelp > 0: LariskaQW['VitekHelp'] = KotovZverHelp & killvar 'KotovZverHelp'
  354. if IvanZverHelp > 0: LariskaQW['IvanHelp'] = IvanZverHelp & killvar 'IvanZverHelp'
  355. if FyodorZverHelp > 0: LariskaQW['FedorHelp'] = FyodorZverHelp & killvar 'FyodorZverHelp'
  356. if lariskaHelp > 0: LariskaQW['LariskaHelp'] = lariskaHelp & killvar 'lariskaHelp'
  357. if lariskaHelp_end > 0: LariskaQw['LariskaHelpEnd'] = lariskaHelp_end & killvar 'lariskaHelp_end'
  358. !!---------------------------------------------------------------
  359. !! Shave updater
  360. if shave_update ! 1:
  361. if pubestyle = 1:
  362. shave_length = 2
  363. shave_trigger = 4
  364. elseif pubestyle = 10:
  365. shave_length = 26
  366. shave_trigger = 31
  367. elseif pubestyle = 11:
  368. shave_length = 2
  369. shave_trigger = 10
  370. !elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  371. else
  372. shave_length = 16
  373. shave_trigger = 21
  374. end
  375. shave_update = 1
  376. end
  377. end
  378. !!------------------------------------------------------------------------------------------------------!!
  379. !! !!Version 0.8.2!! !!
  380. !!------------------------------------------------------------------------------------------------------!!
  381. if temp_current_save_version < 00080200:
  382. !! 0.8.2 clothing package for old saves ---------------------------------------
  383. if ARRSIZE('cheapH') > 0 or ARRSIZE('averageH') > 0 or ARRSIZE('expensiveH') > 0 or ARRSIZE('formalH') > 0 or ARRSIZE('officeH') > 0 or ARRSIZE('schoolH') > 0 or ARRSIZE('exerciseH') > 0 or ARRSIZE('uniformH') > 0 or ARRSIZE('exhibitH') > 0 or ARRSIZE('alternativeH') > 0 or ARRSIZE('fetishH') > 0 or ARRSIZE('burlesqueH') > 0:
  384. $batch_sell = {
  385. poshvalldrop += 1
  386. dynamic 'RESULT = <<$ARGS[0]>>H[<<ARGS[1]>>]'
  387. if RESULT > 100:
  388. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  389. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  390. money += 750
  391. selltot += 750
  392. elseif RESULT > 45:
  393. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  394. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  395. money += 500
  396. selltot += 500
  397. elseif RESULT > 30:
  398. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  399. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  400. money += 300
  401. selltot += 300
  402. elseif RESULT > 0:
  403. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  404. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  405. money += 100
  406. selltot += 100
  407. else
  408. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  409. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  410. end
  411. dynamic '<<$ARGS[0]>>H[<<ARGS[1]>>] = 0'
  412. }
  413. poshvalldrop = 0
  414. selltot = 0
  415. !!-----------------------------------------------------------------------------------------
  416. i = 1
  417. :cheapmet
  418. if cheap[i] = 1 and cheapH[i] > 0: dynamic($batch_sell, 'cheap', i)
  419. i += 1
  420. if i <= 419: jump 'cheapmet'
  421. i = 1
  422. :averagemet
  423. if average[i] = 1 and averageH[i] > 0: dynamic($batch_sell, 'average', i)
  424. i += 1
  425. if i <= 541: jump 'averagemet'
  426. i = 1
  427. :expensivemet
  428. if expensive[i] = 1 and expensiveH[i] > 0: dynamic($batch_sell, 'expensive', i)
  429. i += 1
  430. if i <= 442: jump 'expensivemet'
  431. i = 1
  432. :formalmet
  433. if formal[i] = 1 and formalH[i] > 0: dynamic($batch_sell, 'formal', i)
  434. i += 1
  435. if i <= 185: jump 'formalmet'
  436. i = 1
  437. :officemet
  438. if office[i] = 1 and officeH[i] > 0: dynamic($batch_sell, 'office', i)
  439. i += 1
  440. if i <= 140: jump 'officemet'
  441. i = 1
  442. :schoolmet
  443. if school[i] = 1 and schoolH[i] > 0: dynamic($batch_sell, 'school', i)
  444. i += 1
  445. if i <= 80: jump 'schoolmet'
  446. i = 1
  447. :exercisemet
  448. if exercise[i] = 1 and exerciseH[i] > 0: dynamic($batch_sell, 'exercise', i)
  449. i += 1
  450. if i <= 260: jump 'exercisemet'
  451. i = 1
  452. :fetishmet
  453. if fetish[i] = 1 and fetishH[i] > 0: dynamic($batch_sell, 'fetish', i)
  454. i += 1
  455. if i <= 240: jump 'fetishmet'
  456. i = 1
  457. :burlesquemet
  458. if burlesque[i] = 1 and burlesqueH[i] > 0: dynamic($batch_sell, 'burlesque', i)
  459. i += 1
  460. if i <= 22: jump 'burlesquemet'
  461. i = 1
  462. :exhibitmet
  463. if exhibit[i] = 1 and exhibitH[i] > 0: dynamic($batch_sell, 'exhibit', i)
  464. i += 1
  465. if i <= 125: jump 'exhibitmet'
  466. i = 1
  467. :uniformmet
  468. if uniform[i] = 1 and uniformH[i] > 0: dynamic($batch_sell, 'uniform', i)
  469. i += 1
  470. if i <= 60: jump 'uniformmet'
  471. i = 1
  472. :swimwearmet
  473. if swimwear[i] = 1 and swimwearH[i] > 0: dynamic($batch_sell, 'swimwear', i)
  474. i += 1
  475. if i <= 213: jump 'swimwearmet'
  476. i = 1
  477. :beachmet
  478. if beach[i] = 1 and beachH[i] > 0: dynamic($batch_sell, 'beach', i)
  479. i += 1
  480. if i <= 103: jump 'beachmet'
  481. i = 1
  482. :alternativemet
  483. if alternative[i] = 1 and alternativeH[i] > 0: dynamic($batch_sell, 'alternativer', i)
  484. i += 1
  485. if i <= 129: jump 'alternativemet'
  486. !!-----------------------------------------------------------------------------------------
  487. killvar 'batch_sell'
  488. killvar 'alternativeH' & killvar 'alternativeS' & killvar 'alternative'
  489. killvar 'averageH' & killvar 'averageS' & killvar 'average'
  490. killvar 'burlesqueH' & killvar 'burlesqueS' & killvar 'burlesque'
  491. killvar 'cheapH' & killvar 'cheapS' & killvar 'cheap'
  492. killvar 'exerciseH' & killvar 'exerciseS'
  493. killvar 'exhibitH' & killvar 'exhibitS'
  494. killvar 'expensiveH' & killvar 'expensiveS' & killvar 'expensive'
  495. killvar 'fetishH' & killvar 'fetishS'
  496. killvar 'formalH' & killvar 'formalS' & killvar 'formal'
  497. killvar 'officeH' & killvar 'officeS' & killvar 'office'
  498. killvar 'schoolH' & killvar 'schoolS' & killvar 'school'
  499. killvar 'uniformH' & killvar 'uniformS' & killvar 'uniform'
  500. killvar 'beachH' & killvar 'beachS' & killvar 'beachB'
  501. killvar 'swimwearH' & killvar 'swimwearS' & killvar 'swimwearB'
  502. killvar 'coatH' & killvar 'coatS'
  503. gm_outfits[50] = 1
  504. gm_outfits_h[50] = 100
  505. gm_outfits_b[50] = pcs_hips
  506. gs 'clothing', 'wear', 'gm_outfits', 50
  507. end
  508. !! Shave updater
  509. if shave_update ! 1:
  510. if pubestyle = 1:
  511. shave_length = 2
  512. shave_trigger = 4
  513. elseif pubestyle = 10:
  514. shave_length = 26
  515. shave_trigger = 31
  516. elseif pubestyle = 11:
  517. shave_length = 2
  518. shave_trigger = 8
  519. !elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  520. else
  521. shave_length = 16
  522. shave_trigger = 21
  523. end
  524. shave_update = 1
  525. end
  526. end
  527. !!------------------------------------!!Version 0.8.2.3!!-----------------------------------------------!!
  528. if temp_current_save_version < 00080203:
  529. !! Lariska variables removed, no longer needed - 2020/11/30 - Alaratt
  530. !! Edited - 2021/01/19 - Alaratt
  531. if beInLariskaHome = 1 or LariskaHomeIn >= 1:
  532. if LariskaHomeIn = 1:
  533. LariskaQW['story'] = 4
  534. else
  535. LariskaQW['story'] = 5
  536. end
  537. killvar 'LariskaHomeIn'
  538. killvar 'beInLariskaHome'
  539. end
  540. if doorlocked > 0: killvar 'doorlocked'
  541. if doorpeek > 0: killvar 'doorpeek'
  542. if lariskaBDSM > 0: killvar 'lariskaBDSM'
  543. if lariskaMotherKnown = 1:
  544. LariskaQW['metAnna'] = 1
  545. killvar 'lariskaMotherKnown'
  546. end
  547. if LariskaProfi = 1:
  548. LariskaQW['volleyball'] = 1
  549. killvar 'LariskaProfi'
  550. end
  551. !!---------------------------------------------------------------
  552. !! Migrates Christina variables into an array, removes unneeded variables, and fixes the outcast issue if still needed
  553. !! 2021/01/19 - Alaratt
  554. if zverSlutQW > 0:
  555. if zverSlutQW = 2:
  556. !! Christina lost the fight and is outcasted
  557. christinaQW['fight'] = 1
  558. christinaQW['dompath'] = 7
  559. npc_grupTipe['A18'] = 5
  560. else
  561. !! Christina lost the fight and is prepped for outcasting
  562. christinaQW['fight'] = 1
  563. christinaQW['dompath'] = 6
  564. end
  565. killvar 'zverSlutQW'
  566. end
  567. if zverRageQW > 0:
  568. if zverRageQW = 10:
  569. !! Christina won the fight
  570. christinaQW['fight'] = -1
  571. christinaQW['subpath'] = 2
  572. elseif zverRageQW = 2:
  573. !! Christina lost the fight
  574. christinaQW['fight'] = 1
  575. christinaQW['dompath'] = 6
  576. else
  577. !! You spread rumors about Christina and she preps for fight
  578. christinaQW['dompath'] = 4
  579. end
  580. killvar 'zverRageQW'
  581. end
  582. if socialchg['christina_dont_care'] = 1: socialchg['christina_dont_care'] = 0
  583. if zverevaQW > 0: killvar 'zverevaQW'
  584. if LinaSlut > 0: killvar 'LinaSlut'
  585. if fizrukSex > 0: killvar 'fizrukSex'
  586. if kristinaSex > 0: killvar 'kristinaSex'
  587. if christinaphotos > 0:
  588. if christinaphotos = 3:
  589. !! Christina won the fight and you have not had a shower scene with her yet
  590. christinaQW['fight'] = -1
  591. christinaQW['subpath'] = 2
  592. elseif christinaphotos = 4:
  593. !! Christina won the fight and you had first shower scene with her
  594. christinaQW['fight'] = -1
  595. christinaQW['subpath'] = 3
  596. elseif christinaphotos = 2:
  597. !! You submitted to Christina and you had first shower scene with her
  598. christinaQW['submit'] = 1
  599. christinaQW['subpath'] = 3
  600. else
  601. !! You submitted to Christina but not had a shower scene with her yet
  602. christinaQW['submit'] = 1
  603. christinaQW['subpath'] = 2
  604. end
  605. killvar 'christinaphotos'
  606. end
  607. !!---------------------------------------------------------------
  608. !!Albina variables no longer needed, no sense in having them run in the background for nothing
  609. if AlbinaQW['ParkRallyDay'] > 0: AlbinaQW['ParkRallyDay'] = 0
  610. if AlbinaQW['ElectionCampaignTime'] > 0: AlbinaQW['ElectionCampaignTime'] = 0
  611. if AlbinaQW['AlbFatherQW'] > 1: AlbinaQW['AlbFatherQW'] = 1
  612. !!---------------------------------------------------------------
  613. end
  614. !!------------------------------------!!Version 0.8.2.4!!-----------------------------------------------!!
  615. if temp_current_save_version < 00080204:
  616. !! Migrates kikboxing variables into an array, removes unneeded variables.
  617. if razradKik > 0: kickbox['sash'] = razradKik & killvar 'razradKik'
  618. if amatReit > 0: kickbox['advancement'] = amatReit & killvar 'amatReit'
  619. if kikmoney > 0: kickbox['money'] = kikmoney & killvar 'kikmoney'
  620. if KikWinAm > 0: kickbox['amateurWin'] = KikWinAm & killvar 'KikWinAm'
  621. if KikWinAmKO > 0: kickbox['amateurWinKO'] = KikWinAmKO & killvar 'KikWinAmKO'
  622. if KikLossAm > 0: kickbox['amateurLoss'] = KikLossAm & killvar 'KikLossAm'
  623. if KikLossAmKO > 0: kickbox['amateurLossKO'] = KikLossAmKO & killvar 'KikLossAmKO'
  624. if KikDrawAm > 0: kickbox['amateurDraw'] = KikDrawAm & killvar 'KikDrawAm'
  625. if amateur > 0: kickbox['amateur'] = amateur & killvar 'amateur'
  626. killvar 'razrand'
  627. end
  628. !!------------------------------------!!Version 0.8.2.5!!-----------------------------------------------!!
  629. if temp_current_save_version < 00080205:
  630. !! Migrates Anushka''s brother''s quest into a array.
  631. if maksimQW > 0: maksimQW['QWstage'] = maksimQW
  632. end
  633. !!------------------------------------!!Version 0.8.2.6!!-----------------------------------------------!!
  634. !! 0.8.3 shoe package for old saves ---------------------------------------
  635. if temp_current_save_version < 00080206:
  636. i = 1
  637. :sfetishmet
  638. if sfetish[i] = 1: money += 300
  639. i += 1
  640. if i <= 27: jump 'sfetishmet'
  641. i = 1
  642. :scatsmet
  643. if scats[i] = 1: money += 300
  644. i += 1
  645. if i <= 38: jump 'scatsmet'
  646. i = 1
  647. :sgandmsmet
  648. if sgandm[i] = 1: money += 300
  649. i += 1
  650. if i <= 40: jump 'sgandmsmet'
  651. i = 1
  652. :trainersmet
  653. if trainers[i] = 1: money += 300
  654. i += 1
  655. if i <= 30: jump 'trainersmet'
  656. i = 1
  657. :sboutiquemet
  658. if sboutique[i] = 1: money += 300
  659. i += 1
  660. if i <= 37: jump 'sboutiquemet'
  661. killvar 'sfetish' & killvar 'sfetishS'
  662. killvar 'scats' & killvar 'scatsS'
  663. killvar 'sgandm' & killvar 'sgandmS'
  664. killvar 'trainers' & killvar 'trainersS'
  665. killvar 'sboutique' & killvar 'sboutiqueS'
  666. sgm[5] = 1
  667. sgm_s[5] = 0
  668. gs 'shoes', 'wear', 'sgm', 5
  669. end
  670. !!------------------------------------------------------------------------------------------------------!!
  671. !! !!Version 0.8.3!! !!
  672. !!------------------------------------------------------------------------------------------------------!!
  673. !!------------------------------------!!Version 0.8.3.4!!-----------------------------------------------!!
  674. if temp_current_save_version < 00080304:
  675. $fametown = 'pav'
  676. :fametownloop
  677. $fameact = 'acting'
  678. :fameactloop
  679. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  680. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = <<$fametown>>_<<$fameact>>'
  681. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  682. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  683. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  684. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  685. else
  686. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  687. end
  688. killvar '<<$fametown>>_<<$fameact>>'
  689. if $fameact = 'acting':
  690. $fameact = 'dance'
  691. jump 'fameactloop'
  692. elseif $fameact = 'dance':
  693. $fameact = 'painting'
  694. jump 'fameactloop'
  695. elseif $fameact = 'painting':
  696. $fameact = 'music'
  697. jump 'fameactloop'
  698. elseif $fameact = 'music':
  699. $fameact = 'ballet'
  700. jump 'fameactloop'
  701. elseif $fameact = 'ballet':
  702. $fameact = 'modelling'
  703. jump 'fameactloop'
  704. elseif $fameact = 'modelling':
  705. $fameact = 'porn'
  706. jump 'fameactloop'
  707. elseif $fameact = 'porn':
  708. $fameact = 'stripping'
  709. jump 'fameactloop'
  710. elseif $fameact = 'stripping':
  711. $fameact = 'kickboxing'
  712. jump 'fameactloop'
  713. elseif $fameact = 'kickboxing':
  714. $fameact = 'running'
  715. jump 'fameactloop'
  716. elseif $fameact = 'running':
  717. $fameact = 'volleyball'
  718. jump 'fameactloop'
  719. elseif $fameact = 'volleyball':
  720. $fameact = 'chess'
  721. jump 'fameactloop'
  722. elseif $fameact = 'chess':
  723. $fameact = 'teaching'
  724. jump 'fameactloop'
  725. elseif $fameact = 'teaching':
  726. $fameact = 'media'
  727. jump 'fameactloop'
  728. end
  729. $fameact = 'sex'
  730. :fameactloop2
  731. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  732. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = <<$fametown>>_<<$fameact>>'
  733. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  734. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  735. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  736. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  737. else
  738. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  739. end
  740. killvar '<<$fametown>>_<<$fameact>>'
  741. if $fameact = 'sex':
  742. $fameact = 'prostitute'
  743. jump 'fameactloop2'
  744. end
  745. if $fametown = 'pav':
  746. $fametown = 'city'
  747. jump 'fametownloop'
  748. elseif $fametown = 'city':
  749. $fametown = 'village'
  750. jump 'fametownloop'
  751. elseif $fametown = 'village':
  752. $fametown = 'pushkin'
  753. jump 'fametownloop'
  754. end
  755. gs 'fame', 'calculate', 'acting'
  756. gs 'fame', 'calculate', 'dance'
  757. gs 'fame', 'calculate', 'painting'
  758. gs 'fame', 'calculate', 'music'
  759. gs 'fame', 'calculate', 'ballet'
  760. gs 'fame', 'calculate', 'modelling'
  761. gs 'fame', 'calculate', 'porn'
  762. gs 'fame', 'calculate', 'stripping'
  763. gs 'fame', 'calculate', 'kickboxing'
  764. gs 'fame', 'calculate', 'running'
  765. gs 'fame', 'calculate', 'volleyball'
  766. gs 'fame', 'calculate', 'chess'
  767. gs 'fame', 'calculate', 'teaching'
  768. gs 'fame', 'calculate', 'media'
  769. gs 'fame', 'calculateSlut'
  770. if modelfoto > 0 and modelfoto['saveupdater'] = 0:
  771. !! changing modelling variables to arrays
  772. if modelfoto > 0: modelfoto['shoots'] = modelfoto
  773. if modelfotomoney > 0: modelfoto['earnings'] = modelfotomoney
  774. if modelfoto_catalog > 0: modelfoto['catalog'] = modelfoto_catalog
  775. if modelfoto_fashion > 0: modelfoto['fashion'] = modelfoto_fashion
  776. if modelfoto_ero_clo > 0: modelfoto['sexy'] = modelfoto_ero_clo
  777. if modelfoto_bikini > 0: modelfoto['bikini'] = modelfoto_bikini
  778. if modelfoto_lingerie > 0: modelfoto['lingerie'] = modelfoto_lingerie
  779. if modelfoto_trans_ling > 0: modelfoto['trans_ling'] = modelfoto_trans_ling
  780. if modelfoto_transparent > 0: modelfoto['transparent'] = modelfoto_transparent
  781. if modelfoto_fitness > 0: modelfoto['fitness'] = modelfoto_fitness
  782. if modelfoto_glamour > 0: modelfoto['glamour'] = modelfoto_glamour
  783. if modelfoto_topless > 0: modelfoto['topless'] = modelfoto_topless
  784. if modelfoto_nude > 0: modelfoto['nude'] = modelfoto_nude
  785. if modelfoto_tastenude > 0: modelfoto['tastenude'] = modelfoto_tastenude
  786. if modelfoto_toplessnude > 0: modelfoto['toplessnude'] = modelfoto_toplessnude
  787. if modelfoto_fullnude > 0: modelfoto['fullnude'] = modelfoto_fullnude
  788. if modelfoto_erotic > 0: modelfoto['erotic'] = modelfoto_erotic
  789. if modelfoto_nip > 0: modelfoto['nip'] = modelfoto_nip
  790. if modelfoto_pussy > 0: modelfoto['pussy'] = modelfoto_pussy
  791. if modelfoto_asshole > 0: modelfoto['asshole'] = modelfoto_asshole
  792. modelfoto['saveupdater'] = 1
  793. end
  794. end
  795. !!------------------------------------!!Version 0.8.3.5!!-----------------------------------------------!!
  796. if temp_current_save_version < 00080305:
  797. !!Defines the high school classes using the new grade system
  798. gs 'grades', 'createclass', 'school', 'math', 3, 2, 'yes', 'yes', 0, 0
  799. gs 'grades', 'createclass', 'school', 'rus', 3, 2, 'yes', 'yes', 0, 0
  800. gs 'grades', 'createclass', 'school', 'lit', 2, 2, 'yes', 'yes', 0, 0
  801. gs 'grades', 'createclass', 'school', 'art', 2, 2, 'yes', 'no', 0, 0
  802. gs 'grades', 'createclass', 'school', 'bio', 2, 2, 'yes', 'yes', 0, 0
  803. gs 'grades', 'createclass', 'school', 'pe', 3, 1, 'yes', 'no', 0, 0
  804. gs 'grades', 'createclass', 'school', 'eng', 2, 2, 'yes', 'yes', 0, 0
  805. gs 'grades', 'createclass', 'school', 'geo', 2, 2, 'yes', 'yes', 0, 0
  806. gs 'grades', 'createclass', 'school', 'sci', 2, 2, 'yes', 'yes', 0, 0
  807. gs 'grades', 'createclass', 'school', 'shop', 2, 2, 'yes', 'no', 0, 0
  808. gs 'grades', 'createclass', 'school', 'comp', 3, 2, 'yes', 'yes', 0, 0
  809. gs 'grades', 'createclass', 'school', 'mus', 2, 2, 'yes', 'no', 0, 0
  810. gs 'grades', 'createclass', 'school', 'his', 2, 2, 'yes', 'yes', 0, 0
  811. !!Convert the old grade attribute into the new individual grades.
  812. gs 'grades', 'grade_award', 'school', 'math', pcs_grades
  813. gs 'grades', 'grade_award', 'school', 'rus', pcs_grades
  814. gs 'grades', 'grade_award', 'school', 'lit', pcs_grades
  815. gs 'grades', 'grade_award', 'school', 'art', pcs_grades
  816. gs 'grades', 'grade_award', 'school', 'bio', pcs_grades
  817. gs 'grades', 'grade_award', 'school', 'pe', pcs_grades
  818. gs 'grades', 'grade_award', 'school', 'eng', pcs_grades
  819. gs 'grades', 'grade_award', 'school', 'geo', pcs_grades
  820. gs 'grades', 'grade_award', 'school', 'sci', pcs_grades
  821. gs 'grades', 'grade_award', 'school', 'shop', pcs_grades
  822. gs 'grades', 'grade_award', 'school', 'comp', pcs_grades
  823. gs 'grades', 'grade_award', 'school', 'mus', pcs_grades
  824. gs 'grades', 'grade_award', 'school', 'his', pcs_grades
  825. !!Assign a grado on the 1 to 5 russina grade scale from the grade variable
  826. gs 'grades', 'assing_grade_description', 'school'
  827. if month > 9 or (month = 9 and day > 5 and hour > 8) or year > 2016: class['first_grade_check'] = 1
  828. end
  829. !!------------------------------------!!Version 0.8.3.6!!-----------------------------------------------!!
  830. if temp_current_save_version < 00080306:
  831. !!Moving Djibril old variables into his array
  832. if meet_djibril > 0: DjibrilQW['meet'] = meet_djibril & killvar 'meet_djibril'
  833. if djibril_invite > 0: DjibrilQW['invite'] = djibril_invite & killvar 'djibril_invite'
  834. if african_gangbang > 0: DjibrilQW['african_gangbang'] = african_gangbang & killvar 'african_gangbang'
  835. if djibril_sex > 0: npc_sex['A82'] = djibril_sex & killvar 'djibril_sex'
  836. if npc_sex['A82'] > 0 or DjibrilQW['african_gangbang'] > 0: DjibrilQW['invite'] = 1
  837. end
  838. !!------------------------------------!!Version 0.8.3.7!!-----------------------------------------------!!
  839. if temp_current_save_version < 00080307:
  840. !!Moving some string variables to more appropriate numerical variables in the camera files.
  841. i = 0
  842. :camera_update_loop
  843. camera_found[i] = 1
  844. i += 1
  845. if ARRSIZE('camera_found') > i: jump 'camera_update_loop'
  846. !!Moved Igor''s quest to use daystart.
  847. if igor_DimaNos = 2 or igor_DimaNos = 3:
  848. if $igor_DimaNos_day > 5:
  849. igor_DimaNos_day = daystart
  850. else
  851. igor_DimaNos_day = daystart + 6 - $igor_DimaNos_day
  852. end
  853. end
  854. end
  855. if temp_current_save_version < 00080402:
  856. !!Setting the count of generic girlfirends.
  857. pcs_girlfriends = 0
  858. i = 0
  859. :girlfriend_looop
  860. if loverGender[i] = 1: pcs_girlfriends += 1
  861. i +=1
  862. if i < ARRSIZE('lover'): jump 'girlfriend_looop'
  863. Killvar 'i'
  864. if analorgasm > 0: orgasm_anal += analorgasm
  865. end
  866. !!------------------------------------------------------------------------------------------------------!!
  867. !! !!Version 0.8.4!! !!
  868. !!------------------------------------------------------------------------------------------------------!!
  869. !!------------------------------------!!Version 0.8.4.3!!-----------------------------------------------!!
  870. if temp_current_save_version < 00080403:
  871. !!Updating the variables for the Katja Quest line.
  872. if meynoldQW = 1 or meynoldQW = 2:
  873. katjaQW['QWstage'] = meynoldQW
  874. killvar 'meynoldQW'
  875. end
  876. if katjaFirstKiss > 0 or KatjaOTN > 0:
  877. katjaQW['QWstage'] = 3
  878. killvar 'katjaFirstKiss'
  879. killvar 'KatjaOTN'
  880. end
  881. if katjaTanga > 0: katjaQW['pantiesQWstage'] = katjaTanga & killvar 'katjaTanga'
  882. if katja_tanga_end > 0: katjaQW['pantiesQWstage'] = 5 & killvar 'katja_tanga_end'
  883. if katjaSlut > 0: katjaQW['slut'] = katjaSlut & killvar 'katjaSlut'
  884. if katjaHorny > 0: katjaQW['horny'] = katjaHorny & killvar 'katjaHorny'
  885. if katjaSex = 1: katjaQW['park_sex'] = 1 & killvar 'katjaSex'
  886. if katjaSex = 2: katjaQW['park_sex'] = 2 & killvar 'katjaSex'
  887. if katjaSex > 2: katjaQW['park_sex'] = 3 & killvar 'katjaSex'
  888. if KatjaMastr > 0: katjaQW['masturbates'] = KatjaMastr & killvar 'KatjaMastr'
  889. if KatjaThroat > 0: npc_throat['A14'] = KatjaThroat & killvar 'KatjaThroat'
  890. if KatjaAnus > 0: npc_ass['A14'] = KatjaAnus & killvar 'KatjaAnus'
  891. if KatjaOrgasm > 0: katjaQW['orgasm_day'] = KatjaOrgasm & killvar 'KatjaOrgasm'
  892. if katjaMeynoldday > 0: katjaQW['afterschool_hangout_day'] = katjaMeynoldday & killvar 'katjaMeynoldday'
  893. if tangaday > 0: katjaQW['no_panties_day'] = tangaday & killvar 'tangaday'
  894. if KatjaKnowMastr > 0: katjaQW['knows_masterbation'] = 1 & killvar 'KatjaKnowMastr'
  895. if SelfFistingKnow > 0: katjaQW['knows_self_fisting'] = 1 & killvar 'SelfFistingKnow'
  896. if KatjaKnowBJ > 0: katjaQW['knows_BJ'] = 1 & killvar 'KatjaKnowBJ'
  897. if KatjaKnowSex > 0: katjaQW['knows_sex'] = 1 & killvar 'KatjaKnowSex'
  898. if KatjaKnowAnal > 0: katjaQW['knows_anal'] = 1 & killvar 'KatjaKnowAnal'
  899. if KatjaKnowKuni > 0: katjaQW['knows_cuni'] = 1 & killvar 'KatjaKnowKuni'
  900. if KatjaKnowPirsA > 0: katjaQW['know_Pirced_tongue'] = 1 & killvar 'KatjaKnowPirsA'
  901. if katschoolsex > 0: katjaQW['school_sex'] = 1 & killvar 'katschoolsex'
  902. if katja_disco_Foto > 0: katjaQW['disco_Foto'] = 1 & killvar 'katja_disco_Foto'
  903. if meynoldQW = 3: katjaQW['drunk_help'] = 1 & killvar 'meynoldQW'
  904. if katja_disco_end > 0: katjaQW['no_panties_at_disco'] = 1 & killvar 'katja_disco_end'
  905. if KatjaOhrenet > 0: KatjaQW['sex_in_the_park_comment'] = KatjaOhrenet & killvar 'KatjaOhrenet'
  906. if flag_start_parc > 0: katjaQW['school_kiss'] = flag_start_parc & killvar 'flag_start_parc'
  907. end
  908. !!------------------------------------------------------------------------------------------------------!!
  909. !! !!Version 0.8.5!! !!
  910. !!------------------------------------------------------------------------------------------------------!!
  911. if temp_current_save_version < 00080500:
  912. if $loc = 'dorm': $loc = 'uni_dorm' & $menu_loc = 'uni_dorm'
  913. if $loc = 'HotelWork': $loc = 'hotel_work' & $menu_loc = 'hotel_work'
  914. if $loc = 'ParChurch': $loc = 'pav_church' & $menu_loc = 'pav_church'
  915. if $loc = 'pav_train': $loc = 'pav_market' & $menu_loc = 'pav_market'
  916. if $loc = 'univer': $loc = 'uni_admin' & $menu_loc = 'uni_admin'
  917. if $loc = 'youplace': $loc = 'city_mansion_entrance' & $menu_loc = 'city_mansion_entrance'
  918. if $loc = 'ykamin': $loc = 'city_mansion_residence_2' & $loc_arg='ylounge' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylounge'
  919. if $loc = 'ykuh': $loc = 'city_mansion_residence_1' & $loc_arg='ykitchen' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ykitchen'
  920. if $loc = 'ydet': $loc = 'city_mansion_residence_2' & $loc_arg='ynursery' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ynursery'
  921. if $loc = 'ybib': $loc = 'city_mansion_residence_2' & $loc_arg='ylibrary' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylibrary'
  922. if $loc = 'ybedr': $loc = 'city_mansion_residence_1' & $loc_arg='ybedroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybedroom'
  923. if $loc = 'ybass': $loc = 'city_mansion_residence_3' & $loc_arg='ypool' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ypool'
  924. if $loc = 'yban': $loc = 'city_mansion_residence_3' & $loc_arg='ysauna' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ysauna'
  925. if $loc = 'yvan': $loc = 'city_mansion_residence_1' & $loc_arg='ybathroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybathroom'
  926. if $loc = 'ymans': $loc = 'city_mansion_residence_1' & $loc_arg='yfoyer' & $menu_loc ='city_mansion_residence_1' & $menu_arg='yfoyer'
  927. if $loc = 'yzal': $loc = 'city_mansion_residence_2' & $loc_arg='yliving' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yliving'
  928. if $loc = 'ysport': $loc = 'city_mansion_residence_3' & $loc_arg='ygym' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ygym'
  929. if $loc = 'ykabinet': $loc = 'city_mansion_residence_2' & $loc_arg='yoffice' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yoffice'
  930. !!updater for sports clothing variable to unify it and fix bug
  931. i = 1
  932. :danilovichfix
  933. if danilovich[i] = 1:
  934. danilovich_outfits[i] = 1
  935. danilovich_outfits_s[i] = danilovich_s[i]
  936. danilovich_outfits_h[i] = danilovich_h[i]
  937. danilovich_outfits_b[i] = danilovich_b[i]
  938. end
  939. i += 1
  940. if i <= 170: jump 'danilovichfix'
  941. killvar 'danilovich'
  942. killvar 'danilovich_s'
  943. killvar 'danilovich_h'
  944. killvar 'danilovich_b'
  945. !! New setting for gaping time per stage in minutes that can be made user definable
  946. if agape[4] = 0: agape[4] = 10
  947. if vgape[4] = 0: vgape[4] = 10
  948. end
  949. !!------------------------------------!!Version 0.8.5.2!!-----------------------------------------------!!
  950. if temp_current_save_version < 00080502:
  951. i = 0
  952. :saveupdaterloop852_1
  953. $text = 'C' + str(i)
  954. temp1 = func('shortgs', 'get_me_index', '$npc_firstname', $text)
  955. if temp1 >= 0: $npc_index[$text] = $text
  956. i += 1
  957. if i < carraynumber: jump 'saveupdaterloop852_1'
  958. i = 0
  959. :saveupdaterloop852_2
  960. $text = 'B' + str(i)
  961. temp1 = func('shortgs', 'get_me_index', '$npc_firstname', $text)
  962. if temp1 >= 0: $npc_index[$text] = $text
  963. i += 1
  964. if i < barraynumber: jump 'saveupdaterloop852_2'
  965. end
  966. !!------------------------------------!!Version 0.8.5.3!!-----------------------------------------------!!
  967. if temp_current_save_version < 00080503:
  968. i = 0
  969. :saveupdaterloop853_1
  970. if npc_grupTipe['A<<i>>'] = 5:
  971. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_outcast_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  972. elseif npc_grupTipe['A<<i>>'] = 4:
  973. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_gopnik_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  974. elseif npc_grupTipe['A<<i>>'] = 3:
  975. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_nerd_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  976. elseif npc_grupTipe['A<<i>>'] = 2:
  977. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  978. elseif npc_grupTipe['A<<i>>'] = 1:
  979. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_coolkid_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  980. end
  981. i += 1
  982. if i < 250: jump 'saveupdaterloop853_1'
  983. if hotelroom1day ! 0:
  984. hotelRoomDays['pav_hotel'] = hotelroom1day
  985. hotelRoom['pav_hotel'] = hotelroom
  986. killvar 'hotelroom1day'
  987. hotelroom = 0
  988. end
  989. end
  990. !!------------------------------------!!Version 0.8.5.4!!-----------------------------------------------!!
  991. if temp_current_save_version < 00080504:
  992. !!Christinas chat have to stay in the jocks file even if she is an outcast
  993. $npcGoSchool['A18'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A18']) + '''"><<$npc_usedname["A18"]>></a>'
  994. if storyline = 1 and MagikDostup = 1:
  995. $start_type = 'sg'
  996. $start_type[1] = 'nomagic'
  997. elseif $start_type = 'csb':
  998. $start_type = 'sg_tg'
  999. $start_type[1] = 'tg'
  1000. elseif storyline = 1:
  1001. $start_type = 'sg_m'
  1002. elseif MagikDostup = 1:
  1003. $start_type = 'city'
  1004. $start_type[1] = 'nomagic'
  1005. else
  1006. $start_type = 'city_tg'
  1007. $start_type[1] = 'tg'
  1008. end
  1009. end
  1010. !!------------------------------------------------------------------------------------------------------!!
  1011. !! !!Version 0.8.6!! !!
  1012. !!------------------------------------------------------------------------------------------------------!!
  1013. !!------------------------------------!!Version 0.8.6.1!!-----------------------------------------------!!
  1014. if temp_current_save_version < 00080601:
  1015. if pcs_skin < 150: pcs_skin = 7 * pcs_skin
  1016. gs 'body'
  1017. gs 'body', 'DailyUpdate'
  1018. gs 'AppearanceSystem', 'UpdateBaseAppearnce'
  1019. gs 'stat'
  1020. end
  1021. !!------------------------------------------------------------------------------------------------------!!
  1022. !! !!Version 0.8.7!! !!
  1023. !!------------------------------------------------------------------------------------------------------!!
  1024. if temp_current_save_version < 00080700:
  1025. !!name fix from kats to cats
  1026. i = 1
  1027. :loopcatsbrassave
  1028. if kats_bras[i] = 1:
  1029. cats_brasS[i] = kats_brasS[i]
  1030. cats_bras[i] = kats_bras[i]
  1031. end
  1032. i += 1
  1033. if i <= ARRSIZE('kats_bras'): jump 'loopcatsbrassave'
  1034. killvar 'kats_brasS'
  1035. killvar 'kats_bras'
  1036. i = 1
  1037. :loopcatspantiessave
  1038. if kats_panties[i] = 1:
  1039. cats_pantiesS[i] = kats_pantiesS[i]
  1040. cats_panties[i] = kats_panties[i]
  1041. end
  1042. i += 1
  1043. if i <= ARRSIZE('kats_panties'): jump 'loopcatspantiessave'
  1044. killvar 'kats_pantiesS'
  1045. killvar 'kats_panties'
  1046. !!Christina variable update
  1047. if AvelinaQW['encourage'] = 1: AvelinaQW['encourage'] = 0
  1048. if lariskaQwestDay < 0 or lariskaQwestDay > 0: killvar 'lariskaQwestDay'
  1049. if LariskaQW['LariskaHelp'] < 0 or LariskaQW['LariskaHelp'] > 0: LariskaQW['LariskaHelp'] = 0
  1050. if LariskaQW['LariskaHelpEnd'] = 1: LariskaQW['LariskaHelpEnd'] = 0
  1051. if npc_grupTipe['A18'] = 5: npc_grupTipe['A18'] = 2
  1052. if christinaQW['dompath'] >= 1:
  1053. if christinaQW['dompath'] >= 6:
  1054. christinaQW['fight'] = 1
  1055. christinaQW['dompath'] = 0
  1056. else
  1057. christinaQW['dompath'] = 0
  1058. end
  1059. end
  1060. if christinaQW['set_bully'] = 0:
  1061. if (christinaQW['blackmail'] > 0 or christinaQW['pre_bm'] > 0 or christinaQW['pre_fight'] > 0 or christinaQW['fight'] > 0) and christinaQW['set_bully'] = 0:
  1062. christinaQW['set_bully'] = 1
  1063. christinaQW['bully'] = 40
  1064. end
  1065. if christinaQW['subpath'] > 0:
  1066. christinaQW['set_bully'] = 1
  1067. christinaQW['bully'] = 60
  1068. end
  1069. end
  1070. !!Schedule migrated to the array, no need to change first
  1071. killvar 'chrisloc'
  1072. killvar 'lariloc'
  1073. killvar 'anyaloc'
  1074. killvar 'kolloc'
  1075. killvar 'sdadloc'
  1076. killvar 'father_go'
  1077. killvar 'momloc'
  1078. killvar 'momclean1'
  1079. killvar 'momclean2'
  1080. if mother_go > 0:
  1081. locat['Mom_cafe_sex'] = mother_go
  1082. end
  1083. killvar 'm_day'
  1084. killvar 'mother_go'
  1085. killvar 'ocpd_room'
  1086. if indorf > 0:
  1087. locat['Fam_inGad'] = indorf
  1088. end
  1089. if indorf_month = month:
  1090. locat['Fam_month_inGad'] = indorf_month
  1091. end
  1092. if dostupindorf > 0:
  1093. locat['Fam_set_month_inGad'] = dostupindorf
  1094. end
  1095. killvar 'indorf'
  1096. killvar 'indorf_month'
  1097. killvar 'dostupindorf'
  1098. if sister_indorf > 0:
  1099. locat['Anya_Gad'] = sister_indorf
  1100. end
  1101. if sister_opr_indorf > 0:
  1102. locat['Anya_check_Gad'] = sister_opr_indorf
  1103. end
  1104. killvar 'sister_indorf'
  1105. killvar 'sister_opr_indorf'
  1106. if workKafe = 1:
  1107. workKafe = 0
  1108. workKafe['job'] = 1
  1109. end
  1110. if moisturiser['time'] > 0:
  1111. moisturiser_time = moisturiser['time']
  1112. gs 'shortgs', 'remove_array_element', '<<moisturiser>>', 'time'
  1113. end
  1114. end
  1115. killvar 'hypnoHairStyle'
  1116. if mod_list > 0:
  1117. mod_i = 1
  1118. :mod_data_updater
  1119. if $mod_name[mod_i] ! '':
  1120. $mod_su_name = 'mod_<<$mod_name[mod_i]>>_saveupdater'
  1121. if LOC($mod_su_name): gs $mod_su_name
  1122. end
  1123. if mod_list > mod_i:
  1124. mod_i += 1
  1125. jump 'mod_data_updater'
  1126. end
  1127. killvar '$mod_su_name'
  1128. killvar 'mod_i'
  1129. end
  1130. !!------------------------------------------------------------------------------------------------------!!
  1131. !! !!Version 0.8.8!! !!
  1132. !!------------------------------------------------------------------------------------------------------!!
  1133. if temp_current_save_version < 00080800:
  1134. !!update base appearance to the new calculation
  1135. gs 'AppearanceSystem', 'UpdateBaseAppearnce'
  1136. gs 'AppearanceSystem'
  1137. if $wloc = 'default': $wloc = 'default1'
  1138. !! new teeth variables
  1139. if pcs_teeth >= 0:
  1140. pcs_missing_teeth = pcs_teeth
  1141. pcs_teeth = 0
  1142. end
  1143. !! udate of Artem quest variables to an array.
  1144. if artembj > 0: artemQW['bj'] = artembj & killvar 'artembj'
  1145. if artemsex > 0: artemQW['sex'] = artemsex & killvar 'artemsex'
  1146. if artemanal > 0: artemQW['anal'] = artemanal & killvar 'artemanal'
  1147. if artemhj > 0: artemQW['hj'] = artemhj & killvar 'artemhj'
  1148. if artembrokenheart > 0: artemQW['brokenheart'] = artembrokenheart & killvar 'artembrokenheart'
  1149. if artemStripSee > 0: artemQW['stripsee'] = artemStripSee & killvar 'artemStripSee'
  1150. if artemlove > 0: artemQW['artemlove'] = artemlove & killvar 'artemlove'
  1151. if artemblok > 0: artemQW['artemblok'] = artemblok & killvar 'artemblok'
  1152. if artembf > 0: artemQW['bf'] = artembf & killvar 'artembf'
  1153. if artdryhump > 0: artemQW['dryhump'] = artdryhump & killvar 'artdryhump'
  1154. if artlie > 0: artemQW['artlie'] = artlie & killvar 'artlie'
  1155. if artfall > 0: artemQW['artfall'] = artfall & killvar 'artfall'
  1156. if artdate > 0: artemQW['date'] = artdate & killvar 'artdate'
  1157. if artdim > 0: artemQW['dimka'] = artdim & killvar 'artdim'
  1158. if artslutlove > 0: artemQW['slutlove'] = artslutlove & killvar 'artslutlove'
  1159. if artsveslut > 0: artemQW['sveslut'] = artsveslut & killvar 'artsveslut'
  1160. if metArtemMom > 0: artemQW['metArtemMom'] = metArtemMom & killvar 'metArtemMom'
  1161. if artdimhelp > 0: artemQW['dimkahelp'] = artdimhelp & killvar 'artdimhelp'
  1162. !! update Julia to an array
  1163. if JulMilBestFrend > 0: juliaQW['JulMilBestFrend'] = JulMilBestFrend & killvar 'JulMilBestFrend'
  1164. if eatJulMilDay: juliaQW['eatJulMilDay'] = eatJulMilDay & killvar 'eatJulMilDay'
  1165. if SexTalkJulia: juliaQW['SexTalkJulia'] = SexTalkJulia & killvar 'SexTalkJulia'
  1166. if BeInJulMilHome: juliaQW['home_unlocked'] = BeInJulMilHome & killvar 'BeInJulMilHome'
  1167. if JuliaMilLernQW: juliaQW['study_unlocked'] = JuliaMilLernQW & killvar 'JuliaMilLernQW'
  1168. end
  1169. !!------------------------------------!!Version 0.8.8.2!!-----------------------------------------------!!
  1170. if temp_current_save_version < 00080802:
  1171. !!--------------------------------------------------------------------
  1172. !! Prostitution related changes
  1173. !!--------------------------------------------------------------------
  1174. !! Gadukino prostitution
  1175. gs 'prostitution_functions', 'set_gadukion_prostitute'
  1176. !! Anuahka''s variables put in an array.
  1177. if anushkaFirstvisit > 0: anushkaQW['first_visit'] = anushkaFirstvisit & killvar 'anushkaFirstvisit'
  1178. if Anush_lunch > 0: anushkaQW['lunch'] = Anush_lunch & killvar 'Anush_lunch'
  1179. if nush_model > 0: anushkaQW['model'] = nush_model & killvar 'nush_model'
  1180. if foto_anush_referral > 0: anushkaQW['model_referral'] = foto_anush_referral & killvar 'foto_anush_referral'
  1181. if AnushkaCompUse > 0: anushkaQW['computer_use'] = AnushkaCompUse & killvar 'AnushkaCompUse'
  1182. if marspyknow > 0: anushkaQW['marspyknow'] = marspyknow & killvar 'marspyknow'
  1183. if nushstrapanalpain > 0: anushkaQW['strapon_anal_pain'] = nushstrapanalpain & killvar 'nushstrapanalpain'
  1184. if nushstrapon > 0: anushkaQW['strapon'] = nushstrapon & killvar 'nushstrapon'
  1185. if domnush > 0: anushkaQW['dom_nush'] = domnush & killvar 'domnush'
  1186. if seenEd > 0: anushkaQW['seen_ed'] = seenEd & killvar 'seenEd'
  1187. if valeriaIntroduced > 0: anushkaQw['valeria_introduced'] = valeriaIntroduced & killvar 'valeriaIntroduced'
  1188. if showerphotos > 0: anushkaQW['shower_photos'] = showerphotos & killvar 'showerphotos'
  1189. if anushka_tv_day > 0: anushkaQW['tv_day'] = anushka_tv_day & killvar 'anushka_tv_day'
  1190. if anushka_shower_day > 0: anushkaQW['shower_day'] = anushka_shower_day & killvar 'anushka_shower_day'
  1191. if AnushkaHomeDay > 0: anushkaQW['home_day'] = AnushkaHomeDay & killvar 'AnushkaHomeDay'
  1192. if nush_photoshoot > 0: anushkaQW['photoshoot'] = nush_photoshoot & killvar 'nush_photoshoot'
  1193. if NushVsNiko > 0: anushkaQW['vs_niko'] = NushVsNiko & killvar 'NushVsNiko'
  1194. if nushaboutalyona > 0: anushkaQW['about_alyona'] = nushaboutalyona & killvar 'nushaboutalyona'
  1195. if valspy > 0: anushkaQW['valspy'] = valspy & killvar 'valspy'
  1196. if radnushdate > 0: anushkaQW['rad_date'] = radnushdate & killvar 'radnushdate'
  1197. if radspy > 0: anushkaQW['radspy'] = radspy & killvar ' radspy'
  1198. if nushfedor3s > 0: anushkaQW['fedor_3some'] = nushfedor3s & killvar 'nushfedor3s'
  1199. if Anush_sex > 0: anushkaQW['sex'] = Anush_sex & killvar 'Anush_sex'
  1200. if Anush_dolls > 0: anushkaQW['dolls'] = Anush_dolls & killvar 'Anush_dolls'
  1201. if anushka_toilet > 0: anushkaQW['toilet'] = anushka_toilet & killvar 'anushka_toilet'
  1202. if marspy > 0: anushkaQW['marspy'] = marspy & killvar 'marspy'
  1203. if bandpracticeinvite > 0: gopnikbandQW['practice_invite'] = bandpracticeinvite & killvar 'bandpracticeinvite'
  1204. end
  1205. !!------------------------------------!!Version 0.8.8.2!!-----------------------------------------------!!
  1206. if temp_current_save_version < 00080804:
  1207. !!--------------------------------------------------------------------
  1208. !! Homes, Properties and Internet Update
  1209. !!--------------------------------------------------------------------
  1210. !! Transferring the owned, rented, accessible properties
  1211. ! city apartment
  1212. if home_owned[1] = 1 or owned_property['city_apartment'] = 1:
  1213. gs 'homes_properties', 'rent_property', 'city_apartment', ArendHouseSL
  1214. elseif home_owned[1] = 2 or owned_property['city_apartment'] = 2:
  1215. gs 'homes_properties', 'buy_property', 'city_apartment'
  1216. elseif home_owned[1] = 3 or owned_property['city_apartment'] = 3:
  1217. gs 'homes_properties', 'tenants_move_in', 'city_apartment', sdaday, sdamonth
  1218. end
  1219. !! Checking for renovation
  1220. if home_owned[1] > 0 or owned_property['city_apartment'] = 1:
  1221. if rembedr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'bedroom'
  1222. if remsitr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'living room'
  1223. if remkorr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'hallway'
  1224. if remvanr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'bathroom'
  1225. if remkuhr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'kitchen'
  1226. end
  1227. ! parents home
  1228. if home_owned[2] > 0 or owned_property['parents_home'] > 0: gs 'homes_properties', 'give_access', 'parents_home'
  1229. ! cottage in the village
  1230. if home_owned[3] > 0 or owned_property['village_cottage'] > 0: gs 'homes_properties', 'buy_property', 'village_cottage'
  1231. if home_owned[3] > 1 or owned_property['village_cottage-renovated'] = 1: gs 'homes_properties', 'renovate_property', 'village_cottage', 200000
  1232. ! Pushking old town apartment
  1233. if home_owned[4] = 1 or owned_property['old_town_apartment'] = 1: gs 'homes_properties', 'rent_property', 'old_town_apartment', ArendHouseSL4
  1234. ! Matryona mansion
  1235. if home_owned[5] > 0 or owned_property['matryona_mansion'] > 0: gs 'homes_properties', 'buy_property', 'matryona_mansion'
  1236. if home_owned[5] > 1 or owned_property['matryona_mansion-construction-status'] = 1: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1237. if home_owned[5] > 2 or owned_property['matryona_mansion-construction-status'] = 2: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1238. ! Pavlovsk hotel room
  1239. if home_owned[6] > 0 or owned_property['pavlovsk_hotel'] > 0: gs 'homes_properties', 'give_access', 'pavlovsk_hotel'
  1240. ! Live in maid bedroom
  1241. if home_owned[7] > 0 or owned_property['maid_bedroom'] > 0: gs 'homes_properties', 'give_access', 'maid_bedroom'
  1242. ! Niko apartment
  1243. if home_owned[8] > 0 or owned_property['niko_apartment'] > 0: gs 'homes_properties', 'give_access', 'niko_apartment'
  1244. ! Shulga apartment
  1245. if home_owned[9] > 0 or owned_property['shulga_apartment'] > 0: gs 'homes_properties', 'give_access', 'shulga_apartment'
  1246. ! Lyceum dorm room
  1247. if home_owned[10] > 0 or owned_property['lyceum_dorm'] > 0: gs 'homes_properties', 'give_access', 'lyceum_dorm'
  1248. ! University dorm room
  1249. if home_owned[11] > 0 or owned_property['university_dorm'] > 0: gs 'homes_properties', 'give_access', 'university_dorm'
  1250. ! Hunters lodge
  1251. if home_owned[12] > 0 or owned_property['hunters_lodge'] > 0: gs 'homes_properties', 'give_access', 'hunters_lodge'
  1252. ! Shared apartment in Pavlovsk
  1253. if home_owned[13] > 0 or owned_property['shared_apartment'] > 0: gs 'homes_properties', 'give_access', 'shared_apartment'
  1254. ! Grandparents house
  1255. if home_owned[14] > 0 or owned_property['grandparents_house'] > 0: gs 'homes_properties', 'give_access', 'grandparents_house'
  1256. ! City residential house
  1257. if home_owned[15] > 0 or owned_property['city_house'] > 0: gs 'homes_properties', 'buy_property', 'city_house'
  1258. ! Meynold household
  1259. if home_owned[16] > 0 or owned_property['meynold_household'] > 0: gs 'homes_properties', 'give_access', 'meynold_household'
  1260. !! Setting the current home and fixing potential missing access issues
  1261. if curr_home > 0 and $home['current'] = '':
  1262. gs 'homes_properties', 'set_home', '', STR(curr_home)
  1263. end
  1264. if $home['current'] = 'parents_home' and accessible_property['parents_home'] = 0:
  1265. gs 'homes_properties', 'give_access', 'parents_home'
  1266. end
  1267. killvar 'home_owned'
  1268. killvar 'curr_home'
  1269. killvar 'ArendHouseSL' & killvar 'ArendHouseSL4'
  1270. killvar 'home_rent_txt'
  1271. killvar 'home_value' & killvar 'home_value_txt'
  1272. killvar 'sdaday' & killvar 'sdamonth'
  1273. killvar 'owned_property'
  1274. if $home['current'] = '':
  1275. if mid($start_type, 1, 2) = 'sg':
  1276. gs 'homes_properties', 'give_access', 'parents_home'
  1277. gs 'homes_properties', 'set_home', 'parents_home'
  1278. elseif mid($start_type, 1, 4) = 'city':
  1279. gs 'homes_properties', 'give_access', 'city_apartment'
  1280. gs 'homes_properties', 'set_home', 'city_apartment'
  1281. elseif mid($start_type, 1, 3) = 'uni':
  1282. gs 'homes_properties', 'give_access', 'university_dorm'
  1283. gs 'homes_properties', 'set_home', 'university_dorm'
  1284. end
  1285. end
  1286. !! Setting the internet
  1287. if internet > 0:
  1288. old_internet_value = 10*internet
  1289. if $home['internet_enabled'] = 1:
  1290. gs 'internet_mobile', 'buy_subscription', $home['current'], 900
  1291. if (old_internet_value - 900) >= 0: money += (old_internet_value - 900)
  1292. else
  1293. if old_internet_value >= 1200:
  1294. gs 'internet_mobile', 'buy_subscription', 'mobile', 1200
  1295. if (old_internet_value - 1200) > 0: money += (old_internet_value - 1200)
  1296. else
  1297. gs 'internet_mobile', 'top_up_metered', 'metered_mobile', internet * 60
  1298. end
  1299. end
  1300. killvar 'internet'
  1301. end
  1302. !! Setting the mobile phone calls and texts
  1303. if balans > 0:
  1304. if (balans - 800) >= 0:
  1305. gs 'internet_mobile', 'buy_subscription', 'monthly_calls', 800
  1306. money += (balans - 800)
  1307. else
  1308. if balans >= 225:
  1309. temp_phone_mult = balans / 225
  1310. temp_phone_rem = balans mod 225
  1311. new_balans = temp_phone_mult * 240
  1312. gs 'internet_mobile', 'top_up_metered', 'metered_calls', new_balans
  1313. if temp_phone_rem > 0: money += temp_phone_rem
  1314. elseif balans >= 170:
  1315. temp_phone_rem = balans mod 170
  1316. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 180
  1317. if temp_phone_rem > 0: money += temp_phone_rem
  1318. elseif balans >= 115:
  1319. temp_phone_rem = balans mod 115
  1320. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 120
  1321. if temp_phone_rem > 0: money += temp_phone_rem
  1322. elseif balans >= 60:
  1323. temp_phone_rem = balans mod 60
  1324. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 60
  1325. if temp_phone_rem > 0: money += temp_phone_rem
  1326. else
  1327. gs 'internet_mobile', 'top_up_metered', 'metered_calls', balans
  1328. end
  1329. end
  1330. killvar 'balans' & killvar 'temp_phone_rem' & killvar 'temp_phone_mult' & killvar 'new_balans'
  1331. end
  1332. !! ------------ NPC Stat Updater ------------------------
  1333. if $ARGS[0] = 'npc_stat_update':
  1334. if npc_start_free_time[$boy] = 0 or npc_day_off[$boy] = 0:
  1335. if npc_finance[$boy] = 0:
  1336. if rand(1,3) = 1:
  1337. npc_start_free_time[$boy] = 9
  1338. npc_end_free_time[$boy] = 12
  1339. elseif rand(1,2) = 1:
  1340. npc_start_free_time[$boy] = 16
  1341. npc_end_free_time[$boy] = 20
  1342. else
  1343. npc_start_free_time[$boy] = 20
  1344. npc_end_free_time[$boy] = 23
  1345. end
  1346. elseif npc_finance[$boy] = 1:
  1347. if rand(1,2) = 1:
  1348. npc_start_free_time[$boy] = 9
  1349. npc_end_free_time[$boy] = 12
  1350. else
  1351. npc_start_free_time[$boy] = 20
  1352. npc_end_free_time[$boy] = 23
  1353. end
  1354. elseif npc_finance[$npclastgenerated] = 2:
  1355. npc_apt_type[$npclastgenerated] = 5
  1356. !!npc_apt_type[$npclastgenerated] = rand(5,6)
  1357. !! apt_type 6 is disabled until pictures are added
  1358. npc_occupation[$npclastgenerated] = rand(14,18)
  1359. npc_car[$npclastgenerated] = rand(0,1)
  1360. end
  1361. npc_day_off = rand(1,7)
  1362. end
  1363. end
  1364. end
  1365. !!------------------------------------------------------------------------------------------------------!!
  1366. !! !!Version 0.8.9!! !!
  1367. !!------------------------------------------------------------------------------------------------------!!
  1368. if temp_current_save_version < 00080900:
  1369. if $wardrobeDefaultPagePref = 'savedOutfits':$wardrobeDefaultPagePref = 'default1'
  1370. if nichTanyaKnown = 1:
  1371. nichTanya['Known'] = nichTanyaKnown & killvar 'nichTanyaKnown'
  1372. nichTanya['Relationship'] = nichTanyaRelationship & killvar 'nichTanyaRelationship'
  1373. nichTanya['RelationshipState'] = nichTanyaRelationshipState & killvar 'nichTanyaRelationshipState'
  1374. nichTanya['RelationshipBreakup'] = nichTanyaRelationshipBreakup & killvar 'nichTanyaRelationshipBreakup'
  1375. nichTanya['BF'] = nichTanyaBF & killvar 'nichTanyaBF'
  1376. nichTanya['Date'] = nichTanyaDate & killvar 'nichTanyaDate'
  1377. nichTanya['DateCounter'] = nichTanyaDateCounter & killvar 'nichTanyaDateCounter'
  1378. nichTanya['DateLast'] = nichTanyaDateLast & killvar 'nichTanyaDateLast'
  1379. nichTanya['DateShopping'] = nichTanyaDateShopping & killvar 'nichTanyaDateShopping'
  1380. nichTanya['FuckCounter'] = nichTanyaFuckCounter & killvar 'nichTanyaFuckCounter'
  1381. nichTanya['FuckLast'] = nichTanyaFuckLast & killvar 'nichTanyaFuckLast'
  1382. nichTanya['FuckToday'] = nichTanyaFuckToday & killvar 'nichTanyaFuckToday'
  1383. nichTanya['FuckPositions'] = nichTanyaFuckPositions & killvar 'nichTanyaFuckPositions'
  1384. nichTanya['Strapon'] = nichTanyaStrapon & killvar 'nichTanyaStrapon'
  1385. nichTanya['Dominance'] = nichTanyaDominance & killvar 'nichTanyaDominance'
  1386. nichTanya['Uni'] = nichTanyaUni & killvar 'nichTanyaUni'
  1387. nichTanya['UniStart'] = nichTanyaUniStart & killvar 'nichTanyaUniStart'
  1388. nichTanya['Room'] = nichTanyaRoom & killvar 'nichTanyaRoom'
  1389. nichTanya['PropSex'] = nichTanyaPropSex & killvar 'nichTanyaPropSex'
  1390. nichTanya['PropDate'] = nichTanyaPropDate & killvar 'nichTanyaPropDate'
  1391. killvar 'nichTanyaBFState'
  1392. killvar 'nichTanyaFuckDom'
  1393. killvar 'nichTanyaFuckSub'
  1394. end
  1395. end
  1396. !!------------------------------------!!Version 0.8.9.1!!-----------------------------------------------!!
  1397. if temp_current_save_version < 00080901:
  1398. if $wardrobeDefaultPagePref = 'savedOutfits':$wardrobeDefaultPagePref = 'default1'
  1399. i = 0
  1400. :loopboutiquepanties
  1401. i += 1
  1402. if boutique_panties[i] = 1:
  1403. dynamic 'lusso_panties[i] = 1'
  1404. dynamic 'lusso_pantiesS[i] = boutique_pantiesS[i]'
  1405. end
  1406. if i <= ARRSIZE('boutique_panties'): jump 'loopboutiquepanties'
  1407. killvar 'boutique_panties'
  1408. i = 0
  1409. :loopboutiquebras
  1410. i += 1
  1411. if boutique_bras[i] = 1:
  1412. dynamic 'lusso_bras[i] = 1'
  1413. dynamic 'lusso_brasS[i] = boutique_brasS[i]'
  1414. end
  1415. if i <= ARRSIZE('boutique_bras'): jump 'loopboutiquebras'
  1416. killvar 'boutique_bras'
  1417. i = 0
  1418. :loopcheappanties
  1419. i += 1
  1420. if cheap_panties[i] = 1:
  1421. dynamic 'gm_panties[i] = 1'
  1422. dynamic 'gm_pantiesS[i] = cheap_pantiesS[i]'
  1423. end
  1424. if i <= ARRSIZE('cheap_panties'): jump 'loopcheappanties'
  1425. killvar 'cheap_panties'
  1426. i = 0
  1427. :loopcheapbras
  1428. i += 1
  1429. if cheap_bras[i] = 1:
  1430. dynamic 'gm_bras[i] = 1'
  1431. dynamic 'gm_brasS[i] = cheap_brasS[i]'
  1432. end
  1433. if i <= ARRSIZE('cheap_bras'): jump 'loopcheapbras'
  1434. killvar 'cheap_bras'
  1435. i = 0
  1436. :loopexhibitionistpanties
  1437. i += 1
  1438. if exhibitionist_panties[i] = 1:
  1439. dynamic 'salacious_panties[i] = 1'
  1440. dynamic 'salacious_pantiesS[i] = exhibitionist_pantiesS[i]'
  1441. end
  1442. if i <= ARRSIZE('exhibitionist_panties'): jump 'loopexhibitionistpanties'
  1443. killvar 'exhibitionist_panties'
  1444. i = 0
  1445. :loopexhibitionistbras
  1446. i += 1
  1447. if exhibitionist_bras[i] = 1:
  1448. dynamic 'salacious_bras[i] = 1'
  1449. dynamic 'salacious_brasS[i] = exhibitionist_brasS[i]'
  1450. end
  1451. if i <= ARRSIZE('exhibitionist_bras'): jump 'loopexhibitionistbras'
  1452. killvar 'exhibitionist_bras'
  1453. i = 0
  1454. :loopsexshoppanties
  1455. i += 1
  1456. if sexshop_panties[i] = 1:
  1457. dynamic 'eroto_panties[i] = 1'
  1458. dynamic 'eroto_pantiesS[i] = sexshop_pantiesS[i]'
  1459. end
  1460. if i <= ARRSIZE('sexshop_panties'): jump 'loopsexshoppanties'
  1461. killvar 'sexshop_panties'
  1462. i = 0
  1463. :loopsexshopbras
  1464. i += 1
  1465. if sexshop_bras[i] = 1:
  1466. dynamic 'eroto_bras[i] = 1'
  1467. dynamic 'eroto_brasS[i] = sexshop_brasS[i]'
  1468. end
  1469. if i <= ARRSIZE('sexshop_bras'): jump 'loopsexshopbras'
  1470. killvar 'sexshop_bras'
  1471. i = 0
  1472. :loopsportpanties
  1473. i += 1
  1474. if sport_panties[i] = 1:
  1475. dynamic 'danilovich_panties[i] = 1'
  1476. dynamic 'danilovich_pantiesS[i] = sport_pantiesS[i]'
  1477. end
  1478. if i <= ARRSIZE('sport_panties'): jump 'loopsportpanties'
  1479. killvar 'sport_panties'
  1480. i = 0
  1481. :loopsportbras
  1482. i += 1
  1483. if sport_bras[i] = 1:
  1484. dynamic 'danilovich_bras[i] = 1'
  1485. dynamic 'danilovich_brasS[i] = sport_brasS[i]'
  1486. end
  1487. if i <= ARRSIZE('sport_bras'): jump 'loopsportbras'
  1488. killvar 'sport_bras'
  1489. if metmira = 1: npc_known['A60'] = 1 & killvar 'metmira'
  1490. end
  1491. !!------------------------------------!!Version 0.8.8.2!!-----------------------------------------------!!
  1492. if temp_current_save_version < 00080903:
  1493. if $wardrobeDefaultPagePref = 'savedOutfits': $wardrobeDefaultPagePref = 'default1'
  1494. if mid($start_type,1,4) = 'city' or $start_type = 'uni':
  1495. gs 'homes_properties', 'give_access', 'parents_home'
  1496. SchoolAtestat = 1
  1497. end
  1498. if teh > 0:
  1499. car['new_condition'] = tehcar
  1500. car['current_condition'] = teh
  1501. killvar 'teh'
  1502. killvar 'tehcar'
  1503. end
  1504. i = 0
  1505. :loopboys
  1506. if $npc_rel_type[i] ! '':$npc_rel_type[i] = 'fuckbuddy'
  1507. i += 1
  1508. if i <= ARRSIZE('$boys'): jump 'loopboys'
  1509. if traits > 0 or trait > 0:
  1510. pcs_traits['nerd_status'] = traits['nerd_status']
  1511. pcs_traits['alko_status'] = traits['alko_status']
  1512. pcs_traits['alko_points'] = traits['alko_points']
  1513. pcs_traits['buttslut_lvl'] = traits['buttslut_lvl']
  1514. pcs_traits['buttslut_exp'] = traits['buttslut_exp']
  1515. pcs_traits['nerd_lernHome'] = traits['nerd_lernHome']
  1516. pcs_traits['nerd_points'] = traits['nerd_points']
  1517. pcs_traits['nerd_lessons'] = traits['nerd_lessons']
  1518. pcs_traits['cumeater'] = trait['cumeater']
  1519. pcs_traits['commando_lvl'] = trait['commando_lvl']
  1520. pcs_traits['commando_exp'] = trait['commando_exp']
  1521. killvar 'traits'
  1522. killvar 'trait'
  1523. end
  1524. end
  1525. !!======================================================================================================!!
  1526. !! !!
  1527. !! !!Version 0.9.0!! !!
  1528. !! !!
  1529. !!======================================================================================================!!
  1530. if temp_current_save_version < 00090000:
  1531. if photography_job >0:
  1532. photography['experience'] = photography_job & killvar 'photography_job'
  1533. end
  1534. ! Deduplication in $fuckbuddy
  1535. if arrsize('$fuckbuddy') > 0:
  1536. ! Loop over the array, check if the value already exists in the temp array. If not copy.
  1537. i_fb = 0
  1538. :loopFuckbuddies
  1539. if arrpos('$_fuckbuddies', '$fuckbuddy[i_fb]') = -1:
  1540. copyarr('$_fuckbuddies', '$fuckbuddy', i_fb, 1)
  1541. i_fb +=1
  1542. end
  1543. if i_fb < arrsize('$fuckbuddy') : jump 'loopFuckbuddies'
  1544. killvar '$fuckbuddy'
  1545. $fuckbuddy = $_fuckbuddies
  1546. killvar '$_fuckbuddies' & killvar 'i_fb'
  1547. end
  1548. if stat['virgin'] > 0:
  1549. stat['think_virgin'] = stat['virgin']
  1550. gs 'shortgs', 'remove_array_element', 'stat', 'virgin'
  1551. end
  1552. end
  1553. !!------------------------------------!!Version 0.9.0.1!!-----------------------------------------------!!
  1554. if temp_current_save_version < 00090001:
  1555. if futa > 0: shemale = futa & killvar 'futa'
  1556. if hidden_futa > 0: hidden_shemale = hidden_futa & killvar 'hidden_futa'
  1557. end
  1558. !!------------------------------------!!Version 0.9.0.3!!-----------------------------------------------!!
  1559. if temp_current_save_version < 00090003:
  1560. if $home['current'] ! '' and $home['bathroom'] = '':
  1561. gs 'homes_properties', 'set_home', $home['current']
  1562. end
  1563. !! Makeup Refactor
  1564. if makeup['base'] < 1: makeup['base'] = cosmetic_tattoo + 1
  1565. makeup_routine_update_index = 1
  1566. :makeup_routine_update_loop
  1567. $temp_makeup_routine = str(dyneval('$result = $routine<<makeup_routine_update_index>>'))
  1568. $temp_makeup_routine_name = str(dyneval('$result = $routine<<makeup_routine_update_index>>custname'))
  1569. if $temp_makeup_routine ! '':
  1570. makeup['routine_<<makeup_routine_update_index>>_makeup'] = mid($temp_makeup_routine,1,1)
  1571. makeup['routine_<<makeup_routine_update_index>>_lipbalm'] = mid($temp_makeup_routine,2,1)
  1572. makeup['routine_<<makeup_routine_update_index>>_lashes'] = mid($temp_makeup_routine,3,1)
  1573. $makeup['routine_<<makeup_routine_update_index>>'] = $temp_makeup_routine
  1574. $makeup['routine_<<makeup_routine_update_index>>_name'] = $temp_makeup_routine_name
  1575. killvar '$routine<<makeup_routine_update_index>>'
  1576. killvar '$routine<<makeup_routine_update_index>>custname'
  1577. end
  1578. makeup_routine_update_index += 1
  1579. if makeup_routine_update_index <= 4: jump 'makeup_routine_update_loop'
  1580. killvar 'makeup_routine_update_index' & killvar '$temp_makeup_routine' & killvar '$temp_makeup_routine_name'
  1581. !! Temporary functions, can be removed once all variables are migrated, workaround for SaveUpdater not transferring data or as a quick fix.
  1582. if kosmetica > 0: mc_inventory['cosmetics'] = kosmetica & killvar 'kosmetica'
  1583. if item_moisturizer > 0: mc_inventory['moisturiser'] = item_moisturizer & killvar 'item_moisturizer'
  1584. if lipbalm > 0: mc_inventory['lipbalm'] = lipbalm & killvar 'lipbalm'
  1585. if falselashesplain > 0: mc_inventory['eyelash_fake'] = falselashesplain & killvar 'falselashesplain'
  1586. if falselashesmink > 0: mc_inventory['eyelash_mink'] = falselashesmink & killvar 'falselashesmink'
  1587. if stanok > 0: mc_inventory['razor'] = stanok & killvar 'stanok'
  1588. if krem > 0: mc_inventory['suncream'] = krem & killvar 'krem'
  1589. if deodorant > 0: mc_inventory['deodorant'] = deodorant & killvar 'deodorant'
  1590. if tampon > 0: mc_inventory['tampons'] = tampon & killvar 'tampon'
  1591. if sanpad > 0: mc_inventory['sanitary_pads'] = sanpad & killvar 'sanpad'
  1592. if shampoo > 0: mc_inventory['shampoo'] = shampoo & killvar 'shampoo'
  1593. if hscrunch > 0: mc_inventory['scrunchies'] = hscrunch & killvar 'hscrunch'
  1594. if hpingrip > 0: mc_inventory['kirbygrips'] = hpingrip & killvar 'hpingrip'
  1595. if salfetka > 0: mc_inventory['makeup_wipes'] = salfetka & killvar 'salfetka'
  1596. if mouthwash > 0: mc_inventory['mouthwash'] = mouthwash & killvar 'mouthwash'
  1597. if greben > 0: mc_inventory['comb'] = greben & killvar 'greben'
  1598. if kosmetitka > 0: mc_inventory['travel_makeup'] = kosmetitka & killvar 'kosmetitka'
  1599. if compact_mirror > 0: mc_inventory['travel_mirror'] = compact_mirror & killvar 'compact_mirror'
  1600. if eda > 0: mc_inventory['food_basic'] = eda & killvar 'eda'
  1601. if edaD > 0: mc_inventory['food_diet'] = edaD & killvar 'edaD'
  1602. if pranik > 0: mc_inventory['food_biscuits'] = pranik & killvar 'pranik'
  1603. if buterbrod > 0: mc_inventory['food_sandwich'] = buterbrod & killvar 'buterbrod'
  1604. if wine > 0: mc_inventory['food_wine'] = wine & killvar 'wine'
  1605. if bottle > 0: mc_inventory['food_water'] = bottle & killvar 'bottle'
  1606. if pregtest > 0: mc_inventory['pregnancy_test'] = pregtest & killvar 'pregtest'
  1607. if lekarstvo > 0: mc_inventory['antibiotics'] = lekarstvo & killvar 'lekarstvo'
  1608. if vitamin > 0: mc_inventory['vitamins'] = vitamin & killvar 'vitamin'
  1609. if painkiller > 0: mc_inventory['painkillers'] = painkiller & killvar 'painkiller'
  1610. if mosolmaz > 0: mc_inventory['chaffing_cream'] = mosolmaz & killvar 'mosolmaz'
  1611. if lubri > 0: mc_inventory['lubricant'] = lubri & killvar 'lubri'
  1612. if klisma > 0: mc_inventory['enema_kit'] = klisma & killvar 'klisma'
  1613. if breastpump > 0: mc_inventory['breast_pump'] = breastpump & killvar 'breastpump'
  1614. if bpbottles > 0: mc_inventory['bottle_s'] = bpbottles & killvar 'bpbottles'
  1615. if bpbottlem > 0: mc_inventory['bottle_m'] = bpbottlem & killvar 'bpbottlem'
  1616. if bpnipplebalm > 0: mc_inventory['nipple_cream'] = bpnipplebalm & killvar 'bpnipplebalm'
  1617. ! if Kandidoz > 0: mc_inventory['thrush_meds'] = Kandidoz & killvar 'Kandidoz' ! No clue what to do with this
  1618. if fatdel > 0: mc_inventory['weight_loss_pill'] = fatdel & killvar 'fatdel'
  1619. if morning_after_pill > 0: mc_inventory['morning_after_pill'] = morning_after_pill & killvar 'morning_after_pill'
  1620. if prezik > 0: mc_inventory['equipped_condoms'] = prezik & killvar 'prezik'
  1621. if prezikcount > 0: mc_inventory['normal_condoms'] = prezikcount & killvar 'prezikcount'
  1622. if preziksabo > 0: mc_inventory['sabotaged_condoms'] = preziksabo & killvar 'preziksabo'
  1623. if badprezik > 0: mc_inventory['bad_condoms'] = badprezik & killvar 'badprezik'
  1624. if tabletki > 0: mc_inventory['contraceptive_pill'] = tabletki & killvar 'tabletki'
  1625. if siga > 0: mc_inventory['cigarettes'] = siga & killvar 'siga'
  1626. if fashmag > 0: mc_inventory['mag_fashion'] = fashmag & killvar 'fashmag'
  1627. if compmag > 0: mc_inventory['mag_computer'] = compmag & killvar 'compmag'
  1628. if biomag > 0: mc_inventory['mag_biography'] = biomag & killvar 'biomag'
  1629. if cookmag > 0: mc_inventory['mag_cooking'] = cookmag & killvar 'cookmag'
  1630. if knitmag > 0: mc_inventory['mag_knitting'] = knitmag & killvar 'knitmag'
  1631. if fitmag > 0: mc_inventory['mag_fitness'] = fitmag & killvar 'fitmag'
  1632. if umbrella > 0: mc_inventory['umbrella'] = umbrella & killvar 'umbrella'
  1633. if pornMagazine > 0: mc_inventory['mag_porn'] = pornMagazine & killvar 'pornMagazine'
  1634. if vibrator > 0: mc_inventory['vibe'] = vibrator & killvar 'vibrator'
  1635. if analplug > 0: mc_inventory['buttplug'] = analplug & killvar 'analplug'
  1636. if suction_dildo > 0: mc_inventory['dildo_suction'] = suction_dildo & killvar 'suction_dildo'
  1637. if strapon > 0: mc_inventory['strapon'] = strapon & killvar 'strapon'
  1638. if dildo > 0: mc_inventory['dildo_small'] = dildo & killvar 'dildo'
  1639. if middildo > 0: mc_inventory['dildo_normal'] = middildo & killvar 'middildo'
  1640. if largedildo > 0: mc_inventory['dildo_big'] = largedildo & killvar 'largedildo'
  1641. if bigdildo > 0: mc_inventory['dildo_large'] = bigdildo & killvar 'bigdildo'
  1642. if extradildo > 0: mc_inventory['dildo_huge'] = extradildo & killvar 'extradildo'
  1643. if superdildo > 0: mc_inventory['dildo_enormous'] = superdildo & killvar 'superdildo'
  1644. if maddildo > 0: mc_inventory['dildo_gigantic'] = maddildo & killvar 'maddildo'
  1645. if skak > 0: mc_inventory['skipping_rope'] = skak & killvar 'skak'
  1646. if obruch > 0: mc_inventory['hula_hoop'] = obruch & killvar 'obruch'
  1647. if bookyog > 0: mc_inventory['book_yoga'] = bookyog & killvar 'bookyog'
  1648. if konki > 0: mc_inventory['ice_skates'] = konki & killvar 'konki'
  1649. if pcs_ski_owned > 0: mc_inventory['ski'] = pcs_ski_owned & killvar 'pcs_ski_owned'
  1650. if refillable_bottle > 0: mc_inventory['refill_bottle'] = refillable_bottle & killvar 'refillable_bottle'
  1651. if fairy > 0: mc_inventory['dish_soap'] = fairy & killvar 'fairy'
  1652. if poroshok > 0: mc_inventory['laundry_soap'] = poroshok & killvar 'poroshok'
  1653. if cltarelka > 0: mc_inventory['dish_plates'] = cltarelka & killvar 'cltarelka'
  1654. if tkan > 0: mc_inventory['sewing_fabric'] = tkan & killvar 'tkan'
  1655. if sewing_kit > 0: mc_inventory['sewing_kit'] = sewing_kit & killvar 'sewing_kit'
  1656. if TV = 1: mc_inventory['tech_tv'] = 1 & killvar 'TV'
  1657. if TV >= 2: mc_inventory['plasma_tv'] = 1 & killvar 'TV'
  1658. if mc_inventory['tech_tv'] >= 2: mc_inventory['plasma_tv'] = 1 & mc_inventory['tech_tv'] = 1
  1659. if komp > 0: mc_inventory['tech_computer'] = komp & killvar 'komp'
  1660. if GameCD2 > 0: mc_inventory['tech_game_ds'] = GameCD2 & killvar 'GameCD2'
  1661. if posudomashina > 0: mc_inventory['tech_dishwasher'] = posudomashina & killvar 'posudomashina'
  1662. if stiralka > 0: mc_inventory['tech_washing_machine'] = stiralka & killvar 'stiralka'
  1663. if zenit > 0: mc_inventory['tech_camera'] = zenit & killvar 'zenit'
  1664. if minifoto > 0: mc_inventory['tech_hidden_cam'] = minifoto & killvar 'minifoto'
  1665. if webcamera > 0: mc_inventory['tech_webcam'] = webcamera & killvar 'webcamera'
  1666. if ms_pill > 0: mc_inventory['meds_morning_sick'] = ms_pill & killvar 'ms_pill'
  1667. if preg_ball > 0: mc_inventory['preg_ball'] = preg_ball & killvar 'preg_ball'
  1668. if preg_brace > 0: mc_inventory['preg_brace'] = preg_brace & killvar 'preg_brace'
  1669. if preg_pillow > 0: mc_inventory['preg_pillow'] = preg_pillow & killvar 'preg_pillow'
  1670. ! if > 0: mc_inventory[''] = &killvar ''
  1671. !! Preferences update.
  1672. killvar 'npc_preferences'
  1673. pref_update_index = 1
  1674. :update_standard_preferences_loop
  1675. gs 'npc_standard_preferences', 'A<<pref_update_index>>'
  1676. pref_update_index += 1
  1677. if pref_update_index <= 263: jump 'update_standard_preferences_loop'
  1678. killvar 'pref_update_index'
  1679. killvar 'update_standard_preferences_loop'
  1680. !! policeQW
  1681. !! policeQW_courtletter_dates[]
  1682. !! policeQW_courtletter_subjects[]
  1683. !! policeQW_courthearing_dates[]
  1684. !! policeQW_courthearing_subjects[]
  1685. if shplft_booked > 0: policeQW['shoplift_booked'] = shplft_booked & killvar 'shplft_booked'
  1686. if prst_booked > 0: policeQW['prostitution_booked'] = prst_booked & killvar 'prst_booked'
  1687. if shplft_counter > 0: policeQW['shoplift_counter'] = shplft_counter & killvar 'shplft_counter'
  1688. if prst_counter > 0: policeQW['prostitution_counter'] = prost_counter & killvar 'prst_counter'
  1689. if prst_bribe > 0: policeQW['prostitution_bribe'] = prst_bribe & killvar 'prst_bribe'
  1690. if shplft_value > 0: policeQW['shoplift_value'] = shplft_value & killvar 'shplft_value'
  1691. killvar 'book_response'
  1692. if bookingofficer_rel > 0: policeQW['bookingofficer_rel'] = bookingofficer_rel & killvar 'bookingofficer_rel'
  1693. if toldonguard > 0: policeQW['toldonguard'] = toldonguard & killvar 'toldonguard'
  1694. if courtletter_date > 0:
  1695. policeQW_courtletter_dates[0] = courtletter_date & killvar 'courtletter_date'
  1696. if shplft_tmp > 0:
  1697. policeQW_courtletter_subjects[0] = 'shoplift_<<$detec_type>>'
  1698. else
  1699. policeQW_courtletter_subjects[0] = 'prostitution_<<$detec_type>>'
  1700. end
  1701. end
  1702. if courthearing_date > 0:
  1703. policeQW_courthearing_dates[0] = courthearing_date & killvar 'courthearing_date'
  1704. if shplft_tmp > 0:
  1705. policeQW_courthearing_subjects[0] = 'shoplift_<<$detec_type>>'
  1706. else
  1707. policeQW_courthearing_subjects[0] = 'prostitution_<<$detec_type>>'
  1708. end
  1709. end
  1710. killvar 'shplft_tmp'
  1711. killvar 'prst_tmp'
  1712. killvar '$detec_type'
  1713. if legal_fine > 0: policeQW['legal_fine'] = legal_fine & killvar 'legal_fine'
  1714. !! Sleep update.
  1715. killvar 'varsleep'
  1716. if bedPanty > 0: sleepVars['bedPanty'] = bedPanty & killvar 'bedPanty'
  1717. if bedAnal > 0: sleepVars['bedAnal'] = bedAnal & killvar 'bedAnal'
  1718. if bedVibrator > 0: sleepVars['bedVibrator'] = bedVibrator & killvar 'bedVibrator'
  1719. if cheatVib > 0: sleepVars['cheatVib'] = cheatVib & killvar 'cheatVib'
  1720. if notathomesleep > 0: sleepVars['notathomesleep'] = notathomesleep & killvar 'notathomesleep'
  1721. if Enable_nodream > 0: sleepVars['cheat_nodream_chance'] = Enable_nodream & killvar 'Enable_nodream'
  1722. sleepVars['events_active'] = 1
  1723. sleepVars['dreams_active'] = 1
  1724. if budilnikOn > 0: alarmVars['alarmOn'] = budilnikOn & killvar 'budilnikOn'
  1725. if timer > 0: alarmVars['timerH'] = timer & killvar 'timer'
  1726. if timerM > 0: alarmVars['timerM'] = timerM & killvar 'timerM'
  1727. if timerEnd > 0: alarmVars['timerEndH'] = timerEnd & killvar 'timerEnd'
  1728. if timerEndM > 0: alarmVars['timerEndM'] = timerEndM & killvar 'timerEndM'
  1729. if alarm_holiday > 0: alarmVars['alarm_holiday'] = alarm_holiday & killvar 'alarm_holiday'
  1730. end
  1731. ! Pav shared apartment update
  1732. if updated_pav_shared_apt = 0:
  1733. npctemp = 264
  1734. $npc_dna['A<<npctemp>>'] = '1290130369 1043654233 5049908515 3153411713 0721993774 2486220839 0288719745'
  1735. $npc_firstname['A<<npctemp>>'] = 'Yakov'
  1736. $npc_nickname['A<<npctemp>>'] = 'Yakov'
  1737. $npc_lastname['A<<npctemp>>'] = ''
  1738. $npc_usedname['A<<npctemp>>'] = 'Yakov'
  1739. npc_dob['A<<npctemp>>'] = 19961215
  1740. $npc_notes['A<<npctemp>>'] = 'Yakov is a fitness-focused sports enthusiast with blond hair and a tanned complexion.'
  1741. npc_gender['A<<npctemp>>'] = 0
  1742. gs 'npcstaticdefaults', 'defaults'
  1743. $npc_thdick['A<<npctemp>>'] = 'well proportioned'
  1744. npc_dick['A<<npctemp>>'] = 14
  1745. npc_sexskill['A<<npctemp>>'] = 1
  1746. $npc_occupation['A<<npctemp>>'] = 'personal_trainer'
  1747. npc_style['A<<npctemp>>'] = 5
  1748. npctemp = 265
  1749. $npc_dna['A<<npctemp>>'] = '1085950303 4348731991 6618084127 9067996922 8669859044 9431283301 0673267503'
  1750. $npc_firstname['A<<npctemp>>'] = 'Nestor'
  1751. $npc_nickname['A<<npctemp>>'] = 'Nestor'
  1752. $npc_lastname['A<<npctemp>>'] = ''
  1753. $npc_usedname['A<<npctemp>>'] = 'Nestor'
  1754. npc_dob['A<<npctemp>>'] = 19930127
  1755. $npc_notes['A<<npctemp>>'] = 'Nestor is a gopnik with a reputation for being rude and aggressive. His motto seems to be "the younger, the better," which can be concerning. He has a tough demeanor, with dark hair and dark skin, giving off an intimidating presence.'
  1756. npc_gender['A<<npctemp>>'] = 0
  1757. gs 'npcstaticdefaults', 'defaults'
  1758. $npc_thdick['A<<npctemp>>'] = 'massive'
  1759. npc_dick['A<<npctemp>>'] = 22
  1760. npc_sexskill['A<<npctemp>>'] = 1
  1761. npc_style['A<<npctemp>>'] = 2
  1762. npctemp = 266
  1763. $npc_dna['A<<npctemp>>'] = '5654106058 6395942483 3363408422 7113656738 1111862818 8859290040 7960339191'
  1764. $npc_firstname['A<<npctemp>>'] = 'Oleg'
  1765. $npc_nickname['A<<npctemp>>'] = 'Oleg'
  1766. $npc_lastname['A<<npctemp>>'] = ''
  1767. $npc_usedname['A<<npctemp>>'] = 'Oleg'
  1768. npc_dob['A<<npctemp>>'] = 19950712
  1769. $npc_notes['A<<npctemp>>'] = 'Oleg is a shy, young-looking guy with thick glasses, a slim frame, and very pale skin.'
  1770. npc_gender['A<<npctemp>>'] = 0
  1771. gs 'npcstaticdefaults', 'defaults'
  1772. $npc_thdick['A<<npctemp>>'] = 'thick'
  1773. npc_dick['A<<npctemp>>'] = 17
  1774. npc_sexskill['A<<npctemp>>'] = 1
  1775. $npc_occupation['A<<npctemp>>'] = 'programmer'
  1776. npc_style['A<<npctemp>>'] = 3
  1777. if nd_rel > 0:npc_rel[A266] =nd_rel &killvar 'nd_rel'
  1778. if sp_rel > 0:npc_rel[A264] =sp_rel &killvar 'sp_rel'
  1779. if gp_rel > 0:npc_rel[A265] =gp_rel &killvar 'gp_rel'
  1780. if nd_hj > 0:oleg_hj =nd_hj &killvar 'nd_hj'
  1781. if nd_bj > 0:oleg_bj =nd_bj &killvar 'nd_bj'
  1782. if nd_bjFail > 0:oleg_bjFail =nd_bjFail &killvar 'nd_bjFail'
  1783. if nd_bjDeep > 0:oleg_bjDeep =nd_bjDeep &killvar 'nd_bjDeep'
  1784. if nd_bjFailPuke > 0:oleg_bjFailPuke =nd_bjFailPuke &killvar 'nd_bjFailPuke'
  1785. if nd_bjFailFaint > 0:oleg_bjFailFaint =nd_bjFailFaint &killvar 'nd_bjFailFaint'
  1786. if nd_swall > 0:oleg_swall =nd_swall &killvar 'nd_swall'
  1787. if nd_vagCumInsideUnwanted > 0:oleg_vagCumInsideUnwanted =nd_vagCumInsideUnwanted &killvar 'nd_vagCumInsideUnwanted'
  1788. if nd_vag > 0:oleg_vag =nd_vag &killvar 'nd_vag'
  1789. if nd_vagCumInside > 0:oleg_vagCumInside =nd_vagCumInside &killvar 'nd_vagCumInside'
  1790. if nd_anal > 0:oleg_anal =nd_anal &killvar 'nd_anal'
  1791. if nd_analCumInside > 0:oleg_analCumInside =nd_analCumInside &killvar 'nd_analCumInside'
  1792. if nd_vagCumInsideUnwanted > 0:oleg_vagCumInsideUnwanted =nd_vagCumInsideUnwanted &killvar 'nd_vagCumInsideUnwanted'
  1793. if nd_piss > 0:oleg_piss =nd_piss &killvar 'nd_piss'
  1794. if nd_doPornpos > 0:oleg_doPornpos =nd_doPornpos &killvar 'nd_doPornpos'
  1795. if nd_pornPos > 0:oleg_pornPos =nd_pornPos &killvar 'nd_pornPos'
  1796. if gp_bj > 0:nestor_bj =gp_bj &killvar 'gp_bj'
  1797. if gp_bjFail > 0:nestor_bjFail =gp_bjFail &killvar 'gp_bjFail'
  1798. if gp_bjDeep > 0:nestor_bjDeep =gp_bjDeep &killvar 'gp_bjDeep'
  1799. if gp_bjFailPuke > 0:nestor_bjFailPuke =gp_bjFailPuke &killvar 'gp_bjFailPuke'
  1800. if gp_bjFailFaint > 0:nestor_bjFailFaint =gp_bjFailFaint &killvar 'gp_bjFailFaint'
  1801. if gp_swall > 0:nestor_swall =gp_swall &killvar 'gp_swall'
  1802. if gp_vagCumInsideUnwanted > 0:nestor_vagCumInsideUnwanted=gp_vagCumInsideUnwanted &killvar 'gp_vagCumInsideUnwanted'
  1803. if gp_vag > 0:nestor_vag =gp_vag &killvar 'gp_vag'
  1804. if gp_vagCumInside > 0:nestor_vagCumInside =gp_vagCumInside &killvar 'gp_vagCumInside'
  1805. if gp_anal > 0:nestor_anal =gp_anal &killvar 'gp_anal'
  1806. if gp_analCumInside > 0:nestor_analCumInside =gp_analCumInside &killvar 'gp_analCumInside'
  1807. if gp_vagCumInsideUnwanted > 0:nestor_vagCumInsideUnwanted=gp_vagCumInsideUnwanted &killvar 'gp_vagCumInsideUnwanted'
  1808. if gp_doPornpos > 0:nestor_doPornpos =gp_doPornpos &killvar 'gp_doPornpos'
  1809. if gp_pornPos > 0:nestor_pornPos =gp_pornPos &killvar 'gp_pornPos'
  1810. if sp_bj > 0:yakov_bj =sp_bj &killvar 'sp_bj'
  1811. if sp_bjFail > 0:yakov_bjFail =sp_bjFail &killvar 'sp_bjFail'
  1812. if sp_bjDeep > 0:yakov_bjDeep =sp_bjDeep &killvar 'sp_bjDeep'
  1813. if sp_bjFailPuke > 0:yakov_bjFailPuke =sp_bjFailPuke &killvar 'sp_bjFailPuke'
  1814. if sp_bjFailFaint > 0:yakov_bjFailFaint =sp_bjFailFaint &killvar 'sp_bjFailFaint'
  1815. if sp_swall > 0:yakov_swall =sp_swall &killvar 'sp_swall'
  1816. if sp_vagCumInsideUnwanted > 0:yakov_vagCumInsideUnwanted =sp_vagCumInsideUnwanted &killvar 'sp_vagCumInsideUnwanted'
  1817. if sp_vag > 0:yakov_vag =sp_vag &killvar 'sp_vag'
  1818. if sp_vagCumInside > 0:yakov_vagCumInside =sp_vagCumInside &killvar 'sp_vagCumInside'
  1819. if sp_anal > 0:yakov_anal =sp_anal &killvar 'sp_anal'
  1820. if sp_analCumInside > 0:yakov_analCumInside =sp_analCumInside &killvar 'sp_analCumInside'
  1821. if sp_vagCumInsideUnwanted > 0:yakov_vagCumInsideUnwanted =sp_vagCumInsideUnwanted &killvar 'sp_vagCumInsideUnwanted'
  1822. if sp_doPornpos > 0:yakov_doPornpos =sp_doPornpos &killvar 'sp_doPornpos'
  1823. if sp_pornPos > 0:yakov_pornPos =sp_pornPos &killvar 'sp_pornPos'
  1824. if sp_hj > 0:yakov_hj =sp_hj &killvar 'sp_hj'
  1825. if sp_dildo > 0:yakov_dildo =sp_dildo &killvar'sp_dildo'
  1826. if oleg_analCumInside > 0: oleg_cumAnal = oleg_analCumInside
  1827. if oleg_analCumInside > 0: oleg_analCumInside -= oleg_analCumInsideUnwanted
  1828. if oleg_analCumInsideUnwanted > 0: oleg_analCumInsideUnwanted -= oleg_analCumInside
  1829. if nestor_analCumInside > 0: nestor_cumAnal = nestor_analCumInside
  1830. if nestor_analCumInside > 0: nestor_analCumInside -= nestor_analCumInsideUnwanted
  1831. if nestor_analCumInsideUnwanted > 0: nestor_analCumInsideUnwanted -= nestor_analCumInside
  1832. if yakov_analCumInside > 0: yakov_cumAnal = yakov_analCumInside
  1833. if yakov_analCumInside > 0: yakov_analCumInside -= yakov_analCumInsideUnwanted
  1834. if yakov_analCumInsideUnwanted > 0: yakov_analCumInsideUnwanted -= yakov_analCumInside
  1835. if oleg_vagCumInside > 0: oleg_cumVag = oleg_vagCumInside
  1836. if oleg_vagCumInside > 0: oleg_vagCumInside -= oleg_vagCumInsideUnwanted
  1837. if oleg_vagCumInsideUnwanted > 0: oleg_vagCumInsideUnwanted -= oleg_vagCumInside
  1838. if nestor_vagCumInside > 0: nestor_cumVag = nestor_vagCumInside
  1839. if nestor_vagCumInside > 0: nestor_vagCumInside -= nestor_vagCumInsideUnwanted
  1840. if nestor_vagCumInsideUnwanted > 0: nestor_vagCumInsideUnwanted -= nestor_vagCumInside
  1841. if yakov_vagCumInside > 0: yakov_cumVag = yakov_vagCumInside
  1842. if yakov_vagCumInside > 0: yakov_vagCumInside -= yakov_vagCumInsideUnwanted
  1843. if yakov_vagCumInsideUnwanted > 0: yakov_vagCumInsideUnwanted -= yakov_vagCumInside
  1844. updated_pav_shared_apt = 1
  1845. end
  1846. killvar 'gp_horny'
  1847. killvar 'sp_horny'
  1848. killvar 'nd_horny'
  1849. killvar 'milkPause'
  1850. killvar 'gp_cumVol'
  1851. killvar 'sp_cumVol'
  1852. killvar 'nd_cumVol'
  1853. killvar 'temp_current_save_version'
  1854. gs 'saveg'
  1855. --- saveupdater ---------------------------------