1
0

saveupdater.qsrc 120 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771
  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. if AlbinaBlockHumiliation > 0: AlbinaQW['Protect'] = AlbinaBlockHumiliation & killvar 'AlbinaBlockHumiliation'
  191. ! ----- Albina story variables migrated to array
  192. !! Updating npc_bust[] array to the new values ----- 0.8.0
  193. if npc_bust['A12'] = 9: npc_bust['A12'] = 23
  194. if npc_bust['A13'] = 9: npc_bust['A13'] = 8
  195. if npc_bust['A14'] = 9: npc_bust['A14'] = 20
  196. if npc_bust['A15'] = 9: npc_bust['A15'] = 18
  197. if npc_bust['A16'] = 9: npc_bust['A16'] = 26
  198. if npc_bust['A17'] = 9: npc_bust['A17'] = 34
  199. if npc_bust['A18'] = 9: npc_bust['A18'] = 21
  200. if npc_bust['A19'] = 9: npc_bust['A19'] = 14
  201. if npc_bust['A20'] = 9: npc_bust['A20'] = 22
  202. if npc_bust['A21'] = 9: npc_bust['A21'] = 18
  203. if npc_bust['A22'] = 9: npc_bust['A22'] = 27
  204. if npc_bust['A23'] = 9: npc_bust['A23'] = 14
  205. if npc_bust['A24'] = 9: npc_bust['A24'] = 20
  206. if npc_bust['A25'] = 9: npc_bust['A25'] = 21
  207. if npc_bust['A29'] = 9: npc_bust['A29'] = 25
  208. if npc_bust['A30'] = 9: npc_bust['A30'] = 18
  209. if npc_bust['A33'] = 9: npc_bust['A33'] = 19
  210. if npc_bust['A134'] = 9: npc_bust['A134'] = 20
  211. if npc_bust['A135'] = 9: npc_bust['A135'] = 13
  212. if npc_bust['A136'] = 9: npc_bust['A136'] = 30
  213. if npc_bust['A137'] = 9: npc_bust['A137'] = 34
  214. if npc_bust['A138'] = 9: npc_bust['A138'] = 18
  215. if npc_bust['A139'] = 9: npc_bust['A139'] = 22
  216. if npc_bust['A140'] = 9: npc_bust['A140'] = 13
  217. if npc_bust['A141'] = 9: npc_bust['A141'] = 20
  218. if npc_bust['A142'] = 9: npc_bust['A142'] = 13
  219. if npc_bust['A143'] = 9: npc_bust['A143'] = 7
  220. if npc_bust['A144'] = 9: npc_bust['A144'] = 24
  221. if npc_bust['A145'] = 9: npc_bust['A145'] = 31
  222. !! Updating npc_bust[] array to the new values ----- 0.8.0
  223. !!-----------Adding pube colours for 0.8.0-----------
  224. if pcs_pubecol[1] = 0:
  225. pcs_pubecol = pcs_haircol
  226. pcs_pubecol[1] = 1
  227. pcs_pubecol[2] = pcs_haircol
  228. end
  229. !!-----------Adding pube colours for 0.8.0-----------
  230. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  231. killvar 'olufirst'
  232. killvar 'tetyafirst'
  233. killvar 'oluuosegunday_count'
  234. killvar 'oluuosegunday_day'
  235. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  236. !!trait update
  237. if pcs_traits['update_1'] = 0:
  238. pcs_traits['update_1'] = 1
  239. pcs_traits['alko_day'] = alko_trait_day
  240. pcs_traits['alko_points'] = alko_trait_counter
  241. pcs_traits['alko_status'] = alko_trait
  242. killvar 'alko_trait_day'
  243. killvar 'alko_trait_counter'
  244. killvar 'alko_trait'
  245. end
  246. if trt_cumeater = 1: pcs_traits['cumeater'] = 1 & trt_cumeater = 7
  247. !! ----- Other bug fixes and cleanup ----- 0.8.0
  248. if pcs_gaming_exp > 0: gs 'exp_gain', 'gaming', pcs_gaming_exp & killvar 'pcs_gaming_exp'
  249. if nerd_night_game ! 0: killvar 'nerd_night_game'
  250. if nerd_night_game_day ! 0: nerd_game['game_day'] = nerd_night_game_day & killvar 'nerd_night_game_day'
  251. !!Masturbation check wasn''t being cleared
  252. mastrOnce = 0
  253. !! ----- Other bug fixes and cleanup ----- 0.8.0
  254. end
  255. !!------------------------------------!!Version 0.8.0.1!!-----------------------------------------------!!
  256. if temp_current_save_version < 00080001:
  257. !!--------0.8.0.1---school social group adjustment
  258. if gruptipe[9000] = 0:
  259. gruptipe[9000] = 1
  260. grupvalue[1] = grupvalue[1] * 10
  261. grupvalue[2] = grupvalue[2] * 10
  262. grupvalue[3] = grupvalue[3] * 10
  263. grupvalue[4] = grupvalue[4] * 10
  264. end
  265. !!--------0.8.0.1---school social group adjustment
  266. end
  267. !!------------------------------------------------------------------------------------------------------!!
  268. !! !!Version 0.8.1!! !!
  269. !!------------------------------------------------------------------------------------------------------!!
  270. if temp_current_save_version < 00080100:
  271. !!--------0.8.1--- Music variable names changed
  272. if ml_update_1 = 0:
  273. ml_guitar['hasguitar'] = ml_guitar
  274. ml_guitar['carried'] = ml_guitarWithMe
  275. ml_guitar['chordbook'] = ml_chordbook
  276. ml_performance['performed_minutes'] = ml_performed_minutes
  277. ml_performance['max_perform_minutes'] = ml_max_perform_minutes
  278. ml_guitarlesson['lessoncount'] = ml_lessoncount
  279. ml_guitarlesson['lessonday'] = ml_lessonday
  280. $ml_guitarlesson['lessonday'] = $ml_lessonday
  281. ml_guitarlesson['lessonhour'] = 15
  282. ml_guitarlesson['nextlesson'] = daystart + (ml_guitarlesson['lessonday'] + 7 - week)
  283. ml_guitarlesson['advertisement'] = ml_guitarlessonadv
  284. ml_guitarlesson['enquired'] = ml_enquired
  285. if age < 18:
  286. ml_guitarlesson['lessoncost'] = 300
  287. else
  288. ml_guitarlesson['lessoncost'] = 500
  289. end
  290. killvar 'ml_guitarWithMe'
  291. killvar 'ml_performed_minutes'
  292. killvar 'ml_max_perform_minutes'
  293. killvar 'ml_guitarlessonadv'
  294. killvar 'ml_enquired'
  295. killvar 'ml_lessonday'
  296. killvar '$ml_lessonday'
  297. killvar 'ml_lessoncost'
  298. !!--------0.8.1--- Music variable names changed
  299. ml_update_1 = 1
  300. end
  301. !! changed $metkaM to $locM_arg and $metka to $loc_arg in the code - needed for correction saves saved prior to version 0.8.1
  302. if arrsize('$metkaM') > 0 or arrsize('$metka') > 0:
  303. $locM_arg = $metkaM
  304. $loc_arg = $metka
  305. killvar '$metkaM'
  306. killvar '$metka'
  307. end
  308. !!---------------------------------------------------------------
  309. !! fixes the variable for Christina getting outcasted, so she will show up in the journal correctly
  310. if zverSlutQW = 2:
  311. npc_grupTipe['A18'] = 5
  312. end
  313. !!---------------------------------------------------------------
  314. !!model variable updates
  315. if anastasia > 0 and anastasia['status'] = 0 and anastasia['saveupdate'] = 0:
  316. anastasia['status'] = anastasia
  317. anastasia['escort_ask'] = anastasia_escort_ask
  318. anastasia['model_exp'] = anastasia_mode_exp
  319. anastasia['sex'] = anastasiasex
  320. anastasia['saveupdate'] = 1
  321. end
  322. if foto_models['emily'] > 0 and emily['status'] = 0 and emily['saveupdate'] = 0:
  323. emily['status'] = foto_models['emily']
  324. emily['hate'] = emily_hate
  325. emily['model_exp'] = emily_model_exp
  326. emily['saveupdate'] = 1
  327. end
  328. if jeff > 0 and jeff['status'] = 0 and jeff['saveupdate'] = 0:
  329. jeff['status'] = jeff
  330. jeff['grope'] = jeff_grope
  331. jeff['movies'] = jeff_movies
  332. jeff['model_exp'] = jeff_model_exp
  333. jeff['saveupdate'] = 1
  334. end
  335. if krystal > 0 and krystal['status'] = 0 and krystal['saveupdate'] = 0:
  336. krystal['status'] = krystal['talk']
  337. krystal['saveupdate'] = 1
  338. end
  339. if $model['firstname'] = '':
  340. $model['firstname'] = $pcs_firstname
  341. $model['nickname'] = $pcs_nickname
  342. $model['lastname'] = $pcs_lastname
  343. end
  344. if $model['pay_method'] = '': $model['pay_method'] = 'cash_envelope'
  345. !! Fixing Katja and Natasha relationship
  346. if npc_sex['A14'] > 1: npc_sex['A14'] = 1
  347. if npc_sex['A16'] > 1: npc_sex['A16'] = 1
  348. !! University related vars update
  349. if student >= 0:
  350. gs 'uniutil', 'transfer_legacy_vars'
  351. end
  352. !!---------------------------------------------------------------
  353. !! Lariska story variables migrated to array
  354. if KotovZverHelp > 0: LariskaQW['VitekHelp'] = KotovZverHelp & killvar 'KotovZverHelp'
  355. if IvanZverHelp > 0: LariskaQW['IvanHelp'] = IvanZverHelp & killvar 'IvanZverHelp'
  356. if FyodorZverHelp > 0: LariskaQW['FedorHelp'] = FyodorZverHelp & killvar 'FyodorZverHelp'
  357. if lariskaHelp > 0: LariskaQW['LariskaHelp'] = lariskaHelp & killvar 'lariskaHelp'
  358. if lariskaHelp_end > 0: LariskaQw['LariskaHelpEnd'] = lariskaHelp_end & killvar 'lariskaHelp_end'
  359. !!---------------------------------------------------------------
  360. !! Shave updater
  361. if shave_update ! 1:
  362. if pubestyle = 1:
  363. shave_length = 2
  364. shave_trigger = 4
  365. elseif pubestyle = 10:
  366. shave_length = 26
  367. shave_trigger = 31
  368. elseif pubestyle = 11:
  369. shave_length = 2
  370. shave_trigger = 10
  371. !elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  372. else
  373. shave_length = 16
  374. shave_trigger = 21
  375. end
  376. shave_update = 1
  377. end
  378. end
  379. !!------------------------------------------------------------------------------------------------------!!
  380. !! !!Version 0.8.2!! !!
  381. !!------------------------------------------------------------------------------------------------------!!
  382. if temp_current_save_version < 00080200:
  383. !! 0.8.2 clothing package for old saves ---------------------------------------
  384. 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:
  385. $batch_sell = {
  386. poshvalldrop += 1
  387. dynamic 'RESULT = <<$ARGS[0]>>H[<<ARGS[1]>>]'
  388. if RESULT > 100:
  389. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  390. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  391. money += 750
  392. selltot += 750
  393. elseif RESULT > 45:
  394. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  395. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  396. money += 500
  397. selltot += 500
  398. elseif RESULT > 30:
  399. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  400. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  401. money += 300
  402. selltot += 300
  403. elseif RESULT > 0:
  404. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  405. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  406. money += 100
  407. selltot += 100
  408. else
  409. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  410. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  411. end
  412. dynamic '<<$ARGS[0]>>H[<<ARGS[1]>>] = 0'
  413. }
  414. poshvalldrop = 0
  415. selltot = 0
  416. !!-----------------------------------------------------------------------------------------
  417. i = 1
  418. :cheapmet
  419. if cheap[i] = 1 and cheapH[i] > 0: dynamic($batch_sell, 'cheap', i)
  420. i += 1
  421. if i <= 419: jump 'cheapmet'
  422. i = 1
  423. :averagemet
  424. if average[i] = 1 and averageH[i] > 0: dynamic($batch_sell, 'average', i)
  425. i += 1
  426. if i <= 541: jump 'averagemet'
  427. i = 1
  428. :expensivemet
  429. if expensive[i] = 1 and expensiveH[i] > 0: dynamic($batch_sell, 'expensive', i)
  430. i += 1
  431. if i <= 442: jump 'expensivemet'
  432. i = 1
  433. :formalmet
  434. if formal[i] = 1 and formalH[i] > 0: dynamic($batch_sell, 'formal', i)
  435. i += 1
  436. if i <= 185: jump 'formalmet'
  437. i = 1
  438. :officemet
  439. if office[i] = 1 and officeH[i] > 0: dynamic($batch_sell, 'office', i)
  440. i += 1
  441. if i <= 140: jump 'officemet'
  442. i = 1
  443. :schoolmet
  444. if school[i] = 1 and schoolH[i] > 0: dynamic($batch_sell, 'school', i)
  445. i += 1
  446. if i <= 80: jump 'schoolmet'
  447. i = 1
  448. :exercisemet
  449. if exercise[i] = 1 and exerciseH[i] > 0: dynamic($batch_sell, 'exercise', i)
  450. i += 1
  451. if i <= 260: jump 'exercisemet'
  452. i = 1
  453. :fetishmet
  454. if fetish[i] = 1 and fetishH[i] > 0: dynamic($batch_sell, 'fetish', i)
  455. i += 1
  456. if i <= 240: jump 'fetishmet'
  457. i = 1
  458. :burlesquemet
  459. if burlesque[i] = 1 and burlesqueH[i] > 0: dynamic($batch_sell, 'burlesque', i)
  460. i += 1
  461. if i <= 22: jump 'burlesquemet'
  462. i = 1
  463. :exhibitmet
  464. if exhibit[i] = 1 and exhibitH[i] > 0: dynamic($batch_sell, 'exhibit', i)
  465. i += 1
  466. if i <= 125: jump 'exhibitmet'
  467. i = 1
  468. :uniformmet
  469. if uniform[i] = 1 and uniformH[i] > 0: dynamic($batch_sell, 'uniform', i)
  470. i += 1
  471. if i <= 60: jump 'uniformmet'
  472. i = 1
  473. :swimwearmet
  474. if swimwear[i] = 1 and swimwearH[i] > 0: dynamic($batch_sell, 'swimwear', i)
  475. i += 1
  476. if i <= 213: jump 'swimwearmet'
  477. i = 1
  478. :beachmet
  479. if beach[i] = 1 and beachH[i] > 0: dynamic($batch_sell, 'beach', i)
  480. i += 1
  481. if i <= 103: jump 'beachmet'
  482. i = 1
  483. :alternativemet
  484. if alternative[i] = 1 and alternativeH[i] > 0: dynamic($batch_sell, 'alternativer', i)
  485. i += 1
  486. if i <= 129: jump 'alternativemet'
  487. !!-----------------------------------------------------------------------------------------
  488. killvar 'batch_sell'
  489. killvar 'alternativeH' & killvar 'alternativeS' & killvar 'alternative'
  490. killvar 'averageH' & killvar 'averageS' & killvar 'average'
  491. killvar 'burlesqueH' & killvar 'burlesqueS' & killvar 'burlesque'
  492. killvar 'cheapH' & killvar 'cheapS' & killvar 'cheap'
  493. killvar 'exerciseH' & killvar 'exerciseS'
  494. killvar 'exhibitH' & killvar 'exhibitS'
  495. killvar 'expensiveH' & killvar 'expensiveS' & killvar 'expensive'
  496. killvar 'fetishH' & killvar 'fetishS'
  497. killvar 'formalH' & killvar 'formalS' & killvar 'formal'
  498. killvar 'officeH' & killvar 'officeS' & killvar 'office'
  499. killvar 'schoolH' & killvar 'schoolS' & killvar 'school'
  500. killvar 'uniformH' & killvar 'uniformS' & killvar 'uniform'
  501. killvar 'beachH' & killvar 'beachS' & killvar 'beachB'
  502. killvar 'swimwearH' & killvar 'swimwearS' & killvar 'swimwearB'
  503. killvar 'coatH' & killvar 'coatS'
  504. gm_outfits[50] = 1
  505. gm_outfits_h[50] = 100
  506. gm_outfits_b[50] = pcs_hips
  507. gs 'clothing', 'wear', 'gm_outfits', 50
  508. end
  509. !! Shave updater
  510. if shave_update ! 1:
  511. if pubestyle = 1:
  512. shave_length = 2
  513. shave_trigger = 4
  514. elseif pubestyle = 10:
  515. shave_length = 26
  516. shave_trigger = 31
  517. elseif pubestyle = 11:
  518. shave_length = 2
  519. shave_trigger = 8
  520. !elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  521. else
  522. shave_length = 16
  523. shave_trigger = 21
  524. end
  525. shave_update = 1
  526. end
  527. end
  528. !!------------------------------------!!Version 0.8.2.3!!-----------------------------------------------!!
  529. if temp_current_save_version < 00080203:
  530. !! Lariska variables removed, no longer needed - 2020/11/30 - Alaratt
  531. !! Edited - 2021/01/19 - Alaratt
  532. if beInLariskaHome = 1 or LariskaHomeIn >= 1:
  533. if LariskaHomeIn = 1:
  534. LariskaQW['story'] = 4
  535. else
  536. LariskaQW['story'] = 5
  537. end
  538. killvar 'LariskaHomeIn'
  539. killvar 'beInLariskaHome'
  540. end
  541. if doorlocked > 0: killvar 'doorlocked'
  542. if doorpeek > 0: killvar 'doorpeek'
  543. if lariskaBDSM > 0: killvar 'lariskaBDSM'
  544. if lariskaMotherKnown = 1:
  545. LariskaQW['metAnna'] = 1
  546. killvar 'lariskaMotherKnown'
  547. end
  548. if LariskaProfi = 1:
  549. LariskaQW['volleyball'] = 1
  550. killvar 'LariskaProfi'
  551. end
  552. !!---------------------------------------------------------------
  553. !! Migrates Christina variables into an array, removes unneeded variables, and fixes the outcast issue if still needed
  554. !! 2021/01/19 - Alaratt
  555. if zverSlutQW > 0:
  556. if zverSlutQW = 2:
  557. !! Christina lost the fight and is outcasted
  558. christinaQW['fight'] = 1
  559. christinaQW['dompath'] = 7
  560. npc_grupTipe['A18'] = 5
  561. else
  562. !! Christina lost the fight and is prepped for outcasting
  563. christinaQW['fight'] = 1
  564. christinaQW['dompath'] = 6
  565. end
  566. killvar 'zverSlutQW'
  567. end
  568. if zverRageQW > 0:
  569. if zverRageQW = 10:
  570. !! Christina won the fight
  571. christinaQW['fight'] = -1
  572. christinaQW['subpath'] = 2
  573. elseif zverRageQW = 2:
  574. !! Christina lost the fight
  575. christinaQW['fight'] = 1
  576. christinaQW['dompath'] = 6
  577. else
  578. !! You spread rumors about Christina and she preps for fight
  579. christinaQW['dompath'] = 4
  580. end
  581. killvar 'zverRageQW'
  582. end
  583. if socialchg['christina_dont_care'] = 1: socialchg['christina_dont_care'] = 0
  584. if zverevaQW > 0: killvar 'zverevaQW'
  585. if LinaSlut > 0: killvar 'LinaSlut'
  586. if fizrukSex > 0: killvar 'fizrukSex'
  587. if kristinaSex > 0: killvar 'kristinaSex'
  588. if christinaphotos > 0:
  589. if christinaphotos = 3:
  590. !! Christina won the fight and you have not had a shower scene with her yet
  591. christinaQW['fight'] = -1
  592. christinaQW['subpath'] = 2
  593. elseif christinaphotos = 4:
  594. !! Christina won the fight and you had first shower scene with her
  595. christinaQW['fight'] = -1
  596. christinaQW['subpath'] = 3
  597. elseif christinaphotos = 2:
  598. !! You submitted to Christina and you had first shower scene with her
  599. christinaQW['submit'] = 1
  600. christinaQW['subpath'] = 3
  601. else
  602. !! You submitted to Christina but not had a shower scene with her yet
  603. christinaQW['submit'] = 1
  604. christinaQW['subpath'] = 2
  605. end
  606. killvar 'christinaphotos'
  607. end
  608. !!---------------------------------------------------------------
  609. !!Albina variables no longer needed, no sense in having them run in the background for nothing
  610. if AlbinaQW['ParkRallyDay'] > 0: AlbinaQW['ParkRallyDay'] = 0
  611. if AlbinaQW['ElectionCampaignTime'] > 0: AlbinaQW['ElectionCampaignTime'] = 0
  612. if AlbinaQW['AlbFatherQW'] > 1: AlbinaQW['AlbFatherQW'] = 1
  613. !!---------------------------------------------------------------
  614. end
  615. !!------------------------------------!!Version 0.8.2.4!!-----------------------------------------------!!
  616. if temp_current_save_version < 00080204:
  617. !! Migrates kikboxing variables into an array, removes unneeded variables.
  618. if razradKik > 0: kickbox['sash'] = razradKik & killvar 'razradKik'
  619. if amatReit > 0: kickbox['advancement'] = amatReit & killvar 'amatReit'
  620. if kikmoney > 0: kickbox['money'] = kikmoney & killvar 'kikmoney'
  621. if KikWinAm > 0: kickbox['amateurWin'] = KikWinAm & killvar 'KikWinAm'
  622. if KikWinAmKO > 0: kickbox['amateurWinKO'] = KikWinAmKO & killvar 'KikWinAmKO'
  623. if KikLossAm > 0: kickbox['amateurLoss'] = KikLossAm & killvar 'KikLossAm'
  624. if KikLossAmKO > 0: kickbox['amateurLossKO'] = KikLossAmKO & killvar 'KikLossAmKO'
  625. if KikDrawAm > 0: kickbox['amateurDraw'] = KikDrawAm & killvar 'KikDrawAm'
  626. if amateur > 0: kickbox['amateur'] = amateur & killvar 'amateur'
  627. killvar 'razrand'
  628. end
  629. !!------------------------------------!!Version 0.8.2.5!!-----------------------------------------------!!
  630. if temp_current_save_version < 00080205:
  631. !! Migrates Anushka''s brother''s quest into a array.
  632. if maksimQW > 0: maksimQW['QWstage'] = maksimQW
  633. end
  634. !!------------------------------------!!Version 0.8.2.6!!-----------------------------------------------!!
  635. !! 0.8.3 shoe package for old saves ---------------------------------------
  636. if temp_current_save_version < 00080206:
  637. i = 1
  638. :sfetishmet
  639. if sfetish[i] = 1: money += 300
  640. i += 1
  641. if i <= 27: jump 'sfetishmet'
  642. i = 1
  643. :scatsmet
  644. if scats[i] = 1: money += 300
  645. i += 1
  646. if i <= 38: jump 'scatsmet'
  647. i = 1
  648. :sgandmsmet
  649. if sgandm[i] = 1: money += 300
  650. i += 1
  651. if i <= 40: jump 'sgandmsmet'
  652. i = 1
  653. :trainersmet
  654. if trainers[i] = 1: money += 300
  655. i += 1
  656. if i <= 30: jump 'trainersmet'
  657. i = 1
  658. :sboutiquemet
  659. if sboutique[i] = 1: money += 300
  660. i += 1
  661. if i <= 37: jump 'sboutiquemet'
  662. killvar 'sfetish' & killvar 'sfetishS'
  663. killvar 'scats' & killvar 'scatsS'
  664. killvar 'sgandm' & killvar 'sgandmS'
  665. killvar 'trainers' & killvar 'trainersS'
  666. killvar 'sboutique' & killvar 'sboutiqueS'
  667. sgm[5] = 1
  668. sgm_s[5] = 0
  669. gs 'shoes', 'wear', 'sgm', 5
  670. end
  671. !!------------------------------------------------------------------------------------------------------!!
  672. !! !!Version 0.8.3!! !!
  673. !!------------------------------------------------------------------------------------------------------!!
  674. !!------------------------------------!!Version 0.8.3.4!!-----------------------------------------------!!
  675. if temp_current_save_version < 00080304:
  676. $fametown = 'pav'
  677. :fametownloop
  678. $fameact = 'acting'
  679. :fameactloop
  680. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  681. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = <<$fametown>>_<<$fameact>>'
  682. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  683. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  684. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  685. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  686. else
  687. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  688. end
  689. killvar '<<$fametown>>_<<$fameact>>'
  690. if $fameact = 'acting':
  691. $fameact = 'dance'
  692. jump 'fameactloop'
  693. elseif $fameact = 'dance':
  694. $fameact = 'painting'
  695. jump 'fameactloop'
  696. elseif $fameact = 'painting':
  697. $fameact = 'music'
  698. jump 'fameactloop'
  699. elseif $fameact = 'music':
  700. $fameact = 'ballet'
  701. jump 'fameactloop'
  702. elseif $fameact = 'ballet':
  703. $fameact = 'modelling'
  704. jump 'fameactloop'
  705. elseif $fameact = 'modelling':
  706. $fameact = 'porn'
  707. jump 'fameactloop'
  708. elseif $fameact = 'porn':
  709. $fameact = 'stripping'
  710. jump 'fameactloop'
  711. elseif $fameact = 'stripping':
  712. $fameact = 'kickboxing'
  713. jump 'fameactloop'
  714. elseif $fameact = 'kickboxing':
  715. $fameact = 'running'
  716. jump 'fameactloop'
  717. elseif $fameact = 'running':
  718. $fameact = 'volleyball'
  719. jump 'fameactloop'
  720. elseif $fameact = 'volleyball':
  721. $fameact = 'chess'
  722. jump 'fameactloop'
  723. elseif $fameact = 'chess':
  724. $fameact = 'teaching'
  725. jump 'fameactloop'
  726. elseif $fameact = 'teaching':
  727. $fameact = 'media'
  728. jump 'fameactloop'
  729. end
  730. $fameact = 'sex'
  731. :fameactloop2
  732. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  733. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = <<$fametown>>_<<$fameact>>'
  734. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  735. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  736. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  737. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  738. else
  739. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  740. end
  741. killvar '<<$fametown>>_<<$fameact>>'
  742. if $fameact = 'sex':
  743. $fameact = 'prostitute'
  744. jump 'fameactloop2'
  745. end
  746. if $fametown = 'pav':
  747. $fametown = 'city'
  748. jump 'fametownloop'
  749. elseif $fametown = 'city':
  750. $fametown = 'village'
  751. jump 'fametownloop'
  752. elseif $fametown = 'village':
  753. $fametown = 'pushkin'
  754. jump 'fametownloop'
  755. end
  756. gs 'fame', 'calculate', 'acting'
  757. gs 'fame', 'calculate', 'dance'
  758. gs 'fame', 'calculate', 'painting'
  759. gs 'fame', 'calculate', 'music'
  760. gs 'fame', 'calculate', 'ballet'
  761. gs 'fame', 'calculate', 'modelling'
  762. gs 'fame', 'calculate', 'porn'
  763. gs 'fame', 'calculate', 'stripping'
  764. gs 'fame', 'calculate', 'kickboxing'
  765. gs 'fame', 'calculate', 'running'
  766. gs 'fame', 'calculate', 'volleyball'
  767. gs 'fame', 'calculate', 'chess'
  768. gs 'fame', 'calculate', 'teaching'
  769. gs 'fame', 'calculate', 'media'
  770. gs 'fame', 'calculateSlut'
  771. if modelfoto > 0 and modelfoto['saveupdater'] = 0:
  772. !! changing modelling variables to arrays
  773. if modelfoto > 0: modelfoto['shoots'] = modelfoto
  774. if modelfotomoney > 0: modelfoto['earnings'] = modelfotomoney
  775. if modelfoto_catalog > 0: modelfoto['catalog'] = modelfoto_catalog
  776. if modelfoto_fashion > 0: modelfoto['fashion'] = modelfoto_fashion
  777. if modelfoto_ero_clo > 0: modelfoto['sexy'] = modelfoto_ero_clo
  778. if modelfoto_bikini > 0: modelfoto['bikini'] = modelfoto_bikini
  779. if modelfoto_lingerie > 0: modelfoto['lingerie'] = modelfoto_lingerie
  780. if modelfoto_trans_ling > 0: modelfoto['trans_ling'] = modelfoto_trans_ling
  781. if modelfoto_transparent > 0: modelfoto['transparent'] = modelfoto_transparent
  782. if modelfoto_fitness > 0: modelfoto['fitness'] = modelfoto_fitness
  783. if modelfoto_glamour > 0: modelfoto['glamour'] = modelfoto_glamour
  784. if modelfoto_topless > 0: modelfoto['topless'] = modelfoto_topless
  785. if modelfoto_nude > 0: modelfoto['nude'] = modelfoto_nude
  786. if modelfoto_tastenude > 0: modelfoto['tastenude'] = modelfoto_tastenude
  787. if modelfoto_toplessnude > 0: modelfoto['toplessnude'] = modelfoto_toplessnude
  788. if modelfoto_fullnude > 0: modelfoto['fullnude'] = modelfoto_fullnude
  789. if modelfoto_erotic > 0: modelfoto['erotic'] = modelfoto_erotic
  790. if modelfoto_nip > 0: modelfoto['nip'] = modelfoto_nip
  791. if modelfoto_pussy > 0: modelfoto['pussy'] = modelfoto_pussy
  792. if modelfoto_asshole > 0: modelfoto['asshole'] = modelfoto_asshole
  793. modelfoto['saveupdater'] = 1
  794. end
  795. end
  796. !!------------------------------------!!Version 0.8.3.5!!-----------------------------------------------!!
  797. if temp_current_save_version < 00080305:
  798. !!Defines the high school classes using the new grade system
  799. gs 'grades', 'createclass', 'school', 'math', 3, 2, 'yes', 'yes', 0, 0
  800. gs 'grades', 'createclass', 'school', 'rus', 3, 2, 'yes', 'yes', 0, 0
  801. gs 'grades', 'createclass', 'school', 'lit', 2, 2, 'yes', 'yes', 0, 0
  802. gs 'grades', 'createclass', 'school', 'art', 2, 2, 'yes', 'no', 0, 0
  803. gs 'grades', 'createclass', 'school', 'bio', 2, 2, 'yes', 'yes', 0, 0
  804. gs 'grades', 'createclass', 'school', 'pe', 3, 1, 'yes', 'no', 0, 0
  805. gs 'grades', 'createclass', 'school', 'eng', 2, 2, 'yes', 'yes', 0, 0
  806. gs 'grades', 'createclass', 'school', 'geo', 2, 2, 'yes', 'yes', 0, 0
  807. gs 'grades', 'createclass', 'school', 'sci', 2, 2, 'yes', 'yes', 0, 0
  808. gs 'grades', 'createclass', 'school', 'shop', 2, 2, 'yes', 'no', 0, 0
  809. gs 'grades', 'createclass', 'school', 'comp', 3, 2, 'yes', 'yes', 0, 0
  810. gs 'grades', 'createclass', 'school', 'mus', 2, 2, 'yes', 'no', 0, 0
  811. gs 'grades', 'createclass', 'school', 'his', 2, 2, 'yes', 'yes', 0, 0
  812. !!Convert the old grade attribute into the new individual grades.
  813. gs 'grades', 'grade_award', 'school', 'math', pcs_grades
  814. gs 'grades', 'grade_award', 'school', 'rus', pcs_grades
  815. gs 'grades', 'grade_award', 'school', 'lit', pcs_grades
  816. gs 'grades', 'grade_award', 'school', 'art', pcs_grades
  817. gs 'grades', 'grade_award', 'school', 'bio', pcs_grades
  818. gs 'grades', 'grade_award', 'school', 'pe', pcs_grades
  819. gs 'grades', 'grade_award', 'school', 'eng', pcs_grades
  820. gs 'grades', 'grade_award', 'school', 'geo', pcs_grades
  821. gs 'grades', 'grade_award', 'school', 'sci', pcs_grades
  822. gs 'grades', 'grade_award', 'school', 'shop', pcs_grades
  823. gs 'grades', 'grade_award', 'school', 'comp', pcs_grades
  824. gs 'grades', 'grade_award', 'school', 'mus', pcs_grades
  825. gs 'grades', 'grade_award', 'school', 'his', pcs_grades
  826. !!Assign a grado on the 1 to 5 russina grade scale from the grade variable
  827. gs 'grades', 'assing_grade_description', 'school'
  828. if month > 9 or (month = 9 and day > 5 and hour > 8) or year > 2016: class['first_grade_check'] = 1
  829. end
  830. !!------------------------------------!!Version 0.8.3.6!!-----------------------------------------------!!
  831. if temp_current_save_version < 00080306:
  832. !!Moving Djibril old variables into his array
  833. if meet_djibril > 0: DjibrilQW['meet'] = meet_djibril & killvar 'meet_djibril'
  834. if djibril_invite > 0: DjibrilQW['invite'] = djibril_invite & killvar 'djibril_invite'
  835. if african_gangbang > 0: DjibrilQW['african_gangbang'] = african_gangbang & killvar 'african_gangbang'
  836. if djibril_sex > 0: npc_sex['A82'] = djibril_sex & killvar 'djibril_sex'
  837. if npc_sex['A82'] > 0 or DjibrilQW['african_gangbang'] > 0: DjibrilQW['invite'] = 1
  838. end
  839. !!------------------------------------!!Version 0.8.3.7!!-----------------------------------------------!!
  840. if temp_current_save_version < 00080307:
  841. !!Moving some string variables to more appropriate numerical variables in the camera files.
  842. i = 0
  843. :camera_update_loop
  844. camera_found[i] = 1
  845. i += 1
  846. if ARRSIZE('camera_found') > i: jump 'camera_update_loop'
  847. !!Moved Igor''s quest to use daystart.
  848. if igor_DimaNos = 2 or igor_DimaNos = 3:
  849. if $igor_DimaNos_day > 5:
  850. igor_DimaNos_day = daystart
  851. else
  852. igor_DimaNos_day = daystart + 6 - $igor_DimaNos_day
  853. end
  854. end
  855. end
  856. if temp_current_save_version < 00080402:
  857. !!Setting the count of generic girlfirends.
  858. pcs_girlfriends = 0
  859. i = 0
  860. :girlfriend_looop
  861. if loverGender[i] = 1: pcs_girlfriends += 1
  862. i +=1
  863. if i < ARRSIZE('lover'): jump 'girlfriend_looop'
  864. Killvar 'i'
  865. if analorgasm > 0: orgasm_anal += analorgasm
  866. end
  867. !!------------------------------------------------------------------------------------------------------!!
  868. !! !!Version 0.8.4!! !!
  869. !!------------------------------------------------------------------------------------------------------!!
  870. !!------------------------------------!!Version 0.8.4.3!!-----------------------------------------------!!
  871. if temp_current_save_version < 00080403:
  872. !!Updating the variables for the Katja Quest line.
  873. if meynoldQW = 1 or meynoldQW = 2:
  874. katjaQW['QWstage'] = meynoldQW
  875. killvar 'meynoldQW'
  876. end
  877. if katjaFirstKiss > 0 or KatjaOTN > 0:
  878. katjaQW['QWstage'] = 3
  879. killvar 'katjaFirstKiss'
  880. killvar 'KatjaOTN'
  881. end
  882. if katjaTanga > 0: katjaQW['pantiesQWstage'] = katjaTanga & killvar 'katjaTanga'
  883. if katja_tanga_end > 0: katjaQW['pantiesQWstage'] = 5 & killvar 'katja_tanga_end'
  884. if katjaSlut > 0: katjaQW['slut'] = katjaSlut & killvar 'katjaSlut'
  885. if katjaHorny > 0: katjaQW['horny'] = katjaHorny & killvar 'katjaHorny'
  886. if katjaSex = 1: katjaQW['park_sex'] = 1 & killvar 'katjaSex'
  887. if katjaSex = 2: katjaQW['park_sex'] = 2 & killvar 'katjaSex'
  888. if katjaSex > 2: katjaQW['park_sex'] = 3 & killvar 'katjaSex'
  889. if KatjaMastr > 0: katjaQW['masturbates'] = KatjaMastr & killvar 'KatjaMastr'
  890. if KatjaThroat > 0: npc_throat['A14'] = KatjaThroat & killvar 'KatjaThroat'
  891. if KatjaAnus > 0: npc_ass['A14'] = KatjaAnus & killvar 'KatjaAnus'
  892. if KatjaOrgasm > 0: katjaQW['orgasm_day'] = KatjaOrgasm & killvar 'KatjaOrgasm'
  893. if katjaMeynoldday > 0: katjaQW['afterschool_hangout_day'] = katjaMeynoldday & killvar 'katjaMeynoldday'
  894. if tangaday > 0: katjaQW['no_panties_day'] = tangaday & killvar 'tangaday'
  895. if KatjaKnowMastr > 0: katjaQW['knows_masterbation'] = 1 & killvar 'KatjaKnowMastr'
  896. if SelfFistingKnow > 0: katjaQW['knows_self_fisting'] = 1 & killvar 'SelfFistingKnow'
  897. if KatjaKnowBJ > 0: katjaQW['knows_BJ'] = 1 & killvar 'KatjaKnowBJ'
  898. if KatjaKnowSex > 0: katjaQW['knows_sex'] = 1 & killvar 'KatjaKnowSex'
  899. if KatjaKnowAnal > 0: katjaQW['knows_anal'] = 1 & killvar 'KatjaKnowAnal'
  900. if KatjaKnowKuni > 0: katjaQW['knows_cuni'] = 1 & killvar 'KatjaKnowKuni'
  901. if KatjaKnowPirsA > 0: katjaQW['know_Pirced_tongue'] = 1 & killvar 'KatjaKnowPirsA'
  902. if katschoolsex > 0: katjaQW['school_sex'] = 1 & killvar 'katschoolsex'
  903. if katja_disco_Foto > 0: katjaQW['disco_Foto'] = 1 & killvar 'katja_disco_Foto'
  904. if meynoldQW = 3: katjaQW['drunk_help'] = 1 & killvar 'meynoldQW'
  905. if katja_disco_end > 0: katjaQW['no_panties_at_disco'] = 1 & killvar 'katja_disco_end'
  906. if KatjaOhrenet > 0: KatjaQW['sex_in_the_park_comment'] = KatjaOhrenet & killvar 'KatjaOhrenet'
  907. if flag_start_parc > 0: katjaQW['school_kiss'] = flag_start_parc & killvar 'flag_start_parc'
  908. end
  909. !!------------------------------------------------------------------------------------------------------!!
  910. !! !!Version 0.8.5!! !!
  911. !!------------------------------------------------------------------------------------------------------!!
  912. if temp_current_save_version < 00080500:
  913. if $loc = 'dorm': $loc = 'uni_dorm' & $menu_loc = 'uni_dorm'
  914. if $loc = 'HotelWork': $loc = 'hotel_work' & $menu_loc = 'hotel_work'
  915. if $loc = 'ParChurch': $loc = 'pav_church' & $menu_loc = 'pav_church'
  916. if $loc = 'pav_train': $loc = 'pav_market' & $menu_loc = 'pav_market'
  917. if $loc = 'univer': $loc = 'uni_admin' & $menu_loc = 'uni_admin'
  918. if $loc = 'youplace': $loc = 'city_mansion_entrance' & $menu_loc = 'city_mansion_entrance'
  919. if $loc = 'ykamin': $loc = 'city_mansion_residence_2' & $loc_arg='ylounge' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylounge'
  920. if $loc = 'ykuh': $loc = 'city_mansion_residence_1' & $loc_arg='ykitchen' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ykitchen'
  921. if $loc = 'ydet': $loc = 'city_mansion_residence_2' & $loc_arg='ynursery' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ynursery'
  922. if $loc = 'ybib': $loc = 'city_mansion_residence_2' & $loc_arg='ylibrary' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylibrary'
  923. if $loc = 'ybedr': $loc = 'city_mansion_residence_1' & $loc_arg='ybedroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybedroom'
  924. if $loc = 'ybass': $loc = 'city_mansion_residence_3' & $loc_arg='ypool' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ypool'
  925. if $loc = 'yban': $loc = 'city_mansion_residence_3' & $loc_arg='ysauna' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ysauna'
  926. if $loc = 'yvan': $loc = 'city_mansion_residence_1' & $loc_arg='ybathroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybathroom'
  927. if $loc = 'ymans': $loc = 'city_mansion_residence_1' & $loc_arg='yfoyer' & $menu_loc ='city_mansion_residence_1' & $menu_arg='yfoyer'
  928. if $loc = 'yzal': $loc = 'city_mansion_residence_2' & $loc_arg='yliving' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yliving'
  929. if $loc = 'ysport': $loc = 'city_mansion_residence_3' & $loc_arg='ygym' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ygym'
  930. if $loc = 'ykabinet': $loc = 'city_mansion_residence_2' & $loc_arg='yoffice' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yoffice'
  931. !!updater for sports clothing variable to unify it and fix bug
  932. i = 1
  933. :danilovichfix
  934. if danilovich[i] = 1:
  935. danilovich_outfits[i] = 1
  936. danilovich_outfits_s[i] = danilovich_s[i]
  937. danilovich_outfits_h[i] = danilovich_h[i]
  938. danilovich_outfits_b[i] = danilovich_b[i]
  939. end
  940. i += 1
  941. if i <= 170: jump 'danilovichfix'
  942. killvar 'danilovich'
  943. killvar 'danilovich_s'
  944. killvar 'danilovich_h'
  945. killvar 'danilovich_b'
  946. !! New setting for gaping time per stage in minutes that can be made user definable
  947. if agape[4] = 0: agape[4] = 10
  948. if vgape[4] = 0: vgape[4] = 10
  949. end
  950. !!------------------------------------!!Version 0.8.5.2!!-----------------------------------------------!!
  951. if temp_current_save_version < 00080502:
  952. i = 0
  953. :saveupdaterloop852_1
  954. $text = 'C' + str(i)
  955. temp1 = func('shortgs', 'get_me_index', '$npc_firstname', $text)
  956. if temp1 >= 0: $npc_index[$text] = $text
  957. i += 1
  958. if i < carraynumber: jump 'saveupdaterloop852_1'
  959. i = 0
  960. :saveupdaterloop852_2
  961. $text = 'B' + str(i)
  962. temp1 = func('shortgs', 'get_me_index', '$npc_firstname', $text)
  963. if temp1 >= 0: $npc_index[$text] = $text
  964. i += 1
  965. if i < barraynumber: jump 'saveupdaterloop852_2'
  966. end
  967. !!------------------------------------!!Version 0.8.5.3!!-----------------------------------------------!!
  968. if temp_current_save_version < 00080503:
  969. i = 0
  970. :saveupdaterloop853_1
  971. if npc_grupTipe['A<<i>>'] = 5:
  972. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_outcast_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  973. elseif npc_grupTipe['A<<i>>'] = 4:
  974. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_gopnik_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  975. elseif npc_grupTipe['A<<i>>'] = 3:
  976. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_nerd_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  977. elseif npc_grupTipe['A<<i>>'] = 2:
  978. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  979. elseif npc_grupTipe['A<<i>>'] = 1:
  980. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_coolkid_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  981. end
  982. i += 1
  983. if i < 250: jump 'saveupdaterloop853_1'
  984. if hotelroom1day ! 0:
  985. hotelRoomDays['pav_hotel'] = hotelroom1day
  986. hotelRoom['pav_hotel'] = hotelroom
  987. killvar 'hotelroom1day'
  988. hotelroom = 0
  989. end
  990. end
  991. !!------------------------------------!!Version 0.8.5.4!!-----------------------------------------------!!
  992. if temp_current_save_version < 00080504:
  993. !!Christinas chat have to stay in the jocks file even if she is an outcast
  994. $npcGoSchool['A18'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A18']) + '''"><<$npc_usedname["A18"]>></a>'
  995. if storyline = 1 and MagikDostup = 1:
  996. $start_type = 'sg'
  997. $start_type[1] = 'nomagic'
  998. elseif $start_type = 'csb':
  999. $start_type = 'sg_tg'
  1000. $start_type[1] = 'tg'
  1001. elseif storyline = 1:
  1002. $start_type = 'sg_m'
  1003. elseif MagikDostup = 1:
  1004. $start_type = 'city'
  1005. $start_type[1] = 'nomagic'
  1006. else
  1007. $start_type = 'city_tg'
  1008. $start_type[1] = 'tg'
  1009. end
  1010. end
  1011. !!------------------------------------------------------------------------------------------------------!!
  1012. !! !!Version 0.8.6!! !!
  1013. !!------------------------------------------------------------------------------------------------------!!
  1014. !!------------------------------------!!Version 0.8.6.1!!-----------------------------------------------!!
  1015. if temp_current_save_version < 00080601:
  1016. if pcs_skin < 150: pcs_skin = 7 * pcs_skin
  1017. gs 'body', 'Update_Body'
  1018. gs 'body', 'DailyUpdate'
  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 'body', 'Update_Appearance'
  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'] = 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. !! policeQW
  1680. !! policeQW_courtletter_dates[]
  1681. !! policeQW_courtletter_subjects[]
  1682. !! policeQW_courthearing_dates[]
  1683. !! policeQW_courthearing_subjects[]
  1684. if shplft_booked > 0: policeQW['shoplift_booked'] = shplft_booked & killvar 'shplft_booked'
  1685. if prst_booked > 0: policeQW['prostitution_booked'] = prst_booked & killvar 'prst_booked'
  1686. if shplft_counter > 0: policeQW['shoplift_counter'] = shplft_counter & killvar 'shplft_counter'
  1687. if prst_counter > 0: policeQW['prostitution_counter'] = prost_counter & killvar 'prst_counter'
  1688. if prst_bribe > 0: policeQW['prostitution_bribe'] = prst_bribe & killvar 'prst_bribe'
  1689. if shplft_value > 0: policeQW['shoplift_value'] = shplft_value & killvar 'shplft_value'
  1690. killvar 'book_response'
  1691. if bookingofficer_rel > 0: policeQW['bookingofficer_rel'] = bookingofficer_rel & killvar 'bookingofficer_rel'
  1692. if toldonguard > 0: policeQW['toldonguard'] = toldonguard & killvar 'toldonguard'
  1693. if courtletter_date > 0:
  1694. policeQW_courtletter_dates[0] = courtletter_date & killvar 'courtletter_date'
  1695. if shplft_tmp > 0:
  1696. $policeQW_courtletter_subjects[0] = 'shoplift_<<$detec_type>>'
  1697. else
  1698. $policeQW_courtletter_subjects[0] = 'prostitution_<<$detec_type>>'
  1699. end
  1700. end
  1701. if courthearing_date > 0:
  1702. policeQW_courthearing_dates[0] = courthearing_date & killvar 'courthearing_date'
  1703. if shplft_tmp > 0:
  1704. $policeQW_courthearing_subjects[0] = 'shoplift_<<$detec_type>>'
  1705. else
  1706. $policeQW_courthearing_subjects[0] = 'prostitution_<<$detec_type>>'
  1707. end
  1708. end
  1709. killvar 'shplft_tmp'
  1710. killvar 'prst_tmp'
  1711. killvar '$detec_type'
  1712. if legal_fine > 0: policeQW['legal_fine'] = legal_fine & killvar 'legal_fine'
  1713. !! Sleep update.
  1714. killvar 'varsleep'
  1715. if bedPanty > 0: sleepVars['bedPanty'] = bedPanty & killvar 'bedPanty'
  1716. if bedAnal > 0: sleepVars['bedAnal'] = bedAnal & killvar 'bedAnal'
  1717. if bedVibrator > 0: sleepVars['bedVibrator'] = bedVibrator & killvar 'bedVibrator'
  1718. if cheatVib > 0: sleepVars['cheatVib'] = cheatVib & killvar 'cheatVib'
  1719. if notathomesleep > 0: sleepVars['notathomesleep'] = notathomesleep & killvar 'notathomesleep'
  1720. if Enable_nodream > 0: sleepVars['cheat_nodream_chance'] = Enable_nodream & killvar 'Enable_nodream'
  1721. sleepVars['events_active'] = 1
  1722. sleepVars['dreams_active'] = 1
  1723. if budilnikOn > 0: alarmVars['alarmOn'] = budilnikOn & killvar 'budilnikOn'
  1724. if timer > 0: alarmVars['timerH'] = timer & killvar 'timer'
  1725. if timerM > 0: alarmVars['timerM'] = timerM & killvar 'timerM'
  1726. if timerEnd > 0: alarmVars['timerEndH'] = timerEnd & killvar 'timerEnd'
  1727. if timerEndM > 0: alarmVars['timerEndM'] = timerEndM & killvar 'timerEndM'
  1728. if alarm_holiday > 0: alarmVars['alarm_holiday'] = alarm_holiday & killvar 'alarm_holiday'
  1729. !! Pav shared apartment update
  1730. if updated_pav_shared_apt = 0:
  1731. npctemp = 264
  1732. $npc_dna['A<<npctemp>>'] = '1290130369 1043654233 5049908515 3153411713 0721993774 2486220839 0288719745'
  1733. $npc_firstname['A<<npctemp>>'] = 'Yakov'
  1734. $npc_nickname['A<<npctemp>>'] = 'Yakov'
  1735. $npc_lastname['A<<npctemp>>'] = ''
  1736. $npc_usedname['A<<npctemp>>'] = 'Yakov'
  1737. npc_dob['A<<npctemp>>'] = 19961215
  1738. $npc_notes['A<<npctemp>>'] = 'Yakov is a fitness-focused sports enthusiast with blond hair and a tanned complexion.'
  1739. npc_gender['A<<npctemp>>'] = 0
  1740. gs 'npcstaticdefaults', 'defaults'
  1741. $npc_thdick['A<<npctemp>>'] = 'well proportioned'
  1742. npc_dick['A<<npctemp>>'] = 14
  1743. npc_sexskill['A<<npctemp>>'] = 1
  1744. $npc_occupation['A<<npctemp>>'] = 'personal_trainer'
  1745. npc_style['A<<npctemp>>'] = 5
  1746. npctemp = 265
  1747. $npc_dna['A<<npctemp>>'] = '1085950303 4348731991 6618084127 9067996922 8669859044 9431283301 0673267503'
  1748. $npc_firstname['A<<npctemp>>'] = 'Nestor'
  1749. $npc_nickname['A<<npctemp>>'] = 'Nestor'
  1750. $npc_lastname['A<<npctemp>>'] = ''
  1751. $npc_usedname['A<<npctemp>>'] = 'Nestor'
  1752. npc_dob['A<<npctemp>>'] = 19930127
  1753. $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.'
  1754. npc_gender['A<<npctemp>>'] = 0
  1755. gs 'npcstaticdefaults', 'defaults'
  1756. $npc_thdick['A<<npctemp>>'] = 'massive'
  1757. npc_dick['A<<npctemp>>'] = 22
  1758. npc_sexskill['A<<npctemp>>'] = 1
  1759. npc_style['A<<npctemp>>'] = 2
  1760. npctemp = 266
  1761. $npc_dna['A<<npctemp>>'] = '5654106058 6395942483 3363408422 7113656738 1111862818 8859290040 7960339191'
  1762. $npc_firstname['A<<npctemp>>'] = 'Oleg'
  1763. $npc_nickname['A<<npctemp>>'] = 'Oleg'
  1764. $npc_lastname['A<<npctemp>>'] = ''
  1765. $npc_usedname['A<<npctemp>>'] = 'Oleg'
  1766. npc_dob['A<<npctemp>>'] = 19950712
  1767. $npc_notes['A<<npctemp>>'] = 'Oleg is a shy, young-looking guy with thick glasses, a slim frame, and very pale skin.'
  1768. npc_gender['A<<npctemp>>'] = 0
  1769. gs 'npcstaticdefaults', 'defaults'
  1770. $npc_thdick['A<<npctemp>>'] = 'thick'
  1771. npc_dick['A<<npctemp>>'] = 17
  1772. npc_sexskill['A<<npctemp>>'] = 1
  1773. $npc_occupation['A<<npctemp>>'] = 'programmer'
  1774. npc_style['A<<npctemp>>'] = 3
  1775. updated_pav_shared_apt = 1
  1776. end
  1777. if sp_rel > 0: npc_rel['A264'] = sp_rel &killvar 'sp_rel'
  1778. if gp_rel > 0: npc_rel['A265'] = gp_rel &killvar 'gp_rel'
  1779. if nd_rel > 0: npc_rel['A266'] = nd_rel &killvar 'nd_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. killvar 'gp_horny'
  1845. killvar 'sp_horny'
  1846. killvar 'nd_horny'
  1847. killvar 'milkPause'
  1848. killvar 'gp_cumVol'
  1849. killvar 'sp_cumVol'
  1850. killvar 'nd_cumVol'
  1851. !! Prostitution blocking variable changes
  1852. prostitute['wl_block'] = prostitute['blocked']
  1853. prostitute['full_block'] = 0
  1854. !! New variables to manage a homeless Sveta and travel.
  1855. gs 'homes_properties_attr'
  1856. if accessible_property['accessible_home_count'] < 1:
  1857. gs 'homes_properties', 'set_homeless'
  1858. else
  1859. gs 'homes_properties', 'set_home', $home['current']
  1860. end
  1861. end
  1862. !!------------------------------------!!Version 0.9.1.1!!-----------------------------------------------!!
  1863. if temp_current_save_version < 00090101:
  1864. if pornstudio > 1: pornstudio = 1
  1865. if nichTanya['RelationshipBreakup'] ! 0 or nichTanya['RelationshipState'] ! 0:
  1866. if nichTanya['RelationshipBreakup'] = 1: nichTanya['Relationship'] = 2
  1867. if nichTanya['RelationshipState'] = 10: nichTanya['Relationship'] = 1
  1868. if nichTanya['RelationshipState'] = 20: nichTanya['Relationship'] = 3
  1869. if nichTanya['RelationshipState'] = 1000: nichTanya['Relationship'] = 4
  1870. if nichTanya['RelationshipState'] = 1010: nichTanya['Relationship'] = 5
  1871. if nichTanya['RelationshipState'] = 1011: nichTanya['Relationship'] = 6
  1872. gs 'shortgs', 'remove_array_element', 'nichTanya','RelationshipBreakup'
  1873. gs 'shortgs', 'remove_array_element', 'nichTanya','RelationshipState'
  1874. end
  1875. killvar '_n_timer'
  1876. if $theme['name'] = '':
  1877. if night_mode = 1:
  1878. gs 'themes', 'set_black'
  1879. elseif night_mode = 2:
  1880. gs 'themes', 'set_gray'
  1881. elseif night_mode = 3:
  1882. gs 'themes', 'set_white'
  1883. elseif night_mode = 4:
  1884. gs 'themes', 'set_custom'
  1885. else
  1886. gs 'themes', 'set_dynamic'
  1887. end
  1888. if $theme['type'] = 'static':
  1889. gs 'themes', 'apply_static'
  1890. else
  1891. if $location_type = 'public_outdoors' or $location_type = 'secluded' or $location_type = 'event_outdoors':
  1892. gs 'themes', 'apply_dynamic', 'outdoors'
  1893. else
  1894. gs 'themes', 'apply_dynamic', 'indoors'
  1895. end
  1896. end
  1897. killvar 'night_mode'
  1898. killvar '$bgcolor'
  1899. killvar '$bgcolor1'
  1900. killvar '$bgcolor2'
  1901. killvar '$bgcolor3'
  1902. killvar '$fgcolor'
  1903. killvar '$fgcolor1'
  1904. end
  1905. end
  1906. !!------------------------------------!!Version 0.9.2.0!!-----------------------------------------------!!
  1907. if temp_current_save_version < 00090200:
  1908. ! Body update -- By Anjuna
  1909. if genbsize ! 0: pcs_mass['bust_gen'] = genbsize & killvar 'genbsize'
  1910. if nbsize ! 0: pcs_mass['bust'] = nbsize & killvar 'nbsize'
  1911. if pcs_mass['butt_gen'] = 0: pcs_mass['butt_gen'] = 20
  1912. if salo ! 0:
  1913. temp_totmass = salo + pcs_mass['bust']
  1914. temp_totgenmass = 60 + pcs_mass['bust_gen'] + pcs_mass['butt_gen']
  1915. pcs_mass['bust'] = (temp_totmass * pcs_mass['bust_gen']) / temp_totgenmass
  1916. pcs_mass['butt'] = (temp_totmass * pcs_mass['butt_gen']) / temp_totgenmass
  1917. pcs_mass['body'] = temp_totmass - pcs_mass['bust'] - pcs_mass['butt']
  1918. killvar 'salo'
  1919. killvar 'temp_totmass'
  1920. killvar 'temp_totgenmass'
  1921. end
  1922. if vofat ! 0: bodyVars['vofat'] = vofat & killvar 'vofat'
  1923. if vhips ! 0: bodyVars['vhips'] = vhips & killvar 'vhips'
  1924. if wratio ! 0: bodyVars['wratio'] = wratio & killvar 'wratio'
  1925. if bratio ! 0: bodyVars['bratio'] = bratio & killvar 'bratio'
  1926. if hratio ! 0: bodyVars['hratio'] = hratio & killvar 'hratio'
  1927. if magicf2b ! 0: bodyVars['bust_magic'] = magicf2b & killvar 'magicf2b'
  1928. if silicone_butt ! 0: bodyVars['butt_silicone'] = silicone_butt & killvar 'silicone_butt'
  1929. if silicone ! 0: bodyVars['bust_silicone'] = silicone & killvar 'silicone'
  1930. if butt_cheat ! 0: bodyVars['butt_cheat'] = butt_cheat & killvar 'butt_cheat'
  1931. if pcs_mass['bust_message'] = 0: pcs_mass['bust_message'] = pcs_mass['bust']
  1932. if pcs_mass['butt_message'] = 0: pcs_mass['butt_message'] = pcs_mass['butt']
  1933. !!update_clothing
  1934. !! Do not think we need this anymore. Since pcs_hips should now be basically unchanged.
  1935. !!gs 'tailor2'
  1936. !! Typo Correction -- By Derryth_Love
  1937. if katjaQW['knows_masterbation'] > 0:
  1938. katjaQW['knows_masturbation'] = katjaQW['knows_masterbation']
  1939. gs 'shortgs', 'remove_array_element', 'katjaQW', 'knows_masterbation'
  1940. end
  1941. !! body_structure introduction and variable migration:
  1942. if $bmi_desc ! '': $bodyVars['bmi_desc'] = $bmi_desc & killvar '$bmi_desc'
  1943. if $body ! '': $bodyVars['desc'] = $body & killvar '$body'
  1944. !! Migration of alterstrtimg and start_type
  1945. if arrsize('start_type') ! 4 and alterstrtimg ! 0:
  1946. if mid($start_type[0], 1, 2) = 'sg':
  1947. $temp_st[0] = 'sg'
  1948. elseif mid($start_type[0], 1, 3) = 'uni':
  1949. $temp_st[0] = 'uni'
  1950. else
  1951. $temp_st[0] = 'city'
  1952. end
  1953. $temp_st[1] = $start_type[1]
  1954. if $temp_st[1] = '': $temp_st[1] = 'magic'
  1955. if alterstrtimg >= 8 and alterstrtimg <= 11:
  1956. $temp_st[2] = 'nerd'
  1957. if alterstrtimg = 8:
  1958. $temp_st[3] = 'nerdqueen'
  1959. elseif alterstrtimg = 9:
  1960. $temp_st[3] = 'goodstudent'
  1961. elseif alterstrtimg = 10:
  1962. $temp_st[3] = 'computergeek'
  1963. else
  1964. $temp_st[3] = 'chessplayer'
  1965. end
  1966. elseif alterstrtimg >= 12 and alterstrtimg <= 15:
  1967. $temp_st[2] = 'jock'
  1968. if alterstrtimg = 12:
  1969. $temp_st[3] = 'volleyball'
  1970. elseif alterstrtimg = 13:
  1971. $temp_st[3] = 'dancer'
  1972. elseif alterstrtimg = 14:
  1973. $temp_st[3] = 'runner'
  1974. else
  1975. $temp_st[3] = 'football'
  1976. end
  1977. elseif alterstrtimg >= 16 and alterstrtimg <= 17:
  1978. $temp_st[2] = 'cool'
  1979. if alterstrtimg = 16:
  1980. $temp_st[3] = 'socialite'
  1981. elseif alterstrtimg = 17:
  1982. $temp_st[3] = 'beautiful'
  1983. end
  1984. elseif alterstrtimg >= 18 and alterstrtimg <= 21:
  1985. $temp_st[2] = 'gopnik'
  1986. if alterstrtimg = 18:
  1987. $temp_st[3] = 'gopnikstart'
  1988. elseif alterstrtimg = 19:
  1989. $temp_st[3] = 'troublemaker'
  1990. elseif alterstrtimg = 20:
  1991. $temp_st[3] = 'vitekgf'
  1992. else
  1993. $temp_st[3] = 'alternative'
  1994. end
  1995. elseif alterstrtimg >= 22 and alterstrtimg <= 28:
  1996. $temp_st[2] = 'outcast'
  1997. if alterstrtimg = 22:
  1998. $temp_st[3] = 'friendless'
  1999. elseif alterstrtimg = 23:
  2000. $temp_st[3] = 'uglyduckling'
  2001. elseif alterstrtimg = 24:
  2002. $temp_st[3] = 'goodgirl'
  2003. elseif alterstrtimg = 25:
  2004. $temp_st[3] = 'slut'
  2005. else
  2006. $temp_st[3] = 'goth'
  2007. end
  2008. elseif alterstrtimg = 31:
  2009. $temp_st[2] = 'cool'
  2010. $temp_st[3] = 'anorexic'
  2011. else
  2012. $temp_st[2] = 'outcast'
  2013. $temp_st[3] = 'friendless'
  2014. end
  2015. killvar 'start_type'
  2016. killvar 'alterstrtimg'
  2017. $start_type['loc'] = $temp_st[0]
  2018. $start_type['magic'] = $temp_st[1]
  2019. $start_type['group'] = $temp_st[2]
  2020. $start_type['cat'] = $temp_st[3]
  2021. killvar 'temp_st'
  2022. end
  2023. if $start_type['loc'] = '': $start_type['loc'] = 'city'
  2024. if $start_type['magic'] = '': $start_type['magic'] = 'magic'
  2025. if $start_type['group'] = '': $start_type['group'] = 'outcast'
  2026. if $start_type['cat'] = '': $start_type['cat'] = 'friendless'
  2027. !update fashionista to fashionista_dress\
  2028. if arrsize('fashionista') > 0:
  2029. :loopfashionista2
  2030. if fashionista[i] = 1:
  2031. fashionista_dress[i] = 1
  2032. fashionista_dress_h[i] = fashionista_h[i]
  2033. fashionista_dress_b[i] = fashionista_b[i]
  2034. fashionista_dress_s[i] = fashionista_s[i]
  2035. end
  2036. i += 4
  2037. if i <= 200:jump 'loopfashionista2'
  2038. killvar 'fashionista'
  2039. killvar 'fashionista_h'
  2040. killvar 'fashionista_b'
  2041. killvar 'fashionista_s'
  2042. end
  2043. ! Transport update
  2044. if arrsize('transportVars') < 70:
  2045. killvar 'transportVars'
  2046. gs 'transport_functions', 'init_all'
  2047. end
  2048. if Trainpass_day ! 0: transportVars['trainpass_day'] = Trainpass_day & killvar 'Trainpass_day'
  2049. killvar 'train_event'
  2050. ! Therapist
  2051. if therapist_key[1] > 0: therapistQW['hotel_day'] = therapist_key[1] & killvar 'therapist_key', 1
  2052. if therapist_key > 0: therapistQW['hotel_key'] = therapist_key & killvar 'therapist_key'
  2053. ! Ballet Dorm
  2054. if arrsize('homes') = 16: $homes[] = 'hotel_therapist'
  2055. if $home_name['hotel_therapist'] = '':
  2056. $home_name['hotel_therapist'] = 'hotel_therapist'
  2057. $home_name['17'] = 'hotel_therapist'
  2058. end
  2059. if arrsize('homes') = 17: $homes[] = 'pushkin_ballet_dorm'
  2060. if $home_name['pushkin_ballet_dorm'] = '':
  2061. $home_name['pushkin_ballet_dorm'] = 'pushkin_ballet_dorm'
  2062. $home_name['18'] = 'pushkin_ballet_dorm'
  2063. end
  2064. ! Call Trace update
  2065. killvar 'call_trace_enabled'
  2066. killvar 'call_trace_shown'
  2067. killvar 'call_trace_manual'
  2068. killvar '$call_trace'
  2069. end
  2070. !!------------------------------------!!Version 0.9.2.1!!-----------------------------------------------!!
  2071. if temp_current_save_version < 00090201:
  2072. if btwarn > 0: bodyVars['weight_warning'] = btwarn & killvar 'btwarn'
  2073. if pcs_mass['body_message'] = 0: pcs_mass['body_message'] = pcs_masss['body']
  2074. !! Clears broken pregnancy data
  2075. rej_idx = 0
  2076. rej_sz = arrsize('Babyptype')
  2077. :lutcycloop
  2078. if rej_idx < rej_sz:
  2079. if $ChildFath[rej_idx] = '':
  2080. killvar 'polkid',rej_idx
  2081. killvar '$kidname',rej_idx
  2082. killvar 'kidage',rej_idx
  2083. killvar 'daykid',rej_idx
  2084. killvar 'monthkid',rej_idx
  2085. killvar 'yearkid',rej_idx
  2086. killvar 'Babyptype',rej_idx
  2087. killvar '$ChildFath',rej_idx
  2088. killvar 'hairkid',rej_idx
  2089. killvar 'eyeskid',rej_idx
  2090. killvar 'cumarrcon',rej_idx
  2091. FertEgg -= 1
  2092. end
  2093. rej_idx += 1
  2094. jump 'lutcycloop'
  2095. if arrsize('Babyptype') <= 0:
  2096. preg = 0
  2097. pregchem = 0
  2098. knowpreg = 0
  2099. end
  2100. end
  2101. killvar 'rej_idx'
  2102. killvar 'rej_sz'
  2103. end
  2104. !!------------------------------------!!Version 0.9.2.2!!-----------------------------------------------!!
  2105. if temp_current_save_version < 00090202:
  2106. !!updating of BDSM club variables to use array and be generally better
  2107. if BDSMtaxi = 1:
  2108. bdsmclub['unlocked'] = 1
  2109. if BDSMClubIn = 1:
  2110. bdsmclub['intro'] = 1
  2111. if $BDSMrole = 's':
  2112. bdsmclub['subtraining'] = 3
  2113. else
  2114. bdsmclub['domtraining'] = 1
  2115. end
  2116. bdsmclub['payday'] = BDSMpayDay
  2117. end
  2118. end
  2119. killvar'BDSMtaxi'
  2120. killvar'BDSMmeet'
  2121. killvar'BDSMClubIn'
  2122. killvar'BDSMClub'
  2123. killvar'DSMday'
  2124. killvar'BDSMrole'
  2125. killvar'BDSMpayDay'
  2126. if motherQW['seen_dildos'] > 0 and motherKnowDildo = 0: motherKnowDildo = 1
  2127. if motherQW['seen_dildos'] = 0 and motherKnowDildo > 0: motherQW['seen_dildos'] = 1
  2128. if motherKnowRaped > 0: motherKnowSpravka = 1
  2129. end
  2130. !!------------------------------------!!Version 0.9.3.0!!-----------------------------------------------!!
  2131. if temp_current_save_version < 00090300:
  2132. !!updates the exp to the new scale so you don''t go down in stat
  2133. gs 'stat_sklattrib'
  2134. i = 0 & x = 1
  2135. :rstloop
  2136. expadj = func('_difficulty','getexpadj')
  2137. tl = 0
  2138. :trtrstloop
  2139. tltp = 0
  2140. :trtrstinsdlp
  2141. !! Note this loop is done with a flag set in the dynamic that is checked outside; this is because testing showed inconsistent results when jumping from inside the dynamic and with the whole loop in the dynamic.
  2142. dynamic "
  2143. if <<$traitattskl[tl]>> > 0 and <<$traitattskl[tl]>>[tltp + 1] = x and <<$traitattskl[tl]>>[tltp + 2] = i and <<$traitattskl[tl]>>[tltp + 3] ! 0: expadj += <<$traitattskl[tl]>>[tltp + 3]
  2144. if <<$traitattskl[tl]>>[tltp + 11] ! 0: insdlpflag = 1
  2145. "
  2146. if insdlpflag = 1: tltp += 10 & insdlpflag = 0 & jump 'trtrstinsdlp'
  2147. tl += 1
  2148. if tl < arrsize ('$traitattskl'): jump 'trtrstloop'
  2149. killvar 'tl' & killvar 'tltp' & killvar 'insdlpflag'
  2150. if x = 1:
  2151. $attskltmp = $att_name[i]
  2152. else
  2153. $attskltmp = $skl_name[i]
  2154. end
  2155. dynamic "
  2156. if <<$attskltmp>>_lvl > 0:
  2157. <<$attskltmp>>_exp -= (expadj * (<<$attskltmp>>_lvl - 1) * (<<$attskltmp>>_lvl - 1) / 180)
  2158. <<$attskltmp>>_exp += (expadj *73* (<<$attskltmp>>_lvl - 1) * (<<$attskltmp>>_lvl - 1) / 2730)
  2159. <<$attskltmp>>_mem = <<$attskltmp>>_exp
  2160. end
  2161. "
  2162. killvar 'expadj' & killvar '$attskltmp'
  2163. i += 1
  2164. if (x = 1 and i < arrsize ('$att_name')) or (x = 2 and i < arrsize ('$skl_name')): jump 'rstloop'
  2165. i = 0 & x += 1
  2166. if x < 3: jump 'rstloop'
  2167. killvar 'i' & killvar 'x'
  2168. !! Drugs variable migration
  2169. if NarkImmune > 0: drugVars['cheat_immune'] = NarkImmune & killvar 'NarkImmune'
  2170. if SNarkPriton > 0: drugVars['city_drugden'] = SNarkPriton & killvar 'SNarkPriton'
  2171. if snarkozak > 0: drugVars['pav_dropoff'] = snarkozak & killvar 'snarkozak'
  2172. if siga_bum > 0: mc_inventory['cigarettes'] += 1 & killvar 'siga_bum'
  2173. if smoker > 0: drugVars['cigarettes_used'] = smoker & killvar 'smoker'
  2174. if smoke_exp > 0: drugVars['cigarettes_exp'] = smoke_exp & killvar 'smoke_exp'
  2175. if smokerneed > 0: drugVars['cigarettes_need'] = smokerneed & killvar 'smokerneed'
  2176. if smokeDay > 0: drugVars['cigarettes_day'] = smokeDay & killvar 'smokeDay'
  2177. if smokeHour > 0: drugVars['cigarettes_hour'] = smokeHour & killvar 'smokeHour'
  2178. if smokeminut > 0: drugVars['cigarettes_minute'] = smokeminut & killvar 'smokeminut'
  2179. if joint < 0: killvar 'joint'
  2180. if joint > 0: mc_inventory['joints'] = joint & killvar 'joint'
  2181. if jointhigh > 0: drugVars['weed_high'] = jointhigh & killvar 'jointhigh'
  2182. if joint_smoked > 0: drugVars['weed_used'] = joint_smoked & killvar 'joint_smoked'
  2183. if joint_exp > 0: drugVars['weed_exp'] = joint_exp & killvar 'joint_exp'
  2184. if jointday > 0: drugVars['weed_day'] = jointday & killvar 'jointday'
  2185. if jointhour > 0: drugVars['weed_hour'] = jointhour & killvar 'jointhour'
  2186. if jointminut > 0: drugVars['weed_minute'] = jointminut & killvar 'jointminut'
  2187. if SNarkTimes['inject'] > 0: drugVars['heroin_inject'] = SNarkTimes['inject']
  2188. if StrongNarkota > 0: drugVars['heroin_high'] = StrongNarkota & killvar 'StrongNarkota'
  2189. if SNarkTimes > 0: drugVars['heroin_used'] = SNarkTimes & killvar 'SNarkTimes'
  2190. if heroin_exp > 0: drugVars['heroin_exp'] = heroin_exp & killvar 'heroin_exp'
  2191. if SLomka > 0: drugVars['heroin_need'] = SLomka & killvar 'SLomka'
  2192. if narkozakday > 0: drugVars['heroin_day'] = narkozakday & killvar 'narkozakday'
  2193. if NarkShmaraTimes > 0: drugVars['heroin_whore'] = NarkShmaraTimes & killvar 'NarkShmaraTimes'
  2194. if SNarkvnesh > 0: drugVars['heroin_penalty'] = SNarkvnesh & killvar 'SNarkvnesh'
  2195. if dur > 0: mc_inventory['cocaine'] = dur & killvar 'dur'
  2196. if nark > 0: drugVars['cocaine_system'] = nark & killvar 'nark'
  2197. if cocaine_count > 0: drugVars['cocaine_used'] = cocaine_count & killvar 'cocaine_count'
  2198. if cocaine_exp > 0: drugVars['cocaine_exp'] = cocaine_exp & killvar 'cocaine_exp'
  2199. if narkday > 0: drugVars['cocaine_day'] = narkday & killvar 'narkday'
  2200. if narkoman > 0: drugVars['cocaine_addict'] = narkoman & killvar 'narkoman'
  2201. if willday_cocaine > 0: drugVars['cocaine_willday'] = willday_cocaine & killvar 'willday_cocaine'
  2202. if amphetamine > 0: mc_inventory['amphetamine'] = amphetamine & killvar 'amphetamine'
  2203. if amphHigh > 0: drugVars['amphetamine_high'] = amphHigh & killvar 'amphHigh'
  2204. if amphetamine_count > 0: drugVars['amphetamine_used'] = amphetamine_count & killvar 'amphetamine_count'
  2205. if amphetamine_exp > 0: drugVars['amphetamine_exp'] = amphetamine_exp & killvar 'amphetamine_exp'
  2206. if amphIntake > 0: drugVars['amphetamine_intake'] = amphIntake & killvar 'amphIntake'
  2207. if amphWithdrawl > 0: drugVars['amphetamine_withdrawl'] = amphWithdrawl & killvar 'amphWithdrawl'
  2208. if amphetamineBonus > 0: drugVars['amphetamine_bonus'] = amphetamineBonus & killvar 'amphetamineBonus'
  2209. if mentats_have > 0: mc_inventory['mentats'] = mentats_have & killvar 'mentats_have'
  2210. if mentats_dose > 0: drugVars['mentats_dose'] = mentats_dose & killvar 'mentats_dose'
  2211. if alcohol_count > 0: drugVars['alcohol_used'] = alcohol_count & killvar 'alcohol_count'
  2212. if alcohol_exp > 0: drugVars['alcohol_exp'] = alcohol_exp & killvar 'alcohol_exp'
  2213. if aphrodisiac_have > 0: mc_inventory['aphrodisiac'] = aphrodisiac_have & killvar 'aphrodisiac_have'
  2214. if aphrodisiac_addiction > 0: drugVars['aphrodisiac_addict'] = aphrodisiac_addiction & killvar 'aphrodisiac_addiction'
  2215. if aphrodisiac_timer > 0: drugVars['aphrodisiac_timer'] = aphrodisiac_timer & killvar 'aphrodisiac_timer'
  2216. if aphrodisiac_overdose > 0: drugVars['aphrodisiac_overdose'] = aphrodisiac_overdose & killvar 'aphrodisiac_overdose'
  2217. if $aphrodisiac_msg ! '': $drugVars['aphrodisiac_msg'] = $aphrodisiac_msg & killvar 'aphrodisiac_msg'
  2218. if steroid_have > 0: mc_inventory['steroids'] = steroid_have & killvar 'steroid_have'
  2219. if steroid_counter > 0: drugVars['steroids_used'] = steroid_counter & killvar 'steroid_counter'
  2220. if steroid_dose > 0: drugVars['steroids_dose'] = steroid_dose & killvar 'steroid_dose'
  2221. if bcream_have > 0: mc_inventory['breastcream'] = bcream_have & killvar 'bcream_have'
  2222. if bcream_used > 0: drugVars['breastcream_dose'] = bcream_used & killvar 'bcream_used'
  2223. ! Adding the new room in gadukino to the home_name array:
  2224. $home_name['gadsarai'] = 'grandparents_house'
  2225. ! heart-shaped butt added:
  2226. dynamic $npc_preferences['A14']
  2227. if arrpos('$npc_pref_traits', 'body_ass_heart') < 0:
  2228. gs 'npc_set_preference', 'A14', 'body_ass_heart', 'like'
  2229. end
  2230. killvar 'npc_pref_traits'
  2231. ! Professional runner variable migration
  2232. if begsec > 0: runnerQW['joined_team'] = begsec & killvar 'begsec'
  2233. if run_comp_day > 0: runnerQW['comp_day'] = run_comp_day & killvar 'run_comp_day'
  2234. if kolsorev > 0: runnerQW['races_ran'] = kolsorev & killvar 'kolsorev'
  2235. if razradbeg > 0: runnerQW['prof_stage'] = razradbeg & killvar 'razradbeg'
  2236. if bronzebeg > 0: runnerQW['bronze_medals'] = bronzebeg & killvar 'bronzebeg'
  2237. if silverbeg > 0: runnerQW['silver_medals'] = silverbeg & killvar 'silverbeg'
  2238. if goldbeg > 0: runnerQW['gold_medals'] = goldbeg & killvar 'goldbeg'
  2239. if razradbegK > 0: runnerQW['qualifiers'] = razradbegK & killvar 'razradbegK'
  2240. if razradbegEB > 0: runnerQW['champ_bronze'] = razradbegEB & killvar 'razradbegEB'
  2241. if razradbegES > 0: runnerQW['champ_silver'] = razradbegES & killvar 'razradbegES'
  2242. if razradbegEG > 0: runnerQW['champ_gold'] = razradbegEG & killvar 'razradbegEG'
  2243. if SchoolSorev > 0: runnerQW['pav_racetype'] = SchoolSorev & killvar 'SchoolSorev'
  2244. if LocalRun > 0: runnerQW['pav_stage'] = LocalRun & killvar 'LocalRun'
  2245. if swinbeg > 0: runnerQW['pav_wins1'] = swinbeg & killvar 'swinbeg'
  2246. if swinbeggor > 0: runnerQW['pav_wins2'] = swinbeggor & killvar 'swinbeggor'
  2247. end
  2248. killvar 'temp_current_save_version'
  2249. gs 'saveg'
  2250. --- saveupdater ---------------------------------