1
0

saveupdater.qsrc 125 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891
  1. # saveupdater
  2. !! This file is for updating save game when one variable have been replaced by another.
  3. !! The version number is updated for releases and when it is required because we cannot run checks to block repeated updating
  4. !! The version number is in saveg.gsrc should only be updated by the person preparing the release, if it needs to be done outside of releases then inform the person in charge of releases to ensure correct number change is made.
  5. !! When updating the version number: at the bottom of this file just after the last end add the following line:
  6. !! if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < "new version number":
  7. !! where "new version number" should either match that in saveg.qsrc or be for the next minor increment
  8. !! Then add any replacement variables after this line. You can see how this is done by looking through this file.
  9. !! When changing version number you must commit this file and saveg.qsrc at the same time.
  10. temp_current_save_version = ( (100*version_major + version_minor) * 100 + version_revision ) * 100 + version_patch
  11. !!======================================================================================================!!
  12. !! !!
  13. !! !!Version 0.8.0!! !!
  14. !! !!
  15. !!======================================================================================================!!
  16. if temp_current_save_version < 00080000:
  17. !!------------------------------grandparent variable clean up---for 0.8.0 release---------------------------
  18. !!---Grandpa
  19. If grandpa_bilberry > 0: grandpaQW['chore_berry_quantity'] = grandpa_bilberry & killvar 'grandpa_bilberry'
  20. If grandpa_boletus > 0: grandpaQW['chore_mushroom_quantity'] = grandpa_boletus & killvar 'grandpa_boletus'
  21. If grandpahelpday > 0: grandpaQW['last_day_helped'] = grandpahelpday & killvar 'grandpahelpday'
  22. If grandpahelping > 0: grandpaQW['chore_type'] = grandpahelping & killvar 'grandpahelping'
  23. If grandpatalk > 0: grandpaQW['last_hour_talked'] = grandpatalk & killvar 'grandpatalk'
  24. If grandpatalkday > 0: grandpaQW['last_day_talked'] = grandpatalkday & killvar 'grandpatalkday'
  25. If grandpatalkforest > 0: grandpaQW['talked_about_forest'] = grandpatalkforest & killvar 'grandpatalkforest'
  26. If comb_horse > 0: grandpaQW['chore_brush_horse'] = comb_horse & killvar 'comb_horse'
  27. If cow_field > 0: grandpaQW['chore_lead_cow_to_field'] = cow_field & killvar 'cow_field'
  28. If feed_boar > 0: grandpaQW['chore_feed_boar'] = feed_boar & killvar 'feed_boar'
  29. If feed_cow > 0: grandpaQW['chore_feed_cow'] = feed_cow & killvar 'feed_cow'
  30. If feed_horse > 0: grandpaQW['chore_feed_horse'] = feed_horse & killvar 'feed_horse'
  31. If graze_cow > 0: grandpaQW['chore_herd_cattle'] = graze_cow & killvar 'graze_cow'
  32. If graze_cow_exp > 0: grandpaQW['chore_herd_cattle_experience'] = graze_cow_exp & killvar 'graze_cow_exp'
  33. If haying_time > 0: grandpaQW['chore_bale_hay'] = haying_time & killvar 'haying_time'
  34. If horse_field > 0: grandpaQW['chore_lead_horse_to_field'] = horse_field & killvar 'horse_field'
  35. If horse_river > 0: grandpaQW['chore_bathe_horse'] = horse_river & killvar 'horse_river'
  36. If go_in_bilberry > 0: grandpaQW['chore_gather_berries'] = go_in_bilberry & killvar 'go_in_bilberry'
  37. If go_in_boletus > 0: grandpaQW['chore_gather_mushrooms'] = go_in_boletus & killvar 'go_in_boletus'
  38. If go_in_boletus_bilberry > 0: grandpaQW['chore_gather_both'] = go_in_boletus_bilberry & killvar 'go_in_boletus_bilberry'
  39. !!---Grandma
  40. If grandma_trouble > 0: grandmaQW['nudity_trouble'] = grandma_trouble & killvar 'grandma_trouble'
  41. If grandmastory > 0: grandmaQW['last_day_asked_for_story'] = grandmastory & killvar 'grandmastory'
  42. If grandmatalk > 0: grandmaQW['last_hour_talked'] = grandmatalk & killvar 'grandmatalk'
  43. If grandmatalkday > 0: grandmaQW['last_day_talked'] = grandmatalkday & killvar 'grandmatalkday'
  44. If grandmatalkgad > 0: grandmaQW['talked_about_gadukino'] = grandmatalkgad & killvar 'grandmatalkgad'
  45. If monthbabkapay > 0: grandmaQW['last_month_paid'] = monthbabkapay & killvar 'monthbabkapay'
  46. If grandmahelpday > 0: grandmaQW['last_day_helped'] = grandmahelpday & killvar 'grandmahelpday'
  47. If grandmahelp > 0: grandmaQW['help_amount'] = grandmahelp & killvar 'grandmahelp'
  48. If grandmahelping > 0: grandmaQW['chore_type'] = grandmahelping & killvar 'grandmahelping'
  49. If collect_strawberries > 0: grandmaQW['chore_collect_strawberries'] = collect_strawberries & killvar 'collect_strawberries'
  50. If feed_chickens > 0: grandmaQW['chore_feed_chickens'] = feed_chickens & killvar 'feed_chickens'
  51. If fruit_collect > 0: grandmaQW['chore_collect_fruit'] = fruit_collect & killvar 'fruit_collect'
  52. If harvest_garden > 0: grandmaQW['chore_harvest_garden'] = harvest_garden & killvar 'harvest_garden'
  53. If milk_cow > 0: grandmaQW['chore_milk_cow'] = milk_cow & killvar 'milk_cow'
  54. If water_garden > 0: grandmaQW['chore_water_garden'] = water_garden & killvar 'water_garden'
  55. If work_garden > 0: grandmaQW['chore_work_in_garden'] = work_garden & killvar 'work_garden'
  56. !!---------------------------end of grandparent variable clean up---for 0.8.0 release-----------------------
  57. !! ----- Natasha story variables migrated to array ----- 0.8.0
  58. ! Natasha''s mom NPC data for existing saves
  59. if $npc_firstname['A191'] ! 'Isabella':
  60. gs 'npc_standard_preferences', 'A191'
  61. $npc_dna['A<<npctemp>>'] = '1614037462 1959746313 1085890273 0326112989 0869737602 6676723523 3590292041'
  62. $npc_firstname['A<<npctemp>>'] = 'Isabella'
  63. $npc_nickname['A<<npctemp>>'] = 'Bella'
  64. $npc_lastname['A<<npctemp>>'] = 'Belova'
  65. $npc_usedname['A<<npctemp>>'] = 'Isabella'
  66. $npc_notes['A<<npctemp>>'] = 'Your classmate Natasha''s mother, Isabella Belova.'
  67. npc_dob['A<<npctemp>>'] = 19820922
  68. npc_gender['A<<npctemp>>'] = 1
  69. gs 'npcstaticdefaults', 'defaults'
  70. npc_bust['A<<npctemp>>'] = 23
  71. end
  72. killvar '$NatashaMotherName' & killvar '$NatashaMotherNickname'
  73. if NatashaQW > 0: NatbelQW['QWstage'] = NatashaQW & killvar 'NatashaQW'
  74. if natbelXP > 0: NatbelQW['natbelXP'] = natbelXP & killvar 'natbelXP'
  75. if NatBelBestFrend > 0: NatbelQW['BestFriend'] = NatBelBestFrend & killvar 'NatBelBestFrend'
  76. if BeInNatBelHome > 0: NatbelQW['VisitedHome'] = BeInNatBelHome & killvar 'BeInNatBelHome'
  77. if natashaFirstvisit > 0: NatbelQW['FirstVisit'] = natashaFirstvisit & killvar 'natashaFirstvisit'
  78. if NatNoTV > 0: NatbelQW['NoTV'] = NatNoTV & killvar 'NatNoTV'
  79. if ShowRand > 0: NatbelQW['TVshow'] = ShowRand & killvar 'ShowRand'
  80. if $ShowMsg ! '': $NatbelQW['TVmsg'] = $ShowMsg & killvar '$ShowMsg'
  81. if NatashaWatchedYourPorn > 0: NatbelQW['WatchedYourPorn'] = NatashaWatchedYourPorn & killvar 'NatashaWatchedYourPorn'
  82. if NatDolg > 0: NatbelQW['Debt'] = NatDolg & killvar 'NatDolg'
  83. if NatDolgDay > 0: NatbelQW['DebtDay'] = NatDolgDay & killvar 'NatDolgDay'
  84. if nattimeleft > 0: NatbelQW['DebtTimeLeft'] = nattimeleft & killvar 'nattimeleft'
  85. if NatashaMoneyGivenTimes > 0: NatbelQW['MoneyGivenTimes'] = NatashaMoneyGivenTimes & killvar 'NatashaMoneyGivenTimes'
  86. if NatashaHW > 0: NatbelQW['homework'] = NatashaHW & killvar 'NatashaHW'
  87. if natdoingHW > 0: NatbelQW['doingHW'] = natdoingHW & killvar 'natdoingHW'
  88. if NatashaNakedHW > 0: NatbelQW['nakedHW'] = NatashaNakedHW & killvar 'NatashaNakedHW'
  89. if natunderwear > 0: NatbelQW['underwear'] = natunderwear & killvar 'natunderwear'
  90. if natund > 0: NatbelQW['underwearShop'] = natund & killvar 'natund'
  91. if natseethrough > 0: NatbelQW['seethrough'] = natseethrough & killvar 'natseethrough'
  92. if natseethroughwearing > 0: NatbelQW['seethroughwearing'] = natseethroughwearing & killvar 'natseethroughwearing'
  93. if natseethroughworn > 0: NatbelQW['seethroughworn'] = natseethroughworn & killvar 'natseethroughworn'
  94. if natseehtroughkitchen > 0: NatbelQW['seethroughkitchen'] = natseehtroughkitchen & killvar 'natseehtroughkitchen'
  95. if natmomrobe > 0: NatbelQW['momrobe'] = natmomrobe & killvar 'natmomrobe'
  96. if nattraining > 0: NatbelQW['training'] = nattraining & killvar 'nattraining'
  97. if natlesb > 0: NatbelQW['lesbian'] = natlesb & killvar 'natlesb'
  98. if natpee > 0: NatbelQW['pee'] = natpee & killvar 'natpee'
  99. if HaveCucumber > 0: NatbelQW['cucumber'] = HaveCucumber & killvar 'HaveCucumber'
  100. if natkolkatease > 0: NatbelQW['KolkaTease'] = natkolkatease & killvar 'natkolkatease'
  101. if kolkawantsnat > 0: NatbelQW['KolkaWantsNat'] = kolkawantsnat & killvar 'kolkawantsnat'
  102. if natfuckday > 0: NatbelQW['KolkaFuckDay'] = natfuckday & killvar 'natfuckday'
  103. if NatKolkaSex > 0: NatbelQW['KolkaSex'] = NatKolkaSex & killvar 'NatKolkaSex'
  104. if natbj > 0: NatbelQW['bj'] = natbj & killvar 'natbj'
  105. if NatKolkaFootjob > 0: NatbelQW['KolkaFootjob'] = NatKolkaFootjob & killvar 'NatKolkaFootjob'
  106. if natcp > 0: NatbelQW['KolkaCP'] = natcp & killvar 'natcp'
  107. ! Adding all previous creampies to the new vaginal sex tracker so it can start above 0 if possible
  108. if NatbelQW['KolkaCP'] > 0 and NatbelQW['vaginal'] = 0:
  109. NatbelQW['vaginal'] = NatbelQW['KolkaCP']
  110. end
  111. if natanal > 0: NatbelQW['anal'] = natanal & killvar 'natanal'
  112. if natpregday > 0: NatbelQW['pregday'] = natpregday & killvar 'natpregday'
  113. if nataskedbaby > 0: NatbelQW['askedbaby'] = nataskedbaby & killvar 'nataskedbaby'
  114. if natbabycount > 0: NatbelQW['babycount'] = natbabycount & killvar 'natbabycount'
  115. if MetNatMother > 0: NatbelQW['MetMother'] = MetNatMother & killvar 'MetNatMother'
  116. ! These can be set to 0, so wiping them in any case to get rid of them
  117. NatbelQW['MotherHome'] = NatashaMotherHome & killvar 'NatashaMotherHome'
  118. NatbelQW['MotherDoor'] = DoorOpenBy & killvar 'DoorOpenBy'
  119. NatbelQW['MotherState'] = NatashaMotherState & killvar 'NatashaMotherState'
  120. NatbelQW['MotherStateMsg'] = NatashaMotherStateMsg & killvar 'NatashaMotherStateMsg'
  121. NatbelQW['MotherStateKeep'] = NatashaMotherStateKeep & killvar 'NatashaMotherStateKeep'
  122. if SeenNatMomHitachi > 0: NatbelQW['SeenNatMomHitachi'] = SeenNatMomHitachi & killvar 'SeenNatMomHitachi'
  123. if CaughtByNatMomHitachi > 0: NatbelQW['CaughtByNatMomHitachi'] = CaughtByNatMomHitachi & killvar 'CaughtByNatMomHitachi'
  124. if $NatMomVibName ! '': $NatbelQW['NatMomVibName'] = $NatMomVibName & killvar '$NatMomVibName'
  125. ! typos found in the natasha files & other cleaning up
  126. if nhib_exp > 0: inhib_exp += nhib_exp & killvar 'nhib_exp'
  127. killvar 'natsleeprand'
  128. killvar 'imgrand'
  129. !! ----- Natasha story variables migrated to array ----- 0.8.0
  130. ! ----- Parrot story variables migrated to array
  131. if saveparQW > 0: ParrotQW['Level'] = saveparQW & killvar 'saveparQW'
  132. if popugai > 0: ParrotQW['Owned1'] = popugai & killvar 'popugai'
  133. if popugai2 > 0: ParrotQW['Owned2'] = popugai2 & killvar 'popugai2'
  134. if saveparjourQW > 0: ParrotQW['Day'] = saveparjourQW & killvar 'saveparjourQW'
  135. if parbuydate > 0: ParrotQW['BuyDate'] = parbuydate & killvar 'parbuydate'
  136. if sisrelparday > 0: ParrotQW['SisterReleaseParrotDay'] = sisrelparday & killvar 'sisrelparday'
  137. if saveparQWfailed > 0: ParrotQW['Failed'] = saveparQWfailed & killvar 'saveparQWfailed'
  138. If sispopconf > 0: ParrotQW['SisKeepParrot'] = sispopconf & killvar 'sispopconf'
  139. if $namepopu ! '': $ParrotQW['Name1'] = $namepopu & killvar '$namepopu'
  140. if $namepopu2 ! '': $ParrotQW['Name2'] = $namepopu2 & killvar '$namepopu2'
  141. ! ----- Parrot story variables migrated to array
  142. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  143. if BankPapper > 0: BurgerQW['BankTask'] = BankPapper & killvar 'BankPapper'
  144. if BistroBoss > 0: BurgerQW['BossSlut'] = BistroBoss & killvar 'BistroBoss'
  145. if BistroBossDay > 0: BurgerQW['BossSlutLastServed'] = BistroBossDay & killvar 'BistroBossDay'
  146. if bistroQW > 0: BurgerQW['Level'] = bistroQW & killvar 'bistroQW'
  147. if $burgerIvanText ! '': $BurgerQW['IvanSecurityCamDesc'] = $burgerIvanText & killvar '$burgerIvanText'
  148. if BuSWworkEnd > 0: BurgerQW['SaunaWhoreKnown'] = BuSWworkEnd & killvar 'BuSWworkEnd'
  149. if dayBankPapper > 0: BurgerQW['BankTaskDay'] = dayBankPapper & killvar 'dayBankPapper'
  150. if DayTerminalPapper > 0: BurgerQW['TerminalTaskDay'] = DayTerminalPapper & killvar 'DayTerminalPapper'
  151. if gossipBU > 0: BurgerQW['SlutReputation'] = gossipBU & killvar 'gossipBU'
  152. if IvanEvidence > 0: BurgerQW['IlyQWEvidence'] = IvanEvidence & killvar 'IvanEvidence'
  153. if ivanFilmBJ > 0: BurgerQW['IlyQWBJFilmed'] = ivanFilmBJ & killvar 'ivanFilmBJ'
  154. if IvanKvartira > 0: BurgerQW['IlyQWTatianaHelp'] = IvanKvartira & killvar 'IvanKvartira'
  155. if IvanPodstavaDay > 0: BurgerQW['IlyQWDay'] = IvanPodstavaDay & killvar 'IvanPodstavaDay'
  156. if IvanPodstavaQW > 0: BurgerQW['IlyQW'] = IvanPodstavaQW & killvar 'IvanPodstavaQW'
  157. if kompromatBlackMail > 0: BurgerQW['IlyQWBlackmail'] = kompromatBlackMail & killvar 'kompromatBlackMail'
  158. if $kompromatFoto ! '': $BurgerQW['IlyQWBlackmailPhoto'] = $kompromatFoto & killvar '$kompromatFoto'
  159. if NoBistroWork > 0: BurgerQW['WorkBlocked'] = NoBistroWork & killvar 'NoBistroWork'
  160. if PersSecWork > 0: BurgerQW['Secretary'] = PersSecWork & killvar 'PersSecWork'
  161. if PersSecWorkTimes > 0: BurgerQW['SecretaryTimesWorked'] = PersSecWorkTimes & killvar 'PersSecWorkTimes'
  162. if PodpiskaNeviezd > 0: BurgerQW['IlyQWPoliceDayCount'] = PodpiskaNeviezd & killvar 'PodpiskaNeviezd'
  163. if posuda > 0: BurgerQW['WashDishesCount'] = posuda & killvar 'posuda'
  164. if posudaA > 0: BurgerQW['WashFloorCount'] = posudaA & killvar 'posudaA'
  165. if posudaday > 0: BurgerQW['WashedDishesLastDay'] = posudaday & killvar 'posudaday'
  166. if posudaAday > 0: BurgerQW['WashFloorLastDay'] = posudaAday & killvar 'posudaAday'
  167. if PSBBtimes > 0: BurgerQW['WorkShift'] = PSBBtimes & killvar 'PSBBtimes'
  168. if sergeyPQW > 0: BurgerQW['sergeyQW'] = sergeyPQW & killvar 'sergeyPQW'
  169. if soplakTimes > 0: BurgerQW['sergeyQWServiced1'] = soplakTimes & killvar 'soplakTimes'
  170. if soplakTimes1 > 0: BurgerQW['sergeyQWServiced2'] = soplakTimes1 & killvar 'soplakTimes1'
  171. if TerminalPapper > 0: BurgerQW['TerminalTask'] = TerminalPapper & killvar 'TerminalPapper'
  172. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  173. ! ----- Albina story variables migrated to array
  174. if AlbFather > 0: AlbinaQW['AlbFatherQW'] = AlbFather & killvar 'AlbFather'
  175. if AlbFrend > 0: AlbinaQW['Friends'] = AlbFrend & killvar 'AlbFrend'
  176. if ZvezdEnd > 0: AlbinaQW['StarletsShutDown'] = ZvezdEnd & killvar 'ZvezdEnd'
  177. if DanceWhore > 0: AlbinaQW['StarletsWhore'] = DanceWhore & killvar 'DanceWhore'
  178. if beinalbinahome > 0: AlbinaQW['KnowsHouse'] = beinalbinahome & killvar 'beinalbinahome'
  179. if albsportday > 0: AlbinaQW['SportDay'] = albsportday & killvar 'albsportday'
  180. if albsporthome > 0: AlbinaQW['SportHome'] = albsporthome & killvar 'albsporthome'
  181. if gamebet > 0: AlbinaQW['gamebet'] = gamebet & killvar 'gamebet'
  182. if stardance > 0: AlbinaQW['ShowTriggerCount'] = stardance & killvar 'stardance'
  183. if albrideday > 0: AlbinaQW['albrideday'] = albrideday & killvar 'albrideday'
  184. if albinaQWdance > 0: AlbinaQW['StarletsJoined'] = albinaQWdance & killvar 'albinaQWdance'
  185. if AlbZverHelp > 0: AlbinaQW['ChristinaHelp'] = AlbZverHelp & killvar 'AlbZverHelp'
  186. if alb_father_meeting > 0: AlbinaQW['ParkRally'] = alb_father_meeting & killvar 'alb_father_meeting'
  187. if alb_father_day > 0: AlbinaQW['ParkRallyDay'] = alb_father_day & killvar 'alb_father_day'
  188. if AlbFaterBlackTime > 0: AlbinaQW['ElectionCampaignTime'] = AlbFaterBlackTime & killvar 'AlbFaterBlackTime'
  189. if startletsday > 0: AlbinaQW['startletsday'] = startletsday & killvar 'startletsday'
  190. if AlbVsNiko > 0: AlbinaQW['niko_help'] = AlbVsNiko & killvar 'AlbVsNiko'
  191. if AlbinaBlockHumiliation > 0: AlbinaQW['Protect'] = AlbinaBlockHumiliation & killvar 'AlbinaBlockHumiliation'
  192. ! ----- Albina story variables migrated to array
  193. !! Updating npc_bust[] array to the new values ----- 0.8.0
  194. if npc_bust['A12'] = 9: npc_bust['A12'] = 23
  195. if npc_bust['A13'] = 9: npc_bust['A13'] = 8
  196. if npc_bust['A14'] = 9: npc_bust['A14'] = 20
  197. if npc_bust['A15'] = 9: npc_bust['A15'] = 18
  198. if npc_bust['A16'] = 9: npc_bust['A16'] = 26
  199. if npc_bust['A17'] = 9: npc_bust['A17'] = 34
  200. if npc_bust['A18'] = 9: npc_bust['A18'] = 21
  201. if npc_bust['A19'] = 9: npc_bust['A19'] = 14
  202. if npc_bust['A20'] = 9: npc_bust['A20'] = 22
  203. if npc_bust['A21'] = 9: npc_bust['A21'] = 18
  204. if npc_bust['A22'] = 9: npc_bust['A22'] = 27
  205. if npc_bust['A23'] = 9: npc_bust['A23'] = 14
  206. if npc_bust['A24'] = 9: npc_bust['A24'] = 20
  207. if npc_bust['A25'] = 9: npc_bust['A25'] = 21
  208. if npc_bust['A29'] = 9: npc_bust['A29'] = 25
  209. if npc_bust['A30'] = 9: npc_bust['A30'] = 18
  210. if npc_bust['A33'] = 9: npc_bust['A33'] = 19
  211. if npc_bust['A134'] = 9: npc_bust['A134'] = 20
  212. if npc_bust['A135'] = 9: npc_bust['A135'] = 13
  213. if npc_bust['A136'] = 9: npc_bust['A136'] = 30
  214. if npc_bust['A137'] = 9: npc_bust['A137'] = 34
  215. if npc_bust['A138'] = 9: npc_bust['A138'] = 18
  216. if npc_bust['A139'] = 9: npc_bust['A139'] = 22
  217. if npc_bust['A140'] = 9: npc_bust['A140'] = 13
  218. if npc_bust['A141'] = 9: npc_bust['A141'] = 20
  219. if npc_bust['A142'] = 9: npc_bust['A142'] = 13
  220. if npc_bust['A143'] = 9: npc_bust['A143'] = 7
  221. if npc_bust['A144'] = 9: npc_bust['A144'] = 24
  222. if npc_bust['A145'] = 9: npc_bust['A145'] = 31
  223. !! Updating npc_bust[] array to the new values ----- 0.8.0
  224. !!-----------Adding pube colours for 0.8.0-----------
  225. if pcs_pubecol[1] = 0:
  226. pcs_pubecol = pcs_haircol
  227. pcs_pubecol[1] = 1
  228. pcs_pubecol[2] = pcs_haircol
  229. end
  230. !!-----------Adding pube colours for 0.8.0-----------
  231. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  232. killvar 'olufirst'
  233. killvar 'tetyafirst'
  234. killvar 'oluuosegunday_count'
  235. killvar 'oluuosegunday_day'
  236. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  237. !!trait update
  238. if pcs_traits['update_1'] = 0:
  239. pcs_traits['update_1'] = 1
  240. pcs_traits['alko_day'] = alko_trait_day
  241. pcs_traits['alko_points'] = alko_trait_counter
  242. pcs_traits['alko_status'] = alko_trait
  243. killvar 'alko_trait_day'
  244. killvar 'alko_trait_counter'
  245. killvar 'alko_trait'
  246. end
  247. if trt_cumeater = 1: pcs_traits['cumeater'] = 1 & trt_cumeater = 7
  248. !! ----- Other bug fixes and cleanup ----- 0.8.0
  249. if pcs_gaming_exp > 0: gs 'exp_gain', 'gaming', pcs_gaming_exp & killvar 'pcs_gaming_exp'
  250. if nerd_night_game ! 0: killvar 'nerd_night_game'
  251. if nerd_night_game_day ! 0: nerd_game['game_day'] = nerd_night_game_day & killvar 'nerd_night_game_day'
  252. !!Masturbation check wasn''t being cleared
  253. mastrOnce = 0
  254. !! ----- Other bug fixes and cleanup ----- 0.8.0
  255. end
  256. !!------------------------------------!!Version 0.8.0.1!!-----------------------------------------------!!
  257. if temp_current_save_version < 00080001:
  258. !!--------0.8.0.1---school social group adjustment
  259. if gruptipe[9000] = 0:
  260. gruptipe[9000] = 1
  261. grupvalue[1] = grupvalue[1] * 10
  262. grupvalue[2] = grupvalue[2] * 10
  263. grupvalue[3] = grupvalue[3] * 10
  264. grupvalue[4] = grupvalue[4] * 10
  265. end
  266. !!--------0.8.0.1---school social group adjustment
  267. end
  268. !!------------------------------------------------------------------------------------------------------!!
  269. !! !!Version 0.8.1!! !!
  270. !!------------------------------------------------------------------------------------------------------!!
  271. if temp_current_save_version < 00080100:
  272. !!--------0.8.1--- Music variable names changed
  273. if ml_update_1 = 0:
  274. ml_guitar['hasguitar'] = ml_guitar
  275. ml_guitar['carried'] = ml_guitarWithMe
  276. ml_guitar['chordbook'] = ml_chordbook
  277. ml_performance['performed_minutes'] = ml_performed_minutes
  278. ml_performance['max_perform_minutes'] = ml_max_perform_minutes
  279. ml_guitarlesson['lessoncount'] = ml_lessoncount
  280. ml_guitarlesson['lessonday'] = ml_lessonday
  281. $ml_guitarlesson['lessonday'] = $ml_lessonday
  282. ml_guitarlesson['lessonhour'] = 15
  283. ml_guitarlesson['nextlesson'] = daystart + (ml_guitarlesson['lessonday'] + 7 - week)
  284. ml_guitarlesson['advertisement'] = ml_guitarlessonadv
  285. ml_guitarlesson['enquired'] = ml_enquired
  286. if age < 18:
  287. ml_guitarlesson['lessoncost'] = 300
  288. else
  289. ml_guitarlesson['lessoncost'] = 500
  290. end
  291. killvar 'ml_guitarWithMe'
  292. killvar 'ml_performed_minutes'
  293. killvar 'ml_max_perform_minutes'
  294. killvar 'ml_guitarlessonadv'
  295. killvar 'ml_enquired'
  296. killvar 'ml_lessonday'
  297. killvar '$ml_lessonday'
  298. killvar 'ml_lessoncost'
  299. !!--------0.8.1--- Music variable names changed
  300. ml_update_1 = 1
  301. end
  302. !! changed $metkaM to $locM_arg and $metka to $loc_arg in the code - needed for correction saves saved prior to version 0.8.1
  303. if arrsize('$metkaM') > 0 or arrsize('$metka') > 0:
  304. $locM_arg = $metkaM
  305. $loc_arg = $metka
  306. killvar '$metkaM'
  307. killvar '$metka'
  308. end
  309. !!---------------------------------------------------------------
  310. !! fixes the variable for Christina getting outcasted, so she will show up in the journal correctly
  311. if zverSlutQW = 2:
  312. npc_grupTipe['A18'] = 5
  313. end
  314. !!---------------------------------------------------------------
  315. !!model variable updates
  316. if anastasia > 0 and anastasia['status'] = 0 and anastasia['saveupdate'] = 0:
  317. anastasia['status'] = anastasia
  318. anastasia['escort_ask'] = anastasia_escort_ask
  319. anastasia['model_exp'] = anastasia_mode_exp
  320. anastasia['sex'] = anastasiasex
  321. anastasia['saveupdate'] = 1
  322. end
  323. if foto_models['emily'] > 0 and emily['status'] = 0 and emily['saveupdate'] = 0:
  324. emily['status'] = foto_models['emily']
  325. emily['hate'] = emily_hate
  326. emily['model_exp'] = emily_model_exp
  327. emily['saveupdate'] = 1
  328. end
  329. if jeff > 0 and jeff['status'] = 0 and jeff['saveupdate'] = 0:
  330. jeff['status'] = jeff
  331. jeff['grope'] = jeff_grope
  332. jeff['movies'] = jeff_movies
  333. jeff['model_exp'] = jeff_model_exp
  334. jeff['saveupdate'] = 1
  335. end
  336. if krystal > 0 and krystal['status'] = 0 and krystal['saveupdate'] = 0:
  337. krystal['status'] = krystal['talk']
  338. krystal['saveupdate'] = 1
  339. end
  340. if $model['firstname'] = '':
  341. $model['firstname'] = $pcs_firstname
  342. $model['nickname'] = $pcs_nickname
  343. $model['lastname'] = $pcs_lastname
  344. end
  345. if $model['pay_method'] = '': $model['pay_method'] = 'cash_envelope'
  346. !! Fixing Katja and Natasha relationship
  347. if npc_sex['A14'] > 1: npc_sex['A14'] = 1
  348. if npc_sex['A16'] > 1: npc_sex['A16'] = 1
  349. !! University related vars update
  350. if student >= 0:
  351. gs 'uniutil', 'transfer_legacy_vars'
  352. end
  353. !!---------------------------------------------------------------
  354. !! Lariska story variables migrated to array
  355. if KotovZverHelp > 0: LariskaQW['VitekHelp'] = KotovZverHelp & killvar 'KotovZverHelp'
  356. if IvanZverHelp > 0: LariskaQW['IvanHelp'] = IvanZverHelp & killvar 'IvanZverHelp'
  357. if FyodorZverHelp > 0: LariskaQW['FedorHelp'] = FyodorZverHelp & killvar 'FyodorZverHelp'
  358. if lariskaHelp > 0: LariskaQW['LariskaHelp'] = lariskaHelp & killvar 'lariskaHelp'
  359. if lariskaHelp_end > 0: LariskaQw['LariskaHelpEnd'] = lariskaHelp_end & killvar 'lariskaHelp_end'
  360. !!---------------------------------------------------------------
  361. !! Shave updater
  362. if shave_update ! 1:
  363. if pubestyle = 1:
  364. shave_length = 2
  365. shave_trigger = 4
  366. elseif pubestyle = 10:
  367. shave_length = 26
  368. shave_trigger = 31
  369. elseif pubestyle = 11:
  370. shave_length = 2
  371. shave_trigger = 10
  372. !elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  373. else
  374. shave_length = 16
  375. shave_trigger = 21
  376. end
  377. shave_update = 1
  378. end
  379. end
  380. !!------------------------------------------------------------------------------------------------------!!
  381. !! !!Version 0.8.2!! !!
  382. !!------------------------------------------------------------------------------------------------------!!
  383. if temp_current_save_version < 00080200:
  384. !! 0.8.2 clothing package for old saves ---------------------------------------
  385. 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:
  386. $batch_sell = {
  387. poshvalldrop += 1
  388. dynamic 'RESULT = <<$ARGS[0]>>H[<<ARGS[1]>>]'
  389. if RESULT > 100:
  390. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  391. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  392. money += 750
  393. selltot += 750
  394. elseif RESULT > 45:
  395. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  396. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  397. money += 500
  398. selltot += 500
  399. elseif RESULT > 30:
  400. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  401. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  402. money += 300
  403. selltot += 300
  404. elseif RESULT > 0:
  405. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  406. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  407. money += 100
  408. selltot += 100
  409. else
  410. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  411. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  412. end
  413. dynamic '<<$ARGS[0]>>H[<<ARGS[1]>>] = 0'
  414. }
  415. poshvalldrop = 0
  416. selltot = 0
  417. !!-----------------------------------------------------------------------------------------
  418. i = 1
  419. :cheapmet
  420. if cheap[i] = 1 and cheapH[i] > 0: dynamic($batch_sell, 'cheap', i)
  421. i += 1
  422. if i <= 419: jump 'cheapmet'
  423. i = 1
  424. :averagemet
  425. if average[i] = 1 and averageH[i] > 0: dynamic($batch_sell, 'average', i)
  426. i += 1
  427. if i <= 541: jump 'averagemet'
  428. i = 1
  429. :expensivemet
  430. if expensive[i] = 1 and expensiveH[i] > 0: dynamic($batch_sell, 'expensive', i)
  431. i += 1
  432. if i <= 442: jump 'expensivemet'
  433. i = 1
  434. :formalmet
  435. if formal[i] = 1 and formalH[i] > 0: dynamic($batch_sell, 'formal', i)
  436. i += 1
  437. if i <= 185: jump 'formalmet'
  438. i = 1
  439. :officemet
  440. if office[i] = 1 and officeH[i] > 0: dynamic($batch_sell, 'office', i)
  441. i += 1
  442. if i <= 140: jump 'officemet'
  443. i = 1
  444. :schoolmet
  445. if school[i] = 1 and schoolH[i] > 0: dynamic($batch_sell, 'school', i)
  446. i += 1
  447. if i <= 80: jump 'schoolmet'
  448. i = 1
  449. :exercisemet
  450. if exercise[i] = 1 and exerciseH[i] > 0: dynamic($batch_sell, 'exercise', i)
  451. i += 1
  452. if i <= 260: jump 'exercisemet'
  453. i = 1
  454. :fetishmet
  455. if fetish[i] = 1 and fetishH[i] > 0: dynamic($batch_sell, 'fetish', i)
  456. i += 1
  457. if i <= 240: jump 'fetishmet'
  458. i = 1
  459. :burlesquemet
  460. if burlesque[i] = 1 and burlesqueH[i] > 0: dynamic($batch_sell, 'burlesque', i)
  461. i += 1
  462. if i <= 22: jump 'burlesquemet'
  463. i = 1
  464. :exhibitmet
  465. if exhibit[i] = 1 and exhibitH[i] > 0: dynamic($batch_sell, 'exhibit', i)
  466. i += 1
  467. if i <= 125: jump 'exhibitmet'
  468. i = 1
  469. :uniformmet
  470. if uniform[i] = 1 and uniformH[i] > 0: dynamic($batch_sell, 'uniform', i)
  471. i += 1
  472. if i <= 60: jump 'uniformmet'
  473. i = 1
  474. :swimwearmet
  475. if swimwear[i] = 1 and swimwearH[i] > 0: dynamic($batch_sell, 'swimwear', i)
  476. i += 1
  477. if i <= 213: jump 'swimwearmet'
  478. i = 1
  479. :beachmet
  480. if beach[i] = 1 and beachH[i] > 0: dynamic($batch_sell, 'beach', i)
  481. i += 1
  482. if i <= 103: jump 'beachmet'
  483. i = 1
  484. :alternativemet
  485. if alternative[i] = 1 and alternativeH[i] > 0: dynamic($batch_sell, 'alternativer', i)
  486. i += 1
  487. if i <= 129: jump 'alternativemet'
  488. !!-----------------------------------------------------------------------------------------
  489. killvar 'batch_sell'
  490. killvar 'alternativeH' & killvar 'alternativeS' & killvar 'alternative'
  491. killvar 'averageH' & killvar 'averageS' & killvar 'average'
  492. killvar 'burlesqueH' & killvar 'burlesqueS' & killvar 'burlesque'
  493. killvar 'cheapH' & killvar 'cheapS' & killvar 'cheap'
  494. killvar 'exerciseH' & killvar 'exerciseS'
  495. killvar 'exhibitH' & killvar 'exhibitS'
  496. killvar 'expensiveH' & killvar 'expensiveS' & killvar 'expensive'
  497. killvar 'fetishH' & killvar 'fetishS'
  498. killvar 'formalH' & killvar 'formalS' & killvar 'formal'
  499. killvar 'officeH' & killvar 'officeS' & killvar 'office'
  500. killvar 'schoolH' & killvar 'schoolS' & killvar 'school'
  501. killvar 'uniformH' & killvar 'uniformS' & killvar 'uniform'
  502. killvar 'beachH' & killvar 'beachS' & killvar 'beachB'
  503. killvar 'swimwearH' & killvar 'swimwearS' & killvar 'swimwearB'
  504. killvar 'coatH' & killvar 'coatS'
  505. gm_outfits[50] = 1
  506. gm_outfits_h[50] = 100
  507. gm_outfits_b[50] = pcs_hips
  508. gs 'clothing', 'wear', 'gm_outfits', 50
  509. end
  510. !! Shave updater
  511. if shave_update ! 1:
  512. if pubestyle = 1:
  513. shave_length = 2
  514. shave_trigger = 4
  515. elseif pubestyle = 10:
  516. shave_length = 26
  517. shave_trigger = 31
  518. elseif pubestyle = 11:
  519. shave_length = 2
  520. shave_trigger = 8
  521. !elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  522. else
  523. shave_length = 16
  524. shave_trigger = 21
  525. end
  526. shave_update = 1
  527. end
  528. end
  529. !!------------------------------------!!Version 0.8.2.3!!-----------------------------------------------!!
  530. if temp_current_save_version < 00080203:
  531. !! Lariska variables removed, no longer needed - 2020/11/30 - Alaratt
  532. !! Edited - 2021/01/19 - Alaratt
  533. if beInLariskaHome = 1 or LariskaHomeIn >= 1:
  534. if LariskaHomeIn = 1:
  535. LariskaQW['story'] = 4
  536. else
  537. LariskaQW['story'] = 5
  538. end
  539. killvar 'LariskaHomeIn'
  540. killvar 'beInLariskaHome'
  541. end
  542. if doorlocked > 0: killvar 'doorlocked'
  543. if doorpeek > 0: killvar 'doorpeek'
  544. if lariskaBDSM > 0: killvar 'lariskaBDSM'
  545. if lariskaMotherKnown = 1:
  546. LariskaQW['metAnna'] = 1
  547. killvar 'lariskaMotherKnown'
  548. end
  549. if LariskaProfi = 1:
  550. LariskaQW['volleyball'] = 1
  551. killvar 'LariskaProfi'
  552. end
  553. !!---------------------------------------------------------------
  554. !! Migrates Christina variables into an array, removes unneeded variables, and fixes the outcast issue if still needed
  555. !! 2021/01/19 - Alaratt
  556. if zverSlutQW > 0:
  557. if zverSlutQW = 2:
  558. !! Christina lost the fight and is outcasted
  559. christinaQW['fight'] = 1
  560. christinaQW['dompath'] = 7
  561. npc_grupTipe['A18'] = 5
  562. else
  563. !! Christina lost the fight and is prepped for outcasting
  564. christinaQW['fight'] = 1
  565. christinaQW['dompath'] = 6
  566. end
  567. killvar 'zverSlutQW'
  568. end
  569. if zverRageQW > 0:
  570. if zverRageQW = 10:
  571. !! Christina won the fight
  572. christinaQW['fight'] = -1
  573. christinaQW['subpath'] = 2
  574. elseif zverRageQW = 2:
  575. !! Christina lost the fight
  576. christinaQW['fight'] = 1
  577. christinaQW['dompath'] = 6
  578. else
  579. !! You spread rumors about Christina and she preps for fight
  580. christinaQW['dompath'] = 4
  581. end
  582. killvar 'zverRageQW'
  583. end
  584. if socialchg['christina_dont_care'] = 1: socialchg['christina_dont_care'] = 0
  585. if zverevaQW > 0: killvar 'zverevaQW'
  586. if LinaSlut > 0: killvar 'LinaSlut'
  587. if fizrukSex > 0: killvar 'fizrukSex'
  588. if kristinaSex > 0: killvar 'kristinaSex'
  589. if christinaphotos > 0:
  590. if christinaphotos = 3:
  591. !! Christina won the fight and you have not had a shower scene with her yet
  592. christinaQW['fight'] = -1
  593. christinaQW['subpath'] = 2
  594. elseif christinaphotos = 4:
  595. !! Christina won the fight and you had first shower scene with her
  596. christinaQW['fight'] = -1
  597. christinaQW['subpath'] = 3
  598. elseif christinaphotos = 2:
  599. !! You submitted to Christina and you had first shower scene with her
  600. christinaQW['submit'] = 1
  601. christinaQW['subpath'] = 3
  602. else
  603. !! You submitted to Christina but not had a shower scene with her yet
  604. christinaQW['submit'] = 1
  605. christinaQW['subpath'] = 2
  606. end
  607. killvar 'christinaphotos'
  608. end
  609. !!---------------------------------------------------------------
  610. !!Albina variables no longer needed, no sense in having them run in the background for nothing
  611. if AlbinaQW['ParkRallyDay'] > 0: AlbinaQW['ParkRallyDay'] = 0
  612. if AlbinaQW['ElectionCampaignTime'] > 0: AlbinaQW['ElectionCampaignTime'] = 0
  613. if AlbinaQW['AlbFatherQW'] > 1: AlbinaQW['AlbFatherQW'] = 1
  614. !!---------------------------------------------------------------
  615. end
  616. !!------------------------------------!!Version 0.8.2.4!!-----------------------------------------------!!
  617. if temp_current_save_version < 00080204:
  618. !! Migrates kikboxing variables into an array, removes unneeded variables.
  619. if razradKik > 0: kickbox['sash'] = razradKik & killvar 'razradKik'
  620. if amatReit > 0: kickbox['advancement'] = amatReit & killvar 'amatReit'
  621. if kikmoney > 0: kickbox['money'] = kikmoney & killvar 'kikmoney'
  622. if KikWinAm > 0: kickbox['amateurWin'] = KikWinAm & killvar 'KikWinAm'
  623. if KikWinAmKO > 0: kickbox['amateurWinKO'] = KikWinAmKO & killvar 'KikWinAmKO'
  624. if KikLossAm > 0: kickbox['amateurLoss'] = KikLossAm & killvar 'KikLossAm'
  625. if KikLossAmKO > 0: kickbox['amateurLossKO'] = KikLossAmKO & killvar 'KikLossAmKO'
  626. if KikDrawAm > 0: kickbox['amateurDraw'] = KikDrawAm & killvar 'KikDrawAm'
  627. if amateur > 0: kickbox['amateur'] = amateur & killvar 'amateur'
  628. killvar 'razrand'
  629. end
  630. !!------------------------------------!!Version 0.8.2.5!!-----------------------------------------------!!
  631. if temp_current_save_version < 00080205:
  632. !! Migrates Anushka''s brother''s quest into a array.
  633. if maksimQW > 0: maksimQW['QWstage'] = maksimQW
  634. end
  635. !!------------------------------------!!Version 0.8.2.6!!-----------------------------------------------!!
  636. !! 0.8.3 shoe package for old saves ---------------------------------------
  637. if temp_current_save_version < 00080206:
  638. i = 1
  639. :sfetishmet
  640. if sfetish[i] = 1: money += 300
  641. i += 1
  642. if i <= 27: jump 'sfetishmet'
  643. i = 1
  644. :scatsmet
  645. if scats[i] = 1: money += 300
  646. i += 1
  647. if i <= 38: jump 'scatsmet'
  648. i = 1
  649. :sgandmsmet
  650. if sgandm[i] = 1: money += 300
  651. i += 1
  652. if i <= 40: jump 'sgandmsmet'
  653. i = 1
  654. :trainersmet
  655. if trainers[i] = 1: money += 300
  656. i += 1
  657. if i <= 30: jump 'trainersmet'
  658. i = 1
  659. :sboutiquemet
  660. if sboutique[i] = 1: money += 300
  661. i += 1
  662. if i <= 37: jump 'sboutiquemet'
  663. killvar 'sfetish' & killvar 'sfetishS'
  664. killvar 'scats' & killvar 'scatsS'
  665. killvar 'sgandm' & killvar 'sgandmS'
  666. killvar 'trainers' & killvar 'trainersS'
  667. killvar 'sboutique' & killvar 'sboutiqueS'
  668. sgm[5] = 1
  669. sgm_s[5] = 0
  670. gs 'shoes', 'wear', 'sgm', 5
  671. end
  672. !!------------------------------------------------------------------------------------------------------!!
  673. !! !!Version 0.8.3!! !!
  674. !!------------------------------------------------------------------------------------------------------!!
  675. !!------------------------------------!!Version 0.8.3.4!!-----------------------------------------------!!
  676. if temp_current_save_version < 00080304:
  677. $fametown = 'pav'
  678. :fametownloop
  679. $fameact = 'acting'
  680. :fameactloop
  681. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  682. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = <<$fametown>>_<<$fameact>>'
  683. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  684. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  685. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  686. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  687. else
  688. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  689. end
  690. killvar '<<$fametown>>_<<$fameact>>'
  691. if $fameact = 'acting':
  692. $fameact = 'dance'
  693. jump 'fameactloop'
  694. elseif $fameact = 'dance':
  695. $fameact = 'painting'
  696. jump 'fameactloop'
  697. elseif $fameact = 'painting':
  698. $fameact = 'music'
  699. jump 'fameactloop'
  700. elseif $fameact = 'music':
  701. $fameact = 'ballet'
  702. jump 'fameactloop'
  703. elseif $fameact = 'ballet':
  704. $fameact = 'modelling'
  705. jump 'fameactloop'
  706. elseif $fameact = 'modelling':
  707. $fameact = 'porn'
  708. jump 'fameactloop'
  709. elseif $fameact = 'porn':
  710. $fameact = 'stripping'
  711. jump 'fameactloop'
  712. elseif $fameact = 'stripping':
  713. $fameact = 'kickboxing'
  714. jump 'fameactloop'
  715. elseif $fameact = 'kickboxing':
  716. $fameact = 'running'
  717. jump 'fameactloop'
  718. elseif $fameact = 'running':
  719. $fameact = 'volleyball'
  720. jump 'fameactloop'
  721. elseif $fameact = 'volleyball':
  722. $fameact = 'chess'
  723. jump 'fameactloop'
  724. elseif $fameact = 'chess':
  725. $fameact = 'teaching'
  726. jump 'fameactloop'
  727. elseif $fameact = 'teaching':
  728. $fameact = 'media'
  729. jump 'fameactloop'
  730. end
  731. $fameact = 'sex'
  732. :fameactloop2
  733. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  734. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = <<$fametown>>_<<$fameact>>'
  735. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  736. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  737. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  738. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  739. else
  740. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  741. end
  742. killvar '<<$fametown>>_<<$fameact>>'
  743. if $fameact = 'sex':
  744. $fameact = 'prostitute'
  745. jump 'fameactloop2'
  746. end
  747. if $fametown = 'pav':
  748. $fametown = 'city'
  749. jump 'fametownloop'
  750. elseif $fametown = 'city':
  751. $fametown = 'village'
  752. jump 'fametownloop'
  753. elseif $fametown = 'village':
  754. $fametown = 'pushkin'
  755. jump 'fametownloop'
  756. end
  757. gs 'fame', 'calculate', 'acting'
  758. gs 'fame', 'calculate', 'dance'
  759. gs 'fame', 'calculate', 'painting'
  760. gs 'fame', 'calculate', 'music'
  761. gs 'fame', 'calculate', 'ballet'
  762. gs 'fame', 'calculate', 'modelling'
  763. gs 'fame', 'calculate', 'porn'
  764. gs 'fame', 'calculate', 'stripping'
  765. gs 'fame', 'calculate', 'kickboxing'
  766. gs 'fame', 'calculate', 'running'
  767. gs 'fame', 'calculate', 'volleyball'
  768. gs 'fame', 'calculate', 'chess'
  769. gs 'fame', 'calculate', 'teaching'
  770. gs 'fame', 'calculate', 'media'
  771. gs 'fame', 'calculateSlut'
  772. if modelfoto > 0 and modelfoto['saveupdater'] = 0:
  773. !! changing modelling variables to arrays
  774. if modelfoto > 0: modelfoto['shoots'] = modelfoto
  775. if modelfotomoney > 0: modelfoto['earnings'] = modelfotomoney
  776. if modelfoto_catalog > 0: modelfoto['catalog'] = modelfoto_catalog
  777. if modelfoto_fashion > 0: modelfoto['fashion'] = modelfoto_fashion
  778. if modelfoto_ero_clo > 0: modelfoto['sexy'] = modelfoto_ero_clo
  779. if modelfoto_bikini > 0: modelfoto['bikini'] = modelfoto_bikini
  780. if modelfoto_lingerie > 0: modelfoto['lingerie'] = modelfoto_lingerie
  781. if modelfoto_trans_ling > 0: modelfoto['trans_ling'] = modelfoto_trans_ling
  782. if modelfoto_transparent > 0: modelfoto['transparent'] = modelfoto_transparent
  783. if modelfoto_fitness > 0: modelfoto['fitness'] = modelfoto_fitness
  784. if modelfoto_glamour > 0: modelfoto['glamour'] = modelfoto_glamour
  785. if modelfoto_topless > 0: modelfoto['topless'] = modelfoto_topless
  786. if modelfoto_nude > 0: modelfoto['nude'] = modelfoto_nude
  787. if modelfoto_tastenude > 0: modelfoto['tastenude'] = modelfoto_tastenude
  788. if modelfoto_toplessnude > 0: modelfoto['toplessnude'] = modelfoto_toplessnude
  789. if modelfoto_fullnude > 0: modelfoto['fullnude'] = modelfoto_fullnude
  790. if modelfoto_erotic > 0: modelfoto['erotic'] = modelfoto_erotic
  791. if modelfoto_nip > 0: modelfoto['nip'] = modelfoto_nip
  792. if modelfoto_pussy > 0: modelfoto['pussy'] = modelfoto_pussy
  793. if modelfoto_asshole > 0: modelfoto['asshole'] = modelfoto_asshole
  794. modelfoto['saveupdater'] = 1
  795. end
  796. end
  797. !!------------------------------------!!Version 0.8.3.5!!-----------------------------------------------!!
  798. if temp_current_save_version < 00080305:
  799. !!Defines the high school classes using the new grade system
  800. gs 'grades', 'createclass', 'school', 'math', 3, 2, 'yes', 'yes', 0, 0
  801. gs 'grades', 'createclass', 'school', 'rus', 3, 2, 'yes', 'yes', 0, 0
  802. gs 'grades', 'createclass', 'school', 'lit', 2, 2, 'yes', 'yes', 0, 0
  803. gs 'grades', 'createclass', 'school', 'art', 2, 2, 'yes', 'no', 0, 0
  804. gs 'grades', 'createclass', 'school', 'bio', 2, 2, 'yes', 'yes', 0, 0
  805. gs 'grades', 'createclass', 'school', 'pe', 3, 1, 'yes', 'no', 0, 0
  806. gs 'grades', 'createclass', 'school', 'eng', 2, 2, 'yes', 'yes', 0, 0
  807. gs 'grades', 'createclass', 'school', 'geo', 2, 2, 'yes', 'yes', 0, 0
  808. gs 'grades', 'createclass', 'school', 'sci', 2, 2, 'yes', 'yes', 0, 0
  809. gs 'grades', 'createclass', 'school', 'shop', 2, 2, 'yes', 'no', 0, 0
  810. gs 'grades', 'createclass', 'school', 'comp', 3, 2, 'yes', 'yes', 0, 0
  811. gs 'grades', 'createclass', 'school', 'mus', 2, 2, 'yes', 'no', 0, 0
  812. gs 'grades', 'createclass', 'school', 'his', 2, 2, 'yes', 'yes', 0, 0
  813. !!Convert the old grade attribute into the new individual grades.
  814. gs 'grades', 'grade_award', 'school', 'math', pcs_grades
  815. gs 'grades', 'grade_award', 'school', 'rus', pcs_grades
  816. gs 'grades', 'grade_award', 'school', 'lit', pcs_grades
  817. gs 'grades', 'grade_award', 'school', 'art', pcs_grades
  818. gs 'grades', 'grade_award', 'school', 'bio', pcs_grades
  819. gs 'grades', 'grade_award', 'school', 'pe', pcs_grades
  820. gs 'grades', 'grade_award', 'school', 'eng', pcs_grades
  821. gs 'grades', 'grade_award', 'school', 'geo', pcs_grades
  822. gs 'grades', 'grade_award', 'school', 'sci', pcs_grades
  823. gs 'grades', 'grade_award', 'school', 'shop', pcs_grades
  824. gs 'grades', 'grade_award', 'school', 'comp', pcs_grades
  825. gs 'grades', 'grade_award', 'school', 'mus', pcs_grades
  826. gs 'grades', 'grade_award', 'school', 'his', pcs_grades
  827. !!Assign a grado on the 1 to 5 russina grade scale from the grade variable
  828. gs 'grades', 'assing_grade_description', 'school'
  829. if month > 9 or (month = 9 and day > 5 and hour > 8) or year > 2016: class['first_grade_check'] = 1
  830. end
  831. !!------------------------------------!!Version 0.8.3.6!!-----------------------------------------------!!
  832. if temp_current_save_version < 00080306:
  833. !!Moving Djibril old variables into his array
  834. if meet_djibril > 0: DjibrilQW['meet'] = meet_djibril & killvar 'meet_djibril'
  835. if djibril_invite > 0: DjibrilQW['invite'] = djibril_invite & killvar 'djibril_invite'
  836. if african_gangbang > 0: DjibrilQW['african_gangbang'] = african_gangbang & killvar 'african_gangbang'
  837. if djibril_sex > 0: npc_sex['A82'] = djibril_sex & killvar 'djibril_sex'
  838. if npc_sex['A82'] > 0 or DjibrilQW['african_gangbang'] > 0: DjibrilQW['invite'] = 1
  839. end
  840. !!------------------------------------!!Version 0.8.3.7!!-----------------------------------------------!!
  841. if temp_current_save_version < 00080307:
  842. !!Moving some string variables to more appropriate numerical variables in the camera files.
  843. i = 0
  844. :camera_update_loop
  845. camera_found[i] = 1
  846. i += 1
  847. if ARRSIZE('camera_found') > i: jump 'camera_update_loop'
  848. !!Moved Igor''s quest to use daystart.
  849. if igor_DimaNos = 2 or igor_DimaNos = 3:
  850. if $igor_DimaNos_day > 5:
  851. igor_DimaNos_day = daystart
  852. else
  853. igor_DimaNos_day = daystart + 6 - $igor_DimaNos_day
  854. end
  855. end
  856. end
  857. if temp_current_save_version < 00080402:
  858. !!Setting the count of generic girlfirends.
  859. pcs_girlfriends = 0
  860. i = 0
  861. :girlfriend_looop
  862. if loverGender[i] = 1: pcs_girlfriends += 1
  863. i +=1
  864. if i < ARRSIZE('lover'): jump 'girlfriend_looop'
  865. Killvar 'i'
  866. if analorgasm > 0: orgasm_anal += analorgasm
  867. end
  868. !!------------------------------------------------------------------------------------------------------!!
  869. !! !!Version 0.8.4!! !!
  870. !!------------------------------------------------------------------------------------------------------!!
  871. !!------------------------------------!!Version 0.8.4.3!!-----------------------------------------------!!
  872. if temp_current_save_version < 00080403:
  873. !!Updating the variables for the Katja Quest line.
  874. if meynoldQW = 1 or meynoldQW = 2:
  875. katjaQW['QWstage'] = meynoldQW
  876. killvar 'meynoldQW'
  877. end
  878. if katjaFirstKiss > 0 or KatjaOTN > 0:
  879. katjaQW['QWstage'] = 3
  880. killvar 'katjaFirstKiss'
  881. killvar 'KatjaOTN'
  882. end
  883. if katjaTanga > 0: katjaQW['pantiesQWstage'] = katjaTanga & killvar 'katjaTanga'
  884. if katja_tanga_end > 0: katjaQW['pantiesQWstage'] = 5 & killvar 'katja_tanga_end'
  885. if katjaSlut > 0: katjaQW['slut'] = katjaSlut & killvar 'katjaSlut'
  886. if katjaHorny > 0: katjaQW['horny'] = katjaHorny & killvar 'katjaHorny'
  887. if katjaSex = 1: katjaQW['park_sex'] = 1 & killvar 'katjaSex'
  888. if katjaSex = 2: katjaQW['park_sex'] = 2 & killvar 'katjaSex'
  889. if katjaSex > 2: katjaQW['park_sex'] = 3 & killvar 'katjaSex'
  890. if KatjaMastr > 0: katjaQW['masturbates'] = KatjaMastr & killvar 'KatjaMastr'
  891. if KatjaThroat > 0: npc_throat['A14'] = KatjaThroat & killvar 'KatjaThroat'
  892. if KatjaAnus > 0: npc_ass['A14'] = KatjaAnus & killvar 'KatjaAnus'
  893. if KatjaOrgasm > 0: katjaQW['orgasm_day'] = KatjaOrgasm & killvar 'KatjaOrgasm'
  894. if katjaMeynoldday > 0: katjaQW['afterschool_hangout_day'] = katjaMeynoldday & killvar 'katjaMeynoldday'
  895. if tangaday > 0: katjaQW['no_panties_day'] = tangaday & killvar 'tangaday'
  896. if KatjaKnowMastr > 0: katjaQW['knows_masterbation'] = 1 & killvar 'KatjaKnowMastr'
  897. if SelfFistingKnow > 0: katjaQW['knows_self_fisting'] = 1 & killvar 'SelfFistingKnow'
  898. if KatjaKnowBJ > 0: katjaQW['knows_BJ'] = 1 & killvar 'KatjaKnowBJ'
  899. if KatjaKnowSex > 0: katjaQW['knows_sex'] = 1 & killvar 'KatjaKnowSex'
  900. if KatjaKnowAnal > 0: katjaQW['knows_anal'] = 1 & killvar 'KatjaKnowAnal'
  901. if KatjaKnowKuni > 0: katjaQW['knows_cuni'] = 1 & killvar 'KatjaKnowKuni'
  902. if KatjaKnowPirsA > 0: katjaQW['know_Pirced_tongue'] = 1 & killvar 'KatjaKnowPirsA'
  903. if katschoolsex > 0: katjaQW['school_sex'] = 1 & killvar 'katschoolsex'
  904. if katja_disco_Foto > 0: katjaQW['disco_Foto'] = 1 & killvar 'katja_disco_Foto'
  905. if meynoldQW = 3: katjaQW['drunk_help'] = 1 & killvar 'meynoldQW'
  906. if katja_disco_end > 0: katjaQW['no_panties_at_disco'] = 1 & killvar 'katja_disco_end'
  907. if KatjaOhrenet > 0: KatjaQW['sex_in_the_park_comment'] = KatjaOhrenet & killvar 'KatjaOhrenet'
  908. if flag_start_parc > 0: katjaQW['school_kiss'] = flag_start_parc & killvar 'flag_start_parc'
  909. end
  910. !!------------------------------------------------------------------------------------------------------!!
  911. !! !!Version 0.8.5!! !!
  912. !!------------------------------------------------------------------------------------------------------!!
  913. if temp_current_save_version < 00080500:
  914. if $loc = 'dorm': $loc = 'uni_dorm' & $menu_loc = 'uni_dorm'
  915. if $loc = 'HotelWork': $loc = 'hotel_work' & $menu_loc = 'hotel_work'
  916. if $loc = 'ParChurch': $loc = 'pav_church' & $menu_loc = 'pav_church'
  917. if $loc = 'pav_train': $loc = 'pav_market' & $menu_loc = 'pav_market'
  918. if $loc = 'univer': $loc = 'uni_admin' & $menu_loc = 'uni_admin'
  919. if $loc = 'youplace': $loc = 'city_mansion_entrance' & $menu_loc = 'city_mansion_entrance'
  920. if $loc = 'ykamin': $loc = 'city_mansion_residence_2' & $loc_arg='ylounge' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylounge'
  921. if $loc = 'ykuh': $loc = 'city_mansion_residence_1' & $loc_arg='ykitchen' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ykitchen'
  922. if $loc = 'ydet': $loc = 'city_mansion_residence_2' & $loc_arg='ynursery' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ynursery'
  923. if $loc = 'ybib': $loc = 'city_mansion_residence_2' & $loc_arg='ylibrary' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylibrary'
  924. if $loc = 'ybedr': $loc = 'city_mansion_residence_1' & $loc_arg='ybedroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybedroom'
  925. if $loc = 'ybass': $loc = 'city_mansion_residence_3' & $loc_arg='ypool' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ypool'
  926. if $loc = 'yban': $loc = 'city_mansion_residence_3' & $loc_arg='ysauna' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ysauna'
  927. if $loc = 'yvan': $loc = 'city_mansion_residence_1' & $loc_arg='ybathroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybathroom'
  928. if $loc = 'ymans': $loc = 'city_mansion_residence_1' & $loc_arg='yfoyer' & $menu_loc ='city_mansion_residence_1' & $menu_arg='yfoyer'
  929. if $loc = 'yzal': $loc = 'city_mansion_residence_2' & $loc_arg='yliving' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yliving'
  930. if $loc = 'ysport': $loc = 'city_mansion_residence_3' & $loc_arg='ygym' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ygym'
  931. if $loc = 'ykabinet': $loc = 'city_mansion_residence_2' & $loc_arg='yoffice' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yoffice'
  932. !!updater for sports clothing variable to unify it and fix bug
  933. i = 1
  934. :danilovichfix
  935. if danilovich[i] = 1:
  936. danilovich_outfits[i] = 1
  937. danilovich_outfits_s[i] = danilovich_s[i]
  938. danilovich_outfits_h[i] = danilovich_h[i]
  939. danilovich_outfits_b[i] = danilovich_b[i]
  940. end
  941. i += 1
  942. if i <= 170: jump 'danilovichfix'
  943. killvar 'danilovich'
  944. killvar 'danilovich_s'
  945. killvar 'danilovich_h'
  946. killvar 'danilovich_b'
  947. !! New setting for gaping time per stage in minutes that can be made user definable
  948. if agape[4] = 0: agape[4] = 10
  949. if vgape[4] = 0: vgape[4] = 10
  950. end
  951. !!------------------------------------!!Version 0.8.5.2!!-----------------------------------------------!!
  952. if temp_current_save_version < 00080502:
  953. i = 0
  954. :saveupdaterloop852_1
  955. $text = 'C' + str(i)
  956. temp1 = func('shortgs', 'get_me_index', '$npc_firstname', $text)
  957. if temp1 >= 0: $npc_index[$text] = $text
  958. i += 1
  959. if i < carraynumber: jump 'saveupdaterloop852_1'
  960. i = 0
  961. :saveupdaterloop852_2
  962. $text = 'B' + str(i)
  963. temp1 = func('shortgs', 'get_me_index', '$npc_firstname', $text)
  964. if temp1 >= 0: $npc_index[$text] = $text
  965. i += 1
  966. if i < barraynumber: jump 'saveupdaterloop852_2'
  967. end
  968. !!------------------------------------!!Version 0.8.5.3!!-----------------------------------------------!!
  969. if temp_current_save_version < 00080503:
  970. i = 0
  971. :saveupdaterloop853_1
  972. if npc_grupTipe['A<<i>>'] = 5:
  973. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_outcast_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  974. elseif npc_grupTipe['A<<i>>'] = 4:
  975. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_gopnik_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  976. elseif npc_grupTipe['A<<i>>'] = 3:
  977. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_nerd_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  978. elseif npc_grupTipe['A<<i>>'] = 2:
  979. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  980. elseif npc_grupTipe['A<<i>>'] = 1:
  981. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_coolkid_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  982. end
  983. i += 1
  984. if i < 250: jump 'saveupdaterloop853_1'
  985. if hotelroom1day ! 0:
  986. hotelRoomDays['pav_hotel'] = hotelroom1day
  987. hotelRoom['pav_hotel'] = hotelroom
  988. killvar 'hotelroom1day'
  989. hotelroom = 0
  990. end
  991. end
  992. !!------------------------------------!!Version 0.8.5.4!!-----------------------------------------------!!
  993. if temp_current_save_version < 00080504:
  994. !!Christinas chat have to stay in the jocks file even if she is an outcast
  995. $npcGoSchool['A18'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A18']) + '''"><<$npc_usedname["A18"]>></a>'
  996. if storyline = 1 and MagikDostup = 1:
  997. $start_type = 'sg'
  998. $start_type[1] = 'nomagic'
  999. elseif $start_type = 'csb':
  1000. $start_type = 'sg_tg'
  1001. $start_type[1] = 'tg'
  1002. elseif storyline = 1:
  1003. $start_type = 'sg_m'
  1004. elseif MagikDostup = 1:
  1005. $start_type = 'city'
  1006. $start_type[1] = 'nomagic'
  1007. else
  1008. $start_type = 'city_tg'
  1009. $start_type[1] = 'tg'
  1010. end
  1011. end
  1012. !!------------------------------------------------------------------------------------------------------!!
  1013. !! !!Version 0.8.6!! !!
  1014. !!------------------------------------------------------------------------------------------------------!!
  1015. !!------------------------------------!!Version 0.8.6.1!!-----------------------------------------------!!
  1016. if temp_current_save_version < 00080601:
  1017. if pcs_skin < 150: pcs_skin = 7 * pcs_skin
  1018. gs 'body', 'Update_Body'
  1019. gs 'body', 'DailyUpdate'
  1020. gs 'stat'
  1021. end
  1022. !!------------------------------------------------------------------------------------------------------!!
  1023. !! !!Version 0.8.7!! !!
  1024. !!------------------------------------------------------------------------------------------------------!!
  1025. if temp_current_save_version < 00080700:
  1026. !!name fix from kats to cats
  1027. i = 1
  1028. :loopcatsbrassave
  1029. if kats_bras[i] = 1:
  1030. cats_brasS[i] = kats_brasS[i]
  1031. cats_bras[i] = kats_bras[i]
  1032. end
  1033. i += 1
  1034. if i <= ARRSIZE('kats_bras'): jump 'loopcatsbrassave'
  1035. killvar 'kats_brasS'
  1036. killvar 'kats_bras'
  1037. i = 1
  1038. :loopcatspantiessave
  1039. if kats_panties[i] = 1:
  1040. cats_pantiesS[i] = kats_pantiesS[i]
  1041. cats_panties[i] = kats_panties[i]
  1042. end
  1043. i += 1
  1044. if i <= ARRSIZE('kats_panties'): jump 'loopcatspantiessave'
  1045. killvar 'kats_pantiesS'
  1046. killvar 'kats_panties'
  1047. !!Christina variable update
  1048. if AvelinaQW['encourage'] = 1: AvelinaQW['encourage'] = 0
  1049. if lariskaQwestDay < 0 or lariskaQwestDay > 0: killvar 'lariskaQwestDay'
  1050. if LariskaQW['LariskaHelp'] < 0 or LariskaQW['LariskaHelp'] > 0: LariskaQW['LariskaHelp'] = 0
  1051. if LariskaQW['LariskaHelpEnd'] = 1: LariskaQW['LariskaHelpEnd'] = 0
  1052. if npc_grupTipe['A18'] = 5: npc_grupTipe['A18'] = 2
  1053. if christinaQW['dompath'] >= 1:
  1054. if christinaQW['dompath'] >= 6:
  1055. christinaQW['fight'] = 1
  1056. christinaQW['dompath'] = 0
  1057. else
  1058. christinaQW['dompath'] = 0
  1059. end
  1060. end
  1061. if christinaQW['set_bully'] = 0:
  1062. if (christinaQW['blackmail'] > 0 or christinaQW['pre_bm'] > 0 or christinaQW['pre_fight'] > 0 or christinaQW['fight'] > 0) and christinaQW['set_bully'] = 0:
  1063. christinaQW['set_bully'] = 1
  1064. christinaQW['bully'] = 40
  1065. end
  1066. if christinaQW['subpath'] > 0:
  1067. christinaQW['set_bully'] = 1
  1068. christinaQW['bully'] = 60
  1069. end
  1070. end
  1071. !!Schedule migrated to the array, no need to change first
  1072. killvar 'chrisloc'
  1073. killvar 'lariloc'
  1074. killvar 'anyaloc'
  1075. killvar 'kolloc'
  1076. killvar 'sdadloc'
  1077. killvar 'father_go'
  1078. killvar 'momloc'
  1079. killvar 'momclean1'
  1080. killvar 'momclean2'
  1081. if mother_go > 0:
  1082. locat['Mom_cafe_sex'] = mother_go
  1083. end
  1084. killvar 'm_day'
  1085. killvar 'mother_go'
  1086. killvar 'ocpd_room'
  1087. if indorf > 0:
  1088. locat['Fam_inGad'] = indorf
  1089. end
  1090. if indorf_month = month:
  1091. locat['Fam_month_inGad'] = indorf_month
  1092. end
  1093. if dostupindorf > 0:
  1094. locat['Fam_set_month_inGad'] = dostupindorf
  1095. end
  1096. killvar 'indorf'
  1097. killvar 'indorf_month'
  1098. killvar 'dostupindorf'
  1099. if sister_indorf > 0:
  1100. locat['Anya_Gad'] = sister_indorf
  1101. end
  1102. if sister_opr_indorf > 0:
  1103. locat['Anya_check_Gad'] = sister_opr_indorf
  1104. end
  1105. killvar 'sister_indorf'
  1106. killvar 'sister_opr_indorf'
  1107. if workKafe = 1:
  1108. workKafe = 0
  1109. workKafe['job'] = 1
  1110. end
  1111. if moisturiser['time'] > 0:
  1112. moisturiser_time = moisturiser['time']
  1113. gs 'shortgs', 'remove_array_element', '<<moisturiser>>', 'time'
  1114. end
  1115. end
  1116. killvar 'hypnoHairStyle'
  1117. if mod_list > 0:
  1118. mod_i = 1
  1119. :mod_data_updater
  1120. if $mod_name[mod_i] ! '':
  1121. $mod_su_name = 'mod_<<$mod_name[mod_i]>>_saveupdater'
  1122. if LOC($mod_su_name): gs $mod_su_name
  1123. end
  1124. if mod_list > mod_i:
  1125. mod_i += 1
  1126. jump 'mod_data_updater'
  1127. end
  1128. killvar '$mod_su_name'
  1129. killvar 'mod_i'
  1130. end
  1131. !!------------------------------------------------------------------------------------------------------!!
  1132. !! !!Version 0.8.8!! !!
  1133. !!------------------------------------------------------------------------------------------------------!!
  1134. if temp_current_save_version < 00080800:
  1135. !!update base appearance to the new calculation
  1136. gs 'body', 'Update_Appearance'
  1137. gs 'AppearanceSystem'
  1138. if $wloc = 'default': $wloc = 'default1'
  1139. !! new teeth variables
  1140. if pcs_teeth >= 0:
  1141. pcs_missing_teeth = pcs_teeth
  1142. pcs_teeth = 0
  1143. end
  1144. !! udate of Artem quest variables to an array.
  1145. if artembj > 0: artemQW['bj'] = artembj & killvar 'artembj'
  1146. if artemsex > 0: artemQW['sex'] = artemsex & killvar 'artemsex'
  1147. if artemanal > 0: artemQW['anal'] = artemanal & killvar 'artemanal'
  1148. if artemhj > 0: artemQW['hj'] = artemhj & killvar 'artemhj'
  1149. if artembrokenheart > 0: artemQW['brokenheart'] = artembrokenheart & killvar 'artembrokenheart'
  1150. if artemStripSee > 0: artemQW['stripsee'] = artemStripSee & killvar 'artemStripSee'
  1151. if artemlove > 0: artemQW['artemlove'] = artemlove & killvar 'artemlove'
  1152. if artemblok > 0: artemQW['artemblok'] = artemblok & killvar 'artemblok'
  1153. if artembf > 0: artemQW['bf'] = artembf & killvar 'artembf'
  1154. if artdryhump > 0: artemQW['dryhump'] = artdryhump & killvar 'artdryhump'
  1155. if artlie > 0: artemQW['artlie'] = artlie & killvar 'artlie'
  1156. if artfall > 0: artemQW['artfall'] = artfall & killvar 'artfall'
  1157. if artdate > 0: artemQW['date'] = artdate & killvar 'artdate'
  1158. if artdim > 0: artemQW['dimka'] = artdim & killvar 'artdim'
  1159. if artslutlove > 0: artemQW['slutlove'] = artslutlove & killvar 'artslutlove'
  1160. if artsveslut > 0: artemQW['sveslut'] = artsveslut & killvar 'artsveslut'
  1161. if metArtemMom > 0: artemQW['metArtemMom'] = metArtemMom & killvar 'metArtemMom'
  1162. if artdimhelp > 0: artemQW['dimkahelp'] = artdimhelp & killvar 'artdimhelp'
  1163. !! update Julia to an array
  1164. if JulMilBestFrend > 0: juliaQW['JulMilBestFrend'] = JulMilBestFrend & killvar 'JulMilBestFrend'
  1165. if eatJulMilDay: juliaQW['eatJulMilDay'] = eatJulMilDay & killvar 'eatJulMilDay'
  1166. if SexTalkJulia: juliaQW['SexTalkJulia'] = SexTalkJulia & killvar 'SexTalkJulia'
  1167. if BeInJulMilHome: juliaQW['home_unlocked'] = BeInJulMilHome & killvar 'BeInJulMilHome'
  1168. if JuliaMilLernQW: juliaQW['study_unlocked'] = JuliaMilLernQW & killvar 'JuliaMilLernQW'
  1169. end
  1170. !!------------------------------------!!Version 0.8.8.2!!-----------------------------------------------!!
  1171. if temp_current_save_version < 00080802:
  1172. !!--------------------------------------------------------------------
  1173. !! Prostitution related changes
  1174. !!--------------------------------------------------------------------
  1175. !! Gadukino prostitution
  1176. gs 'prostitution_functions', 'set_gadukion_prostitute'
  1177. !! Anuahka''s variables put in an array.
  1178. if anushkaFirstvisit > 0: anushkaQW['first_visit'] = anushkaFirstvisit & killvar 'anushkaFirstvisit'
  1179. if Anush_lunch > 0: anushkaQW['lunch'] = Anush_lunch & killvar 'Anush_lunch'
  1180. if nush_model > 0: anushkaQW['model'] = nush_model & killvar 'nush_model'
  1181. if foto_anush_referral > 0: anushkaQW['model_referral'] = foto_anush_referral & killvar 'foto_anush_referral'
  1182. if AnushkaCompUse > 0: anushkaQW['computer_use'] = AnushkaCompUse & killvar 'AnushkaCompUse'
  1183. if marspyknow > 0: anushkaQW['marspyknow'] = marspyknow & killvar 'marspyknow'
  1184. if nushstrapanalpain > 0: anushkaQW['strapon_anal_pain'] = nushstrapanalpain & killvar 'nushstrapanalpain'
  1185. if nushstrapon > 0: anushkaQW['strapon'] = nushstrapon & killvar 'nushstrapon'
  1186. if domnush > 0: anushkaQW['dom_nush'] = domnush & killvar 'domnush'
  1187. if seenEd > 0: anushkaQW['seen_ed'] = seenEd & killvar 'seenEd'
  1188. if valeriaIntroduced > 0: anushkaQw['valeria_introduced'] = valeriaIntroduced & killvar 'valeriaIntroduced'
  1189. if showerphotos > 0: anushkaQW['shower_photos'] = showerphotos & killvar 'showerphotos'
  1190. if anushka_tv_day > 0: anushkaQW['tv_day'] = anushka_tv_day & killvar 'anushka_tv_day'
  1191. if anushka_shower_day > 0: anushkaQW['shower_day'] = anushka_shower_day & killvar 'anushka_shower_day'
  1192. if AnushkaHomeDay > 0: anushkaQW['home_day'] = AnushkaHomeDay & killvar 'AnushkaHomeDay'
  1193. if nush_photoshoot > 0: anushkaQW['photoshoot'] = nush_photoshoot & killvar 'nush_photoshoot'
  1194. if NushVsNiko > 0: anushkaQW['vs_niko'] = NushVsNiko & killvar 'NushVsNiko'
  1195. if nushaboutalyona > 0: anushkaQW['about_alyona'] = nushaboutalyona & killvar 'nushaboutalyona'
  1196. if valspy > 0: anushkaQW['valspy'] = valspy & killvar 'valspy'
  1197. if radnushdate > 0: anushkaQW['rad_date'] = radnushdate & killvar 'radnushdate'
  1198. if radspy > 0: anushkaQW['radspy'] = radspy & killvar ' radspy'
  1199. if nushfedor3s > 0: anushkaQW['fedor_3some'] = nushfedor3s & killvar 'nushfedor3s'
  1200. if Anush_sex > 0: anushkaQW['sex'] = Anush_sex & killvar 'Anush_sex'
  1201. if Anush_dolls > 0: anushkaQW['dolls'] = Anush_dolls & killvar 'Anush_dolls'
  1202. if anushka_toilet > 0: anushkaQW['toilet'] = anushka_toilet & killvar 'anushka_toilet'
  1203. if marspy > 0: anushkaQW['marspy'] = marspy & killvar 'marspy'
  1204. if bandpracticeinvite > 0: gopnikbandQW['practice_invite'] = bandpracticeinvite & killvar 'bandpracticeinvite'
  1205. end
  1206. !!------------------------------------!!Version 0.8.8.2!!-----------------------------------------------!!
  1207. if temp_current_save_version < 00080804:
  1208. !!--------------------------------------------------------------------
  1209. !! Homes, Properties and Internet Update
  1210. !!--------------------------------------------------------------------
  1211. !! Transferring the owned, rented, accessible properties
  1212. ! city apartment
  1213. if home_owned[1] = 1 or owned_property['city_apartment'] = 1:
  1214. gs 'homes_properties', 'rent_property', 'city_apartment', ArendHouseSL
  1215. elseif home_owned[1] = 2 or owned_property['city_apartment'] = 2:
  1216. gs 'homes_properties', 'buy_property', 'city_apartment'
  1217. elseif home_owned[1] = 3 or owned_property['city_apartment'] = 3:
  1218. gs 'homes_properties', 'tenants_move_in', 'city_apartment', sdaday, sdamonth
  1219. end
  1220. !! Checking for renovation
  1221. if home_owned[1] > 0 or owned_property['city_apartment'] = 1:
  1222. if rembedr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'bedroom'
  1223. if remsitr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'living room'
  1224. if remkorr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'hallway'
  1225. if remvanr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'bathroom'
  1226. if remkuhr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'kitchen'
  1227. end
  1228. ! parents home
  1229. if home_owned[2] > 0 or owned_property['parents_home'] > 0: gs 'homes_properties', 'give_access', 'parents_home'
  1230. ! cottage in the village
  1231. if home_owned[3] > 0 or owned_property['village_cottage'] > 0: gs 'homes_properties', 'buy_property', 'village_cottage'
  1232. if home_owned[3] > 1 or owned_property['village_cottage-renovated'] = 1: gs 'homes_properties', 'renovate_property', 'village_cottage', 200000
  1233. ! Pushking old town apartment
  1234. if home_owned[4] = 1 or owned_property['old_town_apartment'] = 1: gs 'homes_properties', 'rent_property', 'old_town_apartment', ArendHouseSL4
  1235. ! Matryona mansion
  1236. if home_owned[5] > 0 or owned_property['matryona_mansion'] > 0: gs 'homes_properties', 'buy_property', 'matryona_mansion'
  1237. if home_owned[5] > 1 or owned_property['matryona_mansion-construction-status'] = 1: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1238. if home_owned[5] > 2 or owned_property['matryona_mansion-construction-status'] = 2: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1239. ! Pavlovsk hotel room
  1240. if home_owned[6] > 0 or owned_property['pavlovsk_hotel'] > 0: gs 'homes_properties', 'give_access', 'pavlovsk_hotel'
  1241. ! Live in maid bedroom
  1242. if home_owned[7] > 0 or owned_property['maid_bedroom'] > 0: gs 'homes_properties', 'give_access', 'maid_bedroom'
  1243. ! Niko apartment
  1244. if home_owned[8] > 0 or owned_property['niko_apartment'] > 0: gs 'homes_properties', 'give_access', 'niko_apartment'
  1245. ! Shulga apartment
  1246. if home_owned[9] > 0 or owned_property['shulga_apartment'] > 0: gs 'homes_properties', 'give_access', 'shulga_apartment'
  1247. ! Lyceum dorm room
  1248. if home_owned[10] > 0 or owned_property['lyceum_dorm'] > 0: gs 'homes_properties', 'give_access', 'lyceum_dorm'
  1249. ! University dorm room
  1250. if home_owned[11] > 0 or owned_property['university_dorm'] > 0: gs 'homes_properties', 'give_access', 'university_dorm'
  1251. ! Hunters lodge
  1252. if home_owned[12] > 0 or owned_property['hunters_lodge'] > 0: gs 'homes_properties', 'give_access', 'hunters_lodge'
  1253. ! Shared apartment in Pavlovsk
  1254. if home_owned[13] > 0 or owned_property['shared_apartment'] > 0: gs 'homes_properties', 'give_access', 'shared_apartment'
  1255. ! Grandparents house
  1256. if home_owned[14] > 0 or owned_property['grandparents_house'] > 0: gs 'homes_properties', 'give_access', 'grandparents_house'
  1257. ! City residential house
  1258. if home_owned[15] > 0 or owned_property['city_house'] > 0: gs 'homes_properties', 'buy_property', 'city_house'
  1259. ! Meynold household
  1260. if home_owned[16] > 0 or owned_property['meynold_household'] > 0: gs 'homes_properties', 'give_access', 'meynold_household'
  1261. !! Setting the current home and fixing potential missing access issues
  1262. if curr_home > 0 and $home['current'] = '':
  1263. gs 'homes_properties', 'set_home', '', STR(curr_home)
  1264. end
  1265. if $home['current'] = 'parents_home' and accessible_property['parents_home'] = 0:
  1266. gs 'homes_properties', 'give_access', 'parents_home'
  1267. end
  1268. killvar 'home_owned'
  1269. killvar 'curr_home'
  1270. killvar 'ArendHouseSL' & killvar 'ArendHouseSL4'
  1271. killvar 'home_rent_txt'
  1272. killvar 'home_value' & killvar 'home_value_txt'
  1273. killvar 'sdaday' & killvar 'sdamonth'
  1274. killvar 'owned_property'
  1275. if $home['current'] = '':
  1276. if mid($start_type, 1, 2) = 'sg':
  1277. gs 'homes_properties', 'give_access', 'parents_home'
  1278. gs 'homes_properties', 'set_home', 'parents_home'
  1279. elseif mid($start_type, 1, 4) = 'city':
  1280. gs 'homes_properties', 'give_access', 'city_apartment'
  1281. gs 'homes_properties', 'set_home', 'city_apartment'
  1282. elseif mid($start_type, 1, 3) = 'uni':
  1283. gs 'homes_properties', 'give_access', 'university_dorm'
  1284. gs 'homes_properties', 'set_home', 'university_dorm'
  1285. end
  1286. end
  1287. !! Setting the internet
  1288. if internet > 0:
  1289. old_internet_value = 10*internet
  1290. if $home['internet_enabled'] = 1:
  1291. gs 'internet_mobile', 'buy_subscription', $home['current'], 900
  1292. if (old_internet_value - 900) >= 0: money += (old_internet_value - 900)
  1293. else
  1294. if old_internet_value >= 1200:
  1295. gs 'internet_mobile', 'buy_subscription', 'mobile', 1200
  1296. if (old_internet_value - 1200) > 0: money += (old_internet_value - 1200)
  1297. else
  1298. gs 'internet_mobile', 'top_up_metered', 'metered_mobile', internet * 60
  1299. end
  1300. end
  1301. killvar 'internet'
  1302. end
  1303. !! Setting the mobile phone calls and texts
  1304. if balans > 0:
  1305. if (balans - 800) >= 0:
  1306. gs 'internet_mobile', 'buy_subscription', 'monthly_calls', 800
  1307. money += (balans - 800)
  1308. else
  1309. if balans >= 225:
  1310. temp_phone_mult = balans / 225
  1311. temp_phone_rem = balans mod 225
  1312. new_balans = temp_phone_mult * 240
  1313. gs 'internet_mobile', 'top_up_metered', 'metered_calls', new_balans
  1314. if temp_phone_rem > 0: money += temp_phone_rem
  1315. elseif balans >= 170:
  1316. temp_phone_rem = balans mod 170
  1317. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 180
  1318. if temp_phone_rem > 0: money += temp_phone_rem
  1319. elseif balans >= 115:
  1320. temp_phone_rem = balans mod 115
  1321. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 120
  1322. if temp_phone_rem > 0: money += temp_phone_rem
  1323. elseif balans >= 60:
  1324. temp_phone_rem = balans mod 60
  1325. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 60
  1326. if temp_phone_rem > 0: money += temp_phone_rem
  1327. else
  1328. gs 'internet_mobile', 'top_up_metered', 'metered_calls', balans
  1329. end
  1330. end
  1331. killvar 'balans' & killvar 'temp_phone_rem' & killvar 'temp_phone_mult' & killvar 'new_balans'
  1332. end
  1333. !! ------------ NPC Stat Updater ------------------------
  1334. if $ARGS[0] = 'npc_stat_update':
  1335. if npc_start_free_time[$boy] = 0 or npc_day_off[$boy] = 0:
  1336. if npc_finance[$boy] = 0:
  1337. if rand(1,3) = 1:
  1338. npc_start_free_time[$boy] = 9
  1339. npc_end_free_time[$boy] = 12
  1340. elseif rand(1,2) = 1:
  1341. npc_start_free_time[$boy] = 16
  1342. npc_end_free_time[$boy] = 20
  1343. else
  1344. npc_start_free_time[$boy] = 20
  1345. npc_end_free_time[$boy] = 23
  1346. end
  1347. elseif npc_finance[$boy] = 1:
  1348. if rand(1,2) = 1:
  1349. npc_start_free_time[$boy] = 9
  1350. npc_end_free_time[$boy] = 12
  1351. else
  1352. npc_start_free_time[$boy] = 20
  1353. npc_end_free_time[$boy] = 23
  1354. end
  1355. elseif npc_finance[$npclastgenerated] = 2:
  1356. npc_apt_type[$npclastgenerated] = 5
  1357. !!npc_apt_type[$npclastgenerated] = rand(5,6)
  1358. !! apt_type 6 is disabled until pictures are added
  1359. npc_occupation[$npclastgenerated] = rand(14,18)
  1360. npc_car[$npclastgenerated] = rand(0,1)
  1361. end
  1362. npc_day_off = rand(1,7)
  1363. end
  1364. end
  1365. end
  1366. !!------------------------------------------------------------------------------------------------------!!
  1367. !! !!Version 0.8.9!! !!
  1368. !!------------------------------------------------------------------------------------------------------!!
  1369. if temp_current_save_version < 00080900:
  1370. if $wardrobeDefaultPagePref = 'savedOutfits':$wardrobeDefaultPagePref = 'default1'
  1371. if nichTanyaKnown = 1:
  1372. nichTanya['Known'] = nichTanyaKnown & killvar 'nichTanyaKnown'
  1373. nichTanya['Relationship'] = nichTanyaRelationship & killvar 'nichTanyaRelationship'
  1374. nichTanya['RelationshipState'] = nichTanyaRelationshipState & killvar 'nichTanyaRelationshipState'
  1375. nichTanya['RelationshipBreakup'] = nichTanyaRelationshipBreakup & killvar 'nichTanyaRelationshipBreakup'
  1376. nichTanya['BF'] = nichTanyaBF & killvar 'nichTanyaBF'
  1377. nichTanya['Date'] = nichTanyaDate & killvar 'nichTanyaDate'
  1378. nichTanya['DateCounter'] = nichTanyaDateCounter & killvar 'nichTanyaDateCounter'
  1379. nichTanya['DateLast'] = nichTanyaDateLast & killvar 'nichTanyaDateLast'
  1380. nichTanya['DateShopping'] = nichTanyaDateShopping & killvar 'nichTanyaDateShopping'
  1381. nichTanya['FuckCounter'] = nichTanyaFuckCounter & killvar 'nichTanyaFuckCounter'
  1382. nichTanya['FuckLast'] = nichTanyaFuckLast & killvar 'nichTanyaFuckLast'
  1383. nichTanya['FuckToday'] = nichTanyaFuckToday & killvar 'nichTanyaFuckToday'
  1384. nichTanya['FuckPositions'] = nichTanyaFuckPositions & killvar 'nichTanyaFuckPositions'
  1385. nichTanya['Strapon'] = nichTanyaStrapon & killvar 'nichTanyaStrapon'
  1386. nichTanya['Dominance'] = nichTanyaDominance & killvar 'nichTanyaDominance'
  1387. nichTanya['Uni'] = nichTanyaUni & killvar 'nichTanyaUni'
  1388. nichTanya['UniStart'] = nichTanyaUniStart & killvar 'nichTanyaUniStart'
  1389. nichTanya['Room'] = nichTanyaRoom & killvar 'nichTanyaRoom'
  1390. nichTanya['PropSex'] = nichTanyaPropSex & killvar 'nichTanyaPropSex'
  1391. nichTanya['PropDate'] = nichTanyaPropDate & killvar 'nichTanyaPropDate'
  1392. killvar 'nichTanyaBFState'
  1393. killvar 'nichTanyaFuckDom'
  1394. killvar 'nichTanyaFuckSub'
  1395. end
  1396. end
  1397. !!------------------------------------!!Version 0.8.9.1!!-----------------------------------------------!!
  1398. if temp_current_save_version < 00080901:
  1399. if $wardrobeDefaultPagePref = 'savedOutfits':$wardrobeDefaultPagePref = 'default1'
  1400. i = 0
  1401. :loopboutiquepanties
  1402. i += 1
  1403. if boutique_panties[i] = 1:
  1404. dynamic 'lusso_panties[i] = 1'
  1405. dynamic 'lusso_pantiesS[i] = boutique_pantiesS[i]'
  1406. end
  1407. if i <= ARRSIZE('boutique_panties'): jump 'loopboutiquepanties'
  1408. killvar 'boutique_panties'
  1409. i = 0
  1410. :loopboutiquebras
  1411. i += 1
  1412. if boutique_bras[i] = 1:
  1413. dynamic 'lusso_bras[i] = 1'
  1414. dynamic 'lusso_brasS[i] = boutique_brasS[i]'
  1415. end
  1416. if i <= ARRSIZE('boutique_bras'): jump 'loopboutiquebras'
  1417. killvar 'boutique_bras'
  1418. i = 0
  1419. :loopcheappanties
  1420. i += 1
  1421. if cheap_panties[i] = 1:
  1422. dynamic 'gm_panties[i] = 1'
  1423. dynamic 'gm_pantiesS[i] = cheap_pantiesS[i]'
  1424. end
  1425. if i <= ARRSIZE('cheap_panties'): jump 'loopcheappanties'
  1426. killvar 'cheap_panties'
  1427. i = 0
  1428. :loopcheapbras
  1429. i += 1
  1430. if cheap_bras[i] = 1:
  1431. dynamic 'gm_bras[i] = 1'
  1432. dynamic 'gm_brasS[i] = cheap_brasS[i]'
  1433. end
  1434. if i <= ARRSIZE('cheap_bras'): jump 'loopcheapbras'
  1435. killvar 'cheap_bras'
  1436. i = 0
  1437. :loopexhibitionistpanties
  1438. i += 1
  1439. if exhibitionist_panties[i] = 1:
  1440. dynamic 'salacious_panties[i] = 1'
  1441. dynamic 'salacious_pantiesS[i] = exhibitionist_pantiesS[i]'
  1442. end
  1443. if i <= ARRSIZE('exhibitionist_panties'): jump 'loopexhibitionistpanties'
  1444. killvar 'exhibitionist_panties'
  1445. i = 0
  1446. :loopexhibitionistbras
  1447. i += 1
  1448. if exhibitionist_bras[i] = 1:
  1449. dynamic 'salacious_bras[i] = 1'
  1450. dynamic 'salacious_brasS[i] = exhibitionist_brasS[i]'
  1451. end
  1452. if i <= ARRSIZE('exhibitionist_bras'): jump 'loopexhibitionistbras'
  1453. killvar 'exhibitionist_bras'
  1454. i = 0
  1455. :loopsexshoppanties
  1456. i += 1
  1457. if sexshop_panties[i] = 1:
  1458. dynamic 'eroto_panties[i] = 1'
  1459. dynamic 'eroto_pantiesS[i] = sexshop_pantiesS[i]'
  1460. end
  1461. if i <= ARRSIZE('sexshop_panties'): jump 'loopsexshoppanties'
  1462. killvar 'sexshop_panties'
  1463. i = 0
  1464. :loopsexshopbras
  1465. i += 1
  1466. if sexshop_bras[i] = 1:
  1467. dynamic 'eroto_bras[i] = 1'
  1468. dynamic 'eroto_brasS[i] = sexshop_brasS[i]'
  1469. end
  1470. if i <= ARRSIZE('sexshop_bras'): jump 'loopsexshopbras'
  1471. killvar 'sexshop_bras'
  1472. i = 0
  1473. :loopsportpanties
  1474. i += 1
  1475. if sport_panties[i] = 1:
  1476. dynamic 'danilovich_panties[i] = 1'
  1477. dynamic 'danilovich_pantiesS[i] = sport_pantiesS[i]'
  1478. end
  1479. if i <= ARRSIZE('sport_panties'): jump 'loopsportpanties'
  1480. killvar 'sport_panties'
  1481. i = 0
  1482. :loopsportbras
  1483. i += 1
  1484. if sport_bras[i] = 1:
  1485. dynamic 'danilovich_bras[i] = 1'
  1486. dynamic 'danilovich_brasS[i] = sport_brasS[i]'
  1487. end
  1488. if i <= ARRSIZE('sport_bras'): jump 'loopsportbras'
  1489. killvar 'sport_bras'
  1490. if metmira = 1: npc_known['A60'] = 1 & killvar 'metmira'
  1491. end
  1492. !!------------------------------------!!Version 0.8.8.2!!-----------------------------------------------!!
  1493. if temp_current_save_version < 00080903:
  1494. if $wardrobeDefaultPagePref = 'savedOutfits': $wardrobeDefaultPagePref = 'default1'
  1495. if mid($start_type,1,4) = 'city' or $start_type = 'uni':
  1496. gs 'homes_properties', 'give_access', 'parents_home'
  1497. SchoolAtestat = 1
  1498. end
  1499. if teh > 0:
  1500. car['new_condition'] = tehcar
  1501. car['current_condition'] = teh
  1502. killvar 'teh'
  1503. killvar 'tehcar'
  1504. end
  1505. i = 0
  1506. :loopboys
  1507. if $npc_rel_type[i] ! '':$npc_rel_type[i] = 'fuckbuddy'
  1508. i += 1
  1509. if i <= ARRSIZE('$boys'): jump 'loopboys'
  1510. if traits > 0 or trait > 0:
  1511. pcs_traits['nerd_status'] = traits['nerd_status']
  1512. pcs_traits['alko_status'] = traits['alko_status']
  1513. pcs_traits['alko_points'] = traits['alko_points']
  1514. pcs_traits['buttslut_lvl'] = traits['buttslut_lvl']
  1515. pcs_traits['buttslut_exp'] = traits['buttslut_exp']
  1516. pcs_traits['nerd_lernHome'] = traits['nerd_lernHome']
  1517. pcs_traits['nerd_points'] = traits['nerd_points']
  1518. pcs_traits['nerd_lessons'] = traits['nerd_lessons']
  1519. pcs_traits['cumeater'] = trait['cumeater']
  1520. pcs_traits['commando_lvl'] = trait['commando_lvl']
  1521. pcs_traits['commando_exp'] = trait['commando_exp']
  1522. killvar 'traits'
  1523. killvar 'trait'
  1524. end
  1525. end
  1526. !!======================================================================================================!!
  1527. !! !!
  1528. !! !!Version 0.9.0!! !!
  1529. !! !!
  1530. !!======================================================================================================!!
  1531. if temp_current_save_version < 00090000:
  1532. if photography_job >0:
  1533. photography['experience'] = photography_job & killvar 'photography_job'
  1534. end
  1535. ! Deduplication in $fuckbuddy
  1536. if arrsize('$fuckbuddy') > 0:
  1537. ! Loop over the array, check if the value already exists in the temp array. If not copy.
  1538. i_fb = 0
  1539. :loopFuckbuddies
  1540. if arrpos('$_fuckbuddies', '$fuckbuddy[i_fb]') = -1:
  1541. copyarr('$_fuckbuddies', '$fuckbuddy', i_fb, 1)
  1542. i_fb +=1
  1543. end
  1544. if i_fb < arrsize('$fuckbuddy') : jump 'loopFuckbuddies'
  1545. killvar '$fuckbuddy'
  1546. $fuckbuddy = $_fuckbuddies
  1547. killvar '$_fuckbuddies' & killvar 'i_fb'
  1548. end
  1549. if stat['virgin'] > 0:
  1550. stat['think_virgin'] = stat['virgin']
  1551. gs 'shortgs', 'remove_array_element', 'stat', 'virgin'
  1552. end
  1553. end
  1554. !!------------------------------------!!Version 0.9.0.1!!-----------------------------------------------!!
  1555. if temp_current_save_version < 00090001:
  1556. if futa > 0: shemale = futa & killvar 'futa'
  1557. if hidden_futa > 0: hidden_shemale = hidden_futa & killvar 'hidden_futa'
  1558. end
  1559. !!------------------------------------!!Version 0.9.0.3!!-----------------------------------------------!!
  1560. if temp_current_save_version < 00090003:
  1561. if $home['current'] ! '' and $home['bathroom'] = '':
  1562. gs 'homes_properties', 'set_home', $home['current']
  1563. end
  1564. !! Makeup Refactor
  1565. if makeup['base'] < 1: makeup['base'] = 1
  1566. makeup_routine_update_index = 1
  1567. :makeup_routine_update_loop
  1568. $temp_makeup_routine = str(dyneval('$result = $routine<<makeup_routine_update_index>>'))
  1569. $temp_makeup_routine_name = str(dyneval('$result = $routine<<makeup_routine_update_index>>custname'))
  1570. if $temp_makeup_routine ! '':
  1571. makeup['routine_<<makeup_routine_update_index>>_makeup'] = mid($temp_makeup_routine,1,1)
  1572. makeup['routine_<<makeup_routine_update_index>>_lipbalm'] = mid($temp_makeup_routine,2,1)
  1573. makeup['routine_<<makeup_routine_update_index>>_lashes'] = mid($temp_makeup_routine,3,1)
  1574. $makeup['routine_<<makeup_routine_update_index>>'] = $temp_makeup_routine
  1575. $makeup['routine_<<makeup_routine_update_index>>_name'] = $temp_makeup_routine_name
  1576. killvar '$routine<<makeup_routine_update_index>>'
  1577. killvar '$routine<<makeup_routine_update_index>>custname'
  1578. end
  1579. makeup_routine_update_index += 1
  1580. if makeup_routine_update_index <= 4: jump 'makeup_routine_update_loop'
  1581. killvar 'makeup_routine_update_index' & killvar '$temp_makeup_routine' & killvar '$temp_makeup_routine_name'
  1582. !! Temporary functions, can be removed once all variables are migrated, workaround for SaveUpdater not transferring data or as a quick fix.
  1583. if kosmetica > 0: mc_inventory['cosmetics'] = kosmetica & killvar 'kosmetica'
  1584. if item_moisturizer > 0: mc_inventory['moisturiser'] = item_moisturizer & killvar 'item_moisturizer'
  1585. if lipbalm > 0: mc_inventory['lipbalm'] = lipbalm & killvar 'lipbalm'
  1586. if falselashesplain > 0: mc_inventory['eyelash_fake'] = falselashesplain & killvar 'falselashesplain'
  1587. if falselashesmink > 0: mc_inventory['eyelash_mink'] = falselashesmink & killvar 'falselashesmink'
  1588. if stanok > 0: mc_inventory['razor'] = stanok & killvar 'stanok'
  1589. if krem > 0: mc_inventory['suncream'] = krem & killvar 'krem'
  1590. if deodorant > 0: mc_inventory['deodorant'] = deodorant & killvar 'deodorant'
  1591. if tampon > 0: mc_inventory['tampons'] = tampon & killvar 'tampon'
  1592. if sanpad > 0: mc_inventory['sanitary_pads'] = sanpad & killvar 'sanpad'
  1593. if shampoo > 0: mc_inventory['shampoo'] = shampoo & killvar 'shampoo'
  1594. if hscrunch > 0: mc_inventory['scrunchies'] = hscrunch & killvar 'hscrunch'
  1595. if hpingrip > 0: mc_inventory['kirbygrips'] = hpingrip & killvar 'hpingrip'
  1596. if salfetka > 0: mc_inventory['makeup_wipes'] = salfetka & killvar 'salfetka'
  1597. if mouthwash > 0: mc_inventory['mouthwash'] = mouthwash & killvar 'mouthwash'
  1598. if greben > 0: mc_inventory['comb'] = greben & killvar 'greben'
  1599. if kosmetitka > 0: mc_inventory['travel_makeup'] = kosmetitka & killvar 'kosmetitka'
  1600. if compact_mirror > 0: mc_inventory['travel_mirror'] = compact_mirror & killvar 'compact_mirror'
  1601. if eda > 0: mc_inventory['food_basic'] = eda & killvar 'eda'
  1602. if edaD > 0: mc_inventory['food_diet'] = edaD & killvar 'edaD'
  1603. if pranik > 0: mc_inventory['food_biscuits'] = pranik & killvar 'pranik'
  1604. if buterbrod > 0: mc_inventory['food_sandwich'] = buterbrod & killvar 'buterbrod'
  1605. if wine > 0: mc_inventory['food_wine'] = wine & killvar 'wine'
  1606. if bottle > 0: mc_inventory['food_water'] = bottle & killvar 'bottle'
  1607. if pregtest > 0: mc_inventory['pregnancy_test'] = pregtest & killvar 'pregtest'
  1608. if lekarstvo > 0: mc_inventory['antibiotics'] = lekarstvo & killvar 'lekarstvo'
  1609. if vitamin > 0: mc_inventory['vitamins'] = vitamin & killvar 'vitamin'
  1610. if painkiller > 0: mc_inventory['painkillers'] = painkiller & killvar 'painkiller'
  1611. if mosolmaz > 0: mc_inventory['chaffing_cream'] = mosolmaz & killvar 'mosolmaz'
  1612. if lubri > 0: mc_inventory['lubricant'] = lubri & killvar 'lubri'
  1613. if klisma > 0: mc_inventory['enema_kit'] = klisma & killvar 'klisma'
  1614. if breastpump > 0: mc_inventory['breast_pump'] = breastpump & killvar 'breastpump'
  1615. if bpbottles > 0: mc_inventory['bottle_s'] = bpbottles & killvar 'bpbottles'
  1616. if bpbottlem > 0: mc_inventory['bottle_m'] = bpbottlem & killvar 'bpbottlem'
  1617. if bpnipplebalm > 0: mc_inventory['nipple_cream'] = bpnipplebalm & killvar 'bpnipplebalm'
  1618. ! if Kandidoz > 0: mc_inventory['thrush_meds'] = Kandidoz & killvar 'Kandidoz' ! No clue what to do with this
  1619. if fatdel > 0: mc_inventory['weight_loss_pill'] = fatdel & killvar 'fatdel'
  1620. if morning_after_pill > 0: mc_inventory['morning_after_pill'] = morning_after_pill & killvar 'morning_after_pill'
  1621. if prezik > 0: mc_inventory['equipped_condoms'] = prezik & killvar 'prezik'
  1622. if prezikcount > 0: mc_inventory['normal_condoms'] = prezikcount & killvar 'prezikcount'
  1623. if preziksabo > 0: mc_inventory['sabotaged_condoms'] = preziksabo & killvar 'preziksabo'
  1624. if badprezik > 0: mc_inventory['bad_condoms'] = badprezik & killvar 'badprezik'
  1625. if tabletki > 0: mc_inventory['contraceptive_pill'] = tabletki & killvar 'tabletki'
  1626. if siga > 0: mc_inventory['cigarettes'] = siga & killvar 'siga'
  1627. if fashmag > 0: mc_inventory['mag_fashion'] = fashmag & killvar 'fashmag'
  1628. if compmag > 0: mc_inventory['mag_computer'] = compmag & killvar 'compmag'
  1629. if biomag > 0: mc_inventory['mag_biography'] = biomag & killvar 'biomag'
  1630. if cookmag > 0: mc_inventory['mag_cooking'] = cookmag & killvar 'cookmag'
  1631. if knitmag > 0: mc_inventory['mag_knitting'] = knitmag & killvar 'knitmag'
  1632. if fitmag > 0: mc_inventory['mag_fitness'] = fitmag & killvar 'fitmag'
  1633. if umbrella > 0: mc_inventory['umbrella'] = umbrella & killvar 'umbrella'
  1634. if pornMagazine > 0: mc_inventory['mag_porn'] = pornMagazine & killvar 'pornMagazine'
  1635. if vibrator > 0: mc_inventory['vibe'] = vibrator & killvar 'vibrator'
  1636. if analplug > 0: mc_inventory['buttplug'] = analplug & killvar 'analplug'
  1637. if suction_dildo > 0: mc_inventory['dildo_suction'] = suction_dildo & killvar 'suction_dildo'
  1638. if strapon > 0: mc_inventory['strapon'] = strapon & killvar 'strapon'
  1639. if dildo > 0: mc_inventory['dildo_small'] = dildo & killvar 'dildo'
  1640. if middildo > 0: mc_inventory['dildo_normal'] = middildo & killvar 'middildo'
  1641. if largedildo > 0: mc_inventory['dildo_big'] = largedildo & killvar 'largedildo'
  1642. if bigdildo > 0: mc_inventory['dildo_large'] = bigdildo & killvar 'bigdildo'
  1643. if extradildo > 0: mc_inventory['dildo_huge'] = extradildo & killvar 'extradildo'
  1644. if superdildo > 0: mc_inventory['dildo_enormous'] = superdildo & killvar 'superdildo'
  1645. if maddildo > 0: mc_inventory['dildo_gigantic'] = maddildo & killvar 'maddildo'
  1646. if skak > 0: mc_inventory['skipping_rope'] = skak & killvar 'skak'
  1647. if obruch > 0: mc_inventory['hula_hoop'] = obruch & killvar 'obruch'
  1648. if bookyog > 0: mc_inventory['book_yoga'] = bookyog & killvar 'bookyog'
  1649. if konki > 0: mc_inventory['ice_skates'] = konki & killvar 'konki'
  1650. if pcs_ski_owned > 0: mc_inventory['ski'] = pcs_ski_owned & killvar 'pcs_ski_owned'
  1651. if refillable_bottle > 0: mc_inventory['refill_bottle'] = refillable_bottle & killvar 'refillable_bottle'
  1652. if fairy > 0: mc_inventory['dish_soap'] = fairy & killvar 'fairy'
  1653. if poroshok > 0: mc_inventory['laundry_soap'] = poroshok & killvar 'poroshok'
  1654. if cltarelka > 0: mc_inventory['dish_plates'] = cltarelka & killvar 'cltarelka'
  1655. if tkan > 0: mc_inventory['sewing_fabric'] = tkan & killvar 'tkan'
  1656. if sewing_kit > 0: mc_inventory['sewing_kit'] = sewing_kit & killvar 'sewing_kit'
  1657. if TV = 1: mc_inventory['tech_tv'] = 1 & killvar 'TV'
  1658. if TV >= 2: mc_inventory['plasma_tv'] = 1 & killvar 'TV'
  1659. if mc_inventory['tech_tv'] >= 2: mc_inventory['plasma_tv'] = 1 & mc_inventory['tech_tv'] = 1
  1660. if komp > 0: mc_inventory['tech_computer'] = komp & killvar 'komp'
  1661. if GameCD2 > 0: mc_inventory['tech_game_ds'] = GameCD2 & killvar 'GameCD2'
  1662. if posudomashina > 0: mc_inventory['tech_dishwasher'] = posudomashina & killvar 'posudomashina'
  1663. if stiralka > 0: mc_inventory['tech_washing_machine'] = stiralka & killvar 'stiralka'
  1664. if zenit > 0: mc_inventory['tech_camera'] = zenit & killvar 'zenit'
  1665. if minifoto > 0: mc_inventory['tech_hidden_cam'] = minifoto & killvar 'minifoto'
  1666. if webcamera > 0: mc_inventory['tech_webcam'] = webcamera & killvar 'webcamera'
  1667. if ms_pill > 0: mc_inventory['meds_morning_sick'] = ms_pill & killvar 'ms_pill'
  1668. if preg_ball > 0: mc_inventory['preg_ball'] = preg_ball & killvar 'preg_ball'
  1669. if preg_brace > 0: mc_inventory['preg_brace'] = preg_brace & killvar 'preg_brace'
  1670. if preg_pillow > 0: mc_inventory['preg_pillow'] = preg_pillow & killvar 'preg_pillow'
  1671. ! if > 0: mc_inventory[''] = &killvar ''
  1672. !! Preferences update.
  1673. killvar 'npc_preferences'
  1674. pref_update_index = 1
  1675. :update_standard_preferences_loop
  1676. gs 'npc_standard_preferences', 'A<<pref_update_index>>'
  1677. pref_update_index += 1
  1678. if pref_update_index <= 263: jump 'update_standard_preferences_loop'
  1679. killvar 'pref_update_index'
  1680. !! policeQW
  1681. !! policeQW_courtletter_dates[]
  1682. !! policeQW_courtletter_subjects[]
  1683. !! policeQW_courthearing_dates[]
  1684. !! policeQW_courthearing_subjects[]
  1685. if shplft_booked > 0: policeQW['shoplift_booked'] = shplft_booked & killvar 'shplft_booked'
  1686. if prst_booked > 0: policeQW['prostitution_booked'] = prst_booked & killvar 'prst_booked'
  1687. if shplft_counter > 0: policeQW['shoplift_counter'] = shplft_counter & killvar 'shplft_counter'
  1688. if prst_counter > 0: policeQW['prostitution_counter'] = prost_counter & killvar 'prst_counter'
  1689. if prst_bribe > 0: policeQW['prostitution_bribe'] = prst_bribe & killvar 'prst_bribe'
  1690. if shplft_value > 0: policeQW['shoplift_value'] = shplft_value & killvar 'shplft_value'
  1691. killvar 'book_response'
  1692. if bookingofficer_rel > 0: policeQW['bookingofficer_rel'] = bookingofficer_rel & killvar 'bookingofficer_rel'
  1693. if toldonguard > 0: policeQW['toldonguard'] = toldonguard & killvar 'toldonguard'
  1694. if courtletter_date > 0:
  1695. policeQW_courtletter_dates[0] = courtletter_date & killvar 'courtletter_date'
  1696. if shplft_tmp > 0:
  1697. $policeQW_courtletter_subjects[0] = 'shoplift_<<$detec_type>>'
  1698. else
  1699. $policeQW_courtletter_subjects[0] = 'prostitution_<<$detec_type>>'
  1700. end
  1701. end
  1702. if courthearing_date > 0:
  1703. policeQW_courthearing_dates[0] = courthearing_date & killvar 'courthearing_date'
  1704. if shplft_tmp > 0:
  1705. $policeQW_courthearing_subjects[0] = 'shoplift_<<$detec_type>>'
  1706. else
  1707. $policeQW_courthearing_subjects[0] = 'prostitution_<<$detec_type>>'
  1708. end
  1709. end
  1710. killvar 'shplft_tmp'
  1711. killvar 'prst_tmp'
  1712. killvar '$detec_type'
  1713. if legal_fine > 0: policeQW['legal_fine'] = legal_fine & killvar 'legal_fine'
  1714. !! Sleep update.
  1715. killvar 'varsleep'
  1716. if bedPanty > 0: sleepVars['bedPanty'] = bedPanty & killvar 'bedPanty'
  1717. if bedAnal > 0: sleepVars['bedAnal'] = bedAnal & killvar 'bedAnal'
  1718. if bedVibrator > 0: sleepVars['bedVibrator'] = bedVibrator & killvar 'bedVibrator'
  1719. if cheatVib > 0: sleepVars['cheatVib'] = cheatVib & killvar 'cheatVib'
  1720. if notathomesleep > 0: sleepVars['notathomesleep'] = notathomesleep & killvar 'notathomesleep'
  1721. if Enable_nodream > 0: sleepVars['cheat_nodream_chance'] = Enable_nodream & killvar 'Enable_nodream'
  1722. sleepVars['events_active'] = 1
  1723. sleepVars['dreams_active'] = 1
  1724. if budilnikOn > 0: alarmVars['alarmOn'] = budilnikOn & killvar 'budilnikOn'
  1725. if timer > 0: alarmVars['timerH'] = timer & killvar 'timer'
  1726. if timerM > 0: alarmVars['timerM'] = timerM & killvar 'timerM'
  1727. if timerEnd > 0: alarmVars['timerEndH'] = timerEnd & killvar 'timerEnd'
  1728. if timerEndM > 0: alarmVars['timerEndM'] = timerEndM & killvar 'timerEndM'
  1729. if alarm_holiday > 0: alarmVars['alarm_holiday'] = alarm_holiday & killvar 'alarm_holiday'
  1730. !! Pav shared apartment update
  1731. if updated_pav_shared_apt = 0:
  1732. npctemp = 264
  1733. $npc_dna['A<<npctemp>>'] = '1290130369 1043654233 5049908515 3153411713 0721993774 2486220839 0288719745'
  1734. $npc_firstname['A<<npctemp>>'] = 'Yakov'
  1735. $npc_nickname['A<<npctemp>>'] = 'Yakov'
  1736. $npc_lastname['A<<npctemp>>'] = ''
  1737. $npc_usedname['A<<npctemp>>'] = 'Yakov'
  1738. npc_dob['A<<npctemp>>'] = 19961215
  1739. $npc_notes['A<<npctemp>>'] = 'Yakov is a fitness-focused sports enthusiast with blond hair and a tanned complexion.'
  1740. npc_gender['A<<npctemp>>'] = 0
  1741. gs 'npcstaticdefaults', 'defaults'
  1742. $npc_thdick['A<<npctemp>>'] = 'well proportioned'
  1743. npc_dick['A<<npctemp>>'] = 14
  1744. npc_sexskill['A<<npctemp>>'] = 1
  1745. $npc_occupation['A<<npctemp>>'] = 'personal_trainer'
  1746. npc_style['A<<npctemp>>'] = 5
  1747. npctemp = 265
  1748. $npc_dna['A<<npctemp>>'] = '1085950303 4348731991 6618084127 9067996922 8669859044 9431283301 0673267503'
  1749. $npc_firstname['A<<npctemp>>'] = 'Nestor'
  1750. $npc_nickname['A<<npctemp>>'] = 'Nestor'
  1751. $npc_lastname['A<<npctemp>>'] = ''
  1752. $npc_usedname['A<<npctemp>>'] = 'Nestor'
  1753. npc_dob['A<<npctemp>>'] = 19930127
  1754. $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.'
  1755. npc_gender['A<<npctemp>>'] = 0
  1756. gs 'npcstaticdefaults', 'defaults'
  1757. $npc_thdick['A<<npctemp>>'] = 'massive'
  1758. npc_dick['A<<npctemp>>'] = 22
  1759. npc_sexskill['A<<npctemp>>'] = 1
  1760. npc_style['A<<npctemp>>'] = 2
  1761. npctemp = 266
  1762. $npc_dna['A<<npctemp>>'] = '5654106058 6395942483 3363408422 7113656738 1111862818 8859290040 7960339191'
  1763. $npc_firstname['A<<npctemp>>'] = 'Oleg'
  1764. $npc_nickname['A<<npctemp>>'] = 'Oleg'
  1765. $npc_lastname['A<<npctemp>>'] = ''
  1766. $npc_usedname['A<<npctemp>>'] = 'Oleg'
  1767. npc_dob['A<<npctemp>>'] = 19950712
  1768. $npc_notes['A<<npctemp>>'] = 'Oleg is a shy, young-looking guy with thick glasses, a slim frame, and very pale skin.'
  1769. npc_gender['A<<npctemp>>'] = 0
  1770. gs 'npcstaticdefaults', 'defaults'
  1771. $npc_thdick['A<<npctemp>>'] = 'thick'
  1772. npc_dick['A<<npctemp>>'] = 17
  1773. npc_sexskill['A<<npctemp>>'] = 1
  1774. $npc_occupation['A<<npctemp>>'] = 'programmer'
  1775. npc_style['A<<npctemp>>'] = 3
  1776. updated_pav_shared_apt = 1
  1777. end
  1778. if sp_rel > 0: npc_rel['A264'] = sp_rel &killvar 'sp_rel'
  1779. if gp_rel > 0: npc_rel['A265'] = gp_rel &killvar 'gp_rel'
  1780. if nd_rel > 0: npc_rel['A266'] = nd_rel &killvar 'nd_rel'
  1781. if nd_hj > 0: oleg_hj = nd_hj &killvar 'nd_hj'
  1782. if nd_bj > 0: oleg_bj = nd_bj &killvar 'nd_bj'
  1783. if nd_bjFail > 0: oleg_bjFail = nd_bjFail &killvar 'nd_bjFail'
  1784. if nd_bjDeep > 0: oleg_bjDeep = nd_bjDeep &killvar 'nd_bjDeep'
  1785. if nd_bjFailPuke > 0: oleg_bjFailPuke = nd_bjFailPuke &killvar 'nd_bjFailPuke'
  1786. if nd_bjFailFaint > 0: oleg_bjFailFaint = nd_bjFailFaint &killvar 'nd_bjFailFaint'
  1787. if nd_swall > 0: oleg_swall = nd_swall &killvar 'nd_swall'
  1788. if nd_vagCumInsideUnwanted > 0: oleg_vagCumInsideUnwanted = nd_vagCumInsideUnwanted &killvar 'nd_vagCumInsideUnwanted'
  1789. if nd_vag > 0: oleg_vag = nd_vag &killvar 'nd_vag'
  1790. if nd_vagCumInside > 0: oleg_vagCumInside = nd_vagCumInside &killvar 'nd_vagCumInside'
  1791. if nd_anal > 0: oleg_anal = nd_anal &killvar 'nd_anal'
  1792. if nd_analCumInside > 0: oleg_analCumInside = nd_analCumInside &killvar 'nd_analCumInside'
  1793. if nd_vagCumInsideUnwanted > 0: oleg_vagCumInsideUnwanted = nd_vagCumInsideUnwanted &killvar 'nd_vagCumInsideUnwanted'
  1794. if nd_piss > 0: oleg_piss = nd_piss &killvar 'nd_piss'
  1795. if nd_doPornpos > 0: oleg_doPornpos = nd_doPornpos &killvar 'nd_doPornpos'
  1796. if nd_pornPos > 0: oleg_pornPos = nd_pornPos &killvar 'nd_pornPos'
  1797. if gp_bj > 0: nestor_bj = gp_bj &killvar 'gp_bj'
  1798. if gp_bjFail > 0: nestor_bjFail = gp_bjFail &killvar 'gp_bjFail'
  1799. if gp_bjDeep > 0: nestor_bjDeep = gp_bjDeep &killvar 'gp_bjDeep'
  1800. if gp_bjFailPuke > 0: nestor_bjFailPuke = gp_bjFailPuke &killvar 'gp_bjFailPuke'
  1801. if gp_bjFailFaint > 0: nestor_bjFailFaint = gp_bjFailFaint &killvar 'gp_bjFailFaint'
  1802. if gp_swall > 0: nestor_swall = gp_swall &killvar 'gp_swall'
  1803. if gp_vagCumInsideUnwanted > 0: nestor_vagCumInsideUnwanted = gp_vagCumInsideUnwanted &killvar 'gp_vagCumInsideUnwanted'
  1804. if gp_vag > 0: nestor_vag = gp_vag &killvar 'gp_vag'
  1805. if gp_vagCumInside > 0: nestor_vagCumInside = gp_vagCumInside &killvar 'gp_vagCumInside'
  1806. if gp_anal > 0: nestor_anal = gp_anal &killvar 'gp_anal'
  1807. if gp_analCumInside > 0: nestor_analCumInside = gp_analCumInside &killvar 'gp_analCumInside'
  1808. if gp_vagCumInsideUnwanted > 0: nestor_vagCumInsideUnwanted = gp_vagCumInsideUnwanted &killvar 'gp_vagCumInsideUnwanted'
  1809. if gp_doPornpos > 0: nestor_doPornpos = gp_doPornpos &killvar 'gp_doPornpos'
  1810. if gp_pornPos > 0: nestor_pornPos = gp_pornPos &killvar 'gp_pornPos'
  1811. if sp_bj > 0: yakov_bj = sp_bj &killvar 'sp_bj'
  1812. if sp_bjFail > 0: yakov_bjFail = sp_bjFail &killvar 'sp_bjFail'
  1813. if sp_bjDeep > 0: yakov_bjDeep = sp_bjDeep &killvar 'sp_bjDeep'
  1814. if sp_bjFailPuke > 0: yakov_bjFailPuke = sp_bjFailPuke &killvar 'sp_bjFailPuke'
  1815. if sp_bjFailFaint > 0: yakov_bjFailFaint = sp_bjFailFaint &killvar 'sp_bjFailFaint'
  1816. if sp_swall > 0: yakov_swall = sp_swall &killvar 'sp_swall'
  1817. if sp_vagCumInsideUnwanted > 0: yakov_vagCumInsideUnwanted = sp_vagCumInsideUnwanted &killvar 'sp_vagCumInsideUnwanted'
  1818. if sp_vag > 0: yakov_vag = sp_vag &killvar 'sp_vag'
  1819. if sp_vagCumInside > 0: yakov_vagCumInside = sp_vagCumInside &killvar 'sp_vagCumInside'
  1820. if sp_anal > 0: yakov_anal = sp_anal &killvar 'sp_anal'
  1821. if sp_analCumInside > 0: yakov_analCumInside = sp_analCumInside &killvar 'sp_analCumInside'
  1822. if sp_vagCumInsideUnwanted > 0: yakov_vagCumInsideUnwanted = sp_vagCumInsideUnwanted &killvar 'sp_vagCumInsideUnwanted'
  1823. if sp_doPornpos > 0: yakov_doPornpos = sp_doPornpos &killvar 'sp_doPornpos'
  1824. if sp_pornPos > 0: yakov_pornPos = sp_pornPos &killvar 'sp_pornPos'
  1825. if sp_hj > 0: yakov_hj = sp_hj &killvar 'sp_hj'
  1826. if sp_dildo > 0: yakov_dildo = sp_dildo &killvar'sp_dildo'
  1827. if oleg_analCumInside > 0: oleg_cumAnal = oleg_analCumInside
  1828. if oleg_analCumInside > 0: oleg_analCumInside -= oleg_analCumInsideUnwanted
  1829. if oleg_analCumInsideUnwanted > 0: oleg_analCumInsideUnwanted -= oleg_analCumInside
  1830. if nestor_analCumInside > 0: nestor_cumAnal = nestor_analCumInside
  1831. if nestor_analCumInside > 0: nestor_analCumInside -= nestor_analCumInsideUnwanted
  1832. if nestor_analCumInsideUnwanted > 0: nestor_analCumInsideUnwanted -= nestor_analCumInside
  1833. if yakov_analCumInside > 0: yakov_cumAnal = yakov_analCumInside
  1834. if yakov_analCumInside > 0: yakov_analCumInside -= yakov_analCumInsideUnwanted
  1835. if yakov_analCumInsideUnwanted > 0: yakov_analCumInsideUnwanted -= yakov_analCumInside
  1836. if oleg_vagCumInside > 0: oleg_cumVag = oleg_vagCumInside
  1837. if oleg_vagCumInside > 0: oleg_vagCumInside -= oleg_vagCumInsideUnwanted
  1838. if oleg_vagCumInsideUnwanted > 0: oleg_vagCumInsideUnwanted -= oleg_vagCumInside
  1839. if nestor_vagCumInside > 0: nestor_cumVag = nestor_vagCumInside
  1840. if nestor_vagCumInside > 0: nestor_vagCumInside -= nestor_vagCumInsideUnwanted
  1841. if nestor_vagCumInsideUnwanted > 0: nestor_vagCumInsideUnwanted -= nestor_vagCumInside
  1842. if yakov_vagCumInside > 0: yakov_cumVag = yakov_vagCumInside
  1843. if yakov_vagCumInside > 0: yakov_vagCumInside -= yakov_vagCumInsideUnwanted
  1844. if yakov_vagCumInsideUnwanted > 0: yakov_vagCumInsideUnwanted -= yakov_vagCumInside
  1845. killvar 'gp_horny'
  1846. killvar 'sp_horny'
  1847. killvar 'nd_horny'
  1848. killvar 'milkPause'
  1849. killvar 'gp_cumVol'
  1850. killvar 'sp_cumVol'
  1851. killvar 'nd_cumVol'
  1852. !! Prostitution blocking variable changes
  1853. prostitute['wl_block'] = prostitute['blocked']
  1854. prostitute['full_block'] = 0
  1855. !! New variables to manage a homeless Sveta and travel.
  1856. gs 'homes_properties_attr'
  1857. if accessible_property['accessible_home_count'] < 1:
  1858. gs 'homes_properties', 'set_homeless'
  1859. else
  1860. gs 'homes_properties', 'set_home', $home['current']
  1861. end
  1862. end
  1863. !!------------------------------------!!Version 0.9.1.1!!-----------------------------------------------!!
  1864. if temp_current_save_version < 00090101:
  1865. if pornstudio > 1: pornstudio = 1
  1866. if nichTanya['RelationshipBreakup'] ! 0 or nichTanya['RelationshipState'] ! 0:
  1867. if nichTanya['RelationshipBreakup'] = 1: nichTanya['Relationship'] = 2
  1868. if nichTanya['RelationshipState'] = 10: nichTanya['Relationship'] = 1
  1869. if nichTanya['RelationshipState'] = 20: nichTanya['Relationship'] = 3
  1870. if nichTanya['RelationshipState'] = 1000: nichTanya['Relationship'] = 4
  1871. if nichTanya['RelationshipState'] = 1010: nichTanya['Relationship'] = 5
  1872. if nichTanya['RelationshipState'] = 1011: nichTanya['Relationship'] = 6
  1873. gs 'shortgs', 'remove_array_element', 'nichTanya','RelationshipBreakup'
  1874. gs 'shortgs', 'remove_array_element', 'nichTanya','RelationshipState'
  1875. end
  1876. killvar '_n_timer'
  1877. if $theme['name'] = '':
  1878. if night_mode = 1:
  1879. gs 'themes', 'set_black'
  1880. elseif night_mode = 2:
  1881. gs 'themes', 'set_gray'
  1882. elseif night_mode = 3:
  1883. gs 'themes', 'set_white'
  1884. elseif night_mode = 4:
  1885. gs 'themes', 'set_custom'
  1886. else
  1887. gs 'themes', 'set_dynamic'
  1888. end
  1889. if $theme['type'] = 'static':
  1890. gs 'themes', 'apply_static'
  1891. else
  1892. if $location_type = 'public_outdoors' or $location_type = 'secluded' or $location_type = 'event_outdoors':
  1893. gs 'themes', 'apply_dynamic', 'outdoors'
  1894. else
  1895. gs 'themes', 'apply_dynamic', 'indoors'
  1896. end
  1897. end
  1898. killvar 'night_mode'
  1899. killvar '$bgcolor'
  1900. killvar '$bgcolor1'
  1901. killvar '$bgcolor2'
  1902. killvar '$bgcolor3'
  1903. killvar '$fgcolor'
  1904. killvar '$fgcolor1'
  1905. end
  1906. end
  1907. !!------------------------------------!!Version 0.9.2.0!!-----------------------------------------------!!
  1908. if temp_current_save_version < 00090200:
  1909. ! Body update -- By Anjuna
  1910. if genbsize ! 0: pcs_mass['bust_gen'] = genbsize & killvar 'genbsize'
  1911. if nbsize ! 0: pcs_mass['bust'] = nbsize & killvar 'nbsize'
  1912. if pcs_mass['butt_gen'] = 0: pcs_mass['butt_gen'] = 20
  1913. if salo ! 0:
  1914. temp_totmass = salo + pcs_mass['bust']
  1915. temp_totgenmass = 60 + pcs_mass['bust_gen'] + pcs_mass['butt_gen']
  1916. pcs_mass['bust'] = (temp_totmass * pcs_mass['bust_gen']) / temp_totgenmass
  1917. pcs_mass['butt'] = (temp_totmass * pcs_mass['butt_gen']) / temp_totgenmass
  1918. pcs_mass['body'] = temp_totmass - pcs_mass['bust'] - pcs_mass['butt']
  1919. killvar 'salo'
  1920. killvar 'temp_totmass'
  1921. killvar 'temp_totgenmass'
  1922. end
  1923. if vofat ! 0: bodyVars['vofat'] = vofat & killvar 'vofat'
  1924. if vhips ! 0: bodyVars['vhips'] = vhips & killvar 'vhips'
  1925. if wratio ! 0: bodyVars['wratio'] = wratio & killvar 'wratio'
  1926. if bratio ! 0: bodyVars['bratio'] = bratio & killvar 'bratio'
  1927. if hratio ! 0: bodyVars['hratio'] = hratio & killvar 'hratio'
  1928. if magicf2b ! 0: bodyVars['bust_magic'] = magicf2b & killvar 'magicf2b'
  1929. if silicone_butt ! 0: bodyVars['butt_silicone'] = silicone_butt & killvar 'silicone_butt'
  1930. if silicone ! 0: bodyVars['bust_silicone'] = silicone & killvar 'silicone'
  1931. if butt_cheat ! 0: bodyVars['butt_cheat'] = butt_cheat & killvar 'butt_cheat'
  1932. if pcs_mass['bust_message'] = 0: pcs_mass['bust_message'] = pcs_mass['bust']
  1933. if pcs_mass['butt_message'] = 0: pcs_mass['butt_message'] = pcs_mass['butt']
  1934. !!update_clothing
  1935. !! Do not think we need this anymore. Since pcs_hips should now be basically unchanged.
  1936. !!gs 'tailor2'
  1937. !! Typo Correction -- By Derryth_Love
  1938. if katjaQW['knows_masterbation'] > 0:
  1939. katjaQW['knows_masturbation'] = katjaQW['knows_masterbation']
  1940. gs 'shortgs', 'remove_array_element', 'katjaQW', 'knows_masterbation'
  1941. end
  1942. !! body_structure introduction and variable migration:
  1943. if $bmi_desc ! '': $bodyVars['bmi_desc'] = $bmi_desc & killvar '$bmi_desc'
  1944. if $body ! '': $bodyVars['desc'] = $body & killvar '$body'
  1945. !! Migration of alterstrtimg and start_type
  1946. if arrsize('start_type') ! 4 and alterstrtimg ! 0:
  1947. if mid($start_type[0], 1, 2) = 'sg':
  1948. $temp_st[0] = 'sg'
  1949. elseif mid($start_type[0], 1, 3) = 'uni':
  1950. $temp_st[0] = 'uni'
  1951. else
  1952. $temp_st[0] = 'city'
  1953. end
  1954. $temp_st[1] = $start_type[1]
  1955. if $temp_st[1] = '': $temp_st[1] = 'magic'
  1956. if alterstrtimg >= 8 and alterstrtimg <= 11:
  1957. $temp_st[2] = 'nerd'
  1958. if alterstrtimg = 8:
  1959. $temp_st[3] = 'nerdqueen'
  1960. elseif alterstrtimg = 9:
  1961. $temp_st[3] = 'goodstudent'
  1962. elseif alterstrtimg = 10:
  1963. $temp_st[3] = 'computergeek'
  1964. else
  1965. $temp_st[3] = 'chessplayer'
  1966. end
  1967. elseif alterstrtimg >= 12 and alterstrtimg <= 15:
  1968. $temp_st[2] = 'jock'
  1969. if alterstrtimg = 12:
  1970. $temp_st[3] = 'volleyball'
  1971. elseif alterstrtimg = 13:
  1972. $temp_st[3] = 'dancer'
  1973. elseif alterstrtimg = 14:
  1974. $temp_st[3] = 'runner'
  1975. else
  1976. $temp_st[3] = 'football'
  1977. end
  1978. elseif alterstrtimg >= 16 and alterstrtimg <= 17:
  1979. $temp_st[2] = 'cool'
  1980. if alterstrtimg = 16:
  1981. $temp_st[3] = 'socialite'
  1982. elseif alterstrtimg = 17:
  1983. $temp_st[3] = 'beautiful'
  1984. end
  1985. elseif alterstrtimg >= 18 and alterstrtimg <= 21:
  1986. $temp_st[2] = 'gopnik'
  1987. if alterstrtimg = 18:
  1988. $temp_st[3] = 'gopnikstart'
  1989. elseif alterstrtimg = 19:
  1990. $temp_st[3] = 'troublemaker'
  1991. elseif alterstrtimg = 20:
  1992. $temp_st[3] = 'vitekgf'
  1993. else
  1994. $temp_st[3] = 'alternative'
  1995. end
  1996. elseif alterstrtimg >= 22 and alterstrtimg <= 28:
  1997. $temp_st[2] = 'outcast'
  1998. if alterstrtimg = 22:
  1999. $temp_st[3] = 'friendless'
  2000. elseif alterstrtimg = 23:
  2001. $temp_st[3] = 'uglyduckling'
  2002. elseif alterstrtimg = 24:
  2003. $temp_st[3] = 'goodgirl'
  2004. elseif alterstrtimg = 25:
  2005. $temp_st[3] = 'slut'
  2006. else
  2007. $temp_st[3] = 'goth'
  2008. end
  2009. elseif alterstrtimg = 31:
  2010. $temp_st[2] = 'cool'
  2011. $temp_st[3] = 'anorexic'
  2012. else
  2013. $temp_st[2] = 'outcast'
  2014. $temp_st[3] = 'friendless'
  2015. end
  2016. killvar 'start_type'
  2017. killvar 'alterstrtimg'
  2018. $start_type['loc'] = $temp_st[0]
  2019. $start_type['magic'] = $temp_st[1]
  2020. $start_type['group'] = $temp_st[2]
  2021. $start_type['cat'] = $temp_st[3]
  2022. killvar 'temp_st'
  2023. end
  2024. if $start_type['loc'] = '': $start_type['loc'] = 'city'
  2025. if $start_type['magic'] = '': $start_type['magic'] = 'magic'
  2026. if $start_type['group'] = '': $start_type['group'] = 'outcast'
  2027. if $start_type['cat'] = '': $start_type['cat'] = 'friendless'
  2028. !update fashionista to fashionista_dress\
  2029. if arrsize('fashionista') > 0:
  2030. :loopfashionista2
  2031. if fashionista[i] = 1:
  2032. fashionista_dress[i] = 1
  2033. fashionista_dress_h[i] = fashionista_h[i]
  2034. fashionista_dress_b[i] = fashionista_b[i]
  2035. fashionista_dress_s[i] = fashionista_s[i]
  2036. end
  2037. i += 4
  2038. if i <= 200:jump 'loopfashionista2'
  2039. killvar 'fashionista'
  2040. killvar 'fashionista_h'
  2041. killvar 'fashionista_b'
  2042. killvar 'fashionista_s'
  2043. end
  2044. ! Transport update
  2045. if arrsize('transportVars') < 70:
  2046. killvar 'transportVars'
  2047. gs 'transport_functions', 'init_all'
  2048. end
  2049. if Trainpass_day ! 0: transportVars['trainpass_day'] = Trainpass_day & killvar 'Trainpass_day'
  2050. killvar 'train_event'
  2051. ! Therapist
  2052. if therapist_key[1] > 0: therapistQW['hotel_day'] = therapist_key[1] & killvar 'therapist_key', 1
  2053. if therapist_key > 0: therapistQW['hotel_key'] = therapist_key & killvar 'therapist_key'
  2054. ! Ballet Dorm
  2055. if arrsize('homes') = 16: $homes[] = 'hotel_therapist'
  2056. if $home_name['hotel_therapist'] = '':
  2057. $home_name['hotel_therapist'] = 'hotel_therapist'
  2058. $home_name['17'] = 'hotel_therapist'
  2059. end
  2060. if arrsize('homes') = 17: $homes[] = 'pushkin_ballet_dorm'
  2061. if $home_name['pushkin_ballet_dorm'] = '':
  2062. $home_name['pushkin_ballet_dorm'] = 'pushkin_ballet_dorm'
  2063. $home_name['18'] = 'pushkin_ballet_dorm'
  2064. end
  2065. ! Call Trace update
  2066. killvar 'call_trace_enabled'
  2067. killvar 'call_trace_shown'
  2068. killvar 'call_trace_manual'
  2069. killvar '$call_trace'
  2070. end
  2071. !!------------------------------------!!Version 0.9.2.1!!-----------------------------------------------!!
  2072. if temp_current_save_version < 00090201:
  2073. if btwarn > 0: bodyVars['weight_warning'] = btwarn & killvar 'btwarn'
  2074. if pcs_mass['body_message'] = 0: pcs_mass['body_message'] = pcs_masss['body']
  2075. !! Clears broken pregnancy data
  2076. rej_idx = 0
  2077. rej_sz = arrsize('Babyptype')
  2078. :lutcycloop
  2079. if rej_idx < rej_sz:
  2080. if $ChildFath[rej_idx] = '':
  2081. killvar 'polkid',rej_idx
  2082. killvar '$kidname',rej_idx
  2083. killvar 'kidage',rej_idx
  2084. killvar 'daykid',rej_idx
  2085. killvar 'monthkid',rej_idx
  2086. killvar 'yearkid',rej_idx
  2087. killvar 'Babyptype',rej_idx
  2088. killvar '$ChildFath',rej_idx
  2089. killvar 'hairkid',rej_idx
  2090. killvar 'eyeskid',rej_idx
  2091. killvar 'cumarrcon',rej_idx
  2092. FertEgg -= 1
  2093. end
  2094. rej_idx += 1
  2095. jump 'lutcycloop'
  2096. if arrsize('Babyptype') <= 0:
  2097. preg = 0
  2098. pregchem = 0
  2099. knowpreg = 0
  2100. end
  2101. end
  2102. killvar 'rej_idx'
  2103. killvar 'rej_sz'
  2104. end
  2105. !!------------------------------------!!Version 0.9.2.2!!-----------------------------------------------!!
  2106. if temp_current_save_version < 00090202:
  2107. !!updating of BDSM club variables to use array and be generally better
  2108. if BDSMtaxi = 1:
  2109. bdsmclub['unlocked'] = 1
  2110. if BDSMClubIn = 1:
  2111. bdsmclub['intro'] = 1
  2112. if $BDSMrole = 's':
  2113. bdsmclub['subtraining'] = 3
  2114. else
  2115. bdsmclub['domtraining'] = 1
  2116. end
  2117. bdsmclub['payday'] = BDSMpayDay
  2118. end
  2119. end
  2120. killvar'BDSMtaxi'
  2121. killvar'BDSMmeet'
  2122. killvar'BDSMClubIn'
  2123. killvar'BDSMClub'
  2124. killvar'DSMday'
  2125. killvar'BDSMrole'
  2126. killvar'BDSMpayDay'
  2127. if motherQW['seen_dildos'] > 0 and motherKnowDildo = 0: motherKnowDildo = 1
  2128. if motherQW['seen_dildos'] = 0 and motherKnowDildo > 0: motherQW['seen_dildos'] = 1
  2129. if motherKnowRaped > 0: motherKnowSpravka = 1
  2130. end
  2131. !!------------------------------------!!Version 0.9.2.3!!-----------------------------------------------!!
  2132. if temp_current_save_version < 00090203:
  2133. !!updates the exp to the new scale so you don''t go down in stat
  2134. gs 'stat_sklattrib'
  2135. i = 0 & x = 1
  2136. :rstloop
  2137. expadj = func('_difficulty','getexpadj')
  2138. tl = 0
  2139. :trtrstloop
  2140. tltp = 0
  2141. :trtrstinsdlp
  2142. !! 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.
  2143. dynamic "
  2144. 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]
  2145. if <<$traitattskl[tl]>>[tltp + 11] ! 0: insdlpflag = 1
  2146. "
  2147. if insdlpflag = 1: tltp += 10 & insdlpflag = 0 & jump 'trtrstinsdlp'
  2148. tl += 1
  2149. if tl < arrsize ('$traitattskl'): jump 'trtrstloop'
  2150. killvar 'tl' & killvar 'tltp' & killvar 'insdlpflag'
  2151. if x = 1:
  2152. $attskltmp = $att_name[i]
  2153. else
  2154. $attskltmp = $skl_name[i]
  2155. end
  2156. dynamic "
  2157. if <<$attskltmp>>_lvl > 0:
  2158. <<$attskltmp>>_exp -= (expadj * (<<$attskltmp>>_lvl - 1) * (<<$attskltmp>>_lvl - 1) / 180)
  2159. <<$attskltmp>>_exp += (expadj *73* (<<$attskltmp>>_lvl - 1) * (<<$attskltmp>>_lvl - 1) / 2730)
  2160. <<$attskltmp>>_mem = <<$attskltmp>>_exp
  2161. end
  2162. "
  2163. killvar 'expadj' & killvar '$attskltmp'
  2164. i += 1
  2165. if (x = 1 and i < arrsize ('$att_name')) or (x = 2 and i < arrsize ('$skl_name')): jump 'rstloop'
  2166. i = 0 & x += 1
  2167. if x < 3: jump 'rstloop'
  2168. killvar 'i' & killvar 'x'
  2169. end
  2170. !!------------------------------------!!Version 0.9.3.0!!-----------------------------------------------!!
  2171. if temp_current_save_version < 00090204:
  2172. !! Drugs variable migration
  2173. if NarkImmune > 0: drugVars['cheat_immune'] = NarkImmune & killvar 'NarkImmune'
  2174. if SNarkPriton > 0: drugVars['city_drugden'] = SNarkPriton & killvar 'SNarkPriton'
  2175. if snarkozak > 0: drugVars['pav_dropoff'] = snarkozak & killvar 'snarkozak'
  2176. if siga_bum > 0: mc_inventory['cigarettes'] += 1 & killvar 'siga_bum'
  2177. if smoker > 0: drugVars['cigarettes_used'] = smoker & killvar 'smoker'
  2178. if smoke_exp > 0: drugVars['cigarettes_exp'] = smoke_exp & killvar 'smoke_exp'
  2179. if smokerneed > 0: drugVars['cigarettes_need'] = smokerneed & killvar 'smokerneed'
  2180. if smokeDay > 0: drugVars['cigarettes_day'] = smokeDay & killvar 'smokeDay'
  2181. if smokeHour > 0: drugVars['cigarettes_hour'] = smokeHour & killvar 'smokeHour'
  2182. if smokeminut > 0: drugVars['cigarettes_minute'] = smokeminut & killvar 'smokeminut'
  2183. if joint < 0: killvar 'joint'
  2184. if joint > 0: mc_inventory['joints'] = joint & killvar 'joint'
  2185. if jointhigh > 0: drugVars['weed_high'] = jointhigh & killvar 'jointhigh'
  2186. if joint_smoked > 0: drugVars['weed_used'] = joint_smoked & killvar 'joint_smoked'
  2187. if joint_exp > 0: drugVars['weed_exp'] = joint_exp & killvar 'joint_exp'
  2188. if jointday > 0: drugVars['weed_day'] = jointday & killvar 'jointday'
  2189. if jointhour > 0: drugVars['weed_hour'] = jointhour & killvar 'jointhour'
  2190. if jointminut > 0: drugVars['weed_minute'] = jointminut & killvar 'jointminut'
  2191. if SNarkTimes['inject'] > 0: drugVars['heroin_inject'] = SNarkTimes['inject']
  2192. if StrongNarkota > 0: drugVars['heroin_high'] = StrongNarkota & killvar 'StrongNarkota'
  2193. if SNarkTimes > 0: drugVars['heroin_used'] = SNarkTimes & killvar 'SNarkTimes'
  2194. if heroin_exp > 0: drugVars['heroin_exp'] = heroin_exp & killvar 'heroin_exp'
  2195. if SLomka > 0: drugVars['heroin_need'] = SLomka & killvar 'SLomka'
  2196. if narkozakday > 0: drugVars['heroin_day'] = narkozakday & killvar 'narkozakday'
  2197. if NarkShmaraTimes > 0: drugVars['heroin_whore'] = NarkShmaraTimes & killvar 'NarkShmaraTimes'
  2198. if SNarkvnesh > 0: drugVars['heroin_penalty'] = SNarkvnesh & killvar 'SNarkvnesh'
  2199. if dur > 0: mc_inventory['cocaine'] = dur & killvar 'dur'
  2200. if nark > 0: drugVars['cocaine_system'] = nark & killvar 'nark'
  2201. if cocaine_count > 0: drugVars['cocaine_used'] = cocaine_count & killvar 'cocaine_count'
  2202. if cocaine_exp > 0: drugVars['cocaine_exp'] = cocaine_exp & killvar 'cocaine_exp'
  2203. if narkday > 0: drugVars['cocaine_day'] = narkday & killvar 'narkday'
  2204. if narkoman > 0: drugVars['cocaine_addict'] = narkoman & killvar 'narkoman'
  2205. if willday_cocaine > 0: drugVars['cocaine_willday'] = willday_cocaine & killvar 'willday_cocaine'
  2206. if amphetamine > 0: mc_inventory['amphetamine'] = amphetamine & killvar 'amphetamine'
  2207. if amphHigh > 0: drugVars['amphetamine_high'] = amphHigh & killvar 'amphHigh'
  2208. if amphetamine_count > 0: drugVars['amphetamine_used'] = amphetamine_count & killvar 'amphetamine_count'
  2209. if amphetamine_exp > 0: drugVars['amphetamine_exp'] = amphetamine_exp & killvar 'amphetamine_exp'
  2210. if amphIntake > 0: drugVars['amphetamine_intake'] = amphIntake & killvar 'amphIntake'
  2211. if amphWithdrawl > 0: drugVars['amphetamine_withdrawl'] = amphWithdrawl & killvar 'amphWithdrawl'
  2212. if amphetamineBonus > 0: drugVars['amphetamine_bonus'] = amphetamineBonus & killvar 'amphetamineBonus'
  2213. if mentats_have > 0: mc_inventory['mentats'] = mentats_have & killvar 'mentats_have'
  2214. if mentats_dose > 0: drugVars['mentats_dose'] = mentats_dose & killvar 'mentats_dose'
  2215. if alcohol_count > 0: drugVars['alcohol_used'] = alcohol_count & killvar 'alcohol_count'
  2216. if alcohol_exp > 0: drugVars['alcohol_exp'] = alcohol_exp & killvar 'alcohol_exp'
  2217. if aphrodisiac_have > 0: mc_inventory['aphrodisiac'] = aphrodisiac_have & killvar 'aphrodisiac_have'
  2218. if aphrodisiac_addiction > 0: drugVars['aphrodisiac_addict'] = aphrodisiac_addiction & killvar 'aphrodisiac_addiction'
  2219. if aphrodisiac_timer > 0: drugVars['aphrodisiac_timer'] = aphrodisiac_timer & killvar 'aphrodisiac_timer'
  2220. if aphrodisiac_overdose > 0: drugVars['aphrodisiac_overdose'] = aphrodisiac_overdose & killvar 'aphrodisiac_overdose'
  2221. if $aphrodisiac_msg ! '': $drugVars['aphrodisiac_msg'] = $aphrodisiac_msg & killvar 'aphrodisiac_msg'
  2222. if steroid_have > 0: mc_inventory['steroids'] = steroid_have & killvar 'steroid_have'
  2223. if steroid_counter > 0: drugVars['steroids_used'] = steroid_counter & killvar 'steroid_counter'
  2224. if steroid_dose > 0: drugVars['steroids_dose'] = steroid_dose & killvar 'steroid_dose'
  2225. if bcream_have > 0: mc_inventory['breastcream'] = bcream_have & killvar 'bcream_have'
  2226. if bcream_used > 0: drugVars['breastcream_dose'] = bcream_used & killvar 'bcream_used'
  2227. ! Adding the new room in gadukino to the home_name array:
  2228. $home_name['gadsarai'] = 'grandparents_house'
  2229. ! heart-shaped butt added:
  2230. dynamic $npc_preferences['A14']
  2231. if arrpos('$npc_pref_traits', 'body_ass_heart') < 0:
  2232. gs 'npc_set_preference', 'A14', 'body_ass_heart', 'like'
  2233. end
  2234. killvar 'npc_pref_traits'
  2235. ! Professional runner variable migration
  2236. if begsec > 0: runnerQW['joined_team'] = begsec & killvar 'begsec'
  2237. if run_comp_day > 0: runnerQW['comp_day'] = run_comp_day & killvar 'run_comp_day'
  2238. if kolsorev > 0: runnerQW['races_ran'] = kolsorev & killvar 'kolsorev'
  2239. if razradbeg > 0: runnerQW['prof_stage'] = razradbeg & killvar 'razradbeg'
  2240. if bronzebeg > 0: runnerQW['bronze_medals'] = bronzebeg & killvar 'bronzebeg'
  2241. if silverbeg > 0: runnerQW['silver_medals'] = silverbeg & killvar 'silverbeg'
  2242. if goldbeg > 0: runnerQW['gold_medals'] = goldbeg & killvar 'goldbeg'
  2243. if razradbegK > 0: runnerQW['qualifiers'] = razradbegK & killvar 'razradbegK'
  2244. if razradbegEB > 0: runnerQW['champ_bronze'] = razradbegEB & killvar 'razradbegEB'
  2245. if razradbegES > 0: runnerQW['champ_silver'] = razradbegES & killvar 'razradbegES'
  2246. if razradbegEG > 0: runnerQW['champ_gold'] = razradbegEG & killvar 'razradbegEG'
  2247. if SchoolSorev > 0: runnerQW['pav_racetype'] = SchoolSorev & killvar 'SchoolSorev'
  2248. if LocalRun > 0: runnerQW['pav_stage'] = LocalRun & killvar 'LocalRun'
  2249. if swinbeg > 0: runnerQW['pav_wins1'] = swinbeg & killvar 'swinbeg'
  2250. if swinbeggor > 0: runnerQW['pav_wins2'] = swinbeggor & killvar 'swinbeggor'
  2251. !! Flash variable migration to singular array (which is killvared on site)
  2252. if dress_ind_bra > 0: killvar 'dress_ind_bra'
  2253. if dress_ind_tits > 0: killvar 'dress_ind_tits'
  2254. if dress_ind_panties > 0: killvar 'dress_ind_panties'
  2255. if dress_ind_pussy > 0: killvar 'dress_ind_pussy'
  2256. if dress_ind_pussy_hairy > 0: killvar 'dress_ind_pussy_hairy'
  2257. if dress_ind_pantyrear > 0: killvar 'dress_ind_pantyrear'
  2258. if dress_ind_butt > 0: killvar 'dress_ind_butt'
  2259. if dress_ind_full > 0: killvar 'dress_ind_full'
  2260. if dress_ind_full_hairy > 0: killvar 'dress_ind_full_hairy'
  2261. if dress_out_bra > 0: killvar 'dress_out_bra'
  2262. if dress_out_tits > 0: killvar 'dress_out_tits'
  2263. if dress_out_panties > 0: killvar 'dress_out_panties'
  2264. if dress_out_pussy > 0: killvar 'dress_out_pussy'
  2265. if dress_out_pussy_hairy > 0: killvar 'dress_out_pussy_hairy'
  2266. if dress_out_pantyrear > 0: killvar 'dress_out_pantyrear'
  2267. if dress_out_butt > 0: killvar 'dress_out_butt'
  2268. if dress_out_butt_plug > 0: killvar 'dress_out_butt_plug'
  2269. if dress_out_full > 0: killvar 'dress_out_full'
  2270. if dress_out_full_hairy > 0: killvar 'dress_out_full_hairy'
  2271. if pants_ind_bra > 0: killvar 'pants_ind_bra'
  2272. if pants_ind_tits > 0: killvar 'pants_ind_tits'
  2273. if pants_ind_panties > 0: killvar 'pants_ind_panties'
  2274. if pants_ind_pussy > 0: killvar 'pants_ind_pussy'
  2275. if pants_ind_pussy_hairy > 0: killvar 'pants_ind_pussy_hairy'
  2276. if pants_ind_pantyrear > 0: killvar 'pants_ind_pantyrear'
  2277. if pants_ind_butt > 0: killvar 'pants_ind_butt'
  2278. if pants_ind_full > 0: killvar 'pants_ind_full'
  2279. if pants_ind_full_hairy > 0: killvar 'pants_ind_full_hairy'
  2280. if pants_out_bra > 0: killvar 'pants_out_bra'
  2281. if pants_out_tits > 0: killvar 'pants_out_tits'
  2282. if pants_out_panties > 0: killvar 'pants_out_panties'
  2283. if pants_out_pussy > 0: killvar 'pants_out_pussy'
  2284. if pants_out_pussy_hairy > 0: killvar 'pants_out_pussy_hairy'
  2285. if pants_out_pantyrear > 0: killvar 'pants_out_pantyrear'
  2286. if pants_out_butt > 0: killvar 'pants_out_butt'
  2287. if pants_out_butt_plug > 0: killvar 'pants_out_butt_plug'
  2288. if pants_out_full > 0: killvar 'pants_out_full'
  2289. if pants_out_full_hairy > 0: killvar 'pants_out_full_hairy'
  2290. !! Introduction of lact_ev['poli_totaldonatemoney']
  2291. if lact_ev['poli_totaldonatemoney'] <= 0 and lact_ev['poli_totalmilkdonated'] >= 5: lact_ev['poli_totaldonatemoney'] = (lact_ev['poli_totalmilkdonated'] / 5) * 10
  2292. if soniaQW[soniafall_block] > 1 and soniaQW[soniafall_block] ! soniaQW['soniafall_block']:
  2293. soniaQW['soniafall_block'] = soniaQW[soniafall_block]
  2294. if soniaQW['homeinvite'] > 0: soniaQW['homeinvite'] = 1
  2295. end
  2296. if vladimirday > 0 or vladimirQW > 0 and vladimirQW['stage'] = 0:
  2297. temp_var1 = vladimirQW
  2298. killvar 'vladimirQW'
  2299. vladimirQW['stage'] = temp_var1
  2300. if vladimirday > 0: vladimirQW['day'] = vladimirday
  2301. killvar 'vladimirday'
  2302. killvar 'temp_var1'
  2303. end
  2304. !! Telephone call migration to their correct event locations
  2305. if arrpos('$contact', 'A108') > -1:
  2306. temp_pos = arrpos('$contact', 'A108')
  2307. if strpos($contactICode[temp_pos], 'telefon') > 0:
  2308. $contactICode[temp_pos] = replace($contactICode[temp_pos], "'telefon', 'vladimir'", "'vladimirQW_loc', 'telephone_call'")
  2309. end
  2310. if strpos($contactISche[temp_pos], 'vladimirday') > 0:
  2311. $contactISche[temp_pos] = replace($contactISche[temp_pos], "vladimirday", "vladimirQW['day']")
  2312. end
  2313. killvar 'temp_pos'
  2314. end
  2315. if arrpos('$contact', 'A192') > -1:
  2316. temp_pos = arrpos('$contact', 'A192')
  2317. if strpos($contactOCode[temp_pos], 'telefon') > 0:
  2318. $contactOCode[temp_pos] = replace($contactOCode[temp_pos], 'telefon', 'nastja')
  2319. end
  2320. killvar 'temp_pos'
  2321. end
  2322. !! sms scheduling added to addcontact in telefon:
  2323. if arrsize('$contact') > arrsize('contactOSMSCode'):
  2324. temp_maxi = arrsize('$contact')
  2325. temp_i = arrsize('contactOSMSCode')
  2326. :saveupdater_SMSCODE_scheduling_loop
  2327. $contactOSMSCode[temp_i] = ""
  2328. $contactOSMSSche[temp_i] = "0"
  2329. $contactISMSCode[temp_i] = ""
  2330. $contactISMSSche[temp_i] = "0"
  2331. temp_i += 1
  2332. if temp_i < temp_maxi: jump 'saveupdater_SMSCODE_scheduling_loop'
  2333. killvar 'temp_maxi'
  2334. killvar 'temp_i'
  2335. end
  2336. !! region added to the blackmailer array:
  2337. if $blackmailQW['init_flashloc'] ! '' and $blackmailQW['init_flashregion'] = '':
  2338. if strpos($blackmailQW['init_flashloc'], 'city') > 0:
  2339. $blackmailQW['init_flashregion'] = 'city'
  2340. elseif strpos($blackmailQW['init_flashloc'], 'pav') > 0:
  2341. $blackmailQW['init_flashregion'] = 'pav'
  2342. elseif strpos($blackmailQW['init_flashloc'], 'gad') > 0:
  2343. $blackmailQW['init_flashregion'] = 'gad'
  2344. elseif strpos($blackmailQW['init_flashloc'], 'pushkin') > 0:
  2345. $blackmailQW['init_flashregion'] = 'pushkin'
  2346. elseif $start_type['loc'] = 'city':
  2347. $blackmailQW['init_flashregion'] = 'city'
  2348. else
  2349. $blackmailQW['init_flashregion'] = 'pav'
  2350. end
  2351. blackmailQW['total_material'] = 1
  2352. end
  2353. end
  2354. killvar 'temp_current_save_version'
  2355. gs 'saveg'
  2356. --- saveupdater ---------------------------------