saveupdater.qsrc 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711
  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. if AlbVsNiko > 0: AlbinaQW['niko_help'] = AlbVsNiko & killvar 'AlbVsNiko'
  182. ! ----- Albina story variables migrated to array
  183. !! Updating npc_bust[] array to the new values ----- 0.8.0
  184. if npc_bust['A12'] = 9: npc_bust['A12'] = 23
  185. if npc_bust['A13'] = 9: npc_bust['A13'] = 8
  186. if npc_bust['A14'] = 9: npc_bust['A14'] = 20
  187. if npc_bust['A15'] = 9: npc_bust['A15'] = 18
  188. if npc_bust['A16'] = 9: npc_bust['A16'] = 26
  189. if npc_bust['A17'] = 9: npc_bust['A17'] = 34
  190. if npc_bust['A18'] = 9: npc_bust['A18'] = 21
  191. if npc_bust['A19'] = 9: npc_bust['A19'] = 14
  192. if npc_bust['A20'] = 9: npc_bust['A20'] = 22
  193. if npc_bust['A21'] = 9: npc_bust['A21'] = 18
  194. if npc_bust['A22'] = 9: npc_bust['A22'] = 27
  195. if npc_bust['A23'] = 9: npc_bust['A23'] = 14
  196. if npc_bust['A24'] = 9: npc_bust['A24'] = 20
  197. if npc_bust['A25'] = 9: npc_bust['A25'] = 21
  198. if npc_bust['A29'] = 9: npc_bust['A29'] = 25
  199. if npc_bust['A30'] = 9: npc_bust['A30'] = 18
  200. if npc_bust['A33'] = 9: npc_bust['A33'] = 19
  201. if npc_bust['A134'] = 9: npc_bust['A134'] = 20
  202. if npc_bust['A135'] = 9: npc_bust['A135'] = 13
  203. if npc_bust['A136'] = 9: npc_bust['A136'] = 30
  204. if npc_bust['A137'] = 9: npc_bust['A137'] = 34
  205. if npc_bust['A138'] = 9: npc_bust['A138'] = 18
  206. if npc_bust['A139'] = 9: npc_bust['A139'] = 22
  207. if npc_bust['A140'] = 9: npc_bust['A140'] = 13
  208. if npc_bust['A141'] = 9: npc_bust['A141'] = 20
  209. if npc_bust['A142'] = 9: npc_bust['A142'] = 13
  210. if npc_bust['A143'] = 9: npc_bust['A143'] = 7
  211. if npc_bust['A144'] = 9: npc_bust['A144'] = 24
  212. if npc_bust['A145'] = 9: npc_bust['A145'] = 31
  213. !! Updating npc_bust[] array to the new values ----- 0.8.0
  214. !!-----------Adding pube colours for 0.8.0-----------
  215. if pcs_pubecol[1] = 0: pcs_pubecol = pcs_haircol & pcs_pubecol[1] = 1 & pcs_pubecol[2] = pcs_haircol
  216. !!-----------Adding pube colours for 0.8.0-----------
  217. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  218. killvar 'olufirst'
  219. killvar 'tetyafirst'
  220. killvar 'oluuosegunday_count'
  221. killvar 'oluuosegunday_day'
  222. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  223. !!trait update
  224. if pcs_traits['update_1'] = 0:
  225. pcs_traits['update_1'] = 1
  226. pcs_traits['alko_day'] = alko_trait_day
  227. pcs_traits['alko_points'] = alko_trait_counter
  228. pcs_traits['alko_status'] = alko_trait
  229. killvar 'alko_trait_day'
  230. killvar 'alko_trait_counter'
  231. killvar 'alko_trait'
  232. end
  233. if trt_cumeater = 1:pcs_traits['cumeater'] = 1 & trt_cumeater = 7
  234. !! ----- Other bug fixes and cleanup ----- 0.8.0
  235. if pcs_gaming_exp > 0: gs 'exp_gain', 'gaming', pcs_gaming_exp & killvar 'pcs_gaming_exp'
  236. if nerd_night_game ! 0: killvar 'nerd_night_game'
  237. if nerd_night_game_day ! 0: nerd_game['game_day'] = nerd_night_game_day & killvar 'nerd_night_game_day'
  238. !!Masturbation check wasn''t being cleared
  239. mastrOnce = 0
  240. !! ----- Other bug fixes and cleanup ----- 0.8.0
  241. end
  242. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080001:
  243. !!--------0.8.0.1---school social group adjustment
  244. if gruptipe[9000] = 0:
  245. gruptipe[9000] = 1
  246. grupvalue[1] = grupvalue[1] * 10
  247. grupvalue[2] = grupvalue[2] * 10
  248. grupvalue[3] = grupvalue[3] * 10
  249. grupvalue[4] = grupvalue[4] * 10
  250. end
  251. !!--------0.8.0.1---school social group adjustment
  252. end
  253. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080100:
  254. !!--------0.8.1--- Music variable names changed
  255. if ml_update_1 = 0:
  256. ml_guitar['hasguitar'] = ml_guitar
  257. ml_guitar['carried'] = ml_guitarWithMe
  258. ml_performance['performed_minutes'] = ml_performed_minutes
  259. ml_performance['max_perform_minutes'] = ml_max_perform_minutes
  260. ml_guitar['chordbook'] = ml_chordbook
  261. ml_guitarlesson['lessoncount'] = ml_lessoncount
  262. ml_guitarlesson['lessonday'] = ml_lessonday
  263. $ml_guitarlesson['lessonday'] = $ml_lessonday
  264. ml_guitarlesson['lessonhour'] = 15
  265. ml_guitarlesson['nextlesson'] = daystart + (ml_guitarlesson['lessonday'] + 7 - week)
  266. ml_guitarlesson['advertisement'] = ml_guitarlessonadv
  267. ml_guitarlesson['enquired'] = ml_enquired
  268. if age < 18:
  269. ml_guitarlesson['lessoncost'] = 300
  270. else
  271. ml_guitarlesson['lessoncost'] = 500
  272. end
  273. killvar 'ml_guitarWithMe'
  274. killvar 'ml_performed_minutes'
  275. killvar 'ml_max_perform_minutes'
  276. killvar 'ml_guitarlessonadv'
  277. killvar 'ml_enquired'
  278. killvar 'ml_lessonday'
  279. killvar '$ml_lessonday'
  280. killvar 'ml_lessoncost'
  281. !!--------0.8.1--- Music variable names changed
  282. ml_update_1 = 1
  283. end
  284. !! changed $metkaM to $locM_arg and $metka to $loc_arg in the code - needed for correction saves saved prior to version 0.8.1
  285. if arrsize('$metkaM') > 0 or arrsize('$metka') > 0:
  286. $locM_arg = $metkaM
  287. $loc_arg = $metka
  288. killvar '$metkaM'
  289. killvar '$metka'
  290. end
  291. !!---------------------------------------------------------------
  292. !! fixes the variable for Christina getting outcasted, so she will show up in the journal correctly
  293. if zverSlutQW = 2:
  294. npc_grupTipe['A18'] = 5
  295. end
  296. !!---------------------------------------------------------------
  297. !!model variable updates
  298. if anastasia > 0 and anastasia['status'] = 0 and anastasia['saveupdate'] = 0:
  299. anastasia['status'] = anastasia
  300. anastasia['escort_ask'] = anastasia_escort_ask
  301. anastasia['model_exp'] = anastasia_mode_exp
  302. anastasia['sex'] = anastasiasex
  303. anastasia['saveupdate'] = 1
  304. end
  305. if foto_models['emily'] > 0 and emily['status'] = 0 and emily['saveupdate'] = 0:
  306. emily['status'] = foto_models['emily']
  307. emily['hate'] = emily_hate
  308. emily['model_exp'] = emily_model_exp
  309. emily['saveupdate'] = 1
  310. end
  311. if jeff > 0 and jeff['status'] = 0 and jeff['saveupdate'] = 0:
  312. jeff['status'] = jeff
  313. jeff['grope'] = jeff_grope
  314. jeff['movies'] = jeff_movies
  315. jeff['model_exp'] = jeff_model_exp
  316. jeff['saveupdate'] = 1
  317. end
  318. if krystal > 0 and krystal['status'] = 0 and krystal['saveupdate'] = 0:
  319. krystal['status'] = krystal['talk']
  320. krystal['saveupdate'] = 1
  321. end
  322. if $model['firstname'] = '':
  323. $model['firstname'] = $pcs_firstname
  324. $model['nickname'] = $pcs_nickname
  325. $model['lastname'] = $pcs_lastname
  326. end
  327. !! Fixing Katja and Natasha relationship
  328. if npc_sex['A14'] > 1: npc_sex['A14'] = 1
  329. if npc_sex['A16'] > 1: npc_sex['A16'] = 1
  330. !! University related vars update
  331. if student >= 0:
  332. gs 'uniutil', 'transfer_legacy_vars'
  333. end
  334. !!---------------------------------------------------------------
  335. !! Lariska story variables migrated to array
  336. if KotovZverHelp > 0: LariskaQW['VitekHelp'] = KotovZverHelp & killvar 'KotovZverHelp'
  337. if IvanZverHelp > 0: LariskaQW['IvanHelp'] = IvanZverHelp & killvar 'IvanZverHelp'
  338. if FyodorZverHelp > 0: LariskaQW['FedorHelp'] = FyodorZverHelp & killvar 'FyodorZverHelp'
  339. if lariskaHelp > 0: LariskaQW['LariskaHelp'] = lariskaHelp & killvar 'lariskaHelp'
  340. if lariskaHelp_end > 0: LariskaQw['LariskaHelpEnd'] = lariskaHelp_end & killvar 'lariskaHelp_end'
  341. !!---------------------------------------------------------------
  342. !! Shave updater
  343. if shave_update ! 1:
  344. if pubestyle = 1:
  345. shave_length = 2
  346. shave_trigger = 4
  347. elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  348. shave_length = 16
  349. shave_trigger = 21
  350. elseif pubestyle = 10:
  351. shave_length = 26
  352. shave_trigger = 31
  353. elseif pubestyle = 11:
  354. shave_length = 2
  355. shave_trigger = 10
  356. end
  357. shave_update = 1
  358. end
  359. end
  360. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080200:
  361. !! 0.8.2 clothing package for old saves ---------------------------------------
  362. 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:
  363. $batch_sell = {
  364. poshvalldrop += 1
  365. dynamic 'RESULT = <<$ARGS[0]>>H[<<ARGS[1]>>]'
  366. if RESULT > 100:
  367. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  368. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  369. money += 750
  370. selltot += 750
  371. elseif RESULT > 45:
  372. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  373. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  374. money += 500
  375. selltot += 500
  376. elseif RESULT > 30:
  377. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  378. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  379. money += 300
  380. selltot += 300
  381. elseif RESULT > 0:
  382. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  383. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  384. money += 100
  385. selltot += 100
  386. else
  387. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  388. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  389. end
  390. dynamic '<<$ARGS[0]>>H[<<ARGS[1]>>] = 0'
  391. }
  392. poshvalldrop = 0
  393. selltot = 0
  394. i = 1
  395. :cheapmet
  396. if cheap[i] = 1 and cheapH[i] > 0:dynamic($batch_sell, 'cheap', i)
  397. i += 1
  398. if i <= 419:jump 'cheapmet'
  399. i = 1
  400. :averagemet
  401. if average[i] = 1 and averageH[i] > 0:dynamic($batch_sell, 'average', i)
  402. i += 1
  403. if i <= 541:jump 'averagemet'
  404. i = 1
  405. :expensivemet
  406. if expensive[i] = 1 and expensiveH[i] > 0:dynamic($batch_sell, 'expensive', i)
  407. i += 1
  408. if i <= 442:jump 'expensivemet'
  409. i = 1
  410. :formalmet
  411. if formal[i] = 1 and formalH[i] > 0:dynamic($batch_sell, 'formal', i)
  412. i += 1
  413. if i <= 185:jump 'formalmet'
  414. i = 1
  415. :officemet
  416. if office[i] = 1 and officeH[i] > 0:dynamic($batch_sell, 'office', i)
  417. i += 1
  418. if i <= 140:jump 'officemet'
  419. i = 1
  420. :schoolmet
  421. if school[i] = 1 and schoolH[i] > 0:dynamic($batch_sell, 'school', i)
  422. i += 1
  423. if i <= 80:jump 'schoolmet'
  424. i = 1
  425. :exercisemet
  426. if exercise[i] = 1 and exerciseH[i] > 0:dynamic($batch_sell, 'exercise', i)
  427. i += 1
  428. if i <= 260:jump 'exercisemet'
  429. i = 1
  430. :fetishmet
  431. if fetish[i] = 1 and fetishH[i] > 0:dynamic($batch_sell, 'fetish', i)
  432. i += 1
  433. if i <= 240:jump 'fetishmet'
  434. i = 1
  435. :burlesquemet
  436. if burlesque[i] = 1 and burlesqueH[i] > 0:dynamic($batch_sell, 'burlesque', i)
  437. i += 1
  438. if i <= 22:jump 'burlesquemet'
  439. i = 1
  440. :exhibitmet
  441. if exhibit[i] = 1 and exhibitH[i] > 0:dynamic($batch_sell, 'exhibit', i)
  442. i += 1
  443. if i <= 125:jump 'exhibitmet'
  444. i = 1
  445. :uniformmet
  446. if uniform[i] = 1 and uniformH[i] > 0:dynamic($batch_sell, 'uniform', i)
  447. i += 1
  448. if i <= 60:jump 'uniformmet'
  449. i = 1
  450. :swimwearmet
  451. if swimwear[i] = 1 and swimwearH[i] > 0:dynamic($batch_sell, 'swimwear', i)
  452. i += 1
  453. if i <= 213:jump 'swimwearmet'
  454. i = 1
  455. :beachmet
  456. if beach[i] = 1 and beachH[i] > 0:dynamic($batch_sell, 'beach', i)
  457. i += 1
  458. if i <= 103:jump 'beachmet'
  459. i = 1
  460. :alternativemet
  461. if alternative[i] = 1 and alternativeH[i] > 0:dynamic($batch_sell, 'alternativer', i)
  462. i += 1
  463. if i <= 129:jump 'alternativemet'
  464. killvar 'batch_sell'
  465. killvar 'alternativeH' & killvar 'alternativeS' & killvar 'alternative'
  466. killvar 'averageH' & killvar 'averageS' & killvar 'average'
  467. killvar 'burlesqueH' & killvar 'burlesqueS' & killvar 'burlesque'
  468. killvar 'cheapH' & killvar 'cheapS' & killvar 'cheap'
  469. killvar 'exerciseH' & killvar 'exerciseS'
  470. killvar 'exhibitH' & killvar 'exhibitS'
  471. killvar 'expensiveH' & killvar 'expensiveS' & killvar 'expensive'
  472. killvar 'fetishH' & killvar 'fetishS'
  473. killvar 'formalH' & killvar 'formalS' & killvar 'formal'
  474. killvar 'officeH' & killvar 'officeS' & killvar 'office'
  475. killvar 'schoolH' & killvar 'schoolS' & killvar 'school'
  476. killvar 'uniformH' & killvar 'uniformS' & killvar 'uniform'
  477. killvar 'beachS' & killvar 'beachH' & killvar 'beachB'
  478. killvar 'swimwearS' & killvar 'swimwearH' & killvar 'swimwearB'
  479. killvar 'coatS' & killvar 'coatH'
  480. gm_outfits[50] = 1
  481. gm_outfits_h[50] = 100
  482. gm_outfits_b[50] = pcs_hips
  483. gs 'clothing', 'wear', 'gm_outfits', 50
  484. end
  485. !! Shave updater
  486. if shave_update ! 1:
  487. if pubestyle = 1:
  488. shave_length = 2
  489. shave_trigger = 4
  490. elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  491. shave_length = 16
  492. shave_trigger = 21
  493. elseif pubestyle = 10:
  494. shave_length = 26
  495. shave_trigger = 31
  496. elseif pubestyle = 11:
  497. shave_length = 2
  498. shave_trigger = 8
  499. end
  500. end
  501. end
  502. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080203:
  503. !! Lariska variables removed, no longer needed - 2020/11/30 - Alaratt
  504. !! Edited - 2021/01/19 - Alaratt
  505. if beInLariskaHome = 1 or LariskaHomeIn >= 1:
  506. if LariskaHomeIn = 1:
  507. LariskaQW['story'] = 4
  508. else
  509. LariskaQW['story'] = 5
  510. end
  511. killvar 'LariskaHomeIn'
  512. killvar 'beInLariskaHome'
  513. end
  514. if doorlocked > 0: killvar 'doorlocked'
  515. if doorpeek > 0: killvar 'doorpeek'
  516. if lariskaBDSM > 0: killvar 'lariskaBDSM'
  517. if lariskaMotherKnown = 1:
  518. LariskaQW['metAnna'] = 1
  519. killvar 'lariskaMotherKnown'
  520. end
  521. if LariskaProfi = 1:
  522. LariskaQW['volleyball'] = 1
  523. killvar 'LariskaProfi'
  524. end
  525. !!---------------------------------------------------------------
  526. !! Migrates Christina variables into an array, removes unneeded variables, and fixes the outcast issue if still needed
  527. !! 2021/01/19 - Alaratt
  528. if zverSlutQW > 0:
  529. if zverSlutQW = 2:
  530. !! Christina lost the fight and is outcasted
  531. christinaQW['fight'] = 1
  532. christinaQW['dompath'] = 7
  533. npc_grupTipe['A18'] = 5
  534. else
  535. !! Christina lost the fight and is prepped for outcasting
  536. christinaQW['fight'] = 1
  537. christinaQW['dompath'] = 6
  538. end
  539. killvar 'zverSlutQW'
  540. end
  541. if zverRageQW > 0:
  542. if zverRageQW = 10:
  543. !! Christina won the fight
  544. christinaQW['fight'] = -1
  545. christinaQW['subpath'] = 2
  546. elseif zverRageQW = 2:
  547. !! Christina lost the fight
  548. christinaQW['fight'] = 1
  549. christinaQW['dompath'] = 6
  550. else
  551. !! You spread rumors about Christina and she preps for fight
  552. christinaQW['dompath'] = 4
  553. end
  554. killvar 'zverRageQW'
  555. end
  556. if socialchg['christina_dont_care'] = 1:socialchg['christina_dont_care'] = 0
  557. if zverevaQW > 0:killvar 'zverevaQW'
  558. if LinaSlut > 0:killvar 'LinaSlut'
  559. if fizrukSex > 0:killvar 'fizrukSex'
  560. if kristinaSex > 0:killvar 'kristinaSex'
  561. if christinaphotos > 0:
  562. if christinaphotos = 3:
  563. !! Christina won the fight and you have not had a shower scene with her yet
  564. christinaQW['fight'] = -1
  565. christinaQW['subpath'] = 2
  566. elseif christinaphotos = 4:
  567. !! Christina won the fight and you had first shower scene with her
  568. christinaQW['fight'] = -1
  569. christinaQW['subpath'] = 3
  570. elseif christinaphotos = 2:
  571. !! You submitted to Christina and you had first shower scene with her
  572. christinaQW['submit'] = 1
  573. christinaQW['subpath'] = 3
  574. else
  575. !! You submitted to Christina but not had a shower scene with her yet
  576. christinaQW['submit'] = 1
  577. christinaQW['subpath'] = 2
  578. end
  579. killvar 'christinaphotos'
  580. end
  581. !!---------------------------------------------------------------
  582. !!Albina variables no longer needed, no sense in having them run in the background for nothing
  583. if AlbinaQW['ParkRallyDay'] > 0:AlbinaQW['ParkRallyDay'] = 0
  584. if AlbinaQW['ElectionCampaignTime'] > 0:AlbinaQW['ElectionCampaignTime'] = 0
  585. if AlbinaQW['AlbFatherQW'] > 1:AlbinaQW['AlbFatherQW'] = 1
  586. !!---------------------------------------------------------------
  587. end
  588. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080204:
  589. !! Migrates kikboxing variables into an array, removes unneeded variables.
  590. if razradKik > 0: kickbox['sash'] = razradKik & killvar 'razradKik'
  591. if amatReit > 0: kickbox['advancement'] = amatReit & killvar 'amatReit'
  592. if kikmoney > 0: kickbox['money'] = kikmoney & killvar 'kikmoney'
  593. if KikWinAm > 0: kickbox['amateurWin'] = KikWinAm & killvar 'KikWinAm'
  594. if KikWinAmKO > 0: kickbox['amateurWinKO'] = KikWinAmKO & killvar 'KikWinAmKO'
  595. if KikLossAm > 0: kickbox['amateurLoss'] = KikLossAm & killvar 'KikLossAm'
  596. if KikLossAmKO > 0: kickbox['amateurLossKO'] = KikLossAmKO & killvar 'KikLossAmKO'
  597. if KikDrawAm > 0: kickbox['amateurDraw'] = KikDrawAm & killvar 'KikDrawAm'
  598. if amateur > 0: kickbox['amateur'] = amateur & killvar 'amateur'
  599. killvar 'razrand'
  600. end
  601. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080205:
  602. !! Migrates Anushka''s brother''s quest into a array.
  603. if maksimQW > 0: maksimQW['QWstage'] = maksimQW
  604. end
  605. !! 0.8.3 shoe package for old saves ---------------------------------------
  606. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080206:
  607. i = 1
  608. :sfetishmet
  609. if sfetish[i] = 1: money += 300
  610. i += 1
  611. if i <= 27:jump 'sfetishmet'
  612. i = 1
  613. :scatsmet
  614. if scats[i] = 1: money += 300
  615. i += 1
  616. if i <= 38:jump 'scatsmet'
  617. i = 1
  618. :sgandmsmet
  619. if sgandm[i] = 1: money += 300
  620. i += 1
  621. if i <= 40:jump 'sgandmsmet'
  622. i = 1
  623. :trainersmet
  624. if trainers[i] = 1: money += 300
  625. i += 1
  626. if i <= 30:jump 'trainersmet'
  627. i = 1
  628. :sboutiquemet
  629. if sboutique[i] = 1: money += 300
  630. i += 1
  631. if i <= 37:jump 'sboutiquemet'
  632. killvar 'sfetish' & killvar 'sfetishS'
  633. killvar 'scats' & killvar 'scatsS'
  634. killvar 'sgandm' & killvar 'sgandmS'
  635. killvar 'trainers' & killvar 'trainersS'
  636. killvar 'sboutique' & killvar 'sboutiqueS'
  637. sgm[5] = 1
  638. sgm_s[5] = 0
  639. gs 'shoes', 'wear', 'sgm', 5
  640. end
  641. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080304:
  642. $fametown = 'pav'
  643. :fametownloop
  644. $fameact = 'acting'
  645. :fameactloop
  646. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  647. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = <<$fametown>>_<<$fameact>>'
  648. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  649. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  650. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  651. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  652. else
  653. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  654. end
  655. killvar '<<$fametown>>_<<$fameact>>'
  656. if $fameact = 'acting':
  657. $fameact = 'dance'
  658. jump 'fameactloop'
  659. elseif $fameact = 'dance':
  660. $fameact = 'painting'
  661. jump 'fameactloop'
  662. elseif $fameact = 'painting':
  663. $fameact = 'music'
  664. jump 'fameactloop'
  665. elseif $fameact = 'music':
  666. $fameact = 'ballet'
  667. jump 'fameactloop'
  668. elseif $fameact = 'ballet':
  669. $fameact = 'modelling'
  670. jump 'fameactloop'
  671. elseif $fameact = 'modelling':
  672. $fameact = 'porn'
  673. jump 'fameactloop'
  674. elseif $fameact = 'porn':
  675. $fameact = 'stripping'
  676. jump 'fameactloop'
  677. elseif $fameact = 'stripping':
  678. $fameact = 'kickboxing'
  679. jump 'fameactloop'
  680. elseif $fameact = 'kickboxing':
  681. $fameact = 'running'
  682. jump 'fameactloop'
  683. elseif $fameact = 'running':
  684. $fameact = 'volleyball'
  685. jump 'fameactloop'
  686. elseif $fameact = 'volleyball':
  687. $fameact = 'chess'
  688. jump 'fameactloop'
  689. elseif $fameact = 'chess':
  690. $fameact = 'teaching'
  691. jump 'fameactloop'
  692. elseif $fameact = 'teaching':
  693. $fameact = 'media'
  694. jump 'fameactloop'
  695. end
  696. $fameact = 'sex'
  697. :fameactloop2
  698. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  699. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = <<$fametown>>_<<$fameact>>'
  700. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  701. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  702. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  703. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  704. else
  705. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  706. end
  707. killvar '<<$fametown>>_<<$fameact>>'
  708. if $fameact = 'sex':
  709. $fameact = 'prostitute'
  710. jump 'fameactloop2'
  711. end
  712. if $fametown = 'pav':
  713. $fametown = 'city'
  714. jump 'fametownloop'
  715. elseif $fametown = 'city':
  716. $fametown = 'village'
  717. jump 'fametownloop'
  718. elseif $fametown = 'village':
  719. $fametown = 'pushkin'
  720. jump 'fametownloop'
  721. end
  722. gs 'fame', 'calculate', 'acting'
  723. gs 'fame', 'calculate', 'dance'
  724. gs 'fame', 'calculate', 'painting'
  725. gs 'fame', 'calculate', 'music'
  726. gs 'fame', 'calculate', 'ballet'
  727. gs 'fame', 'calculate', 'modelling'
  728. gs 'fame', 'calculate', 'porn'
  729. gs 'fame', 'calculate', 'stripping'
  730. gs 'fame', 'calculate', 'kickboxing'
  731. gs 'fame', 'calculate', 'running'
  732. gs 'fame', 'calculate', 'volleyball'
  733. gs 'fame', 'calculate', 'chess'
  734. gs 'fame', 'calculate', 'teaching'
  735. gs 'fame', 'calculate', 'media'
  736. gs 'fame', 'calculateSlut'
  737. if modelfoto > 0 and modelfoto['saveupdater'] = 0:
  738. !! changing modelling variables to arrays
  739. if modelfoto > 0: modelfoto['shoots'] = modelfoto
  740. if modelfotomoney > 0: modelfoto['earnings'] = modelfotomoney
  741. if modelfoto_catalog > 0: modelfoto['catalog'] = modelfoto_catalog
  742. if modelfoto_fashion > 0: modelfoto['fashion'] = modelfoto_fashion
  743. if modelfoto_ero_clo > 0: modelfoto['sexy'] = modelfoto_ero_clo
  744. if modelfoto_bikini > 0: modelfoto['bikini'] = modelfoto_bikini
  745. if modelfoto_lingerie > 0: modelfoto['lingerie'] = modelfoto_lingerie
  746. if modelfoto_trans_ling > 0: modelfoto['trans_ling'] = modelfoto_trans_ling
  747. if modelfoto_transparent > 0: modelfoto['transparent'] = modelfoto_transparent
  748. if modelfoto_fitness > 0: modelfoto['fitness'] = modelfoto_fitness
  749. if modelfoto_glamour > 0: modelfoto['glamour'] = modelfoto_glamour
  750. if modelfoto_topless > 0: modelfoto['topless'] = modelfoto_topless
  751. if modelfoto_nude > 0: modelfoto['nude'] = modelfoto_nude
  752. if modelfoto_tastenude > 0: modelfoto['tastenude'] = modelfoto_tastenude
  753. if modelfoto_toplessnude > 0: modelfoto['toplessnude'] = modelfoto_toplessnude
  754. if modelfoto_fullnude > 0: modelfoto['fullnude'] = modelfoto_fullnude
  755. if modelfoto_erotic > 0: modelfoto['erotic'] = modelfoto_erotic
  756. if modelfoto_nip > 0: modelfoto['nip'] = modelfoto_nip
  757. if modelfoto_pussy > 0: modelfoto['pussy'] = modelfoto_pussy
  758. if modelfoto_asshole > 0: modelfoto['asshole'] = modelfoto_asshole
  759. modelfoto['saveupdater'] = 1
  760. end
  761. end
  762. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080305:
  763. !!Defines the high school classes using the new grade system
  764. gs 'grades', 'createclass', 'school', 'math', 3, 2, 'yes', 'yes', 0, 0
  765. gs 'grades', 'createclass', 'school', 'rus', 3, 2, 'yes', 'yes', 0, 0
  766. gs 'grades', 'createclass', 'school', 'lit', 2, 2, 'yes', 'yes', 0, 0
  767. gs 'grades', 'createclass', 'school', 'art', 2, 2, 'yes', 'no', 0, 0
  768. gs 'grades', 'createclass', 'school', 'bio', 2, 2, 'yes', 'yes', 0, 0
  769. gs 'grades', 'createclass', 'school', 'pe', 3, 1, 'yes', 'no', 0, 0
  770. gs 'grades', 'createclass', 'school', 'eng', 2, 2, 'yes', 'yes', 0, 0
  771. gs 'grades', 'createclass', 'school', 'geo', 2, 2, 'yes', 'yes', 0, 0
  772. gs 'grades', 'createclass', 'school', 'sci', 2, 2, 'yes', 'yes', 0, 0
  773. gs 'grades', 'createclass', 'school', 'shop', 2, 2, 'yes', 'no', 0, 0
  774. gs 'grades', 'createclass', 'school', 'comp', 3, 2, 'yes', 'yes', 0, 0
  775. gs 'grades', 'createclass', 'school', 'mus', 2, 2, 'yes', 'no', 0, 0
  776. gs 'grades', 'createclass', 'school', 'his', 2, 2, 'yes', 'yes', 0, 0
  777. !!Convert the old grade attribute into the new individual grades.
  778. gs 'grades', 'grade_award', 'school', 'math', pcs_grades
  779. gs 'grades', 'grade_award', 'school', 'rus', pcs_grades
  780. gs 'grades', 'grade_award', 'school', 'lit', pcs_grades
  781. gs 'grades', 'grade_award', 'school', 'art', pcs_grades
  782. gs 'grades', 'grade_award', 'school', 'bio', pcs_grades
  783. gs 'grades', 'grade_award', 'school', 'pe', pcs_grades
  784. gs 'grades', 'grade_award', 'school', 'eng', pcs_grades
  785. gs 'grades', 'grade_award', 'school', 'geo', pcs_grades
  786. gs 'grades', 'grade_award', 'school', 'sci', pcs_grades
  787. gs 'grades', 'grade_award', 'school', 'shop', pcs_grades
  788. gs 'grades', 'grade_award', 'school', 'comp', pcs_grades
  789. gs 'grades', 'grade_award', 'school', 'mus', pcs_grades
  790. gs 'grades', 'grade_award', 'school', 'his', pcs_grades
  791. !!Assign a grado on the 1 to 5 russina grade scale from the grade variable
  792. gs 'grades', 'assing_grade_description', 'school'
  793. if month > 9 or (month = 9 and day > 5 and hour > 8) or year > 2016: class['first_grade_check'] = 1
  794. end
  795. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080306:
  796. !!Moving Djibril old variables into his array
  797. if meet_djibril > 0: DjibrilQW['meet'] = meet_djibril & killvar 'meet_djibril'
  798. if djibril_invite > 0: DjibrilQW['invite'] = djibril_invite & killvar 'djibril_invite'
  799. if djibril_sex > 0: npc_sex['A82'] = djibril_sex & killvar 'djibril_sex'
  800. if african_gangbang > 0: DjibrilQW['african_gangbang'] = african_gangbang & killvar 'african_gangbang'
  801. if npc_sex['A82'] > 0 or DjibrilQW['african_gangbang'] > 0: DjibrilQW['invite'] = 1
  802. end
  803. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080307:
  804. !!Moving some string variables to more appropriate numerical variables in the camera files.
  805. i = 0
  806. :camera_update_loop
  807. camera_found[i] = 1
  808. i += 1
  809. if ARRSIZE('camera_found') > i: jump 'camera_update_loop'
  810. !!Moved Igor''s quest to use daystart.
  811. if igor_DimaNos = 2 or igor_DimaNos = 3:
  812. if $igor_DimaNos_day > 5:
  813. igor_DimaNos_day = daystart
  814. else
  815. igor_DimaNos_day = daystart +6 - $igor_DimaNos_day
  816. end
  817. end
  818. end
  819. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080402:
  820. !!Setting the count of generic girlfirends.
  821. pcs_girlfriends = 0
  822. i = 0
  823. :girlfriend_looop
  824. if loverGender[i] = 1: pcs_girlfriends += 1
  825. i +=1
  826. if i < ARRSIZE('lover'): jump 'girlfriend_looop'
  827. Killvar 'i'
  828. if analorgasm > 0: orgasm_anal += analorgasm
  829. end
  830. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080403:
  831. !!Updating the variables for the Katja Quest line.
  832. if meynoldQW = 1 or meynoldQW = 2: katjaQW['QWstage'] = meynoldQW & killvar 'meynoldQW'
  833. if katjaFirstKiss > 0 or KatjaOTN > 0: katjaQW['QWstage'] = 3 & killvar 'katjaFirstKiss' & killvar 'KatjaOTN'
  834. if katjaTanga > 0: katjaQW['pantiesQWstage'] = katjaTanga & killvar 'katjaTanga'
  835. if katja_tanga_end > 0: katjaQW['pantiesQWstage'] = 5 & killvar 'katja_tanga_end'
  836. if katjaSlut > 0: katjaQW['slut'] = katjaSlut & killvar 'katjaSlut'
  837. if katjaHorny > 0: katjaQW['horny'] = katjaHorny & killvar 'katjaHorny'
  838. if katjaSex = 1: katjaQW['park_sex'] = 1 & killvar 'katjaSex'
  839. if katjaSex = 2: katjaQW['park_sex'] = 2 & killvar 'katjaSex'
  840. if katjaSex > 2: katjaQW['park_sex'] = 3 & killvar 'katjaSex'
  841. if KatjaMastr > 0: katjaQW['masturbates'] = KatjaMastr & killvar 'KatjaMastr'
  842. if KatjaThroat > 0: npc_throat['A14'] = KatjaThroat & killvar 'KatjaThroat'
  843. if KatjaAnus > 0: npc_ass['A14'] = KatjaAnus & killvar 'KatjaAnus'
  844. if KatjaOrgasm > 0: KatjaQW['orgasm_day'] = KatjaOrgasm & killvar 'KatjaOrgasm'
  845. if katjaMeynoldday > 0: katjaQW['afterschool_hangout_day'] = katjaMeynoldday & killvar 'katjaMeynoldday'
  846. if tangaday > 0: katjaQW['no_panties_day'] = tangaday & killvar 'tangaday'
  847. if KatjaKnowMastr > 0: katjaQW['knows_masterbation'] = 1 & killvar 'KatjaKnowMastr'
  848. if SelfFistingKnow > 0: katjaQW['knows_self_fisting'] = 1 & killvar 'SelfFistingKnow'
  849. if KatjaKnowBJ > 0: katjaQW['knows_BJ'] = 1 & killvar 'KatjaKnowBJ'
  850. if KatjaKnowSex > 0: katjaQW['knows_sex'] = 1 & killvar 'KatjaKnowSex'
  851. if KatjaKnowAnal > 0: katjaQW['knows_anal'] = 1 & killvar 'KatjaKnowAnal'
  852. if KatjaKnowKuni > 0: katjaQW['knows_cuni'] = 1 & killvar 'KatjaKnowKuni'
  853. if KatjaKnowPirsA > 0: katjaQW['know_Pirced_tongue'] = 1 & killvar 'KatjaKnowPirsA'
  854. if katschoolsex > 0: katja['school_sex'] = 1 & killvar 'katschoolsex'
  855. if katja_disco_Foto > 0: katjaQW['disco_Foto'] = 1 & killvar 'katja_disco_Foto'
  856. if meynoldQW = 3: katjaQW['drunk_help'] = 1 & killvar 'meynoldQW'
  857. if katja_disco_end > 0: katjaQW['no_panties_at_disco'] = 1 & killvar 'katja_disco_end'
  858. if KatjaOhrenet > 0: KatjaQW['sex_in_the_park_comment'] = KatjaOhrenet & killvar 'KatjaOhrenet'
  859. if flag_start_parc > 0: katjaQW['school_kiss'] = flag_start_parc & killvar 'flag_start_parc'
  860. end
  861. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080500:
  862. if $loc = 'dorm': $loc = 'uni_dorm' & $menu_loc = 'uni_dorm'
  863. if $loc = 'HotelWork': $loc = 'hotel_work' & $menu_loc = 'hotel_work'
  864. if $loc = 'ParChurch': $loc = 'pav_church' & $menu_loc = 'pav_church'
  865. if $loc = 'pav_train': $loc = 'pav_market' & $menu_loc = 'pav_market'
  866. if $loc = 'univer': $loc = 'uni_admin' & $menu_loc = 'uni_admin'
  867. if $loc='youplace': $loc = 'city_mansion_entrance' & $menu_loc = 'city_mansion_entrance'
  868. if $loc='ykamin': $loc ='city_mansion_residence_2' & $loc_arg='ylounge' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylounge'
  869. if $loc='ykuh': $loc ='city_mansion_residence_1' & $loc_arg='ykitchen' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ykitchen'
  870. if $loc='ydet': $loc ='city_mansion_residence_2' & $loc_arg='ynursery' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ynursery'
  871. if $loc='ybib': $loc ='city_mansion_residence_2' & $loc_arg='ylibrary' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylibrary'
  872. if $loc='ybedr': $loc ='city_mansion_residence_1' & $loc_arg='ybedroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybedroom'
  873. if $loc='ybass': $loc ='city_mansion_residence_3' & $loc_arg='ypool' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ypool'
  874. if $loc='yban': $loc ='city_mansion_residence_3' & $loc_arg='ysauna' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ysauna'
  875. if $loc='yvan': $loc ='city_mansion_residence_1' & $loc_arg='ybathroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybathroom'
  876. if $loc='ymans': $loc ='city_mansion_residence_1' & $loc_arg='yfoyer' & $menu_loc ='city_mansion_residence_1' & $menu_arg='yfoyer'
  877. if $loc='yzal': $loc ='city_mansion_residence_2' & $loc_arg='yliving' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yliving'
  878. if $loc='ysport': $loc ='city_mansion_residence_3' & $loc_arg='ygym' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ygym'
  879. if $loc='ykabinet': $loc ='city_mansion_residence_2' & $loc_arg='yoffice' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yoffice'
  880. !!updater for sports clothing variable to unify it and fix bug
  881. i = 1
  882. :danilovichfix
  883. if danilovich[i] = 1:
  884. danilovich_outfits[i] = 1
  885. danilovich_outfits_s[i] = danilovich_s[i]
  886. danilovich_outfits_h[i] = danilovich_h[i]
  887. danilovich_outfits_b[i] = danilovich_b[i]
  888. end
  889. i += 1
  890. if i <= 170:jump 'danilovichfix'
  891. killvar 'danilovich'
  892. killvar 'danilovich_s'
  893. killvar 'danilovich_h'
  894. killvar 'danilovich_b'
  895. !! New setting for gaping time per stage in minutes that can be made user definable
  896. if agape[4] = 0: agape[4] = 10
  897. if vgape[4] = 0: vgape[4] = 10
  898. end
  899. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080502:
  900. i = 0
  901. :saveupdaterloop852_1
  902. $text = 'C'+str(i)
  903. temp1 = func('shortgs', 'get_me_index', '$npc_firstname',$text)
  904. if temp1 >= 0:
  905. $npc_index[$text] = $text
  906. end
  907. i += 1
  908. if i < carraynumber: jump 'saveupdaterloop852_1'
  909. i = 0
  910. :saveupdaterloop852_2
  911. $text = 'B'+str(i)
  912. temp1 = func('shortgs', 'get_me_index', '$npc_firstname',$text)
  913. if temp1 >= 0:
  914. $npc_index[$text] = $text
  915. end
  916. i += 1
  917. if i < barraynumber: jump 'saveupdaterloop852_2'
  918. end
  919. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080503:
  920. i = 0
  921. :saveupdaterloop853_1
  922. if npc_grupTipe['A<<i>>'] = 5:
  923. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_outcast_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  924. elseif npc_grupTipe['A<<i>>'] = 4:
  925. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_gopnik_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  926. elseif npc_grupTipe['A<<i>>'] = 3:
  927. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_nerd_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  928. elseif npc_grupTipe['A<<i>>'] = 2:
  929. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  930. elseif npc_grupTipe['A<<i>>'] = 1:
  931. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_coolkid_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  932. end
  933. i += 1
  934. if i < 250: jump 'saveupdaterloop853_1'
  935. if hotelroom1day ! 0:
  936. hotelRoomDays['pav_hotel'] = hotelroom1day
  937. killvar'hotelroom1day'
  938. hotelRoom['pav_hotel'] = hotelroom
  939. hotelroom = 0
  940. end
  941. end
  942. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080504:
  943. !!Christinas chat have to stay in the jocks file even if she is an outcast
  944. $npcGoSchool['A18'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A18']) + '''"><<$npc_usedname["A18"]>></a>'
  945. if storyline = 1 and MagikDostup = 1:
  946. $start_type = 'sg'
  947. $start_type[1] = 'nomagic'
  948. elseif $start_type = 'csb':
  949. $start_type = 'sg_tg'
  950. $start_type[1] = 'tg'
  951. elseif storyline = 1:
  952. $start_type = 'sg_m'
  953. elseif MagikDostup = 1:
  954. $start_type = 'city'
  955. $start_type[1] = 'nomagic'
  956. else
  957. $start_type = 'city_tg'
  958. $start_type[1] = 'tg'
  959. end
  960. end
  961. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080601:
  962. if pcs_skin < 150: pcs_skin = 7 * pcs_skin
  963. gs 'body'
  964. gs 'body', 'DailyUpdate'
  965. gs 'AppearanceSystem', 'UpdateBaseAppearnce'
  966. gs 'stat'
  967. end
  968. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080700:
  969. !!name fix from kats to cats
  970. i = 1
  971. :loopcatsbrassave
  972. if kats_bras[i] = 1:
  973. cats_brasS[i] = kats_brasS[i]
  974. cats_bras[i] = kats_bras[i]
  975. end
  976. i += 1
  977. if i <= ARRSIZE('kats_bras'):jump 'loopcatsbrassave'
  978. killvar 'kats_brasS'
  979. killvar 'kats_bras'
  980. i = 1
  981. :loopcatspantiessave
  982. if kats_panties[i] = 1:
  983. cats_pantiesS[i] = kats_pantiesS[i]
  984. cats_panties[i] = kats_panties[i]
  985. end
  986. i += 1
  987. if i <= ARRSIZE('kats_panties'):jump 'loopcatspantiessave'
  988. killvar 'kats_pantiesS'
  989. killvar 'kats_panties'
  990. !!Christina variable update
  991. if AvelinaQW['encourage'] = 1: AvelinaQW['encourage'] = 0
  992. if lariskaQwestDay < 0 or lariskaQwestDay > 0: killvar 'lariskaQwestDay'
  993. if LariskaQW['LariskaHelp'] < 0 or LariskaQW['LariskaHelp'] > 0: LariskaQW['LariskaHelp'] = 0
  994. if LariskaQW['LariskaHelpEnd'] = 1: LariskaQW['LariskaHelpEnd'] = 0
  995. if npc_grupTipe['A18'] = 5: npc_grupTipe['A18'] = 2
  996. if christinaQW['dompath'] >= 1:
  997. if christinaQW['dompath'] >= 6:
  998. christinaQW['fight'] = 1
  999. christinaQW['dompath'] = 0
  1000. else
  1001. christinaQW['dompath'] = 0
  1002. end
  1003. end
  1004. if christinaQW['set_bully'] = 0:
  1005. if (christinaQW['blackmail'] > 0 or christinaQW['pre_bm'] > 0 or christinaQW['pre_fight'] > 0 or christinaQW['fight'] > 0) and christinaQW['set_bully'] = 0:
  1006. christinaQW['set_bully'] = 1
  1007. christinaQW['bully'] = 40
  1008. end
  1009. if christinaQW['subpath'] > 0:
  1010. christinaQW['set_bully'] = 1
  1011. christinaQW['bully'] = 60
  1012. end
  1013. end
  1014. !!Schedule migrated to the array, no need to change first
  1015. killvar 'chrisloc'
  1016. killvar 'lariloc'
  1017. killvar 'anyaloc'
  1018. killvar 'kolloc'
  1019. killvar 'sdadloc'
  1020. killvar 'father_go'
  1021. killvar 'momloc'
  1022. killvar 'momclean1'
  1023. killvar 'momclean2'
  1024. if mother_go > 0:
  1025. locat['Mom_cafe_sex'] = mother_go
  1026. end
  1027. killvar 'm_day'
  1028. killvar 'mother_go'
  1029. killvar 'ocpd_room'
  1030. if indorf > 0:
  1031. locat['Fam_inGad'] = indorf
  1032. end
  1033. if indorf_month = month:
  1034. locat['Fam_month_inGad'] = indorf_month
  1035. end
  1036. if dostupindorf > 0:
  1037. locat['Fam_set_month_inGad'] = dostupindorf
  1038. end
  1039. killvar 'indorf'
  1040. killvar 'indorf_month'
  1041. killvar 'dostupindorf'
  1042. if sister_indorf > 0:
  1043. locat['Anya_Gad'] = sister_indorf
  1044. end
  1045. if sister_opr_indorf > 0:
  1046. locat['Anya_check_Gad'] = sister_opr_indorf
  1047. end
  1048. killvar 'sister_indorf'
  1049. killvar 'sister_opr_indorf'
  1050. if workKafe = 1:
  1051. workKafe = 0
  1052. workKafe['job'] = 1
  1053. end
  1054. if item_moisturizer['time'] > 0:
  1055. item_moisturizer_time = item_moisturizer['time']
  1056. gs 'shortgs', 'remove_array_element', 'item_moisturizer', 'time'
  1057. end
  1058. end
  1059. killvar 'hypnoHairStyle'
  1060. if mod_list > 0:
  1061. mod_i=1
  1062. :mod_data_updater
  1063. if $mod_name[mod_i] ! '':
  1064. $mod_su_name = 'mod_<<$mod_name[mod_i]>>_saveupdater'
  1065. if LOC($mod_su_name): gs $mod_su_name
  1066. end
  1067. if mod_list > mod_i:
  1068. mod_i+=1
  1069. jump 'mod_data_updater'
  1070. end
  1071. killvar '$mod_su_name'
  1072. killvar 'mod_i'
  1073. end
  1074. if stat['virgin'] > 0:
  1075. stat['think_virgin'] = stat['virgin']
  1076. gs 'shortgs', 'remove_array_element', 'stat', 'virgin'
  1077. end
  1078. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080703:
  1079. end
  1080. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080800:
  1081. !!update base appearance to the new calculation
  1082. gs 'AppearanceSystem', 'UpdateBaseAppearnce'
  1083. gs 'AppearanceSystem'
  1084. if $wloc = 'default':$wloc = 'default1'
  1085. !! new teeth variables
  1086. if pcs_teeth >= 0:
  1087. pcs_missing_teeth = pcs_teeth
  1088. pcs_teeth = 0
  1089. end
  1090. !! udate of Artem quest variables to an array.
  1091. if artembj > 0: artemQW['bj'] = artembj & killvar 'artembj'
  1092. if artemsex > 0: artemQW['sex'] = artemsex & killvar 'artemsex'
  1093. if artemanal > 0: artemQW['anal'] = artemanal & killvar 'artemanal'
  1094. if artemhj > 0: artemQW['hj'] = artemhj & killvar 'artemhj'
  1095. if artembrokenheart > 0: artemQW['brokenheart'] = artembrokenheart & killvar 'artembrokenheart'
  1096. if artemStripSee > 0: artemQW['stripsee'] = artemStripSee & killvar 'artemStripSee'
  1097. if artemlove > 0: artemQW['artemlove'] = artemlove & killvar 'artemlove'
  1098. if artemblok > 0: artemQW['artemblok'] = artemblok & killvar 'artemblok'
  1099. if artembf > 0: artemQW['bf'] = artembf & killvar 'artembf'
  1100. if artdryhump > 0: artemQW['dryhump'] = artdryhump & killvar 'artdryhump'
  1101. if artlie > 0: artemQW['artlie'] = artlie & killvar 'artlie'
  1102. if artfall > 0: artemQW['artfall'] = artfall & killvar 'artfall'
  1103. if artdate > 0: artemQW['date'] = artdate & killvar 'artdate'
  1104. if artdim > 0: artemQW['dimka'] = artdim & killvar 'artdim'
  1105. if artslutlove > 0: artemQW['slutlove'] = artslutlove & killvar 'artslutlove'
  1106. if artsveslut > 0: artemQW['sveslut'] = artsveslut & killvar 'artsveslut'
  1107. if metArtemMom > 0: artemQW['metArtemMom'] = metArtemMom & 'metArtemMom'
  1108. if artdimhelp > 0: artemQW['dimkahelp'] = artdimhelp & killvar 'artdimhelp'
  1109. !! update Julia to an array
  1110. if JulMilBestFrend > 0: juliaQW['JulMilBestFrend'] = JulMilBestFrend & killvar 'JulMilBestFrend'
  1111. if eatJulMilDay: juliaQW['eatJulMilDay'] = eatJulMilDay & killvar 'eatJulMilDay'
  1112. if SexTalkJulia: juliaQW['SexTalkJulia'] = SexTalkJulia & killvar 'SexTalkJulia'
  1113. if BeInJulMilHome: juliaQW['home_unlocked'] = BeInJulMilHome & killvar 'BeInJulMilHome'
  1114. if JuliaMilLernQW: juliaQW['study_unlocked'] = JuliaMilLernQW & killvar 'JuliaMilLernQW'
  1115. end
  1116. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080802:
  1117. !!--------------------------------------------------------------------
  1118. !! Prostitution related changes
  1119. !!--------------------------------------------------------------------
  1120. !! Gadukino prostitution
  1121. gs 'prostitution_functions', 'set_gadukion_prostitute'
  1122. !! Anuahka''s variables put in an array.
  1123. if anushkaFirstvisit > 0: anushkaQW['first_visit'] = anushkaFirstvisit & killvar 'anushkaFirstvisit'
  1124. if Anush_lunch > 0: anushkaQW['lunch'] = Anush_lunch & killvar 'Anush_lunch'
  1125. if nush_model > 0: anushka['model'] = nush_model & killvar 'nush_model'
  1126. if foto_anush_referral > 0: anushka['model_referral'] = foto_anush_referral & killvar 'foto_anush_referral'
  1127. if AnushkaCompUse > 0: anushkaQW['computer_use'] = AnushkaCompUse & killvar 'AnushkaCompUse'
  1128. if marspyknow > 0: anushkaQW['marspyknow'] = marspyknow & killvar 'marspyknow'
  1129. if nushstrapanalpain > 0: anushkaQW['strapon_anal_pain'] = nushstrapanalpain & killvar 'nushstrapanalpain'
  1130. if nushstrapon > 0: anushkaQW['strapon'] = nushstrapon & killvar 'nushstrapon'
  1131. if domnush > 0: anushkaQW['dom_nush'] = domnush & killvar 'domnush'
  1132. if seenEd > 0: anushkaQw['seen_ed'] = seenEd & killvar 'seenEd'
  1133. if valeriaIntroduced > 0: anushkaQw['valeria_introduced'] = valeriaIntroduced & killvar 'valeriaIntroduced'
  1134. if showerphotos > 0: anushkaQW['shower_photos'] = showerphotos & killvar 'showerphotos'
  1135. if anushka_tv_day > 0: anushkaQW['tv_day'] = anushka_tv_day & killvar 'anushka_tv_day'
  1136. if anushka_shower_day > 0: anushkaQW['shower_day'] = anushka_shower_day & killvar 'anushka_shower_day'
  1137. if AnushkaHomeDay > 0: anushkaQW['home_day'] = AnushkaHomeDay & killvar 'AnushkaHomeDay'
  1138. if nush_photoshoot > 0: anushkaQW['photoshoot'] = nush_photoshoot & killvar 'nush_photoshoot'
  1139. if NushVsNiko > 0: anushka['vs_niko'] = NushVsNiko & killvar 'NushVsNiko'
  1140. if nushaboutalyona > 0: anushkaQW['about_alyona'] = nushaboutalyona & killvar 'nushaboutalyona'
  1141. if valspy > 0: anushkaQW['valspy'] = valspy & killvar 'valspy'
  1142. if radnushdate > 0: anushkaQW['rad_date'] = radnushdate & killvar 'radnushdate'
  1143. if radspy > 0: anushkaQW['radspy'] = radspy & killvar ' radspy'
  1144. if nushfedor3s > 0: anushkaQW['fedor_3some'] = nushfedor3s & killvar 'nushfedor3s'
  1145. if Anush_sex > 0: anushkaQW['sex'] = Anush_sex & killvar 'Anush_sex'
  1146. if Anush_dolls > 0: anushkaQW['dolls'] = Anush_dolls & killvar 'Anush_dolls'
  1147. if anushka_toilet > 0: anushkaQW['toilet'] = anushka_toilet & killvar 'anushka_toilet'
  1148. if marspy > 0: anushkaQW['marspy'] = marspy & killvar 'marspy'
  1149. if bandpracticeinvite > 0: gopnikbandQW['practice_invite'] = bandpracticeinvite & killvar 'bandpracticeinvite'
  1150. end
  1151. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080804:
  1152. !!--------------------------------------------------------------------
  1153. !! Homes, Properties and Internet Update
  1154. !!--------------------------------------------------------------------
  1155. !! Transferring the owned, rented, accessible properties
  1156. ! city apartment
  1157. if home_owned[1] = 1 or owned_property['city_apartment'] = 1:
  1158. gs 'homes_properties', 'rent_property', 'city_apartment', ArendHouseSL
  1159. elseif home_owned[1] = 2 or owned_property['city_apartment'] = 2:
  1160. gs 'homes_properties', 'buy_property', 'city_apartment'
  1161. elseif home_owned[1] = 3 or owned_property['city_apartment'] = 3:
  1162. gs 'homes_properties', 'tenants_move_in', 'city_apartment',sdaday, sdamonth
  1163. end
  1164. !! Checking for renovation
  1165. if home_owned[1] > 0 or owned_property['city_apartment'] = 1:
  1166. if rembedr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'bedroom'
  1167. if remsitr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'living room'
  1168. if remkorr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'hallway'
  1169. if remvanr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'bathroom'
  1170. if remkuhr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'kitchen'
  1171. end
  1172. ! parents home
  1173. if home_owned[2] > 0 or owned_property['parents_home'] > 0: gs 'homes_properties', 'give_access', 'parents_home'
  1174. ! cottage in the village
  1175. if home_owned[3] > 0 or owned_property['village_cottage'] > 0: gs 'homes_properties', 'buy_property', 'village_cottage'
  1176. if home_owned[3] > 1 or owned_property['village_cottage-renovated'] = 1: gs 'homes_properties', 'renovate_property', 'village_cottage', 200000
  1177. ! Pushking old town apartment
  1178. if home_owned[4] = 1 or owned_property['old_town_apartment'] = 1: gs 'homes_properties', 'rent_property', 'old_town_apartment', ArendHouseSL4
  1179. ! Matryona mansion
  1180. if home_owned[5] > 0 or owned_property['matryona_mansion'] > 0: gs 'homes_properties', 'buy_property', 'matryona_mansion'
  1181. if home_owned[5] > 1 or owned_property['matryona_mansion-construction-status'] = 1: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1182. if home_owned[5] > 2 or owned_property['matryona_mansion-construction-status'] = 2: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1183. ! Pavlovsk hotel room
  1184. if home_owned[6] > 0 or owned_property['pavlovsk_hotel'] > 0: gs 'homes_properties', 'give_access', 'pavlovsk_hotel'
  1185. ! Live in maid bedroom
  1186. if home_owned[7] > 0 or owned_property['maid_bedroom'] > 0: gs 'homes_properties', 'give_access', 'maid_bedroom'
  1187. ! Niko apartment
  1188. if home_owned[8] > 0 or owned_property['niko_apartment'] > 0: gs 'homes_properties', 'give_access', 'niko_apartment'
  1189. ! Shulga apartment
  1190. if home_owned[9] > 0 or owned_property['shulga_apartment'] > 0: gs 'homes_properties', 'give_access', 'shulga_apartment'
  1191. ! Lyceum dorm room
  1192. if home_owned[10] > 0 or owned_property['lyceum_dorm'] > 0: gs 'homes_properties', 'give_access', 'lyceum_dorm'
  1193. ! University dorm room
  1194. if home_owned[11] > 0 or owned_property['university_dorm'] > 0: gs 'homes_properties', 'give_access', 'university_dorm'
  1195. ! Hunters lodge
  1196. if home_owned[12] > 0 or owned_property['hunters_lodge'] > 0: gs 'homes_properties', 'give_access', 'hunters_lodge'
  1197. ! Shared apartment in Pavlovsk
  1198. if home_owned[13] > 0 or owned_property['shared_apartment'] > 0: gs 'homes_properties', 'give_access', 'shared_apartment'
  1199. ! Grandparents house
  1200. if home_owned[14] > 0 or owned_property['grandparents_house'] > 0: gs 'homes_properties', 'give_access', 'grandparents_house'
  1201. ! City residential house
  1202. if home_owned[15] > 0 or owned_property['city_house'] > 0: gs 'homes_properties', 'buy_property', 'city_house'
  1203. ! Meynold household
  1204. if home_owned[16] > 0 or owned_property['meynold_household'] > 0: gs 'homes_properties', 'give_access', 'meynold_household'
  1205. !! Setting the current home and fixing potential missing access issues
  1206. if curr_home > 0 and $home['current'] = '': gs 'homes_properties', 'set_home', '', STR(curr_home)
  1207. if $home['current'] = 'parents_home' and accessible_property['parents_home'] = 0: gs 'homes_properties', 'give_access', 'parents_home'
  1208. killvar 'home_owned' & killvar 'curr_home' & killvar 'ArendHouseSL' & killvar 'ArendHouseSL4'
  1209. killvar 'home_rent_txt' & killvar 'home_value' & killvar 'home_value_txt'
  1210. killvar 'sdaday' & killvar 'sdamonth' & killvar 'owned_property'
  1211. if $home['current'] = '':
  1212. if mid($start_type, 1, 2) = 'sg':
  1213. gs 'homes_properties', 'give_access', 'parents_home'
  1214. gs 'homes_properties', 'set_home', 'parents_home'
  1215. elseif mid($start_type, 1, 4) = 'city':
  1216. gs 'homes_properties', 'give_access', 'city_apartment'
  1217. gs 'homes_properties', 'set_home', 'city_apartment'
  1218. elseif mid($start_type, 1, 3) = 'uni':
  1219. gs 'homes_properties', 'give_access', 'university_dorm'
  1220. gs 'homes_properties', 'set_home', 'university_dorm'
  1221. end
  1222. end
  1223. !! Setting the internet
  1224. if internet > 0:
  1225. old_internet_value = 10*internet
  1226. if $home['internet_enabled'] = 1:
  1227. gs 'internet_mobile', 'buy_subscription', $home['current'], 900
  1228. if (old_internet_value - 900) >= 0: money += (old_internet_value - 900)
  1229. else
  1230. if old_internet_value >= 1200:
  1231. gs 'internet_mobile', 'buy_subscription', 'mobile', 1200
  1232. if (old_internet_value - 1200) > 0: money += (old_internet_value - 1200)
  1233. else
  1234. gs 'internet_mobile', 'top_up_metered', 'metered_mobile', internet*60
  1235. end
  1236. end
  1237. killvar 'internet'
  1238. end
  1239. !! Setting the mobile phone calls and texts
  1240. if balans > 0:
  1241. if (balans - 800) >= 0:
  1242. gs 'internet_mobile', 'buy_subscription', 'monthly_calls', 800
  1243. money += (balans - 800)
  1244. else
  1245. if balans >= 225:
  1246. temp_phone_mult = balans/225
  1247. temp_phone_rem = balans MOD 225
  1248. new_balans = temp_phone_mult * 240
  1249. gs 'internet_mobile', 'top_up_metered', 'metered_calls', new_balans
  1250. if temp_phone_rem > 0: money += temp_phone_rem
  1251. elseif balans >= 170:
  1252. temp_phone_rem = balans MOD 170
  1253. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 180
  1254. if temp_phone_rem > 0: money += temp_phone_rem
  1255. elseif balans = 115:
  1256. temp_phone_rem = balans MOD 115
  1257. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 120
  1258. if temp_phone_rem > 0: money += temp_phone_rem
  1259. elseif balans >= 60:
  1260. temp_phone_rem = balans MOD 60
  1261. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 60
  1262. if temp_phone_rem > 0: money += temp_phone_rem
  1263. else
  1264. gs 'internet_mobile', 'top_up_metered', 'metered_calls', balans
  1265. end
  1266. end
  1267. killvar 'balans' & killvar 'temp_phone_rem' & killvar 'temp_phone_mult' & killvar 'new_balans'
  1268. end
  1269. !! ------------ NPC Stat Updater ------------------------
  1270. if $ARGS[0] = 'npc_stat_update':
  1271. if npc_start_free_time[$boy] = 0 or npc_day_off[$boy] = 0:
  1272. if npc_finance[$boy] = 0:
  1273. if rand(1,3) = 1:
  1274. npc_start_free_time[$boy] = 9
  1275. npc_end_free_time[$boy] = 12
  1276. elseif rand(1,2) = 1:
  1277. npc_start_free_time[$boy] = 16
  1278. npc_end_free_time[$boy] = 20
  1279. else
  1280. npc_start_free_time[$boy] = 20
  1281. npc_end_free_time[$boy] = 23
  1282. end
  1283. elseif npc_finance[$boy] = 1:
  1284. if rand(1,2) = 1:
  1285. npc_start_free_time[$boy] = 9
  1286. npc_end_free_time[$boy] = 12
  1287. else
  1288. npc_start_free_time[$boy] = 20
  1289. npc_end_free_time[$boy] = 23
  1290. end
  1291. elseif npc_finance[$npclastgenerated] = 2:
  1292. npc_apt_type[$npclastgenerated] = 5
  1293. !!npc_apt_type[$npclastgenerated] = rand(5,6)
  1294. !! apt_type 6 is disabled until pictures are added
  1295. npc_occupation[$npclastgenerated] = rand(14,18)
  1296. npc_car[$npclastgenerated] = rand(0,1)
  1297. end
  1298. npc_day_off = rand(1,7)
  1299. end
  1300. end
  1301. end
  1302. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080900:
  1303. if $wardrobeDefaultPagePref = 'savedOutfits':$wardrobeDefaultPagePref = 'default1'
  1304. if nichTanyaKnown = 1:
  1305. nichTanya['Known'] = nichTanyaKnown
  1306. nichTanya['Relationship'] = nichTanyaRelationship
  1307. nichTanya['RelationshipState'] = nichTanyaRelationshipState
  1308. nichTanya['RelationshipBreakup'] = nichTanyaRelationshipBreakup
  1309. nichTanya['BF'] = nichTanyaBF
  1310. nichTanya['Date'] = nichTanyaDate
  1311. nichTanya['DateCounter'] = nichTanyaDateCounter
  1312. nichTanya['DateLast'] = nichTanyaDateLast
  1313. nichTanya['DateShopping'] = nichTanyaDateShopping
  1314. nichTanya['FuckCounter'] = nichTanyaFuckCounter
  1315. nichTanya['FuckLast'] = nichTanyaFuckLast
  1316. nichTanya['FuckToday'] = nichTanyaFuckToday
  1317. nichTanya['FuckPositions'] = nichTanyaFuckPositions
  1318. nichTanya['Strapon'] = nichTanyaStrapon
  1319. nichTanya['Dominance'] = nichTanyaDominance
  1320. nichTanya['Uni'] = nichTanyaUni
  1321. nichTanya['UniStart'] = nichTanyaUniStart
  1322. nichTanya['Room'] = nichTanyaRoom
  1323. nichTanya['PropSex'] = nichTanyaPropSex
  1324. nichTanya['PropDate'] = nichTanyaPropDate
  1325. killvar 'nichTanyaKnown'
  1326. killvar 'nichTanyaRelationship'
  1327. killvar 'nichTanyaRelationshipState'
  1328. killvar 'nichTanyaRelationshipBreakup'
  1329. killvar 'nichTanyaBF'
  1330. killvar 'nichTanyaBFState'
  1331. killvar 'nichTanyaDate'
  1332. killvar 'nichTanyaDateCounter'
  1333. killvar 'nichTanyaDateLast'
  1334. killvar 'nichTanyaDateShopping'
  1335. killvar 'nichTanyaFuckCounter'
  1336. killvar 'nichTanyaFuckLast'
  1337. killvar 'nichTanyaFuckToday'
  1338. killvar 'nichTanyaFuckPositions'
  1339. killvar 'nichTanyaFuckDom'
  1340. killvar 'nichTanyaFuckSub'
  1341. killvar 'nichTanyaStrapon'
  1342. killvar 'nichTanyaDominance'
  1343. killvar 'nichTanyaUni'
  1344. killvar 'nichTanyaUniStart'
  1345. killvar 'nichTanyaRoom'
  1346. killvar 'nichTanyaPropSex'
  1347. killvar 'nichTanyaPropDate'
  1348. end
  1349. end
  1350. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080901:
  1351. if $wardrobeDefaultPagePref = 'savedOutfits':$wardrobeDefaultPagePref = 'default1'
  1352. i = 0
  1353. :loopboutiquepanties
  1354. i += 1
  1355. if boutique_panties[i] = 1:
  1356. dynamic 'lusso_panties[i] = 1'
  1357. dynamic 'lusso_pantiesS[i] = boutique_pantiesS[i]'
  1358. end
  1359. if i <= ARRSIZE('boutique_panties'):jump 'loopboutiquepanties'
  1360. killvar 'boutique_panties'
  1361. i = 0
  1362. :loopboutiquebras
  1363. i += 1
  1364. if boutique_bras[i] = 1:
  1365. dynamic 'lusso_bras[i] = 1'
  1366. dynamic 'lusso_brasS[i] = boutique_brasS[i]'
  1367. end
  1368. if i <= ARRSIZE('boutique_bras'):jump 'loopboutiquebras'
  1369. killvar 'boutique_bras'
  1370. i = 0
  1371. :loopcheappanties
  1372. i += 1
  1373. if cheap_panties[i] = 1:
  1374. dynamic 'gm_panties[i] = 1'
  1375. dynamic 'gm_pantiesS[i] = cheap_pantiesS[i]'
  1376. end
  1377. if i <= ARRSIZE('cheap_panties'):jump 'loopcheappanties'
  1378. killvar 'cheap_panties'
  1379. i = 0
  1380. :loopcheapbras
  1381. i += 1
  1382. if cheap_bras[i] = 1:
  1383. dynamic 'gm_bras[i] = 1'
  1384. dynamic 'gm_brasS[i] = cheap_brasS[i]'
  1385. end
  1386. if i <= ARRSIZE('cheap_bras'):jump 'loopcheapbras'
  1387. killvar 'cheap_bras'
  1388. i = 0
  1389. :loopexhibitionistpanties
  1390. i += 1
  1391. if exhibitionist_panties[i] = 1:
  1392. dynamic 'salacious_panties[i] = 1'
  1393. dynamic 'salacious_pantiesS[i] = exhibitionist_pantiesS[i]'
  1394. end
  1395. if i <= ARRSIZE('exhibitionist_panties'):jump 'loopexhibitionistpanties'
  1396. killvar 'exhibitionist_panties'
  1397. i = 0
  1398. :loopexhibitionistbras
  1399. i += 1
  1400. if exhibitionist_bras[i] = 1:
  1401. dynamic 'salacious_bras[i] = 1'
  1402. dynamic 'salacious_brasS[i] = exhibitionist_brasS[i]'
  1403. end
  1404. if i <= ARRSIZE('exhibitionist_bras'):jump 'loopexhibitionistbras'
  1405. killvar 'exhibitionist_bras'
  1406. i = 0
  1407. :loopsexshoppanties
  1408. i += 1
  1409. if sexshop_panties[i] = 1:
  1410. dynamic 'eroto_panties[i] = 1'
  1411. dynamic 'eroto_pantiesS[i] = sexshop_pantiesS[i]'
  1412. end
  1413. if i <= ARRSIZE('sexshop_panties'):jump 'loopsexshoppanties'
  1414. killvar 'sexshop_panties'
  1415. i = 0
  1416. :loopsexshopbras
  1417. i += 1
  1418. if sexshop_bras[i] = 1:
  1419. dynamic 'eroto_bras[i] = 1'
  1420. dynamic 'eroto_brasS[i] = sexshop_brasS[i]'
  1421. end
  1422. if i <= ARRSIZE('sexshop_bras'):jump 'loopsexshopbras'
  1423. killvar 'sexshop_bras'
  1424. i = 0
  1425. :loopsportpanties
  1426. i += 1
  1427. if sport_panties[i] = 1:
  1428. dynamic 'danilovich_panties[i] = 1'
  1429. dynamic 'danilovich_pantiesS[i] = sport_pantiesS[i]'
  1430. end
  1431. if i <= ARRSIZE('sport_panties'):jump 'loopsportpanties'
  1432. killvar 'sport_panties'
  1433. i = 0
  1434. :loopsportbras
  1435. i += 1
  1436. if sport_bras[i] = 1:
  1437. dynamic 'danilovich_bras[i] = 1'
  1438. dynamic 'danilovich_brasS[i] = sport_brasS[i]'
  1439. end
  1440. if i <= ARRSIZE('sport_bras'):jump 'loopsportbras'
  1441. killvar 'sport_bras'
  1442. if metmira = 1: npc_known['A60'] = 1 & killvar 'metmira'
  1443. end
  1444. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080903:
  1445. if $wardrobeDefaultPagePref = 'savedOutfits':$wardrobeDefaultPagePref = 'default1'
  1446. if mid($start_type,1,4) = 'city' or $start_type = 'uni':
  1447. gs 'homes_properties', 'give_access', 'parents_home'
  1448. SchoolAtestat = 1
  1449. end
  1450. if teh > 0:
  1451. car['new_condition'] = tehcar
  1452. car['current_condition'] = teh
  1453. killvar 'teh'
  1454. killvar 'tehcar'
  1455. end
  1456. i = 0
  1457. :loopboys
  1458. if $npc_rel_type[i] ! '':$npc_rel_type[i] = 'fuckbuddy'
  1459. i += 1
  1460. if i <= ARRSIZE('$boys'):jump 'loopboys'
  1461. if traits > 0 or trait > 0:
  1462. pcs_traits['nerd_status'] = traits['nerd_status']
  1463. pcs_traits['cumeater'] = trait['cumeater']
  1464. pcs_traits['commando_lvl'] = trait['commando_lvl']
  1465. pcs_traits['commando_exp'] = trait['commando_exp']
  1466. pcs_traits['alko_status'] = traits['alko_status']
  1467. pcs_traits['alko_points'] = traits['alko_points']
  1468. pcs_traits['buttslut_lvl'] = traits['buttslut_lvl']
  1469. pcs_traits['buttslut_exp'] = traits['buttslut_exp']
  1470. pcs_traits['nerd_lernHome'] = traits['nerd_lernHome']
  1471. pcs_traits['nerd_points'] = traits['nerd_points']
  1472. pcs_traits['nerd_lessons'] = traits['nerd_lessons']
  1473. killvar 'traits'
  1474. killvar 'trait'
  1475. end
  1476. end
  1477. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00090000:
  1478. if photography_job >0:
  1479. photography['experience'] = photography_job & killvar 'photography_job'
  1480. end
  1481. ! Deduplication in $fuckbuddy
  1482. if arrsize('$fuckbuddy') > 0:
  1483. ! Loop over the array, check if the value already exists in the temp array. If not copy.
  1484. i_fb = 0
  1485. :loopFuckbuddies
  1486. if arrpos('$_fuckbuddies', '$fuckbuddy[i_fb]') = -1:
  1487. copyarr('$_fuckbuddies', '$fuckbuddy', i_fb, 1)
  1488. i_fb +=1
  1489. end
  1490. if i_fb < arrsize('$fuckbuddy') : jump 'loopFuckbuddies'
  1491. killvar '$fuckbuddy'
  1492. $fuckbuddy = $_fuckbuddies
  1493. killvar '$_fuckbuddies' & killvar 'i_fb'
  1494. end
  1495. end
  1496. gs 'saveg'
  1497. --- saveupdater ---------------------------------