saveupdater.qsrc 59 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436
  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 traits['update_1'] = 0:
  224. traits['update_1'] = 1
  225. traits['alko_day'] = alko_trait_day
  226. traits['alko_points'] = alko_trait_counter
  227. 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:trait['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. !!--------0.8.1--- Music variable names changed
  253. if ml_update_1 = 0:
  254. ml_guitar['hasguitar'] = ml_guitar
  255. ml_guitar['carried'] = ml_guitarWithMe
  256. ml_performance['performed_minutes'] = ml_performed_minutes
  257. ml_performance['max_perform_minutes'] = ml_max_perform_minutes
  258. ml_guitar['chordbook'] = ml_chordbook
  259. ml_guitarlesson['lessoncount'] = ml_lessoncount
  260. ml_guitarlesson['lessonday'] = ml_lessonday
  261. $ml_guitarlesson['lessonday'] = $ml_lessonday
  262. ml_guitarlesson['lessonhour'] = 15
  263. ml_guitarlesson['nextlesson'] = daystart + (ml_guitarlesson['lessonday'] + 7 - week)
  264. ml_guitarlesson['advertisement'] = ml_guitarlessonadv
  265. ml_guitarlesson['enquired'] = ml_enquired
  266. if age < 18:
  267. ml_guitarlesson['lessoncost'] = 300
  268. else
  269. ml_guitarlesson['lessoncost'] = 500
  270. end
  271. killvar 'ml_guitarWithMe'
  272. killvar 'ml_performed_minutes'
  273. killvar 'ml_max_perform_minutes'
  274. killvar 'ml_guitarlessonadv'
  275. killvar 'ml_enquired'
  276. killvar 'ml_lessonday'
  277. killvar '$ml_lessonday'
  278. killvar 'ml_lessoncost'
  279. !!--------0.8.1--- Music variable names changed
  280. ml_update_1 = 1
  281. end
  282. !! changed $metkaM to $locM_arg and $metka to $loc_arg in the code - needed for correction saves saved prior to version 0.8.1
  283. if arrsize('$metkaM') > 0 or arrsize('$metka') > 0:
  284. $locM_arg = $metkaM
  285. $loc_arg = $metka
  286. killvar '$metkaM'
  287. killvar '$metka'
  288. end
  289. !!---------------------------------------------------------------
  290. !! fixes the variable for Christina getting outcasted, so she will show up in the journal correctly
  291. if zverSlutQW = 2:
  292. npc_grupTipe['A18'] = 5
  293. end
  294. !!---------------------------------------------------------------
  295. !!model variable updates
  296. if anastasia > 0 and anastasia['saveupdate'] = 0:
  297. anastasia['status'] = anastasia
  298. anastasia['escort_ask'] = anastasia_escort_ask
  299. anastasia['model_exp'] = anastasia_mode_exp
  300. anastasia['sex'] = anastasiasex
  301. anastasia['saveupdate'] = 1
  302. end
  303. if foto_models['emily'] > 0 and emily['saveupdate'] = 0:
  304. emily['status'] = foto_models['emily']
  305. emily['hate'] = emily_hate
  306. emily['model_exp'] = emily_model_exp
  307. emily['saveupdate'] = 1
  308. end
  309. if jeff > 0 and jeff['saveupdate'] = 0:
  310. jeff['status'] = jeff
  311. jeff['grope'] = jeff_grope
  312. jeff['movies'] = jeff_movies
  313. jeff['model_exp'] = jeff_model_exp
  314. jeff['saveupdate'] = 1
  315. end
  316. if krystal > 0 and krystal['saveupdate'] = 0:
  317. krystal['status'] = krystal['talk']
  318. krystal['saveupdate'] = 1
  319. end
  320. if mari > 0 and mari['saveupdate'] = 0:
  321. mari['status'] = mari
  322. mari['busy'] = mari_busy
  323. mari['farm_shoot'] = mari_farm_shoot
  324. mari['cloth_shoot'] = mari_cloth_shoot
  325. mari['convo'] = mari_convo
  326. mari['sex'] = mari_sex
  327. mari['model_exp'] = mari_model_exp
  328. mari['model_ask'] = mari_modelling_exp
  329. mari['fakepassport'] = mari_fakepassport
  330. mari['saveupdate'] = 1
  331. end
  332. if $model['firstname'] = '':
  333. $model['firstname'] = $pcs_firstname
  334. $model['nickname'] = $pcs_nickname
  335. $model['lastname'] = $pcs_lastname
  336. end
  337. !! Fixing Katja and Natasha relationship
  338. if npc_sex['A14'] > 1: npc_sex['A14'] = 1
  339. if npc_sex['A16'] > 1: npc_sex['A16'] = 1
  340. !! University related vars update
  341. if student >= 0:
  342. gs 'uniutil', 'transfer_legacy_vars'
  343. end
  344. !!---------------------------------------------------------------
  345. !! Lariska story variables migrated to array
  346. if KotovZverHelp > 0: LariskaQW['VitekHelp'] = KotovZverHelp & killvar 'KotovZverHelp'
  347. if IvanZverHelp > 0: LariskaQW['IvanHelp'] = IvanZverHelp & killvar 'IvanZverHelp'
  348. if FyodorZverHelp > 0: LariskaQW['FedorHelp'] = FyodorZverHelp & killvar 'FyodorZverHelp'
  349. if lariskaHelp > 0: LariskaQW['LariskaHelp'] = lariskaHelp & killvar 'lariskaHelp'
  350. if lariskaHelp_end > 0: LariskaQw['LariskaHelpEnd'] = lariskaHelp_end & killvar 'lariskaHelp_end'
  351. !!---------------------------------------------------------------
  352. !! Shave updater
  353. if shave_update ! 1:
  354. if pubestyle = 1:
  355. shave_length = 2
  356. shave_trigger = 4
  357. elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  358. shave_length = 16
  359. shave_trigger = 21
  360. elseif pubestyle = 10:
  361. shave_length = 26
  362. shave_trigger = 31
  363. elseif pubestyle = 11:
  364. shave_length = 2
  365. shave_trigger = 10
  366. end
  367. shave_update = 1
  368. end
  369. !! 0.8.2 clothing package for old saves ---------------------------------------
  370. 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:
  371. $batch_sell = {
  372. poshvalldrop += 1
  373. dynamic 'RESULT = <<$ARGS[0]>>H[<<ARGS[1]>>]'
  374. if RESULT > 100:
  375. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  376. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  377. money += 750
  378. selltot += 750
  379. elseif RESULT > 45:
  380. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  381. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  382. money += 500
  383. selltot += 500
  384. elseif RESULT > 30:
  385. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  386. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  387. money += 300
  388. selltot += 300
  389. elseif RESULT > 0:
  390. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  391. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  392. money += 100
  393. selltot += 100
  394. else
  395. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  396. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  397. end
  398. dynamic '<<$ARGS[0]>>H[<<ARGS[1]>>] = 0'
  399. }
  400. poshvalldrop = 0
  401. selltot = 0
  402. i = 1
  403. :cheapmet
  404. if cheap[i] = 1 and cheapH[i] > 0:dynamic($batch_sell, 'cheap', i)
  405. i += 1
  406. if i <= 419:jump 'cheapmet'
  407. i = 1
  408. :averagemet
  409. if average[i] = 1 and averageH[i] > 0:dynamic($batch_sell, 'average', i)
  410. i += 1
  411. if i <= 541:jump 'averagemet'
  412. i = 1
  413. :expensivemet
  414. if expensive[i] = 1 and expensiveH[i] > 0:dynamic($batch_sell, 'expensive', i)
  415. i += 1
  416. if i <= 442:jump 'expensivemet'
  417. i = 1
  418. :formalmet
  419. if formal[i] = 1 and formalH[i] > 0:dynamic($batch_sell, 'formal', i)
  420. i += 1
  421. if i <= 185:jump 'formalmet'
  422. i = 1
  423. :officemet
  424. if office[i] = 1 and officeH[i] > 0:dynamic($batch_sell, 'office', i)
  425. i += 1
  426. if i <= 140:jump 'officemet'
  427. i = 1
  428. :schoolmet
  429. if school[i] = 1 and schoolH[i] > 0:dynamic($batch_sell, 'school', i)
  430. i += 1
  431. if i <= 80:jump 'schoolmet'
  432. i = 1
  433. :exercisemet
  434. if exercise[i] = 1 and exerciseH[i] > 0:dynamic($batch_sell, 'exercise', i)
  435. i += 1
  436. if i <= 260:jump 'exercisemet'
  437. i = 1
  438. :fetishmet
  439. if fetish[i] = 1 and fetishH[i] > 0:dynamic($batch_sell, 'fetish', i)
  440. i += 1
  441. if i <= 240:jump 'fetishmet'
  442. i = 1
  443. :burlesquemet
  444. if burlesque[i] = 1 and burlesqueH[i] > 0:dynamic($batch_sell, 'burlesque', i)
  445. i += 1
  446. if i <= 22:jump 'burlesquemet'
  447. i = 1
  448. :exhibitmet
  449. if exhibit[i] = 1 and exhibitH[i] > 0:dynamic($batch_sell, 'exhibit', i)
  450. i += 1
  451. if i <= 125:jump 'exhibitmet'
  452. i = 1
  453. :uniformmet
  454. if uniform[i] = 1 and uniformH[i] > 0:dynamic($batch_sell, 'uniform', i)
  455. i += 1
  456. if i <= 60:jump 'uniformmet'
  457. i = 1
  458. :swimwearmet
  459. if swimwear[i] = 1 and swimwearH[i] > 0:dynamic($batch_sell, 'swimwear', i)
  460. i += 1
  461. if i <= 213:jump 'swimwearmet'
  462. i = 1
  463. :beachmet
  464. if beach[i] = 1 and beachH[i] > 0:dynamic($batch_sell, 'beach', i)
  465. i += 1
  466. if i <= 103:jump 'beachmet'
  467. i = 1
  468. :alternativemet
  469. if alternative[i] = 1 and alternativeH[i] > 0:dynamic($batch_sell, 'alternativer', i)
  470. i += 1
  471. if i <= 129:jump 'alternativemet'
  472. killvar 'batch_sell'
  473. killvar 'alternativeH' & killvar 'alternativeS' & killvar 'alternative'
  474. killvar 'averageH' & killvar 'averageS' & killvar 'average'
  475. killvar 'burlesqueH' & killvar 'burlesqueS' & killvar 'burlesque'
  476. killvar 'cheapH' & killvar 'cheapS' & killvar 'cheap'
  477. killvar 'exerciseH' & killvar 'exerciseS'
  478. killvar 'exhibitH' & killvar 'exhibitS'
  479. killvar 'expensiveH' & killvar 'expensiveS' & killvar 'expensive'
  480. killvar 'fetishH' & killvar 'fetishS'
  481. killvar 'formalH' & killvar 'formalS' & killvar 'formal'
  482. killvar 'officeH' & killvar 'officeS' & killvar 'office'
  483. killvar 'schoolH' & killvar 'schoolS' & killvar 'school'
  484. killvar 'uniformH' & killvar 'uniformS' & killvar 'uniform'
  485. killvar 'beachS' & killvar 'beachH' & killvar 'beachB'
  486. killvar 'swimwearS' & killvar 'swimwearH' & killvar 'swimwearB'
  487. killvar 'coatS' & killvar 'coatH'
  488. gm_outfits[50] = 1
  489. gm_outfits_h[50] = 100
  490. gm_outfits_b[50] = pcs_hips
  491. gs 'clothing', 'wear', 'gm_outfits', 50
  492. end
  493. !! Shave updater
  494. if shave_update ! 1:
  495. if pubestyle = 1:
  496. shave_length = 2
  497. shave_trigger = 4
  498. elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  499. shave_length = 16
  500. shave_trigger = 21
  501. elseif pubestyle = 10:
  502. shave_length = 26
  503. shave_trigger = 31
  504. elseif pubestyle = 11:
  505. shave_length = 2
  506. shave_trigger = 8
  507. end
  508. end
  509. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080203:
  510. !! Lariska variables removed, no longer needed - 2020/11/30 - Alaratt
  511. !! Edited - 2021/01/19 - Alaratt
  512. if beInLariskaHome = 1 or LariskaHomeIn >= 1:
  513. if LariskaHomeIn = 1:
  514. LariskaQW['story'] = 4
  515. else
  516. LariskaQW['story'] = 5
  517. end
  518. killvar 'LariskaHomeIn'
  519. killvar 'beInLariskaHome'
  520. end
  521. if doorlocked > 0: killvar 'doorlocked'
  522. if doorpeek > 0: killvar 'doorpeek'
  523. if lariskaBDSM > 0: killvar 'lariskaBDSM'
  524. if lariskaMotherKnown = 1:
  525. LariskaQW['metAnna'] = 1
  526. killvar 'lariskaMotherKnown'
  527. end
  528. if LariskaProfi = 1:
  529. LariskaQW['volleyball'] = 1
  530. killvar 'LariskaProfi'
  531. end
  532. !!---------------------------------------------------------------
  533. !! Migrates Christina variables into an array, removes unneeded variables, and fixes the outcast issue if still needed
  534. !! 2021/01/19 - Alaratt
  535. if zverSlutQW > 0:
  536. if zverSlutQW = 2:
  537. !! Christina lost the fight and is outcasted
  538. christinaQW['fight'] = 1
  539. christinaQW['dompath'] = 7
  540. npc_grupTipe['A18'] = 5
  541. else
  542. !! Christina lost the fight and is prepped for outcasting
  543. christinaQW['fight'] = 1
  544. christinaQW['dompath'] = 6
  545. end
  546. killvar 'zverSlutQW'
  547. end
  548. if zverRageQW > 0:
  549. if zverRageQW = 10:
  550. !! Christina won the fight
  551. christinaQW['fight'] = -1
  552. christinaQW['subpath'] = 2
  553. elseif zverRageQW = 2:
  554. !! Christina lost the fight
  555. christinaQW['fight'] = 1
  556. christinaQW['dompath'] = 6
  557. else
  558. !! You spread rumors about Christina and she preps for fight
  559. christinaQW['dompath'] = 4
  560. end
  561. killvar 'zverRageQW'
  562. end
  563. if socialchg['christina_dont_care'] = 1:socialchg['christina_dont_care'] = 0
  564. if zverevaQW > 0:killvar 'zverevaQW'
  565. if LinaSlut > 0:killvar 'LinaSlut'
  566. if fizrukSex > 0:killvar 'fizrukSex'
  567. if kristinaSex > 0:killvar 'kristinaSex'
  568. if christinaphotos > 0:
  569. if christinaphotos = 3:
  570. !! Christina won the fight and you have not had a shower scene with her yet
  571. christinaQW['fight'] = -1
  572. christinaQW['subpath'] = 2
  573. elseif christinaphotos = 4:
  574. !! Christina won the fight and you had first shower scene with her
  575. christinaQW['fight'] = -1
  576. christinaQW['subpath'] = 3
  577. elseif christinaphotos = 2:
  578. !! You submitted to Christina and you had first shower scene with her
  579. christinaQW['submit'] = 1
  580. christinaQW['subpath'] = 3
  581. else
  582. !! You submitted to Christina but not had a shower scene with her yet
  583. christinaQW['submit'] = 1
  584. christinaQW['subpath'] = 2
  585. end
  586. killvar 'christinaphotos'
  587. end
  588. !!---------------------------------------------------------------
  589. !!Albina variables no longer needed, no sense in having them run in the background for nothing
  590. if AlbinaQW['ParkRallyDay'] > 0:AlbinaQW['ParkRallyDay'] = 0
  591. if AlbinaQW['ElectionCampaignTime'] > 0:AlbinaQW['ElectionCampaignTime'] = 0
  592. if AlbinaQW['AlbFatherQW'] > 1:AlbinaQW['AlbFatherQW'] = 1
  593. !!---------------------------------------------------------------
  594. end
  595. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080204:
  596. !! Migrates kikboxing variables into an array, removes unneeded variables.
  597. if razradKik > 0: kickbox['sash'] = razradKik & killvar 'razradKik'
  598. if amatReit > 0: kickbox['advancement'] = amatReit & killvar 'amatReit'
  599. if kikmoney > 0: kickbox['money'] = kikmoney & killvar 'kikmoney'
  600. if KikWinAm > 0: kickbox['amateurWin'] = KikWinAm & killvar 'KikWinAm'
  601. if KikWinAmKO > 0: kickbox['amateurWinKO'] = KikWinAmKO & killvar 'KikWinAmKO'
  602. if KikLossAm > 0: kickbox['amateurLoss'] = KikLossAm & killvar 'KikLossAm'
  603. if KikLossAmKO > 0: kickbox['amateurLossKO'] = KikLossAmKO & killvar 'KikLossAmKO'
  604. if KikDrawAm > 0: kickbox['amateurDraw'] = KikDrawAm & killvar 'KikDrawAm'
  605. if amateur > 0: kickbox['amateur'] = amateur & killvar 'amateur'
  606. killvar 'razrand'
  607. end
  608. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080205:
  609. !! Migrates Anushka''s brother''s quest into a array.
  610. if maksimQW > 0: maksimQW['QWstage'] = maksimQW
  611. end
  612. !! 0.8.3 shoe package for old saves ---------------------------------------
  613. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080206:
  614. i = 1
  615. :sfetishmet
  616. if sfetish[i] = 1: money += 300
  617. i += 1
  618. if i <= 27:jump 'sfetishmet'
  619. i = 1
  620. :scatsmet
  621. if scats[i] = 1: money += 300
  622. i += 1
  623. if i <= 38:jump 'scatsmet'
  624. i = 1
  625. :sgandmsmet
  626. if sgandm[i] = 1: money += 300
  627. i += 1
  628. if i <= 40:jump 'sgandmsmet'
  629. i = 1
  630. :trainersmet
  631. if trainers[i] = 1: money += 300
  632. i += 1
  633. if i <= 30:jump 'trainersmet'
  634. i = 1
  635. :sboutiquemet
  636. if sboutique[i] = 1: money += 300
  637. i += 1
  638. if i <= 37:jump 'sboutiquemet'
  639. killvar 'sfetish' & killvar 'sfetishS'
  640. killvar 'scats' & killvar 'scatsS'
  641. killvar 'sgandm' & killvar 'sgandmS'
  642. killvar 'trainers' & killvar 'trainersS'
  643. killvar 'sboutique' & killvar 'sboutiqueS'
  644. sgm[5] = 1
  645. sgm_s[5] = 0
  646. gs 'shoes', 'wear', 'sgm', 5
  647. end
  648. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080304:
  649. $fametown = 'pav'
  650. :fametownloop
  651. $fameact = 'acting'
  652. :fameactloop
  653. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  654. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = <<$fametown>>_<<$fameact>>'
  655. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  656. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  657. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  658. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  659. else
  660. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  661. end
  662. killvar '<<$fametown>>_<<$fameact>>'
  663. if $fameact = 'acting':
  664. $fameact = 'dance'
  665. jump 'fameactloop'
  666. elseif $fameact = 'dance':
  667. $fameact = 'painting'
  668. jump 'fameactloop'
  669. elseif $fameact = 'painting':
  670. $fameact = 'music'
  671. jump 'fameactloop'
  672. elseif $fameact = 'music':
  673. $fameact = 'ballet'
  674. jump 'fameactloop'
  675. elseif $fameact = 'ballet':
  676. $fameact = 'modelling'
  677. jump 'fameactloop'
  678. elseif $fameact = 'modelling':
  679. $fameact = 'porn'
  680. jump 'fameactloop'
  681. elseif $fameact = 'porn':
  682. $fameact = 'stripping'
  683. jump 'fameactloop'
  684. elseif $fameact = 'stripping':
  685. $fameact = 'kickboxing'
  686. jump 'fameactloop'
  687. elseif $fameact = 'kickboxing':
  688. $fameact = 'running'
  689. jump 'fameactloop'
  690. elseif $fameact = 'running':
  691. $fameact = 'volleyball'
  692. jump 'fameactloop'
  693. elseif $fameact = 'volleyball':
  694. $fameact = 'chess'
  695. jump 'fameactloop'
  696. elseif $fameact = 'chess':
  697. $fameact = 'teaching'
  698. jump 'fameactloop'
  699. elseif $fameact = 'teaching':
  700. $fameact = 'media'
  701. jump 'fameactloop'
  702. end
  703. $fameact = 'sex'
  704. :fameactloop2
  705. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  706. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = <<$fametown>>_<<$fameact>>'
  707. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  708. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  709. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  710. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  711. else
  712. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  713. end
  714. killvar '<<$fametown>>_<<$fameact>>'
  715. if $fameact = 'sex':
  716. $fameact = 'prostitute'
  717. jump 'fameactloop2'
  718. end
  719. if $fametown = 'pav':
  720. $fametown = 'city'
  721. jump 'fametownloop'
  722. elseif $fametown = 'city':
  723. $fametown = 'village'
  724. jump 'fametownloop'
  725. elseif $fametown = 'village':
  726. $fametown = 'pushkin'
  727. jump 'fametownloop'
  728. end
  729. gs 'fame', 'calculate', 'acting'
  730. gs 'fame', 'calculate', 'dance'
  731. gs 'fame', 'calculate', 'painting'
  732. gs 'fame', 'calculate', 'music'
  733. gs 'fame', 'calculate', 'ballet'
  734. gs 'fame', 'calculate', 'modelling'
  735. gs 'fame', 'calculate', 'porn'
  736. gs 'fame', 'calculate', 'stripping'
  737. gs 'fame', 'calculate', 'kickboxing'
  738. gs 'fame', 'calculate', 'running'
  739. gs 'fame', 'calculate', 'volleyball'
  740. gs 'fame', 'calculate', 'chess'
  741. gs 'fame', 'calculate', 'teaching'
  742. gs 'fame', 'calculate', 'media'
  743. gs 'fame', 'calculateSlut'
  744. if modelfoto > 0 and modelfoto['saveupdater'] = 0:
  745. !! changing modelling variables to arrays
  746. if modelfoto > 0: modelfoto['shoots'] = modelfoto
  747. if modelfotomoney > 0: modelfoto['earnings'] = modelfotomoney
  748. if modelfoto_catalog > 0: modelfoto['catalog'] = modelfoto_catalog
  749. if modelfoto_fashion > 0: modelfoto['fashion'] = modelfoto_fashion
  750. if modelfoto_ero_clo > 0: modelfoto['sexy'] = modelfoto_ero_clo
  751. if modelfoto_bikini > 0: modelfoto['bikini'] = modelfoto_bikini
  752. if modelfoto_lingerie > 0: modelfoto['lingerie'] = modelfoto_lingerie
  753. if modelfoto_trans_ling > 0: modelfoto['trans_ling'] = modelfoto_trans_ling
  754. if modelfoto_transparent > 0: modelfoto['transparent'] = modelfoto_transparent
  755. if modelfoto_fitness > 0: modelfoto['fitness'] = modelfoto_fitness
  756. if modelfoto_glamour > 0: modelfoto['glamour'] = modelfoto_glamour
  757. if modelfoto_topless > 0: modelfoto['topless'] = modelfoto_topless
  758. if modelfoto_nude > 0: modelfoto['nude'] = modelfoto_nude
  759. if modelfoto_tastenude > 0: modelfoto['tastenude'] = modelfoto_tastenude
  760. if modelfoto_toplessnude > 0: modelfoto['toplessnude'] = modelfoto_toplessnude
  761. if modelfoto_fullnude > 0: modelfoto['fullnude'] = modelfoto_fullnude
  762. if modelfoto_erotic > 0: modelfoto['erotic'] = modelfoto_erotic
  763. if modelfoto_nip > 0: modelfoto['nip'] = modelfoto_nip
  764. if modelfoto_pussy > 0: modelfoto['pussy'] = modelfoto_pussy
  765. if modelfoto_asshole > 0: modelfoto['asshole'] = modelfoto_asshole
  766. modelfoto['saveupdater'] = 1
  767. end
  768. end
  769. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080305:
  770. !!Defines the high school classes using the new grade system
  771. gs 'grades', 'createclass', 'school', 'math', 3, 2, 'yes', 'yes', 0, 0
  772. gs 'grades', 'createclass', 'school', 'rus', 3, 2, 'yes', 'yes', 0, 0
  773. gs 'grades', 'createclass', 'school', 'lit', 2, 2, 'yes', 'yes', 0, 0
  774. gs 'grades', 'createclass', 'school', 'art', 2, 2, 'yes', 'no', 0, 0
  775. gs 'grades', 'createclass', 'school', 'bio', 2, 2, 'yes', 'yes', 0, 0
  776. gs 'grades', 'createclass', 'school', 'pe', 3, 1, 'yes', 'no', 0, 0
  777. gs 'grades', 'createclass', 'school', 'eng', 2, 2, 'yes', 'yes', 0, 0
  778. gs 'grades', 'createclass', 'school', 'geo', 2, 2, 'yes', 'yes', 0, 0
  779. gs 'grades', 'createclass', 'school', 'sci', 2, 2, 'yes', 'yes', 0, 0
  780. gs 'grades', 'createclass', 'school', 'shop', 2, 2, 'yes', 'no', 0, 0
  781. gs 'grades', 'createclass', 'school', 'comp', 3, 2, 'yes', 'yes', 0, 0
  782. gs 'grades', 'createclass', 'school', 'mus', 2, 2, 'yes', 'no', 0, 0
  783. gs 'grades', 'createclass', 'school', 'his', 2, 2, 'yes', 'yes', 0, 0
  784. !!Convert the old grade attribute into the new individual grades.
  785. gs 'grades', 'grade_award', 'school', 'math', pcs_grades
  786. gs 'grades', 'grade_award', 'school', 'rus', pcs_grades
  787. gs 'grades', 'grade_award', 'school', 'lit', pcs_grades
  788. gs 'grades', 'grade_award', 'school', 'art', pcs_grades
  789. gs 'grades', 'grade_award', 'school', 'bio', pcs_grades
  790. gs 'grades', 'grade_award', 'school', 'pe', pcs_grades
  791. gs 'grades', 'grade_award', 'school', 'eng', pcs_grades
  792. gs 'grades', 'grade_award', 'school', 'geo', pcs_grades
  793. gs 'grades', 'grade_award', 'school', 'sci', pcs_grades
  794. gs 'grades', 'grade_award', 'school', 'shop', pcs_grades
  795. gs 'grades', 'grade_award', 'school', 'comp', pcs_grades
  796. gs 'grades', 'grade_award', 'school', 'mus', pcs_grades
  797. gs 'grades', 'grade_award', 'school', 'his', pcs_grades
  798. !!Assign a grado on the 1 to 5 russina grade scale from the grade variable
  799. gs 'grades', 'assing_grade_description', 'school'
  800. if month > 9 or (month = 9 and day > 5 and hour > 8) or year > 2016: class['first_grade_check'] = 1
  801. end
  802. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080306:
  803. !!Moving Djibril old variables into his array
  804. if meet_djibril > 0: DjibrilQW['meet'] = meet_djibril & killvar 'meet_djibril'
  805. if djibril_invite > 0: DjibrilQW['invite'] = djibril_invite & killvar 'djibril_invite'
  806. if djibril_sex > 0: npc_sex['A82'] = djibril_sex & killvar 'djibril_sex'
  807. if african_gangbang > 0: DjibrilQW['african_gangbang'] = african_gangbang & killvar 'african_gangbang'
  808. if npc_sex['A82'] > 0 or DjibrilQW['african_gangbang'] > 0: DjibrilQW['invite'] = 1
  809. end
  810. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080307:
  811. !!Moving some string variables to more appropriate numerical variables in the camera files.
  812. i = 0
  813. :camera_update_loop
  814. camera_found[i] = 1
  815. i += 1
  816. if ARRSIZE('camera_found') > i: jump 'camera_update_loop'
  817. !!Moved Igor''s quest to use daystart.
  818. if igor_DimaNos = 2 or igor_DimaNos = 3:
  819. if $igor_DimaNos_day > 5:
  820. igor_DimaNos_day = daystart
  821. else
  822. igor_DimaNos_day = daystart +6 - $igor_DimaNos_day
  823. end
  824. end
  825. end
  826. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080402:
  827. !!Setting the count of generic girlfirends.
  828. pcs_girlfriends = 0
  829. i = 0
  830. :girlfriend_looop
  831. if loverGender[i] = 1: pcs_girlfriends += 1
  832. i +=1
  833. if i < ARRSIZE('lover'): jump 'girlfriend_looop'
  834. Killvar 'i'
  835. if analorgasm > 0: orgasm_anal += analorgasm
  836. end
  837. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080403:
  838. !!Updating the variables for the Katja Quest line.
  839. if meynoldQW = 1 or meynoldQW = 2: katjaQW['QWstage'] = meynoldQW & killvar 'meynoldQW'
  840. if katjaFirstKiss > 0 or KatjaOTN > 0: katjaQW['QWstage'] = 3 & killvar 'katjaFirstKiss' & killvar 'KatjaOTN'
  841. if katjaTanga > 0: katjaQW['pantiesQWstage'] = katjaTanga & killvar 'katjaTanga'
  842. if katja_tanga_end > 0: katjaQW['pantiesQWstage'] = 5 & killvar 'katja_tanga_end'
  843. if katjaSlut > 0: katjaQW['slut'] = katjaSlut & killvar 'katjaSlut'
  844. if katjaHorny > 0: katjaQW['horny'] = katjaHorny & killvar 'katjaHorny'
  845. if katjaSex = 1: katjaQW['park_sex'] = 1 & killvar 'katjaSex'
  846. if katjaSex = 2: katjaQW['park_sex'] = 2 & killvar 'katjaSex'
  847. if katjaSex > 2: katjaQW['park_sex'] = 3 & killvar 'katjaSex'
  848. if KatjaMastr > 0: katjaQW['masturbates'] = KatjaMastr & killvar 'KatjaMastr'
  849. if KatjaThroat > 0: npc_throat['A14'] = KatjaThroat & killvar 'KatjaThroat'
  850. if KatjaAnus > 0: npc_ass['A14'] = KatjaAnus & killvar 'KatjaAnus'
  851. if KatjaOrgasm > 0: KatjaQW['orgasm_day'] = KatjaOrgasm & killvar 'KatjaOrgasm'
  852. if katjaMeynoldday > 0: katjaQW['afterschool_hangout_day'] = katjaMeynoldday & killvar 'katjaMeynoldday'
  853. if tangaday > 0: katjaQW['no_panties_day'] = tangaday & killvar 'tangaday'
  854. if KatjaKnowMastr > 0: katjaQW['knows_masterbation'] = 1 & killvar 'KatjaKnowMastr'
  855. if SelfFistingKnow > 0: katjaQW['knows_self_fisting'] = 1 & killvar 'SelfFistingKnow'
  856. if KatjaKnowBJ > 0: katjaQW['knows_BJ'] = 1 & killvar 'KatjaKnowBJ'
  857. if KatjaKnowSex > 0: katjaQW['knows_sex'] = 1 & killvar 'KatjaKnowSex'
  858. if KatjaKnowAnal > 0: katjaQW['knows_anal'] = 1 & killvar 'KatjaKnowAnal'
  859. if KatjaKnowKuni > 0: katjaQW['knows_cuni'] = 1 & killvar 'KatjaKnowKuni'
  860. if KatjaKnowPirsA > 0: katjaQW['know_Pirced_tongue'] = 1 & killvar 'KatjaKnowPirsA'
  861. if katschoolsex > 0: katja['school_sex'] = 1 & killvar 'katschoolsex'
  862. if katja_disco_Foto > 0: katjaQW['disco_Foto'] = 1 & killvar 'katja_disco_Foto'
  863. if meynoldQW = 3: katjaQW['drunk_help'] = 1 & killvar 'meynoldQW'
  864. if katja_disco_end > 0: katjaQW['no_panties_at_disco'] = 1 & killvar 'katja_disco_end'
  865. if KatjaOhrenet > 0: KatjaQW['sex_in_the_park_comment'] = KatjaOhrenet & killvar 'KatjaOhrenet'
  866. if flag_start_parc > 0: katjaQW['school_kiss'] = flag_start_parc & killvar 'flag_start_parc'
  867. end
  868. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080500:
  869. if $loc = 'dorm': $loc = 'uni_dorm' & $menu_loc = 'uni_dorm'
  870. if $loc = 'HotelWork': $loc = 'hotel_work' & $menu_loc = 'hotel_work'
  871. if $loc = 'ParChurch': $loc = 'pav_church' & $menu_loc = 'pav_church'
  872. if $loc = 'pav_train': $loc = 'pav_market' & $menu_loc = 'pav_market'
  873. if $loc = 'univer': $loc = 'uni_admin' & $menu_loc = 'uni_admin'
  874. if $loc='youplace': $loc = 'city_mansion_entrance' & $menu_loc = 'city_mansion_entrance'
  875. if $loc='ykamin': $loc ='city_mansion_residence_2' & $loc_arg='ylounge' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylounge'
  876. if $loc='ykuh': $loc ='city_mansion_residence_1' & $loc_arg='ykitchen' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ykitchen'
  877. if $loc='ydet': $loc ='city_mansion_residence_2' & $loc_arg='ynursery' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ynursery'
  878. if $loc='ybib': $loc ='city_mansion_residence_2' & $loc_arg='ylibrary' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylibrary'
  879. if $loc='ybedr': $loc ='city_mansion_residence_1' & $loc_arg='ybedroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybedroom'
  880. if $loc='ybass': $loc ='city_mansion_residence_3' & $loc_arg='ypool' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ypool'
  881. if $loc='yban': $loc ='city_mansion_residence_3' & $loc_arg='ysauna' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ysauna'
  882. if $loc='yvan': $loc ='city_mansion_residence_1' & $loc_arg='ybathroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybathroom'
  883. if $loc='ymans': $loc ='city_mansion_residence_1' & $loc_arg='yfoyer' & $menu_loc ='city_mansion_residence_1' & $menu_arg='yfoyer'
  884. if $loc='yzal': $loc ='city_mansion_residence_2' & $loc_arg='yliving' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yliving'
  885. if $loc='ysport': $loc ='city_mansion_residence_3' & $loc_arg='ygym' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ygym'
  886. if $loc='ykabinet': $loc ='city_mansion_residence_2' & $loc_arg='yoffice' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yoffice'
  887. !!updater for sports clothing variable to unify it and fix bug
  888. i = 1
  889. :danilovichfix
  890. if danilovich[i] = 1:
  891. danilovich_outfits[i] = 1
  892. danilovich_outfits_s[i] = danilovich_s[i]
  893. danilovich_outfits_h[i] = danilovich_h[i]
  894. danilovich_outfits_b[i] = danilovich_b[i]
  895. end
  896. i += 1
  897. if i <= 170:jump 'danilovichfix'
  898. killvar 'danilovich'
  899. killvar 'danilovich_s'
  900. killvar 'danilovich_h'
  901. killvar 'danilovich_b'
  902. !! New setting for gaping time per stage in minutes that can be made user definable
  903. if agape[4] = 0: agape[4] = 10
  904. if vgape[4] = 0: vgape[4] = 10
  905. end
  906. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080502:
  907. i = 0
  908. :saveupdaterloop852_1
  909. $text = 'C'+str(i)
  910. temp1 = func('shortgs', 'get_me_index', '$npc_firstname',$text)
  911. if temp1 >= 0:
  912. $npc_index[$text] = $text
  913. end
  914. i += 1
  915. if i < carraynumber: jump 'saveupdaterloop852_1'
  916. i = 0
  917. :saveupdaterloop852_2
  918. $text = 'B'+str(i)
  919. temp1 = func('shortgs', 'get_me_index', '$npc_firstname',$text)
  920. if temp1 >= 0:
  921. $npc_index[$text] = $text
  922. end
  923. i += 1
  924. if i < barraynumber: jump 'saveupdaterloop852_2'
  925. end
  926. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080503:
  927. i = 0
  928. :saveupdaterloop853_1
  929. if npc_grupTipe['A<<i>>'] = 5:
  930. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_outcast_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  931. elseif npc_grupTipe['A<<i>>'] = 4:
  932. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_gopnik_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  933. elseif npc_grupTipe['A<<i>>'] = 3:
  934. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_nerd_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  935. elseif npc_grupTipe['A<<i>>'] = 2:
  936. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  937. elseif npc_grupTipe['A<<i>>'] = 1:
  938. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_coolkid_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  939. end
  940. i += 1
  941. if i < 250: jump 'saveupdaterloop853_1'
  942. if hotelroom1day ! 0:
  943. hotelRoomDays['pav_hotel'] = hotelroom1day
  944. killvar'hotelroom1day'
  945. hotelRoom['pav_hotel'] = hotelroom
  946. hotelroom = 0
  947. end
  948. end
  949. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080504:
  950. !!Christinas chat have to stay in the jocks file even if she is an outcast
  951. $npcGoSchool['A18'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A18']) + '''"><<$npc_usedname["A18"]>></a>'
  952. if storyline = 1 and MagikDostup = 1:
  953. $start_type = 'sg'
  954. $start_type[1] = 'nomagic'
  955. elseif $start_type = 'csb':
  956. $start_type = 'sg_tg'
  957. $start_type[1] = 'tg'
  958. elseif storyline = 1:
  959. $start_type = 'sg_m'
  960. elseif MagikDostup = 1:
  961. $start_type = 'city'
  962. $start_type[1] = 'nomagic'
  963. else
  964. $start_type = 'city_tg'
  965. $start_type[1] = 'tg'
  966. end
  967. end
  968. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080601:
  969. if pcs_skin < 150: pcs_skin = 7 * pcs_skin
  970. gs 'body'
  971. gs 'body', 'DailyUpdate'
  972. gs 'AppearanceSystem', 'UpdateBaseAppearnce'
  973. gs 'stat'
  974. end
  975. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080700:
  976. !!name fix from kats to cats
  977. i = 1
  978. :loopcatsbrassave
  979. if kats_bras[i] = 1:
  980. cats_brasS[i] = kats_brasS[i]
  981. cats_bras[i] = kats_bras[i]
  982. end
  983. i += 1
  984. if i <= ARRSIZE('kats_bras'):jump 'loopcatsbrassave'
  985. killvar 'kats_brasS'
  986. killvar 'kats_bras'
  987. i = 1
  988. :loopcatspantiessave
  989. if kats_panties[i] = 1:
  990. cats_pantiesS[i] = kats_pantiesS[i]
  991. cats_panties[i] = kats_panties[i]
  992. end
  993. i += 1
  994. if i <= ARRSIZE('kats_panties'):jump 'loopcatspantiessave'
  995. killvar 'kats_pantiesS'
  996. killvar 'kats_panties'
  997. !!Christina variable update
  998. if AvelinaQW['encourage'] = 1: AvelinaQW['encourage'] = 0
  999. if lariskaQwestDay < 0 or lariskaQwestDay > 0: killvar 'lariskaQwestDay'
  1000. if LariskaQW['LariskaHelp'] < 0 or LariskaQW['LariskaHelp'] > 0: LariskaQW['LariskaHelp'] = 0
  1001. if LariskaQW['LariskaHelpEnd'] = 1: LariskaQW['LariskaHelpEnd'] = 0
  1002. if npc_grupTipe['A18'] = 5: npc_grupTipe['A18'] = 2
  1003. if christinaQW['dompath'] >= 1:
  1004. if christinaQW['dompath'] >= 6:
  1005. christinaQW['fight'] = 1
  1006. christinaQW['dompath'] = 0
  1007. else
  1008. christinaQW['dompath'] = 0
  1009. end
  1010. end
  1011. if christinaQW['set_bully'] = 0:
  1012. if (christinaQW['blackmail'] > 0 or christinaQW['pre_bm'] > 0 or christinaQW['pre_fight'] > 0 or christinaQW['fight'] > 0) and christinaQW['set_bully'] = 0:
  1013. christinaQW['set_bully'] = 1
  1014. christinaQW['bully'] = 40
  1015. end
  1016. if christinaQW['subpath'] > 0:
  1017. christinaQW['set_bully'] = 1
  1018. christinaQW['bully'] = 60
  1019. end
  1020. end
  1021. !!Schedule migrated to the array, no need to change first
  1022. killvar 'chrisloc'
  1023. killvar 'lariloc'
  1024. killvar 'anyaloc'
  1025. killvar 'kolloc'
  1026. killvar 'sdadloc'
  1027. killvar 'father_go'
  1028. killvar 'momloc'
  1029. killvar 'momclean1'
  1030. killvar 'momclean2'
  1031. if mother_go > 0:
  1032. locat['Mom_cafe_sex'] = mother_go
  1033. end
  1034. killvar 'm_day'
  1035. killvar 'mother_go'
  1036. killvar 'ocpd_room'
  1037. if indorf > 0:
  1038. locat['Fam_inGad'] = indorf
  1039. end
  1040. if indorf_month = month:
  1041. locat['Fam_month_inGad'] = indorf_month
  1042. end
  1043. if dostupindorf > 0:
  1044. locat['Fam_set_month_inGad'] = dostupindorf
  1045. end
  1046. killvar 'indorf'
  1047. killvar 'indorf_month'
  1048. killvar 'dostupindorf'
  1049. if sister_indorf > 0:
  1050. locat['Anya_Gad'] = sister_indorf
  1051. end
  1052. if sister_opr_indorf > 0:
  1053. locat['Anya_check_Gad'] = sister_opr_indorf
  1054. end
  1055. killvar 'sister_indorf'
  1056. killvar 'sister_opr_indorf'
  1057. if workKafe = 1:
  1058. workKafe = 0
  1059. workKafe['job'] = 1
  1060. end
  1061. if item_moisturizer['time'] > 0:
  1062. item_moisturizer_time = item_moisturizer['time']
  1063. gs 'shortgs', 'remove_array_element', 'item_moisturizer', 'time'
  1064. end
  1065. end
  1066. killvar 'hypnoHairStyle'
  1067. if mod_list > 0:
  1068. mod_i=1
  1069. :mod_data_updater
  1070. if $mod_name[mod_i] ! '':
  1071. $mod_su_name = 'mod_<<$mod_name[mod_i]>>_saveupdater'
  1072. if LOC($mod_su_name): gs $mod_su_name
  1073. end
  1074. if mod_list > mod_i:
  1075. mod_i+=1
  1076. jump 'mod_data_updater'
  1077. end
  1078. killvar '$mod_su_name'
  1079. killvar 'mod_i'
  1080. end
  1081. if stat['virgin'] > 0:
  1082. stat['think_virgin'] = stat['virgin']
  1083. gs 'shortgs', 'remove_array_element', 'stat', 'virgin'
  1084. end
  1085. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080703:
  1086. end
  1087. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080800:
  1088. !!update base appearance to the new calculation
  1089. gs 'AppearanceSystem', 'UpdateBaseAppearnce'
  1090. gs 'AppearanceSystem'
  1091. if $wloc = 'default':$wloc = 'default1'
  1092. !! new teeth variables
  1093. if pcs_teeth >= 0:
  1094. pcs_missing_teeth = pcs_teeth
  1095. pcs_teeth = 0
  1096. end
  1097. !! udate of Artem quest variables to an array.
  1098. if artembj > 0: artemQW['bj'] = artembj & killvar 'artembj'
  1099. if artemsex > 0: artemQW['sex'] = artemsex & killvar 'artemsex'
  1100. if artemanal > 0: artemQW['anal'] = artemanal & killvar 'artemanal'
  1101. if artemhj > 0: artemQW['hj'] = artemhj & killvar 'artemhj'
  1102. if artembrokenheart > 0: artemQW['brokenheart'] = artembrokenheart & killvar 'artembrokenheart'
  1103. if artemStripSee > 0: artemQW['stripsee'] = artemStripSee & killvar 'artemStripSee'
  1104. if artemlove > 0: artemQW['artemlove'] = artemlove & killvar 'artemlove'
  1105. if artemblok > 0: artemQW['artemblok'] = artemblok & killvar 'artemblok'
  1106. if artembf > 0: artemQW['bf'] = artembf & killvar 'artembf'
  1107. if artdryhump > 0: artemQW['dryhump'] = artdryhump & killvar 'artdryhump'
  1108. if artlie > 0: artemQW['artlie'] = artlie & killvar 'artlie'
  1109. if artfall > 0: artemQW['artfall'] = artfall & killvar 'artfall'
  1110. if artdate > 0: artemQW['date'] = artdate & killvar 'artdate'
  1111. if artdim > 0: artemQW['dimka'] = artdim & killvar 'artdim'
  1112. if artslutlove > 0: artemQW['slutlove'] = artslutlove & killvar 'artslutlove'
  1113. if artsveslut > 0: artemQW['sveslut'] = artsveslut & killvar 'artsveslut'
  1114. if metArtemMom > 0: artemQW['metArtemMom'] = metArtemMom & 'metArtemMom'
  1115. if artdimhelp > 0: artemQW['dimkahelp'] = artdimhelp & killvar 'artdimhelp'
  1116. !! update Julia to an array
  1117. if JulMilBestFrend > 0: juliaQW['JulMilBestFrend'] = JulMilBestFrend & killvar 'JulMilBestFrend'
  1118. if eatJulMilDay: juliaQW['eatJulMilDay'] = eatJulMilDay & killvar 'eatJulMilDay'
  1119. if SexTalkJulia: juliaQW['SexTalkJulia'] = SexTalkJulia & killvar 'SexTalkJulia'
  1120. if BeInJulMilHome: juliaQW['home_unlocked'] = BeInJulMilHome & killvar 'BeInJulMilHome'
  1121. if JuliaMilLernQW: juliaQW['study_unlocked'] = JuliaMilLernQW & killvar 'JuliaMilLernQW'
  1122. end
  1123. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080810:
  1124. !!--------------------------------------------------------------------
  1125. !! Homes, Properties and Internet Update
  1126. !!--------------------------------------------------------------------
  1127. !! Transferring the owned, rented, accessible properties
  1128. ! city apartment
  1129. if home_owned[1] > 0: gs 'homes_properties', 'set_ownership', 'city_apartment', home_owned[1]
  1130. ! parents home
  1131. if home_owned[2] = 1: gs 'homes_properties', 'set_ownership', 'parents_home', 4
  1132. ! cottage in the village
  1133. if home_owned[3] = 2: gs 'homes_properties', 'set_ownership', 'village_cottage', 2
  1134. ! Pushking old town apartment
  1135. if home_owned[4] > 1: gs 'homes_properties', 'set_ownership', 'old_town_apartment', home_owned[4]
  1136. ! Matryona mansion
  1137. if home_owned[5] > 0: gs 'homes_properties', 'set_ownership', 'matryona_mansion', 2
  1138. if home_owned[5] > 1: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1139. if home_owned[5] > 2: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1140. ! Pavlovsk hotel room
  1141. if home_owned[6] = 1: gs 'homes_properties', 'set_ownership', 'pavlovsk_hotel', 4
  1142. ! Live in maid bedroom
  1143. if home_owned[7] = 1: gs 'homes_properties', 'set_ownership', 'maid_bedroom', 4
  1144. ! Niko apartment
  1145. if home_owned[8] = 1: gs 'homes_properties', 'set_ownership', 'nikos_apartment', 4
  1146. ! Shulga apartment
  1147. if home_owned[9] = 1: gs 'homes_properties', 'set_ownership', 'shulga_apartment', 4
  1148. ! Lyceum dorm room
  1149. if home_owned[10] = 1: gs 'homes_properties', 'set_ownership', 'lyceum_dorm', 4
  1150. ! University dorm room
  1151. if home_owned[11] = 1: gs 'homes_properties', 'set_ownership', 'university_dorm', 4
  1152. ! Hunters lodge
  1153. if home_owned[12] = 1: gs 'homes_properties', 'set_ownership', 'hunters_lodge', 4
  1154. ! Shared apartment in Pavlovsk
  1155. if home_owned[13] = 1: gs 'homes_properties', 'set_ownership', 'shared_apartment', 4
  1156. ! Grandparents house
  1157. if home_owned[14] = 1: gs 'homes_properties', 'set_ownership', 'grandparents_house', 4
  1158. ! City residential house
  1159. if home_owned[15] = 2: gs 'homes_properties', 'set_ownership', 'city_house', 2
  1160. ! Meynold household
  1161. if home_owned[16] = 1: gs 'homes_properties', 'set_ownership', 'meynold_household', 4
  1162. !! Setting the current home and fixing potential missing access issues
  1163. if curr_home > 0: gs 'homes_properties', 'set_home', '', curr_home
  1164. if home['current'] = 'parents_home' and owned_property['parents_home'] = 0: gs 'homes_properties', 'set_ownership', 'parents_home', 4
  1165. !! Setting rent values
  1166. if owned_property['city_apartment'] = 1: owned_property['city_apartment-days-left'] = ArendHouseSL
  1167. if owned_property['old_town_apartment'] = 1: owned_property['old_town_apartment-days-left'] = ArendHouseSL4
  1168. killvar 'home_owned'
  1169. killvar 'curr_home'
  1170. killvar 'ArendHouseSL'
  1171. killvar 'ArendHouseSL4'
  1172. killvar '$home_rent_txt'
  1173. killvar 'home_value'
  1174. killvar '$home_value_txt'
  1175. !! Setting the internet
  1176. if internet > 0:
  1177. old_internet_value = 10*internet
  1178. if $home['internet_enabled'] = 1:
  1179. gs 'internet_mobile', 'buy_subscription', $home['current'], 900
  1180. if (old_internet_value - 900) >= 0: money += (old_internet_value - 900)
  1181. else
  1182. if old_internet_value >= 1200:
  1183. gs 'internet_mobile', 'buy_subscription', 'mobile', 1200
  1184. if (old_internet_value - 1200) > 0: money += (old_internet_value - 1200)
  1185. else
  1186. gs 'internet_mobile', 'top_up_metered', 'metered_mobile', internet*60
  1187. end
  1188. end
  1189. killvar 'internet'
  1190. end
  1191. !! Setting the mobile phone calls and texts
  1192. if balans > 0:
  1193. if (balans - 800) >= 0:
  1194. gs 'internet_mobile', 'buy_subscription', 'monthly_calls', 800
  1195. money += (balans - 800)
  1196. else
  1197. if balans >= 225:
  1198. temp_phone_mult = balans/225
  1199. temp_phone_rem = balans MOD 225
  1200. new_balans = temp_phone_mult * 240
  1201. gs 'internet_mobile', 'top_up_metered', 'metered_calls', new_balans
  1202. if temp_phone_rem > 0: money += temp_phone_rem
  1203. elseif balans >= 170:
  1204. temp_phone_rem = balans MOD 170
  1205. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 180
  1206. if temp_phone_rem > 0: money += temp_phone_rem
  1207. elseif balans = 115:
  1208. temp_phone_rem = balans MOD 115
  1209. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 120
  1210. if temp_phone_rem > 0: money += temp_phone_rem
  1211. elseif balans >= 60:
  1212. temp_phone_rem = balans MOD 60
  1213. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 60
  1214. if temp_phone_rem > 0: money += temp_phone_rem
  1215. else
  1216. gs 'internet_mobile', 'top_up_metered', 'metered_calls', balans
  1217. end
  1218. end
  1219. killvar 'balans'
  1220. end
  1221. !! Anuahka''s variables put in an array.
  1222. if anushkaFirstvisit > 0: anushkaQW['first_visit'] = anushkaFirstvisit & killvar 'anushkaFirstvisit'
  1223. if Anush_lunch > 0: anushkaQW['lunch'] = Anush_lunch & killvar 'Anush_lunch'
  1224. if nush_model > 0: anushka['model'] = nush_model & killvar 'nush_model'
  1225. if foto_anush_referral > 0: anushka['model_referral'] = foto_anush_referral & killvar 'foto_anush_referral'
  1226. if AnushkaCompUse > 0: anushkaQW['computer_use'] = AnushkaCompUse & killvar 'AnushkaCompUse'
  1227. if marspyknow > 0: anushkaQW['marspyknow'] = marspyknow & killvar 'marspyknow'
  1228. if nushstrapanalpain > 0: anushkaQW['strapon_anal_pain'] = nushstrapanalpain & killvar 'nushstrapanalpain'
  1229. if nushstrapon > 0: anushkaQW['strapon'] = nushstrapon & killvar 'nushstrapon'
  1230. if domnush > 0: anushkaQW['dom_nush'] = domnush & killvar 'domnush'
  1231. if seenEd > 0: anushkaQw['seen_ed'] = seenEd & killvar 'seenEd'
  1232. if valeriaIntroduced > 0: anushkaQw['valeria_introduced'] = valeriaIntroduced & killvar 'valeriaIntroduced'
  1233. if showerphotos > 0: anushkaQW['shower_photos'] = showerphotos & killvar 'showerphotos'
  1234. if anushka_tv_day > 0: anushkaQW['tv_day'] = anushka_tv_day & killvar 'anushka_tv_day'
  1235. if anushka_shower_day > 0: anushkaQW['shower_day'] = anushka_shower_day & killvar 'anushka_shower_day'
  1236. if AnushkaHomeDay > 0: anushkaQW['home_day'] = AnushkaHomeDay & killvar 'AnushkaHomeDay'
  1237. if nush_photoshoot > 0: anushkaQW['photoshoot'] = nush_photoshoot & killvar 'nush_photoshoot'
  1238. if NushVsNiko > 0: anushka['vs_niko'] = NushVsNiko & killvar 'NushVsNiko'
  1239. if nushaboutalyona > 0: anushkaQW['about_alyona'] = nushaboutalyona & killvar 'nushaboutalyona'
  1240. if valspy > 0: anushkaQW['valspy'] = valspy & killvar 'valspy'
  1241. if radnushdate > 0: anushkaQW['rad_date'] = radnushdate & killvar 'radnushdate'
  1242. if radspy > 0: anushkaQW['radspy'] = radspy & killvar ' radspy'
  1243. if nushfedor3s > 0: anushkaQW['fedor_3some'] = nushfedor3s & killvar 'nushfedor3s'
  1244. if Anush_sex > 0: anushkaQW['sex'] = Anush_sex & killvar 'Anush_sex'
  1245. if Anush_dolls > 0: anushkaQW['dolls'] = Anush_dolls & killvar 'Anush_dolls'
  1246. if anushka_toilet > 0: anushkaQW['toilet'] = anushka_toilet & killvar 'anushka_toilet'
  1247. if marspy > 0: anushkaQW['marspy'] = marspy & killvar 'marspy'
  1248. if bandpracticeinvite > 0: gopnikbandQW['practice_invite'] = bandpracticeinvite & killvar 'bandpracticeinvite'
  1249. end
  1250. gs 'saveg'
  1251. --- saveupdater ---------------------------------