saveupdater.qsrc 64 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529
  1. # saveupdater
  2. !! This file is for updating save game when one variable have been replaced by another.
  3. !! If you have replaced a variable for another, then you should first go to saveg.gsrc and update the version number as instructed there.
  4. !! Then at the bottom of this file just after the last end add the following line:
  5. !! if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < "new version number":
  6. !! where "new version number" should be as instructed in the start of saveg.qsrc
  7. !! Then add you replacement of variables after this line. You can see how this is done by looking through this file.
  8. !! When you do this you should always commit this file and saveg.qsrc at the same time.
  9. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080000:
  10. !!------------------------------grandparent variable clean up---for 0.8.0 release---------------------------
  11. !!---Grandpa
  12. If grandpa_bilberry > 0: grandpaQW['chore_berry_quantity'] = grandpa_bilberry & killvar 'grandpa_bilberry'
  13. If grandpa_boletus > 0: grandpaQW['chore_mushroom_quantity'] = grandpa_boletus & killvar 'grandpa_boletus'
  14. If grandpahelpday > 0: grandpaQW['last_day_helped'] = grandpahelpday & killvar 'grandpahelpday'
  15. If grandpahelping > 0: grandpaQW['chore_type'] = grandpahelping & killvar 'grandpahelping'
  16. If grandpatalk > 0: grandpaQW['last_hour_talked'] = grandpatalk & killvar 'grandpatalk'
  17. If grandpatalkday > 0: grandpaQW['last_day_talked'] = grandpatalkday & killvar 'grandpatalkday'
  18. If grandpatalkforest > 0: grandpaQW['talked_about_forest'] = grandpatalkforest & killvar 'grandpatalkforest'
  19. If comb_horse > 0: grandpaQW['chore_brush_horse'] = comb_horse & killvar 'comb_horse'
  20. If cow_field > 0: grandpaQW['chore_lead_cow_to_field'] = cow_field & killvar 'cow_field'
  21. If feed_boar > 0: grandpaQW['chore_feed_boar'] = feed_boar & killvar 'feed_boar'
  22. If feed_cow > 0: grandpaQW['chore_feed_cow'] = feed_cow & killvar 'feed_cow'
  23. If feed_horse > 0: grandpaQW['chore_feed_horse'] = feed_horse & killvar 'feed_horse'
  24. If graze_cow > 0: grandpaQW['chore_herd_cattle'] = graze_cow & killvar 'graze_cow'
  25. If graze_cow_exp > 0: grandpaQW['chore_herd_cattle_experience'] = graze_cow_exp & killvar 'graze_cow_exp'
  26. If haying_time > 0: grandpaQW['chore_bale_hay'] = haying_time & killvar 'haying_time'
  27. If horse_field > 0: grandpaQW['chore_lead_horse_to_field'] = horse_field & killvar 'horse_field'
  28. If horse_river > 0: grandpaQW['chore_bathe_horse'] = horse_river & killvar 'horse_river'
  29. If go_in_bilberry > 0: grandpaQW['chore_gather_berries'] = go_in_bilberry & killvar 'go_in_bilberry'
  30. If go_in_boletus > 0: grandpaQW['chore_gather_mushrooms'] = go_in_boletus & killvar 'go_in_boletus'
  31. If go_in_boletus_bilberry > 0: grandpaQW['chore_gather_both'] = go_in_boletus_bilberry & killvar 'go_in_boletus_bilberry'
  32. !!---Grandma
  33. If grandma_trouble > 0: grandmaQW['nudity_trouble'] = grandma_trouble & killvar 'grandma_trouble'
  34. If grandmastory > 0: grandmaQW['last_day_asked_for_story'] = grandmastory & killvar 'grandmastory'
  35. If grandmatalk > 0: grandmaQW['last_hour_talked'] = grandmatalk & killvar 'grandmatalk'
  36. If grandmatalkday > 0: grandmaQW['last_day_talked'] = grandmatalkday & killvar 'grandmatalkday'
  37. If grandmatalkgad > 0: grandmaQW['talked_about_gadukino'] = grandmatalkgad & killvar 'grandmatalkgad'
  38. If monthbabkapay > 0: grandmaQW['last_month_paid'] = monthbabkapay & killvar 'monthbabkapay'
  39. If grandmahelpday > 0: grandmaQW['last_day_helped'] = grandmahelpday & killvar 'grandmahelpday'
  40. If grandmahelp > 0: grandmaQW['help_amount'] = grandmahelp & killvar 'grandmahelp'
  41. If grandmahelping > 0: grandmaQW['chore_type'] = grandmahelping & killvar 'grandmahelping'
  42. If collect_strawberries > 0: grandmaQW['chore_collect_strawberries'] = collect_strawberries & killvar 'collect_strawberries'
  43. If feed_chickens > 0: grandmaQW['chore_feed_chickens'] = feed_chickens & killvar 'feed_chickens'
  44. If fruit_collect > 0: grandmaQW['chore_collect_fruit'] = fruit_collect & killvar 'fruit_collect'
  45. If harvest_garden > 0: grandmaQW['chore_harvest_garden'] = harvest_garden & killvar 'harvest_garden'
  46. If milk_cow > 0: grandmaQW['chore_milk_cow'] = milk_cow & killvar 'milk_cow'
  47. If water_garden > 0: grandmaQW['chore_water_garden'] = water_garden & killvar 'water_garden'
  48. If work_garden > 0: grandmaQW['chore_work_in_garden'] = work_garden & killvar 'work_garden'
  49. !!---------------------------end of grandparent variable clean up---for 0.8.0 release-----------------------
  50. !! ----- Natasha story variables migrated to array ----- 0.8.0
  51. ! Natasha''s mom NPC data for existing saves
  52. if $npc_firstname['A191'] ! 'Isabella':
  53. npctemp = 191
  54. $npc_dna['A<<npctemp>>'] = '1614037462 1959746313 1085890273 0326112989 0869737602 6676723523 3590292041'
  55. $npc_firstname['A<<npctemp>>'] = 'Isabella'
  56. $npc_nickname['A<<npctemp>>'] = 'Bella'
  57. $npc_lastname['A<<npctemp>>'] = 'Belova'
  58. $npc_usedname['A<<npctemp>>'] = 'Isabella'
  59. $npc_notes['A<<npctemp>>'] = 'Your classmate Natasha''s mother, Isabella Belova.'
  60. npc_dob['A<<npctemp>>'] = 19820922
  61. npc_gender['A<<npctemp>>'] = 1
  62. gs 'npcstaticdefaults', 'defaults'
  63. npc_bust['A<<npctemp>>'] = 23
  64. end
  65. killvar '$NatashaMotherName' & killvar '$NatashaMotherNickname'
  66. if NatashaQW > 0: NatbelQW['QWstage'] = NatashaQW & killvar 'NatashaQW'
  67. if natbelXP > 0: NatbelQW['natbelXP'] = natbelXP & killvar 'natbelXP'
  68. if NatBelBestFrend > 0: NatbelQW['BestFriend'] = NatBelBestFrend & killvar 'NatBelBestFrend'
  69. if BeInNatBelHome > 0: NatbelQW['VisitedHome'] = BeInNatBelHome & killvar 'BeInNatBelHome'
  70. if natashaFirstvisit > 0: NatbelQW['FirstVisit'] = natashaFirstvisit & killvar 'natashaFirstvisit'
  71. if NatNoTV > 0: NatbelQW['NoTV'] = NatNoTV & killvar 'NatNoTV'
  72. if ShowRand > 0: NatbelQW['TVshow'] = ShowRand & killvar 'ShowRand'
  73. if $ShowMsg ! '': $NatbelQW['TVmsg'] = $ShowMsg & killvar '$ShowMsg'
  74. if NatashaWatchedYourPorn > 0: NatbelQW['WatchedYourPorn'] = NatashaWatchedYourPorn & killvar 'NatashaWatchedYourPorn'
  75. if NatDolg > 0: NatbelQW['Debt'] = NatDolg & killvar 'NatDolg'
  76. if NatDolgDay > 0: NatbelQW['DebtDay'] = NatDolgDay & killvar 'NatDolgDay'
  77. if nattimeleft > 0: NatbelQW['DebtTimeLeft'] = nattimeleft & killvar 'nattimeleft'
  78. if NatashaMoneyGivenTimes > 0: NatbelQW['MoneyGivenTimes'] = NatashaMoneyGivenTimes & killvar 'NatashaMoneyGivenTimes'
  79. if NatashaHW > 0: NatbelQW['homework'] = NatashaHW & killvar 'NatashaHW'
  80. if natdoingHW > 0: NatbelQW['doingHW'] = natdoingHW & killvar 'natdoingHW'
  81. if NatashaNakedHW > 0: NatbelQW['nakedHW'] = NatashaNakedHW & killvar 'NatashaNakedHW'
  82. if natunderwear > 0: NatbelQW['underwear'] = natunderwear & killvar 'natunderwear'
  83. if natund > 0: NatbelQW['underwearShop'] = natund & killvar 'natund'
  84. if natseethrough > 0: NatbelQW['seethrough'] = natseethrough & killvar 'natseethrough'
  85. if natseethroughwearing > 0: NatbelQW['seethroughwearing'] = natseethroughwearing & killvar 'natseethroughwearing'
  86. if natseethroughworn > 0: NatbelQW['seethroughworn'] = natseethroughworn & killvar 'natseethroughworn'
  87. if natseehtroughkitchen > 0: NatbelQW['seethroughkitchen'] = natseehtroughkitchen & killvar 'natseehtroughkitchen'
  88. if natmomrobe > 0: NatbelQW['momrobe'] = natmomrobe & killvar 'natmomrobe'
  89. if nattraining > 0: NatbelQW['training'] = nattraining & killvar 'nattraining'
  90. if natlesb > 0: NatbelQW['lesbian'] = natlesb & killvar 'natlesb'
  91. if natpee > 0: NatbelQW['pee'] = natpee & killvar 'natpee'
  92. if HaveCucumber > 0: NatbelQW['cucumber'] = HaveCucumber & killvar 'HaveCucumber'
  93. if natkolkatease > 0: NatbelQW['KolkaTease'] = natkolkatease & killvar 'natkolkatease'
  94. if kolkawantsnat > 0: NatbelQW['KolkaWantsNat'] = kolkawantsnat & killvar 'kolkawantsnat'
  95. if natfuckday > 0: NatbelQW['KolkaFuckDay'] = natfuckday & killvar 'natfuckday'
  96. if NatKolkaSex > 0: NatbelQW['KolkaSex'] = NatKolkaSex & killvar 'NatKolkaSex'
  97. if natbj > 0: NatbelQW['bj'] = natbj & killvar 'natbj'
  98. if NatKolkaFootjob > 0: NatbelQW['KolkaFootjob'] = NatKolkaFootjob & killvar 'NatKolkaFootjob'
  99. if natcp > 0: NatbelQW['KolkaCP'] = natcp & killvar 'natcp'
  100. ! Adding all previous creampies to the new vaginal sex tracker so it can start above 0 if possible
  101. if NatbelQW['KolkaCP'] > 0 and NatbelQW['vaginal'] = 0: NatbelQW['vaginal'] += NatbelQW['KolkaCP']
  102. if natanal > 0: NatbelQW['anal'] = natanal & killvar 'natanal'
  103. if natpregday > 0: NatbelQW['pregday'] = natpregday & killvar 'natpregday'
  104. if nataskedbaby > 0: NatbelQW['askedbaby'] = nataskedbaby & killvar 'nataskedbaby'
  105. if natbabycount > 0: NatbelQW['babycount'] = natbabycount & killvar 'natbabycount'
  106. if MetNatMother > 0: NatbelQW['MetMother'] = MetNatMother & killvar 'MetNatMother'
  107. ! These can be set to 0, so wiping them in any case to get rid of them
  108. NatbelQW['MotherHome'] = NatashaMotherHome & killvar 'NatashaMotherHome'
  109. NatbelQW['MotherDoor'] = DoorOpenBy & killvar 'DoorOpenBy'
  110. NatbelQW['MotherState'] = NatashaMotherState & killvar 'NatashaMotherState'
  111. NatbelQW['MotherStateMsg'] = NatashaMotherStateMsg & killvar 'NatashaMotherStateMsg'
  112. NatbelQW['MotherStateKeep'] = NatashaMotherStateKeep & killvar 'NatashaMotherStateKeep'
  113. if SeenNatMomHitachi > 0: NatbelQW['SeenNatMomHitachi'] = SeenNatMomHitachi & killvar 'SeenNatMomHitachi'
  114. if CaughtByNatMomHitachi > 0: NatbelQW['CaughtByNatMomHitachi'] = CaughtByNatMomHitachi & killvar 'CaughtByNatMomHitachi'
  115. if $NatMomVibName ! '': $NatbelQW['NatMomVibName'] = $NatMomVibName & killvar '$NatMomVibName'
  116. ! typos found in the natasha files & other cleaning up
  117. if nhib_exp > 0: inhib_exp += nhib_exp & killvar 'nhib_exp'
  118. killvar 'natsleeprand'
  119. killvar 'imgrand'
  120. !! ----- Natasha story variables migrated to array ----- 0.8.0
  121. ! ----- Parrot story variables migrated to array
  122. if saveparQW > 0: ParrotQW['Level'] = saveparQW & killvar 'saveparQW'
  123. if popugai > 0: ParrotQW['Owned1'] = popugai & killvar 'popugai'
  124. if popugai2 > 0: ParrotQW['Owned2'] = popugai2 & killvar 'popugai2'
  125. if saveparjourQW > 0: ParrotQW['Day'] = saveparjourQW & killvar 'saveparjourQW'
  126. if parbuydate > 0: ParrotQW['BuyDate'] = parbuydate & killvar 'parbuydate'
  127. if sisrelparday > 0: ParrotQW['SisterReleaseParrotDay'] = sisrelparday & killvar 'sisrelparday'
  128. if saveparQWfailed > 0: ParrotQW['Failed'] = saveparQWfailed & killvar 'saveparQWfailed'
  129. If sispopconf > 0: ParrotQW['SisKeepParrot'] = sispopconf & killvar 'sispopconf'
  130. if $namepopu ! '': $ParrotQW['Name1'] = $namepopu & killvar '$namepopu'
  131. if $namepopu2 ! '': $ParrotQW['Name2'] = $namepopu2 & killvar '$namepopu2'
  132. ! ----- Parrot story variables migrated to array
  133. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  134. if BankPapper > 0: BurgerQW['BankTask'] = BankPapper & killvar 'BankPapper'
  135. if BistroBoss > 0: BurgerQW['BossSlut'] = BistroBoss & killvar 'BistroBoss'
  136. if BistroBossDay > 0: BurgerQW['BossSlutLastServed'] = BistroBossDay & killvar 'BistroBossDay'
  137. if bistroQW > 0: BurgerQW['Level'] = bistroQW & killvar 'bistroQW'
  138. if $burgerIvanText ! '': $BurgerQW['IvanSecurityCamDesc'] = $burgerIvanText & killvar '$burgerIvanText'
  139. if BuSWworkEnd > 0: BurgerQW['SaunaWhoreKnown'] = BuSWworkEnd & killvar 'BuSWworkEnd'
  140. if dayBankPapper > 0: BurgerQW['BankTaskDay'] = dayBankPapper & killvar 'dayBankPapper'
  141. if DayTerminalPapper > 0: BurgerQW['TerminalTaskDay'] = DayTerminalPapper & killvar 'DayTerminalPapper'
  142. if gossipBU > 0: BurgerQW['SlutReputation'] = gossipBU & killvar 'gossipBU'
  143. if IvanEvidence > 0: BurgerQW['IvanQWEvidence'] = IvanEvidence & killvar 'IvanEvidence'
  144. if ivanFilmBJ > 0: BurgerQW['IvanQWBJFilmed'] = ivanFilmBJ & killvar 'ivanFilmBJ'
  145. if IvanKvartira > 0: BurgerQW['IvanQWTatianaHelp'] = IvanKvartira & killvar 'IvanKvartira'
  146. if IvanPodstavaDay > 0: BurgerQW['IvanQWDay'] = IvanPodstavaDay & killvar 'IvanPodstavaDay'
  147. if IvanPodstavaQW > 0: BurgerQW['IvanQW'] = IvanPodstavaQW & killvar 'IvanPodstavaQW'
  148. if kompromatBlackMail > 0: BurgerQW['IvanQWBlackmail'] = kompromatBlackMail & killvar 'kompromatBlackMail'
  149. if $kompromatFoto ! '': $BurgerQW['IvanQWBlackmailPhoto'] = $kompromatFoto & killvar '$kompromatFoto'
  150. if NoBistroWork > 0: BurgerQW['WorkBlocked'] = NoBistroWork & killvar 'NoBistroWork'
  151. if PersSecWork > 0: BurgerQW['Secretary'] = PersSecWork & killvar 'PersSecWork'
  152. if PersSecWorkTimes > 0: BurgerQW['SecretaryTimesWorked'] = PersSecWorkTimes & killvar 'PersSecWorkTimes'
  153. if PodpiskaNeviezd > 0: BurgerQW['IvanQWPoliceDayCount'] = PodpiskaNeviezd & killvar 'PodpiskaNeviezd'
  154. if posuda > 0: BurgerQW['WashDishesCount'] = posuda & killvar 'posuda'
  155. if posudaA > 0: BurgerQW['WashFloorCount'] = posudaA & killvar 'posudaA'
  156. if posudaday > 0: BurgerQW['WashedDishesLastDay'] = posudaday & killvar 'posudaday'
  157. if posudaAday > 0: BurgerQW['WashFloorLastDay'] = posudaAday & killvar 'posudaAday'
  158. if PSBBtimes > 0: BurgerQW['WorkShift'] = PSBBtimes & killvar 'PSBBtimes'
  159. if sergeyPQW > 0: BurgerQW['sergeyQW'] = sergeyPQW & killvar 'sergeyPQW'
  160. if soplakTimes > 0: BurgerQW['sergeyQWServiced1'] = soplakTimes & killvar 'soplakTimes'
  161. if soplakTimes1 > 0: BurgerQW['sergeyQWServiced2'] = soplakTimes1 & killvar 'soplakTimes1'
  162. if TerminalPapper > 0: BurgerQW['TerminalTask'] = TerminalPapper & killvar 'TerminalPapper'
  163. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  164. ! ----- Albina story variables migrated to array
  165. if AlbFather > 0: AlbinaQW['AlbFatherQW'] = AlbFather & killvar 'AlbFather'
  166. if AlbFrend > 0: AlbinaQW['Friends'] = AlbFrend & killvar 'AlbFrend'
  167. if ZvezdEnd > 0: AlbinaQW['StarletsShutDown'] = ZvezdEnd & killvar 'ZvezdEnd'
  168. if DanceWhore > 0: AlbinaQW['StarletsWhore'] = DanceWhore & killvar 'DanceWhore'
  169. if beinalbinahome > 0: AlbinaQW['KnowsHouse'] = beinalbinahome & killvar 'beinalbinahome'
  170. if albsportday > 0: AlbinaQW['SportDay'] = albsportday & killvar 'albsportday'
  171. if albsporthome > 0: AlbinaQW['SportHome'] = albsporthome & killvar 'albsporthome'
  172. if gamebet > 0: AlbinaQW['gamebet'] = gamebet & killvar 'gamebet'
  173. if stardance > 0: AlbinaQW['ShowTriggerCount'] = stardance & killvar 'stardance'
  174. if albrideday > 0: AlbinaQW['albrideday'] = albrideday & killvar 'albrideday'
  175. if albinaQWdance > 0: AlbinaQW['StarletsJoined'] = albinaQWdance & killvar 'albinaQWdance'
  176. if AlbZverHelp > 0: AlbinaQW['ChristinaHelp'] = AlbZverHelp & killvar 'AlbZverHelp'
  177. if alb_father_meeting > 0: AlbinaQW['ParkRally'] = alb_father_meeting & killvar 'alb_father_meeting'
  178. if alb_father_day > 0: AlbinaQW['ParkRallyDay'] = alb_father_day & killvar 'alb_father_day'
  179. if AlbFaterBlackTime > 0: AlbinaQW['ElectionCampaignTime'] = AlbFaterBlackTime & killvar 'AlbFaterBlackTime'
  180. if startletsday > 0: AlbinaQW['startletsday'] = startletsday & killvar 'startletsday'
  181. ! ----- Albina story variables migrated to array
  182. !! Updating npc_bust[] array to the new values ----- 0.8.0
  183. if npc_bust['A12'] = 9: npc_bust['A12'] = 23
  184. if npc_bust['A13'] = 9: npc_bust['A13'] = 8
  185. if npc_bust['A14'] = 9: npc_bust['A14'] = 20
  186. if npc_bust['A15'] = 9: npc_bust['A15'] = 18
  187. if npc_bust['A16'] = 9: npc_bust['A16'] = 26
  188. if npc_bust['A17'] = 9: npc_bust['A17'] = 34
  189. if npc_bust['A18'] = 9: npc_bust['A18'] = 21
  190. if npc_bust['A19'] = 9: npc_bust['A19'] = 14
  191. if npc_bust['A20'] = 9: npc_bust['A20'] = 22
  192. if npc_bust['A21'] = 9: npc_bust['A21'] = 18
  193. if npc_bust['A22'] = 9: npc_bust['A22'] = 27
  194. if npc_bust['A23'] = 9: npc_bust['A23'] = 14
  195. if npc_bust['A24'] = 9: npc_bust['A24'] = 20
  196. if npc_bust['A25'] = 9: npc_bust['A25'] = 21
  197. if npc_bust['A29'] = 9: npc_bust['A29'] = 25
  198. if npc_bust['A30'] = 9: npc_bust['A30'] = 18
  199. if npc_bust['A33'] = 9: npc_bust['A33'] = 19
  200. if npc_bust['A134'] = 9: npc_bust['A134'] = 20
  201. if npc_bust['A135'] = 9: npc_bust['A135'] = 13
  202. if npc_bust['A136'] = 9: npc_bust['A136'] = 30
  203. if npc_bust['A137'] = 9: npc_bust['A137'] = 34
  204. if npc_bust['A138'] = 9: npc_bust['A138'] = 18
  205. if npc_bust['A139'] = 9: npc_bust['A139'] = 22
  206. if npc_bust['A140'] = 9: npc_bust['A140'] = 13
  207. if npc_bust['A141'] = 9: npc_bust['A141'] = 20
  208. if npc_bust['A142'] = 9: npc_bust['A142'] = 13
  209. if npc_bust['A143'] = 9: npc_bust['A143'] = 7
  210. if npc_bust['A144'] = 9: npc_bust['A144'] = 24
  211. if npc_bust['A145'] = 9: npc_bust['A145'] = 31
  212. !! Updating npc_bust[] array to the new values ----- 0.8.0
  213. !!-----------Adding pube colours for 0.8.0-----------
  214. if pcs_pubecol[1] = 0: pcs_pubecol = pcs_haircol & pcs_pubecol[1] = 1 & pcs_pubecol[2] = pcs_haircol
  215. !!-----------Adding pube colours for 0.8.0-----------
  216. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  217. killvar 'olufirst'
  218. killvar 'tetyafirst'
  219. killvar 'oluuosegunday_count'
  220. killvar 'oluuosegunday_day'
  221. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  222. !!trait update
  223. if pcs_traits['update_1'] = 0:
  224. pcs_traits['update_1'] = 1
  225. pcs_traits['alko_day'] = alko_trait_day
  226. pcs_traits['alko_points'] = alko_trait_counter
  227. pcs_traits['alko_status'] = alko_trait
  228. killvar 'alko_trait_day'
  229. killvar 'alko_trait_counter'
  230. killvar 'alko_trait'
  231. end
  232. if trt_cumeater = 1:pcs_traits['cumeater'] = 1 & trt_cumeater = 7
  233. !! ----- Other bug fixes and cleanup ----- 0.8.0
  234. if pcs_gaming_exp > 0: gs 'exp_gain', 'gaming', pcs_gaming_exp & killvar 'pcs_gaming_exp'
  235. if nerd_night_game ! 0: killvar 'nerd_night_game'
  236. if nerd_night_game_day ! 0: nerd_game['game_day'] = nerd_night_game_day & killvar 'nerd_night_game_day'
  237. !!Masturbation check wasn''t being cleared
  238. mastrOnce = 0
  239. !! ----- Other bug fixes and cleanup ----- 0.8.0
  240. end
  241. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080001:
  242. !!--------0.8.0.1---school social group adjustment
  243. if gruptipe[9000] = 0:
  244. gruptipe[9000] = 1
  245. grupvalue[1] = grupvalue[1] * 10
  246. grupvalue[2] = grupvalue[2] * 10
  247. grupvalue[3] = grupvalue[3] * 10
  248. grupvalue[4] = grupvalue[4] * 10
  249. end
  250. !!--------0.8.0.1---school social group adjustment
  251. end
  252. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080100:
  253. !!--------0.8.1--- Music variable names changed
  254. if ml_update_1 = 0:
  255. ml_guitar['hasguitar'] = ml_guitar
  256. ml_guitar['carried'] = ml_guitarWithMe
  257. ml_performance['performed_minutes'] = ml_performed_minutes
  258. ml_performance['max_perform_minutes'] = ml_max_perform_minutes
  259. ml_guitar['chordbook'] = ml_chordbook
  260. ml_guitarlesson['lessoncount'] = ml_lessoncount
  261. ml_guitarlesson['lessonday'] = ml_lessonday
  262. $ml_guitarlesson['lessonday'] = $ml_lessonday
  263. ml_guitarlesson['lessonhour'] = 15
  264. ml_guitarlesson['nextlesson'] = daystart + (ml_guitarlesson['lessonday'] + 7 - week)
  265. ml_guitarlesson['advertisement'] = ml_guitarlessonadv
  266. ml_guitarlesson['enquired'] = ml_enquired
  267. if age < 18:
  268. ml_guitarlesson['lessoncost'] = 300
  269. else
  270. ml_guitarlesson['lessoncost'] = 500
  271. end
  272. killvar 'ml_guitarWithMe'
  273. killvar 'ml_performed_minutes'
  274. killvar 'ml_max_perform_minutes'
  275. killvar 'ml_guitarlessonadv'
  276. killvar 'ml_enquired'
  277. killvar 'ml_lessonday'
  278. killvar '$ml_lessonday'
  279. killvar 'ml_lessoncost'
  280. !!--------0.8.1--- Music variable names changed
  281. ml_update_1 = 1
  282. end
  283. !! changed $metkaM to $locM_arg and $metka to $loc_arg in the code - needed for correction saves saved prior to version 0.8.1
  284. if arrsize('$metkaM') > 0 or arrsize('$metka') > 0:
  285. $locM_arg = $metkaM
  286. $loc_arg = $metka
  287. killvar '$metkaM'
  288. killvar '$metka'
  289. end
  290. !!---------------------------------------------------------------
  291. !! fixes the variable for Christina getting outcasted, so she will show up in the journal correctly
  292. if zverSlutQW = 2:
  293. npc_grupTipe['A18'] = 5
  294. end
  295. !!---------------------------------------------------------------
  296. !!model variable updates
  297. if anastasia > 0 and anastasia['status'] = 0 and anastasia['saveupdate'] = 0:
  298. anastasia['status'] = anastasia
  299. anastasia['escort_ask'] = anastasia_escort_ask
  300. anastasia['model_exp'] = anastasia_mode_exp
  301. anastasia['sex'] = anastasiasex
  302. anastasia['saveupdate'] = 1
  303. end
  304. if foto_models['emily'] > 0 and emily['status'] = 0 and emily['saveupdate'] = 0:
  305. emily['status'] = foto_models['emily']
  306. emily['hate'] = emily_hate
  307. emily['model_exp'] = emily_model_exp
  308. emily['saveupdate'] = 1
  309. end
  310. if jeff > 0 and jeff['status'] = 0 and jeff['saveupdate'] = 0:
  311. jeff['status'] = jeff
  312. jeff['grope'] = jeff_grope
  313. jeff['movies'] = jeff_movies
  314. jeff['model_exp'] = jeff_model_exp
  315. jeff['saveupdate'] = 1
  316. end
  317. if krystal > 0 and krystal['status'] = 0 and krystal['saveupdate'] = 0:
  318. krystal['status'] = krystal['talk']
  319. krystal['saveupdate'] = 1
  320. end
  321. if mari > 0 and mari['status'] = 0 and mari['saveupdate'] = 0:
  322. mari['status'] = mari
  323. mari['busy'] = mari_busy
  324. mari['farm_shoot'] = mari_farm_shoot
  325. mari['cloth_shoot'] = mari_cloth_shoot
  326. mari['convo'] = mari_convo
  327. mari['sex'] = mari_sex
  328. mari['model_exp'] = mari_model_exp
  329. mari['model_ask'] = mari_modelling_exp
  330. mari['fakepassport'] = mari_fakepassport
  331. mari['saveupdate'] = 1
  332. end
  333. if $model['firstname'] = '':
  334. $model['firstname'] = $pcs_firstname
  335. $model['nickname'] = $pcs_nickname
  336. $model['lastname'] = $pcs_lastname
  337. end
  338. !! Fixing Katja and Natasha relationship
  339. if npc_sex['A14'] > 1: npc_sex['A14'] = 1
  340. if npc_sex['A16'] > 1: npc_sex['A16'] = 1
  341. !! University related vars update
  342. if student >= 0:
  343. gs 'uniutil', 'transfer_legacy_vars'
  344. end
  345. !!---------------------------------------------------------------
  346. !! Lariska story variables migrated to array
  347. if KotovZverHelp > 0: LariskaQW['VitekHelp'] = KotovZverHelp & killvar 'KotovZverHelp'
  348. if IvanZverHelp > 0: LariskaQW['IvanHelp'] = IvanZverHelp & killvar 'IvanZverHelp'
  349. if FyodorZverHelp > 0: LariskaQW['FedorHelp'] = FyodorZverHelp & killvar 'FyodorZverHelp'
  350. if lariskaHelp > 0: LariskaQW['LariskaHelp'] = lariskaHelp & killvar 'lariskaHelp'
  351. if lariskaHelp_end > 0: LariskaQw['LariskaHelpEnd'] = lariskaHelp_end & killvar 'lariskaHelp_end'
  352. !!---------------------------------------------------------------
  353. !! Shave updater
  354. if shave_update ! 1:
  355. if pubestyle = 1:
  356. shave_length = 2
  357. shave_trigger = 4
  358. elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  359. shave_length = 16
  360. shave_trigger = 21
  361. elseif pubestyle = 10:
  362. shave_length = 26
  363. shave_trigger = 31
  364. elseif pubestyle = 11:
  365. shave_length = 2
  366. shave_trigger = 10
  367. end
  368. shave_update = 1
  369. end
  370. end
  371. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080200:
  372. !! 0.8.2 clothing package for old saves ---------------------------------------
  373. 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:
  374. $batch_sell = {
  375. poshvalldrop += 1
  376. dynamic 'RESULT = <<$ARGS[0]>>H[<<ARGS[1]>>]'
  377. if RESULT > 100:
  378. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  379. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  380. money += 750
  381. selltot += 750
  382. elseif RESULT > 45:
  383. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  384. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  385. money += 500
  386. selltot += 500
  387. elseif RESULT > 30:
  388. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  389. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  390. money += 300
  391. selltot += 300
  392. elseif RESULT > 0:
  393. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  394. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  395. money += 100
  396. selltot += 100
  397. else
  398. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  399. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  400. end
  401. dynamic '<<$ARGS[0]>>H[<<ARGS[1]>>] = 0'
  402. }
  403. poshvalldrop = 0
  404. selltot = 0
  405. i = 1
  406. :cheapmet
  407. if cheap[i] = 1 and cheapH[i] > 0:dynamic($batch_sell, 'cheap', i)
  408. i += 1
  409. if i <= 419:jump 'cheapmet'
  410. i = 1
  411. :averagemet
  412. if average[i] = 1 and averageH[i] > 0:dynamic($batch_sell, 'average', i)
  413. i += 1
  414. if i <= 541:jump 'averagemet'
  415. i = 1
  416. :expensivemet
  417. if expensive[i] = 1 and expensiveH[i] > 0:dynamic($batch_sell, 'expensive', i)
  418. i += 1
  419. if i <= 442:jump 'expensivemet'
  420. i = 1
  421. :formalmet
  422. if formal[i] = 1 and formalH[i] > 0:dynamic($batch_sell, 'formal', i)
  423. i += 1
  424. if i <= 185:jump 'formalmet'
  425. i = 1
  426. :officemet
  427. if office[i] = 1 and officeH[i] > 0:dynamic($batch_sell, 'office', i)
  428. i += 1
  429. if i <= 140:jump 'officemet'
  430. i = 1
  431. :schoolmet
  432. if school[i] = 1 and schoolH[i] > 0:dynamic($batch_sell, 'school', i)
  433. i += 1
  434. if i <= 80:jump 'schoolmet'
  435. i = 1
  436. :exercisemet
  437. if exercise[i] = 1 and exerciseH[i] > 0:dynamic($batch_sell, 'exercise', i)
  438. i += 1
  439. if i <= 260:jump 'exercisemet'
  440. i = 1
  441. :fetishmet
  442. if fetish[i] = 1 and fetishH[i] > 0:dynamic($batch_sell, 'fetish', i)
  443. i += 1
  444. if i <= 240:jump 'fetishmet'
  445. i = 1
  446. :burlesquemet
  447. if burlesque[i] = 1 and burlesqueH[i] > 0:dynamic($batch_sell, 'burlesque', i)
  448. i += 1
  449. if i <= 22:jump 'burlesquemet'
  450. i = 1
  451. :exhibitmet
  452. if exhibit[i] = 1 and exhibitH[i] > 0:dynamic($batch_sell, 'exhibit', i)
  453. i += 1
  454. if i <= 125:jump 'exhibitmet'
  455. i = 1
  456. :uniformmet
  457. if uniform[i] = 1 and uniformH[i] > 0:dynamic($batch_sell, 'uniform', i)
  458. i += 1
  459. if i <= 60:jump 'uniformmet'
  460. i = 1
  461. :swimwearmet
  462. if swimwear[i] = 1 and swimwearH[i] > 0:dynamic($batch_sell, 'swimwear', i)
  463. i += 1
  464. if i <= 213:jump 'swimwearmet'
  465. i = 1
  466. :beachmet
  467. if beach[i] = 1 and beachH[i] > 0:dynamic($batch_sell, 'beach', i)
  468. i += 1
  469. if i <= 103:jump 'beachmet'
  470. i = 1
  471. :alternativemet
  472. if alternative[i] = 1 and alternativeH[i] > 0:dynamic($batch_sell, 'alternativer', i)
  473. i += 1
  474. if i <= 129:jump 'alternativemet'
  475. killvar 'batch_sell'
  476. killvar 'alternativeH' & killvar 'alternativeS' & killvar 'alternative'
  477. killvar 'averageH' & killvar 'averageS' & killvar 'average'
  478. killvar 'burlesqueH' & killvar 'burlesqueS' & killvar 'burlesque'
  479. killvar 'cheapH' & killvar 'cheapS' & killvar 'cheap'
  480. killvar 'exerciseH' & killvar 'exerciseS'
  481. killvar 'exhibitH' & killvar 'exhibitS'
  482. killvar 'expensiveH' & killvar 'expensiveS' & killvar 'expensive'
  483. killvar 'fetishH' & killvar 'fetishS'
  484. killvar 'formalH' & killvar 'formalS' & killvar 'formal'
  485. killvar 'officeH' & killvar 'officeS' & killvar 'office'
  486. killvar 'schoolH' & killvar 'schoolS' & killvar 'school'
  487. killvar 'uniformH' & killvar 'uniformS' & killvar 'uniform'
  488. killvar 'beachS' & killvar 'beachH' & killvar 'beachB'
  489. killvar 'swimwearS' & killvar 'swimwearH' & killvar 'swimwearB'
  490. killvar 'coatS' & killvar 'coatH'
  491. gm_outfits[50] = 1
  492. gm_outfits_h[50] = 100
  493. gm_outfits_b[50] = pcs_hips
  494. gs 'clothing', 'wear', 'gm_outfits', 50
  495. end
  496. !! Shave updater
  497. if shave_update ! 1:
  498. if pubestyle = 1:
  499. shave_length = 2
  500. shave_trigger = 4
  501. elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  502. shave_length = 16
  503. shave_trigger = 21
  504. elseif pubestyle = 10:
  505. shave_length = 26
  506. shave_trigger = 31
  507. elseif pubestyle = 11:
  508. shave_length = 2
  509. shave_trigger = 8
  510. end
  511. end
  512. end
  513. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080203:
  514. !! Lariska variables removed, no longer needed - 2020/11/30 - Alaratt
  515. !! Edited - 2021/01/19 - Alaratt
  516. if beInLariskaHome = 1 or LariskaHomeIn >= 1:
  517. if LariskaHomeIn = 1:
  518. LariskaQW['story'] = 4
  519. else
  520. LariskaQW['story'] = 5
  521. end
  522. killvar 'LariskaHomeIn'
  523. killvar 'beInLariskaHome'
  524. end
  525. if doorlocked > 0: killvar 'doorlocked'
  526. if doorpeek > 0: killvar 'doorpeek'
  527. if lariskaBDSM > 0: killvar 'lariskaBDSM'
  528. if lariskaMotherKnown = 1:
  529. LariskaQW['metAnna'] = 1
  530. killvar 'lariskaMotherKnown'
  531. end
  532. if LariskaProfi = 1:
  533. LariskaQW['volleyball'] = 1
  534. killvar 'LariskaProfi'
  535. end
  536. !!---------------------------------------------------------------
  537. !! Migrates Christina variables into an array, removes unneeded variables, and fixes the outcast issue if still needed
  538. !! 2021/01/19 - Alaratt
  539. if zverSlutQW > 0:
  540. if zverSlutQW = 2:
  541. !! Christina lost the fight and is outcasted
  542. christinaQW['fight'] = 1
  543. christinaQW['dompath'] = 7
  544. npc_grupTipe['A18'] = 5
  545. else
  546. !! Christina lost the fight and is prepped for outcasting
  547. christinaQW['fight'] = 1
  548. christinaQW['dompath'] = 6
  549. end
  550. killvar 'zverSlutQW'
  551. end
  552. if zverRageQW > 0:
  553. if zverRageQW = 10:
  554. !! Christina won the fight
  555. christinaQW['fight'] = -1
  556. christinaQW['subpath'] = 2
  557. elseif zverRageQW = 2:
  558. !! Christina lost the fight
  559. christinaQW['fight'] = 1
  560. christinaQW['dompath'] = 6
  561. else
  562. !! You spread rumors about Christina and she preps for fight
  563. christinaQW['dompath'] = 4
  564. end
  565. killvar 'zverRageQW'
  566. end
  567. if socialchg['christina_dont_care'] = 1:socialchg['christina_dont_care'] = 0
  568. if zverevaQW > 0:killvar 'zverevaQW'
  569. if LinaSlut > 0:killvar 'LinaSlut'
  570. if fizrukSex > 0:killvar 'fizrukSex'
  571. if kristinaSex > 0:killvar 'kristinaSex'
  572. if christinaphotos > 0:
  573. if christinaphotos = 3:
  574. !! Christina won the fight and you have not had a shower scene with her yet
  575. christinaQW['fight'] = -1
  576. christinaQW['subpath'] = 2
  577. elseif christinaphotos = 4:
  578. !! Christina won the fight and you had first shower scene with her
  579. christinaQW['fight'] = -1
  580. christinaQW['subpath'] = 3
  581. elseif christinaphotos = 2:
  582. !! You submitted to Christina and you had first shower scene with her
  583. christinaQW['submit'] = 1
  584. christinaQW['subpath'] = 3
  585. else
  586. !! You submitted to Christina but not had a shower scene with her yet
  587. christinaQW['submit'] = 1
  588. christinaQW['subpath'] = 2
  589. end
  590. killvar 'christinaphotos'
  591. end
  592. !!---------------------------------------------------------------
  593. !!Albina variables no longer needed, no sense in having them run in the background for nothing
  594. if AlbinaQW['ParkRallyDay'] > 0:AlbinaQW['ParkRallyDay'] = 0
  595. if AlbinaQW['ElectionCampaignTime'] > 0:AlbinaQW['ElectionCampaignTime'] = 0
  596. if AlbinaQW['AlbFatherQW'] > 1:AlbinaQW['AlbFatherQW'] = 1
  597. !!---------------------------------------------------------------
  598. end
  599. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080204:
  600. !! Migrates kikboxing variables into an array, removes unneeded variables.
  601. if razradKik > 0: kickbox['sash'] = razradKik & killvar 'razradKik'
  602. if amatReit > 0: kickbox['advancement'] = amatReit & killvar 'amatReit'
  603. if kikmoney > 0: kickbox['money'] = kikmoney & killvar 'kikmoney'
  604. if KikWinAm > 0: kickbox['amateurWin'] = KikWinAm & killvar 'KikWinAm'
  605. if KikWinAmKO > 0: kickbox['amateurWinKO'] = KikWinAmKO & killvar 'KikWinAmKO'
  606. if KikLossAm > 0: kickbox['amateurLoss'] = KikLossAm & killvar 'KikLossAm'
  607. if KikLossAmKO > 0: kickbox['amateurLossKO'] = KikLossAmKO & killvar 'KikLossAmKO'
  608. if KikDrawAm > 0: kickbox['amateurDraw'] = KikDrawAm & killvar 'KikDrawAm'
  609. if amateur > 0: kickbox['amateur'] = amateur & killvar 'amateur'
  610. killvar 'razrand'
  611. end
  612. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080205:
  613. !! Migrates Anushka''s brother''s quest into a array.
  614. if maksimQW > 0: maksimQW['QWstage'] = maksimQW
  615. end
  616. !! 0.8.3 shoe package for old saves ---------------------------------------
  617. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080206:
  618. i = 1
  619. :sfetishmet
  620. if sfetish[i] = 1: money += 300
  621. i += 1
  622. if i <= 27:jump 'sfetishmet'
  623. i = 1
  624. :scatsmet
  625. if scats[i] = 1: money += 300
  626. i += 1
  627. if i <= 38:jump 'scatsmet'
  628. i = 1
  629. :sgandmsmet
  630. if sgandm[i] = 1: money += 300
  631. i += 1
  632. if i <= 40:jump 'sgandmsmet'
  633. i = 1
  634. :trainersmet
  635. if trainers[i] = 1: money += 300
  636. i += 1
  637. if i <= 30:jump 'trainersmet'
  638. i = 1
  639. :sboutiquemet
  640. if sboutique[i] = 1: money += 300
  641. i += 1
  642. if i <= 37:jump 'sboutiquemet'
  643. killvar 'sfetish' & killvar 'sfetishS'
  644. killvar 'scats' & killvar 'scatsS'
  645. killvar 'sgandm' & killvar 'sgandmS'
  646. killvar 'trainers' & killvar 'trainersS'
  647. killvar 'sboutique' & killvar 'sboutiqueS'
  648. sgm[5] = 1
  649. sgm_s[5] = 0
  650. gs 'shoes', 'wear', 'sgm', 5
  651. end
  652. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080304:
  653. $fametown = 'pav'
  654. :fametownloop
  655. $fameact = 'acting'
  656. :fameactloop
  657. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  658. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = <<$fametown>>_<<$fameact>>'
  659. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  660. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  661. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  662. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  663. else
  664. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  665. end
  666. killvar '<<$fametown>>_<<$fameact>>'
  667. if $fameact = 'acting':
  668. $fameact = 'dance'
  669. jump 'fameactloop'
  670. elseif $fameact = 'dance':
  671. $fameact = 'painting'
  672. jump 'fameactloop'
  673. elseif $fameact = 'painting':
  674. $fameact = 'music'
  675. jump 'fameactloop'
  676. elseif $fameact = 'music':
  677. $fameact = 'ballet'
  678. jump 'fameactloop'
  679. elseif $fameact = 'ballet':
  680. $fameact = 'modelling'
  681. jump 'fameactloop'
  682. elseif $fameact = 'modelling':
  683. $fameact = 'porn'
  684. jump 'fameactloop'
  685. elseif $fameact = 'porn':
  686. $fameact = 'stripping'
  687. jump 'fameactloop'
  688. elseif $fameact = 'stripping':
  689. $fameact = 'kickboxing'
  690. jump 'fameactloop'
  691. elseif $fameact = 'kickboxing':
  692. $fameact = 'running'
  693. jump 'fameactloop'
  694. elseif $fameact = 'running':
  695. $fameact = 'volleyball'
  696. jump 'fameactloop'
  697. elseif $fameact = 'volleyball':
  698. $fameact = 'chess'
  699. jump 'fameactloop'
  700. elseif $fameact = 'chess':
  701. $fameact = 'teaching'
  702. jump 'fameactloop'
  703. elseif $fameact = 'teaching':
  704. $fameact = 'media'
  705. jump 'fameactloop'
  706. end
  707. $fameact = 'sex'
  708. :fameactloop2
  709. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  710. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = <<$fametown>>_<<$fameact>>'
  711. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  712. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  713. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  714. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  715. else
  716. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  717. end
  718. killvar '<<$fametown>>_<<$fameact>>'
  719. if $fameact = 'sex':
  720. $fameact = 'prostitute'
  721. jump 'fameactloop2'
  722. end
  723. if $fametown = 'pav':
  724. $fametown = 'city'
  725. jump 'fametownloop'
  726. elseif $fametown = 'city':
  727. $fametown = 'village'
  728. jump 'fametownloop'
  729. elseif $fametown = 'village':
  730. $fametown = 'pushkin'
  731. jump 'fametownloop'
  732. end
  733. gs 'fame', 'calculate', 'acting'
  734. gs 'fame', 'calculate', 'dance'
  735. gs 'fame', 'calculate', 'painting'
  736. gs 'fame', 'calculate', 'music'
  737. gs 'fame', 'calculate', 'ballet'
  738. gs 'fame', 'calculate', 'modelling'
  739. gs 'fame', 'calculate', 'porn'
  740. gs 'fame', 'calculate', 'stripping'
  741. gs 'fame', 'calculate', 'kickboxing'
  742. gs 'fame', 'calculate', 'running'
  743. gs 'fame', 'calculate', 'volleyball'
  744. gs 'fame', 'calculate', 'chess'
  745. gs 'fame', 'calculate', 'teaching'
  746. gs 'fame', 'calculate', 'media'
  747. gs 'fame', 'calculateSlut'
  748. if modelfoto > 0 and modelfoto['saveupdater'] = 0:
  749. !! changing modelling variables to arrays
  750. if modelfoto > 0: modelfoto['shoots'] = modelfoto
  751. if modelfotomoney > 0: modelfoto['earnings'] = modelfotomoney
  752. if modelfoto_catalog > 0: modelfoto['catalog'] = modelfoto_catalog
  753. if modelfoto_fashion > 0: modelfoto['fashion'] = modelfoto_fashion
  754. if modelfoto_ero_clo > 0: modelfoto['sexy'] = modelfoto_ero_clo
  755. if modelfoto_bikini > 0: modelfoto['bikini'] = modelfoto_bikini
  756. if modelfoto_lingerie > 0: modelfoto['lingerie'] = modelfoto_lingerie
  757. if modelfoto_trans_ling > 0: modelfoto['trans_ling'] = modelfoto_trans_ling
  758. if modelfoto_transparent > 0: modelfoto['transparent'] = modelfoto_transparent
  759. if modelfoto_fitness > 0: modelfoto['fitness'] = modelfoto_fitness
  760. if modelfoto_glamour > 0: modelfoto['glamour'] = modelfoto_glamour
  761. if modelfoto_topless > 0: modelfoto['topless'] = modelfoto_topless
  762. if modelfoto_nude > 0: modelfoto['nude'] = modelfoto_nude
  763. if modelfoto_tastenude > 0: modelfoto['tastenude'] = modelfoto_tastenude
  764. if modelfoto_toplessnude > 0: modelfoto['toplessnude'] = modelfoto_toplessnude
  765. if modelfoto_fullnude > 0: modelfoto['fullnude'] = modelfoto_fullnude
  766. if modelfoto_erotic > 0: modelfoto['erotic'] = modelfoto_erotic
  767. if modelfoto_nip > 0: modelfoto['nip'] = modelfoto_nip
  768. if modelfoto_pussy > 0: modelfoto['pussy'] = modelfoto_pussy
  769. if modelfoto_asshole > 0: modelfoto['asshole'] = modelfoto_asshole
  770. modelfoto['saveupdater'] = 1
  771. end
  772. end
  773. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080305:
  774. !!Defines the high school classes using the new grade system
  775. gs 'grades', 'createclass', 'school', 'math', 3, 2, 'yes', 'yes', 0, 0
  776. gs 'grades', 'createclass', 'school', 'rus', 3, 2, 'yes', 'yes', 0, 0
  777. gs 'grades', 'createclass', 'school', 'lit', 2, 2, 'yes', 'yes', 0, 0
  778. gs 'grades', 'createclass', 'school', 'art', 2, 2, 'yes', 'no', 0, 0
  779. gs 'grades', 'createclass', 'school', 'bio', 2, 2, 'yes', 'yes', 0, 0
  780. gs 'grades', 'createclass', 'school', 'pe', 3, 1, 'yes', 'no', 0, 0
  781. gs 'grades', 'createclass', 'school', 'eng', 2, 2, 'yes', 'yes', 0, 0
  782. gs 'grades', 'createclass', 'school', 'geo', 2, 2, 'yes', 'yes', 0, 0
  783. gs 'grades', 'createclass', 'school', 'sci', 2, 2, 'yes', 'yes', 0, 0
  784. gs 'grades', 'createclass', 'school', 'shop', 2, 2, 'yes', 'no', 0, 0
  785. gs 'grades', 'createclass', 'school', 'comp', 3, 2, 'yes', 'yes', 0, 0
  786. gs 'grades', 'createclass', 'school', 'mus', 2, 2, 'yes', 'no', 0, 0
  787. gs 'grades', 'createclass', 'school', 'his', 2, 2, 'yes', 'yes', 0, 0
  788. !!Convert the old grade attribute into the new individual grades.
  789. gs 'grades', 'grade_award', 'school', 'math', pcs_grades
  790. gs 'grades', 'grade_award', 'school', 'rus', pcs_grades
  791. gs 'grades', 'grade_award', 'school', 'lit', pcs_grades
  792. gs 'grades', 'grade_award', 'school', 'art', pcs_grades
  793. gs 'grades', 'grade_award', 'school', 'bio', pcs_grades
  794. gs 'grades', 'grade_award', 'school', 'pe', pcs_grades
  795. gs 'grades', 'grade_award', 'school', 'eng', pcs_grades
  796. gs 'grades', 'grade_award', 'school', 'geo', pcs_grades
  797. gs 'grades', 'grade_award', 'school', 'sci', pcs_grades
  798. gs 'grades', 'grade_award', 'school', 'shop', pcs_grades
  799. gs 'grades', 'grade_award', 'school', 'comp', pcs_grades
  800. gs 'grades', 'grade_award', 'school', 'mus', pcs_grades
  801. gs 'grades', 'grade_award', 'school', 'his', pcs_grades
  802. !!Assign a grado on the 1 to 5 russina grade scale from the grade variable
  803. gs 'grades', 'assing_grade_description', 'school'
  804. if month > 9 or (month = 9 and day > 5 and hour > 8) or year > 2016: class['first_grade_check'] = 1
  805. end
  806. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080306:
  807. !!Moving Djibril old variables into his array
  808. if meet_djibril > 0: DjibrilQW['meet'] = meet_djibril & killvar 'meet_djibril'
  809. if djibril_invite > 0: DjibrilQW['invite'] = djibril_invite & killvar 'djibril_invite'
  810. if djibril_sex > 0: npc_sex['A82'] = djibril_sex & killvar 'djibril_sex'
  811. if african_gangbang > 0: DjibrilQW['african_gangbang'] = african_gangbang & killvar 'african_gangbang'
  812. if npc_sex['A82'] > 0 or DjibrilQW['african_gangbang'] > 0: DjibrilQW['invite'] = 1
  813. end
  814. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080307:
  815. !!Moving some string variables to more appropriate numerical variables in the camera files.
  816. i = 0
  817. :camera_update_loop
  818. camera_found[i] = 1
  819. i += 1
  820. if ARRSIZE('camera_found') > i: jump 'camera_update_loop'
  821. !!Moved Igor''s quest to use daystart.
  822. if igor_DimaNos = 2 or igor_DimaNos = 3:
  823. if $igor_DimaNos_day > 5:
  824. igor_DimaNos_day = daystart
  825. else
  826. igor_DimaNos_day = daystart +6 - $igor_DimaNos_day
  827. end
  828. end
  829. end
  830. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080402:
  831. !!Setting the count of generic girlfirends.
  832. pcs_girlfriends = 0
  833. i = 0
  834. :girlfriend_looop
  835. if loverGender[i] = 1: pcs_girlfriends += 1
  836. i +=1
  837. if i < ARRSIZE('lover'): jump 'girlfriend_looop'
  838. Killvar 'i'
  839. if analorgasm > 0: orgasm_anal += analorgasm
  840. end
  841. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080403:
  842. !!Updating the variables for the Katja Quest line.
  843. if meynoldQW = 1 or meynoldQW = 2: katjaQW['QWstage'] = meynoldQW & killvar 'meynoldQW'
  844. if katjaFirstKiss > 0 or KatjaOTN > 0: katjaQW['QWstage'] = 3 & killvar 'katjaFirstKiss' & killvar 'KatjaOTN'
  845. if katjaTanga > 0: katjaQW['pantiesQWstage'] = katjaTanga & killvar 'katjaTanga'
  846. if katja_tanga_end > 0: katjaQW['pantiesQWstage'] = 5 & killvar 'katja_tanga_end'
  847. if katjaSlut > 0: katjaQW['slut'] = katjaSlut & killvar 'katjaSlut'
  848. if katjaHorny > 0: katjaQW['horny'] = katjaHorny & killvar 'katjaHorny'
  849. if katjaSex = 1: katjaQW['park_sex'] = 1 & killvar 'katjaSex'
  850. if katjaSex = 2: katjaQW['park_sex'] = 2 & killvar 'katjaSex'
  851. if katjaSex > 2: katjaQW['park_sex'] = 3 & killvar 'katjaSex'
  852. if KatjaMastr > 0: katjaQW['masturbates'] = KatjaMastr & killvar 'KatjaMastr'
  853. if KatjaThroat > 0: npc_throat['A14'] = KatjaThroat & killvar 'KatjaThroat'
  854. if KatjaAnus > 0: npc_ass['A14'] = KatjaAnus & killvar 'KatjaAnus'
  855. if KatjaOrgasm > 0: KatjaQW['orgasm_day'] = KatjaOrgasm & killvar 'KatjaOrgasm'
  856. if katjaMeynoldday > 0: katjaQW['afterschool_hangout_day'] = katjaMeynoldday & killvar 'katjaMeynoldday'
  857. if tangaday > 0: katjaQW['no_panties_day'] = tangaday & killvar 'tangaday'
  858. if KatjaKnowMastr > 0: katjaQW['knows_masterbation'] = 1 & killvar 'KatjaKnowMastr'
  859. if SelfFistingKnow > 0: katjaQW['knows_self_fisting'] = 1 & killvar 'SelfFistingKnow'
  860. if KatjaKnowBJ > 0: katjaQW['knows_BJ'] = 1 & killvar 'KatjaKnowBJ'
  861. if KatjaKnowSex > 0: katjaQW['knows_sex'] = 1 & killvar 'KatjaKnowSex'
  862. if KatjaKnowAnal > 0: katjaQW['knows_anal'] = 1 & killvar 'KatjaKnowAnal'
  863. if KatjaKnowKuni > 0: katjaQW['knows_cuni'] = 1 & killvar 'KatjaKnowKuni'
  864. if KatjaKnowPirsA > 0: katjaQW['know_Pirced_tongue'] = 1 & killvar 'KatjaKnowPirsA'
  865. if katschoolsex > 0: katja['school_sex'] = 1 & killvar 'katschoolsex'
  866. if katja_disco_Foto > 0: katjaQW['disco_Foto'] = 1 & killvar 'katja_disco_Foto'
  867. if meynoldQW = 3: katjaQW['drunk_help'] = 1 & killvar 'meynoldQW'
  868. if katja_disco_end > 0: katjaQW['no_panties_at_disco'] = 1 & killvar 'katja_disco_end'
  869. if KatjaOhrenet > 0: KatjaQW['sex_in_the_park_comment'] = KatjaOhrenet & killvar 'KatjaOhrenet'
  870. if flag_start_parc > 0: katjaQW['school_kiss'] = flag_start_parc & killvar 'flag_start_parc'
  871. end
  872. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080500:
  873. if $loc = 'dorm': $loc = 'uni_dorm' & $menu_loc = 'uni_dorm'
  874. if $loc = 'HotelWork': $loc = 'hotel_work' & $menu_loc = 'hotel_work'
  875. if $loc = 'ParChurch': $loc = 'pav_church' & $menu_loc = 'pav_church'
  876. if $loc = 'pav_train': $loc = 'pav_market' & $menu_loc = 'pav_market'
  877. if $loc = 'univer': $loc = 'uni_admin' & $menu_loc = 'uni_admin'
  878. if $loc='youplace': $loc = 'city_mansion_entrance' & $menu_loc = 'city_mansion_entrance'
  879. if $loc='ykamin': $loc ='city_mansion_residence_2' & $loc_arg='ylounge' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylounge'
  880. if $loc='ykuh': $loc ='city_mansion_residence_1' & $loc_arg='ykitchen' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ykitchen'
  881. if $loc='ydet': $loc ='city_mansion_residence_2' & $loc_arg='ynursery' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ynursery'
  882. if $loc='ybib': $loc ='city_mansion_residence_2' & $loc_arg='ylibrary' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylibrary'
  883. if $loc='ybedr': $loc ='city_mansion_residence_1' & $loc_arg='ybedroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybedroom'
  884. if $loc='ybass': $loc ='city_mansion_residence_3' & $loc_arg='ypool' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ypool'
  885. if $loc='yban': $loc ='city_mansion_residence_3' & $loc_arg='ysauna' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ysauna'
  886. if $loc='yvan': $loc ='city_mansion_residence_1' & $loc_arg='ybathroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybathroom'
  887. if $loc='ymans': $loc ='city_mansion_residence_1' & $loc_arg='yfoyer' & $menu_loc ='city_mansion_residence_1' & $menu_arg='yfoyer'
  888. if $loc='yzal': $loc ='city_mansion_residence_2' & $loc_arg='yliving' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yliving'
  889. if $loc='ysport': $loc ='city_mansion_residence_3' & $loc_arg='ygym' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ygym'
  890. if $loc='ykabinet': $loc ='city_mansion_residence_2' & $loc_arg='yoffice' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yoffice'
  891. !!updater for sports clothing variable to unify it and fix bug
  892. i = 1
  893. :danilovichfix
  894. if danilovich[i] = 1:
  895. danilovich_outfits[i] = 1
  896. danilovich_outfits_s[i] = danilovich_s[i]
  897. danilovich_outfits_h[i] = danilovich_h[i]
  898. danilovich_outfits_b[i] = danilovich_b[i]
  899. end
  900. i += 1
  901. if i <= 170:jump 'danilovichfix'
  902. killvar 'danilovich'
  903. killvar 'danilovich_s'
  904. killvar 'danilovich_h'
  905. killvar 'danilovich_b'
  906. !! New setting for gaping time per stage in minutes that can be made user definable
  907. if agape[4] = 0: agape[4] = 10
  908. if vgape[4] = 0: vgape[4] = 10
  909. end
  910. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080502:
  911. i = 0
  912. :saveupdaterloop852_1
  913. $text = 'C'+str(i)
  914. temp1 = func('shortgs', 'get_me_index', '$npc_firstname',$text)
  915. if temp1 >= 0:
  916. $npc_index[$text] = $text
  917. end
  918. i += 1
  919. if i < carraynumber: jump 'saveupdaterloop852_1'
  920. i = 0
  921. :saveupdaterloop852_2
  922. $text = 'B'+str(i)
  923. temp1 = func('shortgs', 'get_me_index', '$npc_firstname',$text)
  924. if temp1 >= 0:
  925. $npc_index[$text] = $text
  926. end
  927. i += 1
  928. if i < barraynumber: jump 'saveupdaterloop852_2'
  929. end
  930. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080503:
  931. i = 0
  932. :saveupdaterloop853_1
  933. if npc_grupTipe['A<<i>>'] = 5:
  934. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_outcast_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  935. elseif npc_grupTipe['A<<i>>'] = 4:
  936. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_gopnik_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  937. elseif npc_grupTipe['A<<i>>'] = 3:
  938. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_nerd_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  939. elseif npc_grupTipe['A<<i>>'] = 2:
  940. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  941. elseif npc_grupTipe['A<<i>>'] = 1:
  942. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_coolkid_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  943. end
  944. i += 1
  945. if i < 250: jump 'saveupdaterloop853_1'
  946. if hotelroom1day ! 0:
  947. hotelRoomDays['pav_hotel'] = hotelroom1day
  948. killvar'hotelroom1day'
  949. hotelRoom['pav_hotel'] = hotelroom
  950. hotelroom = 0
  951. end
  952. end
  953. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080504:
  954. !!Christinas chat have to stay in the jocks file even if she is an outcast
  955. $npcGoSchool['A18'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A18']) + '''"><<$npc_usedname["A18"]>></a>'
  956. if storyline = 1 and MagikDostup = 1:
  957. $start_type = 'sg'
  958. $start_type[1] = 'nomagic'
  959. elseif $start_type = 'csb':
  960. $start_type = 'sg_tg'
  961. $start_type[1] = 'tg'
  962. elseif storyline = 1:
  963. $start_type = 'sg_m'
  964. elseif MagikDostup = 1:
  965. $start_type = 'city'
  966. $start_type[1] = 'nomagic'
  967. else
  968. $start_type = 'city_tg'
  969. $start_type[1] = 'tg'
  970. end
  971. end
  972. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080601:
  973. if pcs_skin < 150: pcs_skin = 7 * pcs_skin
  974. gs 'body'
  975. gs 'body', 'DailyUpdate'
  976. gs 'AppearanceSystem', 'UpdateBaseAppearnce'
  977. gs 'stat'
  978. end
  979. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080700:
  980. !!name fix from kats to cats
  981. i = 1
  982. :loopcatsbrassave
  983. if kats_bras[i] = 1:
  984. cats_brasS[i] = kats_brasS[i]
  985. cats_bras[i] = kats_bras[i]
  986. end
  987. i += 1
  988. if i <= ARRSIZE('kats_bras'):jump 'loopcatsbrassave'
  989. killvar 'kats_brasS'
  990. killvar 'kats_bras'
  991. i = 1
  992. :loopcatspantiessave
  993. if kats_panties[i] = 1:
  994. cats_pantiesS[i] = kats_pantiesS[i]
  995. cats_panties[i] = kats_panties[i]
  996. end
  997. i += 1
  998. if i <= ARRSIZE('kats_panties'):jump 'loopcatspantiessave'
  999. killvar 'kats_pantiesS'
  1000. killvar 'kats_panties'
  1001. !!Christina variable update
  1002. if AvelinaQW['encourage'] = 1: AvelinaQW['encourage'] = 0
  1003. if lariskaQwestDay < 0 or lariskaQwestDay > 0: killvar 'lariskaQwestDay'
  1004. if LariskaQW['LariskaHelp'] < 0 or LariskaQW['LariskaHelp'] > 0: LariskaQW['LariskaHelp'] = 0
  1005. if LariskaQW['LariskaHelpEnd'] = 1: LariskaQW['LariskaHelpEnd'] = 0
  1006. if npc_grupTipe['A18'] = 5: npc_grupTipe['A18'] = 2
  1007. if christinaQW['dompath'] >= 1:
  1008. if christinaQW['dompath'] >= 6:
  1009. christinaQW['fight'] = 1
  1010. christinaQW['dompath'] = 0
  1011. else
  1012. christinaQW['dompath'] = 0
  1013. end
  1014. end
  1015. if christinaQW['set_bully'] = 0:
  1016. if (christinaQW['blackmail'] > 0 or christinaQW['pre_bm'] > 0 or christinaQW['pre_fight'] > 0 or christinaQW['fight'] > 0) and christinaQW['set_bully'] = 0:
  1017. christinaQW['set_bully'] = 1
  1018. christinaQW['bully'] = 40
  1019. end
  1020. if christinaQW['subpath'] > 0:
  1021. christinaQW['set_bully'] = 1
  1022. christinaQW['bully'] = 60
  1023. end
  1024. end
  1025. !!Schedule migrated to the array, no need to change first
  1026. killvar 'chrisloc'
  1027. killvar 'lariloc'
  1028. killvar 'anyaloc'
  1029. killvar 'kolloc'
  1030. killvar 'sdadloc'
  1031. killvar 'father_go'
  1032. killvar 'momloc'
  1033. killvar 'momclean1'
  1034. killvar 'momclean2'
  1035. if mother_go > 0:
  1036. locat['Mom_cafe_sex'] = mother_go
  1037. end
  1038. killvar 'm_day'
  1039. killvar 'mother_go'
  1040. killvar 'ocpd_room'
  1041. if indorf > 0:
  1042. locat['Fam_inGad'] = indorf
  1043. end
  1044. if indorf_month = month:
  1045. locat['Fam_month_inGad'] = indorf_month
  1046. end
  1047. if dostupindorf > 0:
  1048. locat['Fam_set_month_inGad'] = dostupindorf
  1049. end
  1050. killvar 'indorf'
  1051. killvar 'indorf_month'
  1052. killvar 'dostupindorf'
  1053. if sister_indorf > 0:
  1054. locat['Anya_Gad'] = sister_indorf
  1055. end
  1056. if sister_opr_indorf > 0:
  1057. locat['Anya_check_Gad'] = sister_opr_indorf
  1058. end
  1059. killvar 'sister_indorf'
  1060. killvar 'sister_opr_indorf'
  1061. if workKafe = 1:
  1062. workKafe = 0
  1063. workKafe['job'] = 1
  1064. end
  1065. if item_moisturizer['time'] > 0:
  1066. item_moisturizer_time = item_moisturizer['time']
  1067. gs 'shortgs', 'remove_array_element', 'item_moisturizer', 'time'
  1068. end
  1069. end
  1070. killvar 'hypnoHairStyle'
  1071. if mod_list > 0:
  1072. mod_i=1
  1073. :mod_data_updater
  1074. if $mod_name[mod_i] ! '':
  1075. $mod_su_name = 'mod_<<$mod_name[mod_i]>>_saveupdater'
  1076. if LOC($mod_su_name): gs $mod_su_name
  1077. end
  1078. if mod_list > mod_i:
  1079. mod_i+=1
  1080. jump 'mod_data_updater'
  1081. end
  1082. killvar '$mod_su_name'
  1083. killvar 'mod_i'
  1084. end
  1085. if stat['virgin'] > 0:
  1086. stat['think_virgin'] = stat['virgin']
  1087. gs 'shortgs', 'remove_array_element', 'stat', 'virgin'
  1088. end
  1089. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080703:
  1090. end
  1091. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080800:
  1092. !!update base appearance to the new calculation
  1093. gs 'AppearanceSystem', 'UpdateBaseAppearnce'
  1094. gs 'AppearanceSystem'
  1095. if $wloc = 'default':$wloc = 'default1'
  1096. !! new teeth variables
  1097. if pcs_teeth >= 0:
  1098. pcs_missing_teeth = pcs_teeth
  1099. pcs_teeth = 0
  1100. end
  1101. !! udate of Artem quest variables to an array.
  1102. if artembj > 0: artemQW['bj'] = artembj & killvar 'artembj'
  1103. if artemsex > 0: artemQW['sex'] = artemsex & killvar 'artemsex'
  1104. if artemanal > 0: artemQW['anal'] = artemanal & killvar 'artemanal'
  1105. if artemhj > 0: artemQW['hj'] = artemhj & killvar 'artemhj'
  1106. if artembrokenheart > 0: artemQW['brokenheart'] = artembrokenheart & killvar 'artembrokenheart'
  1107. if artemStripSee > 0: artemQW['stripsee'] = artemStripSee & killvar 'artemStripSee'
  1108. if artemlove > 0: artemQW['artemlove'] = artemlove & killvar 'artemlove'
  1109. if artemblok > 0: artemQW['artemblok'] = artemblok & killvar 'artemblok'
  1110. if artembf > 0: artemQW['bf'] = artembf & killvar 'artembf'
  1111. if artdryhump > 0: artemQW['dryhump'] = artdryhump & killvar 'artdryhump'
  1112. if artlie > 0: artemQW['artlie'] = artlie & killvar 'artlie'
  1113. if artfall > 0: artemQW['artfall'] = artfall & killvar 'artfall'
  1114. if artdate > 0: artemQW['date'] = artdate & killvar 'artdate'
  1115. if artdim > 0: artemQW['dimka'] = artdim & killvar 'artdim'
  1116. if artslutlove > 0: artemQW['slutlove'] = artslutlove & killvar 'artslutlove'
  1117. if artsveslut > 0: artemQW['sveslut'] = artsveslut & killvar 'artsveslut'
  1118. if metArtemMom > 0: artemQW['metArtemMom'] = metArtemMom & 'metArtemMom'
  1119. if artdimhelp > 0: artemQW['dimkahelp'] = artdimhelp & killvar 'artdimhelp'
  1120. !! update Julia to an array
  1121. if JulMilBestFrend > 0: juliaQW['JulMilBestFrend'] = JulMilBestFrend & killvar 'JulMilBestFrend'
  1122. if eatJulMilDay: juliaQW['eatJulMilDay'] = eatJulMilDay & killvar 'eatJulMilDay'
  1123. if SexTalkJulia: juliaQW['SexTalkJulia'] = SexTalkJulia & killvar 'SexTalkJulia'
  1124. if BeInJulMilHome: juliaQW['home_unlocked'] = BeInJulMilHome & killvar 'BeInJulMilHome'
  1125. if JuliaMilLernQW: juliaQW['study_unlocked'] = JuliaMilLernQW & killvar 'JuliaMilLernQW'
  1126. end
  1127. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080802:
  1128. !!--------------------------------------------------------------------
  1129. !! Prostitution related changes
  1130. !!--------------------------------------------------------------------
  1131. !! Gadukino prostitution
  1132. gs 'prostitution_functions', 'set_gadukion_prostitute'
  1133. !! Anuahka''s variables put in an array.
  1134. if anushkaFirstvisit > 0: anushkaQW['first_visit'] = anushkaFirstvisit & killvar 'anushkaFirstvisit'
  1135. if Anush_lunch > 0: anushkaQW['lunch'] = Anush_lunch & killvar 'Anush_lunch'
  1136. if nush_model > 0: anushka['model'] = nush_model & killvar 'nush_model'
  1137. if foto_anush_referral > 0: anushka['model_referral'] = foto_anush_referral & killvar 'foto_anush_referral'
  1138. if AnushkaCompUse > 0: anushkaQW['computer_use'] = AnushkaCompUse & killvar 'AnushkaCompUse'
  1139. if marspyknow > 0: anushkaQW['marspyknow'] = marspyknow & killvar 'marspyknow'
  1140. if nushstrapanalpain > 0: anushkaQW['strapon_anal_pain'] = nushstrapanalpain & killvar 'nushstrapanalpain'
  1141. if nushstrapon > 0: anushkaQW['strapon'] = nushstrapon & killvar 'nushstrapon'
  1142. if domnush > 0: anushkaQW['dom_nush'] = domnush & killvar 'domnush'
  1143. if seenEd > 0: anushkaQw['seen_ed'] = seenEd & killvar 'seenEd'
  1144. if valeriaIntroduced > 0: anushkaQw['valeria_introduced'] = valeriaIntroduced & killvar 'valeriaIntroduced'
  1145. if showerphotos > 0: anushkaQW['shower_photos'] = showerphotos & killvar 'showerphotos'
  1146. if anushka_tv_day > 0: anushkaQW['tv_day'] = anushka_tv_day & killvar 'anushka_tv_day'
  1147. if anushka_shower_day > 0: anushkaQW['shower_day'] = anushka_shower_day & killvar 'anushka_shower_day'
  1148. if AnushkaHomeDay > 0: anushkaQW['home_day'] = AnushkaHomeDay & killvar 'AnushkaHomeDay'
  1149. if nush_photoshoot > 0: anushkaQW['photoshoot'] = nush_photoshoot & killvar 'nush_photoshoot'
  1150. if NushVsNiko > 0: anushka['vs_niko'] = NushVsNiko & killvar 'NushVsNiko'
  1151. if nushaboutalyona > 0: anushkaQW['about_alyona'] = nushaboutalyona & killvar 'nushaboutalyona'
  1152. if valspy > 0: anushkaQW['valspy'] = valspy & killvar 'valspy'
  1153. if radnushdate > 0: anushkaQW['rad_date'] = radnushdate & killvar 'radnushdate'
  1154. if radspy > 0: anushkaQW['radspy'] = radspy & killvar ' radspy'
  1155. if nushfedor3s > 0: anushkaQW['fedor_3some'] = nushfedor3s & killvar 'nushfedor3s'
  1156. if Anush_sex > 0: anushkaQW['sex'] = Anush_sex & killvar 'Anush_sex'
  1157. if Anush_dolls > 0: anushkaQW['dolls'] = Anush_dolls & killvar 'Anush_dolls'
  1158. if anushka_toilet > 0: anushkaQW['toilet'] = anushka_toilet & killvar 'anushka_toilet'
  1159. if marspy > 0: anushkaQW['marspy'] = marspy & killvar 'marspy'
  1160. if bandpracticeinvite > 0: gopnikbandQW['practice_invite'] = bandpracticeinvite & killvar 'bandpracticeinvite'
  1161. end
  1162. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080804:
  1163. !!--------------------------------------------------------------------
  1164. !! Homes, Properties and Internet Update
  1165. !!--------------------------------------------------------------------
  1166. !! Transferring the owned, rented, accessible properties
  1167. ! city apartment
  1168. if home_owned[1] = 1 or owned_property['city_apartment'] = 1:
  1169. gs 'homes_properties', 'rent_property', 'city_apartment', ArendHouseSL
  1170. elseif home_owned[1] = 2 or owned_property['city_apartment'] = 2:
  1171. gs 'homes_properties', 'buy_property', 'city_apartment'
  1172. elseif home_owned[1] = 3 or owned_property['city_apartment'] = 3:
  1173. gs 'homes_properties', 'tenants_move_in', 'city_apartment',sdaday, sdamonth
  1174. end
  1175. !! Checking for renovation
  1176. if home_owned[1] > 0 or owned_property['city_apartment'] = 1:
  1177. if rembedr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'bedroom'
  1178. if remsitr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'living room'
  1179. if remkorr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'hallway'
  1180. if remvanr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'bathroom'
  1181. if remkuhr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'kitchen'
  1182. end
  1183. ! parents home
  1184. if home_owned[2] > 0 or owned_property['parents_home'] > 0: gs 'homes_properties', 'give_access', 'parents_home'
  1185. ! cottage in the village
  1186. if home_owned[3] > 0 or owned_property['village_cottage'] > 0: gs 'homes_properties', 'buy_property', 'village_cottage'
  1187. if home_owned[3] > 1 or owned_property['village_cottage-renovated'] = 1: gs 'homes_properties', 'renovate_property', 'village_cottage', 200000
  1188. ! Pushking old town apartment
  1189. if home_owned[4] = 1 or owned_property['old_town_apartment'] = 1: gs 'homes_properties', 'rent_property', 'old_town_apartment', ArendHouseSL4
  1190. ! Matryona mansion
  1191. if home_owned[5] > 0 or owned_property['matryona_mansion'] > 0: gs 'homes_properties', 'buy_property', 'matryona_mansion'
  1192. if home_owned[5] > 1 or owned_property['matryona_mansion-construction-status'] = 1: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1193. if home_owned[5] > 2 or owned_property['matryona_mansion-construction-status'] = 2: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1194. ! Pavlovsk hotel room
  1195. if home_owned[6] > 0 or owned_property['pavlovsk_hotel'] > 0: gs 'homes_properties', 'give_access', 'pavlovsk_hotel'
  1196. ! Live in maid bedroom
  1197. if home_owned[7] > 0 or owned_property['maid_bedroom'] > 0: gs 'homes_properties', 'give_access', 'maid_bedroom'
  1198. ! Niko apartment
  1199. if home_owned[8] > 0 or owned_property['niko_apartment'] > 0: gs 'homes_properties', 'give_access', 'niko_apartment'
  1200. ! Shulga apartment
  1201. if home_owned[9] > 0 or owned_property['shulga_apartment'] > 0: gs 'homes_properties', 'give_access', 'shulga_apartment'
  1202. ! Lyceum dorm room
  1203. if home_owned[10] > 0 or owned_property['lyceum_dorm'] > 0: gs 'homes_properties', 'give_access', 'lyceum_dorm'
  1204. ! University dorm room
  1205. if home_owned[11] > 0 or owned_property['university_dorm'] > 0: gs 'homes_properties', 'give_access', 'university_dorm'
  1206. ! Hunters lodge
  1207. if home_owned[12] > 0 or owned_property['hunters_lodge'] > 0: gs 'homes_properties', 'give_access', 'hunters_lodge'
  1208. ! Shared apartment in Pavlovsk
  1209. if home_owned[13] > 0 or owned_property['shared_apartment'] > 0: gs 'homes_properties', 'give_access', 'shared_apartment'
  1210. ! Grandparents house
  1211. if home_owned[14] > 0 or owned_property['grandparents_house'] > 0: gs 'homes_properties', 'give_access', 'grandparents_house'
  1212. ! City residential house
  1213. if home_owned[15] > 0 or owned_property['city_house'] > 0: gs 'homes_properties', 'buy_property', 'city_house'
  1214. ! Meynold household
  1215. if home_owned[16] > 0 or owned_property['meynold_household'] > 0: gs 'homes_properties', 'give_access', 'meynold_household'
  1216. !! Setting the current home and fixing potential missing access issues
  1217. if curr_home > 0 and $home['current'] = '': gs 'homes_properties', 'set_home', '', STR(curr_home)
  1218. if $home['current'] = 'parents_home' and accessible_property['parents_home'] = 0: gs 'homes_properties', 'give_access', 'parents_home'
  1219. killvar 'home_owned' & killvar 'curr_home' & killvar 'ArendHouseSL' & killvar 'ArendHouseSL4'
  1220. killvar 'home_rent_txt' & killvar 'home_value' & killvar 'home_value_txt'
  1221. killvar 'sdaday' & killvar 'sdamonth' & killvar 'owned_property'
  1222. if $home['current'] = '':
  1223. if mid($start_type, 1, 2) = 'sg':
  1224. gs 'homes_properties', 'give_access', 'parents_home'
  1225. gs 'homes_properties', 'set_home', 'parents_home'
  1226. elseif mid($start_type, 1, 4) = 'city':
  1227. gs 'homes_properties', 'give_access', 'city_apartment'
  1228. gs 'homes_properties', 'set_home', 'city_apartment'
  1229. elseif mid($start_type, 1, 3) = 'uni':
  1230. gs 'homes_properties', 'give_access', 'university_dorm'
  1231. gs 'homes_properties', 'set_home', 'university_dorm'
  1232. end
  1233. end
  1234. !! Setting the internet
  1235. if internet > 0:
  1236. old_internet_value = 10*internet
  1237. if $home['internet_enabled'] = 1:
  1238. gs 'internet_mobile', 'buy_subscription', $home['current'], 900
  1239. if (old_internet_value - 900) >= 0: money += (old_internet_value - 900)
  1240. else
  1241. if old_internet_value >= 1200:
  1242. gs 'internet_mobile', 'buy_subscription', 'mobile', 1200
  1243. if (old_internet_value - 1200) > 0: money += (old_internet_value - 1200)
  1244. else
  1245. gs 'internet_mobile', 'top_up_metered', 'metered_mobile', internet*60
  1246. end
  1247. end
  1248. killvar 'internet'
  1249. end
  1250. !! Setting the mobile phone calls and texts
  1251. if balans > 0:
  1252. if (balans - 800) >= 0:
  1253. gs 'internet_mobile', 'buy_subscription', 'monthly_calls', 800
  1254. money += (balans - 800)
  1255. else
  1256. if balans >= 225:
  1257. temp_phone_mult = balans/225
  1258. temp_phone_rem = balans MOD 225
  1259. new_balans = temp_phone_mult * 240
  1260. gs 'internet_mobile', 'top_up_metered', 'metered_calls', new_balans
  1261. if temp_phone_rem > 0: money += temp_phone_rem
  1262. elseif balans >= 170:
  1263. temp_phone_rem = balans MOD 170
  1264. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 180
  1265. if temp_phone_rem > 0: money += temp_phone_rem
  1266. elseif balans = 115:
  1267. temp_phone_rem = balans MOD 115
  1268. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 120
  1269. if temp_phone_rem > 0: money += temp_phone_rem
  1270. elseif balans >= 60:
  1271. temp_phone_rem = balans MOD 60
  1272. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 60
  1273. if temp_phone_rem > 0: money += temp_phone_rem
  1274. else
  1275. gs 'internet_mobile', 'top_up_metered', 'metered_calls', balans
  1276. end
  1277. end
  1278. killvar 'balans' & killvar 'temp_phone_rem' & killvar 'temp_phone_mult' & killvar 'new_balans'
  1279. end
  1280. !! ------------ NPC Stat Updater ------------------------
  1281. if $ARGS[0] = 'npc_stat_update':
  1282. if npc_start_free_time[$boy] = 0 or npc_day_off[$boy] = 0:
  1283. if npc_finance[$boy] = 0:
  1284. if rand(1,3) = 1:
  1285. npc_start_free_time[$boy] = 9
  1286. npc_end_free_time[$boy] = 12
  1287. elseif rand(1,2) = 1:
  1288. npc_start_free_time[$boy] = 16
  1289. npc_end_free_time[$boy] = 20
  1290. else
  1291. npc_start_free_time[$boy] = 20
  1292. npc_end_free_time[$boy] = 23
  1293. end
  1294. elseif npc_finance[$boy] = 1:
  1295. if rand(1,2) = 1:
  1296. npc_start_free_time[$boy] = 9
  1297. npc_end_free_time[$boy] = 12
  1298. else
  1299. npc_start_free_time[$boy] = 20
  1300. npc_end_free_time[$boy] = 23
  1301. end
  1302. elseif npc_finance[$npclastgenerated] = 2:
  1303. npc_apt_type[$npclastgenerated] = 5
  1304. !!npc_apt_type[$npclastgenerated] = rand(5,6)
  1305. !! apt_type 6 is disabled until pictures are added
  1306. npc_occupation[$npclastgenerated] = rand(14,18)
  1307. npc_car[$npclastgenerated] = rand(0,1)
  1308. end
  1309. npc_day_off = rand(1,7)
  1310. end
  1311. end
  1312. end
  1313. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080806:
  1314. if $wardrobeDefaultPagePref = 'savedOutfits':$wardrobeDefaultPagePref = 'default1'
  1315. end
  1316. if traits > 0 or trait > 0:
  1317. pcs_traits['nerd_status'] = traits['nerd_status']
  1318. pcs_traits['cumeater'] = trait['cumeater']
  1319. pcs_traits['commando_lvl'] = trait['commando_lvl']
  1320. pcs_traits['commando_exp'] = trait['commando_exp']
  1321. pcs_traits['alko_status'] = traits['alko_status']
  1322. pcs_traits['alko_points'] = traits['alko_points']
  1323. pcs_traits['buttslut_lvl'] = traits['buttslut_lvl']
  1324. pcs_traits['buttslut_exp'] = traits['buttslut_exp']
  1325. pcs_traits['nerd_lernHome'] = traits['nerd_lernHome']
  1326. pcs_traits['nerd_points'] = traits['nerd_points']
  1327. pcs_traits['nerd_lessons'] = traits['nerd_lessons']
  1328. killvar 'traits'
  1329. killvar 'trait'
  1330. end
  1331. gs 'saveg'
  1332. --- saveupdater ---------------------------------