1
0

saveupdater.qsrc 174 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806
  1. # saveupdater
  2. !! This file is for updating save game when one variable have been replaced by another.
  3. !! The version number is updated for releases and when it is required because we cannot run checks to block repeated updating
  4. !! The version number is in saveg.gsrc should only be updated by the person preparing the release, if it needs to be done outside of releases then inform the person in charge of releases to ensure correct number change is made.
  5. !! When updating the version number: at the bottom of this file just after the last end add the following line:
  6. !! if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < "new version number":
  7. !! where "new version number" should either match that in saveg.qsrc or be for the next minor increment
  8. !! Then add any replacement variables after this line. You can see how this is done by looking through this file.
  9. !! When changing version number you must commit this file and saveg.qsrc at the same time.
  10. temp_current_save_version = ( (100*version_major + version_minor) * 100 + version_revision ) * 100 + version_patch
  11. !!======================================================================================================!!
  12. !! !!
  13. !! !!Version 0.8.0!! !!
  14. !! !!
  15. !!======================================================================================================!!
  16. if temp_current_save_version < 00080000:
  17. !!------------------------------grandparent variable clean up---for 0.8.0 release---------------------------
  18. !!---Grandpa
  19. If grandpa_bilberry > 0: grandpaQW['chore_berry_quantity'] = grandpa_bilberry & killvar 'grandpa_bilberry'
  20. If grandpa_boletus > 0: grandpaQW['chore_mushroom_quantity'] = grandpa_boletus & killvar 'grandpa_boletus'
  21. If grandpahelpday > 0: grandpaQW['last_day_helped'] = grandpahelpday & killvar 'grandpahelpday'
  22. If grandpahelping > 0: grandpaQW['chore_type'] = grandpahelping & killvar 'grandpahelping'
  23. If grandpatalk > 0: grandpaQW['last_hour_talked'] = grandpatalk & killvar 'grandpatalk'
  24. If grandpatalkday > 0: grandpaQW['last_day_talked'] = grandpatalkday & killvar 'grandpatalkday'
  25. If grandpatalkforest > 0: grandpaQW['talked_about_forest'] = grandpatalkforest & killvar 'grandpatalkforest'
  26. If comb_horse > 0: grandpaQW['chore_brush_horse'] = comb_horse & killvar 'comb_horse'
  27. If cow_field > 0: grandpaQW['chore_lead_cow_to_field'] = cow_field & killvar 'cow_field'
  28. If feed_boar > 0: grandpaQW['chore_feed_boar'] = feed_boar & killvar 'feed_boar'
  29. If feed_cow > 0: grandpaQW['chore_feed_cow'] = feed_cow & killvar 'feed_cow'
  30. If feed_horse > 0: grandpaQW['chore_feed_horse'] = feed_horse & killvar 'feed_horse'
  31. If graze_cow > 0: grandpaQW['chore_herd_cattle'] = graze_cow & killvar 'graze_cow'
  32. If graze_cow_exp > 0: grandpaQW['chore_herd_cattle_experience'] = graze_cow_exp & killvar 'graze_cow_exp'
  33. If haying_time > 0: grandpaQW['chore_bale_hay'] = haying_time & killvar 'haying_time'
  34. If horse_field > 0: grandpaQW['chore_lead_horse_to_field'] = horse_field & killvar 'horse_field'
  35. If horse_river > 0: grandpaQW['chore_bathe_horse'] = horse_river & killvar 'horse_river'
  36. If go_in_bilberry > 0: grandpaQW['chore_gather_berries'] = go_in_bilberry & killvar 'go_in_bilberry'
  37. If go_in_boletus > 0: grandpaQW['chore_gather_mushrooms'] = go_in_boletus & killvar 'go_in_boletus'
  38. If go_in_boletus_bilberry > 0: grandpaQW['chore_gather_both'] = go_in_boletus_bilberry & killvar 'go_in_boletus_bilberry'
  39. !!---Grandma
  40. If grandma_trouble > 0: grandmaQW['nudity_trouble'] = grandma_trouble & killvar 'grandma_trouble'
  41. If grandmastory > 0: grandmaQW['last_day_asked_for_story'] = grandmastory & killvar 'grandmastory'
  42. If grandmatalk > 0: grandmaQW['last_hour_talked'] = grandmatalk & killvar 'grandmatalk'
  43. If grandmatalkday > 0: grandmaQW['last_day_talked'] = grandmatalkday & killvar 'grandmatalkday'
  44. If grandmatalkgad > 0: grandmaQW['talked_about_gadukino'] = grandmatalkgad & killvar 'grandmatalkgad'
  45. If monthbabkapay > 0: grandmaQW['last_month_paid'] = monthbabkapay & killvar 'monthbabkapay'
  46. If grandmahelpday > 0: grandmaQW['last_day_helped'] = grandmahelpday & killvar 'grandmahelpday'
  47. If grandmahelp > 0: grandmaQW['help_amount'] = grandmahelp & killvar 'grandmahelp'
  48. If grandmahelping > 0: grandmaQW['chore_type'] = grandmahelping & killvar 'grandmahelping'
  49. If collect_strawberries > 0: grandmaQW['chore_collect_strawberries'] = collect_strawberries & killvar 'collect_strawberries'
  50. If feed_chickens > 0: grandmaQW['chore_feed_chickens'] = feed_chickens & killvar 'feed_chickens'
  51. If fruit_collect > 0: grandmaQW['chore_collect_fruit'] = fruit_collect & killvar 'fruit_collect'
  52. If harvest_garden > 0: grandmaQW['chore_harvest_garden'] = harvest_garden & killvar 'harvest_garden'
  53. If milk_cow > 0: grandmaQW['chore_milk_cow'] = milk_cow & killvar 'milk_cow'
  54. If water_garden > 0: grandmaQW['chore_water_garden'] = water_garden & killvar 'water_garden'
  55. If work_garden > 0: grandmaQW['chore_work_in_garden'] = work_garden & killvar 'work_garden'
  56. !!---------------------------end of grandparent variable clean up---for 0.8.0 release-----------------------
  57. !! ----- Natasha story variables migrated to array ----- 0.8.0
  58. ! Natasha''s mom NPC data for existing saves
  59. if $npc_firstname['A191'] ! 'Isabella':
  60. gs 'npc_standard_preferences', 'A191'
  61. $npc_dna['A<<npctemp>>'] = '1614037462 1959746313 1085890273 0326112989 0869737602 6676723523 3590292041'
  62. $npc_firstname['A<<npctemp>>'] = 'Isabella'
  63. $npc_nickname['A<<npctemp>>'] = 'Bella'
  64. $npc_lastname['A<<npctemp>>'] = 'Belova'
  65. $npc_usedname['A<<npctemp>>'] = 'Isabella'
  66. $npc_notes['A<<npctemp>>'] = 'Your classmate Natasha''s mother, Isabella Belova.'
  67. npc_dob['A<<npctemp>>'] = 19820922
  68. npc_gender['A<<npctemp>>'] = 1
  69. gs 'npcstaticdefaults', 'defaults'
  70. npc_bust['A<<npctemp>>'] = 23
  71. end
  72. killvar '$NatashaMotherName' & killvar '$NatashaMotherNickname'
  73. if NatashaQW > 0: NatbelQW['QWstage'] = NatashaQW & killvar 'NatashaQW'
  74. if natbelXP > 0: NatbelQW['natbelXP'] = natbelXP & killvar 'natbelXP'
  75. if NatBelBestFrend > 0: NatbelQW['BestFriend'] = NatBelBestFrend & killvar 'NatBelBestFrend'
  76. if BeInNatBelHome > 0: NatbelQW['VisitedHome'] = BeInNatBelHome & killvar 'BeInNatBelHome'
  77. if natashaFirstvisit > 0: NatbelQW['FirstVisit'] = natashaFirstvisit & killvar 'natashaFirstvisit'
  78. if NatNoTV > 0: NatbelQW['NoTV'] = NatNoTV & killvar 'NatNoTV'
  79. if ShowRand > 0: NatbelQW['TVshow'] = ShowRand & killvar 'ShowRand'
  80. if $ShowMsg ! '': $NatbelQW['TVmsg'] = $ShowMsg & killvar '$ShowMsg'
  81. if NatashaWatchedYourPorn > 0: NatbelQW['WatchedYourPorn'] = NatashaWatchedYourPorn & killvar 'NatashaWatchedYourPorn'
  82. if NatDolg > 0: NatbelQW['Debt'] = NatDolg & killvar 'NatDolg'
  83. if NatDolgDay > 0: NatbelQW['DebtDay'] = NatDolgDay & killvar 'NatDolgDay'
  84. if nattimeleft > 0: NatbelQW['DebtTimeLeft'] = nattimeleft & killvar 'nattimeleft'
  85. if NatashaMoneyGivenTimes > 0: NatbelQW['MoneyGivenTimes'] = NatashaMoneyGivenTimes & killvar 'NatashaMoneyGivenTimes'
  86. if NatashaHW > 0: NatbelQW['homework'] = NatashaHW & killvar 'NatashaHW'
  87. if natdoingHW > 0: NatbelQW['doingHW'] = natdoingHW & killvar 'natdoingHW'
  88. if NatashaNakedHW > 0: NatbelQW['nakedHW'] = NatashaNakedHW & killvar 'NatashaNakedHW'
  89. if natunderwear > 0: NatbelQW['underwear'] = natunderwear & killvar 'natunderwear'
  90. if natund > 0: NatbelQW['underwearShop'] = natund & killvar 'natund'
  91. if natseethrough > 0: NatbelQW['seethrough'] = natseethrough & killvar 'natseethrough'
  92. if natseethroughwearing > 0: NatbelQW['seethroughwearing'] = natseethroughwearing & killvar 'natseethroughwearing'
  93. if natseethroughworn > 0: NatbelQW['seethroughworn'] = natseethroughworn & killvar 'natseethroughworn'
  94. if natseehtroughkitchen > 0: NatbelQW['seethroughkitchen'] = natseehtroughkitchen & killvar 'natseehtroughkitchen'
  95. if natmomrobe > 0: NatbelQW['momrobe'] = natmomrobe & killvar 'natmomrobe'
  96. if nattraining > 0: NatbelQW['training'] = nattraining & killvar 'nattraining'
  97. if natlesb > 0: NatbelQW['lesbian'] = natlesb & killvar 'natlesb'
  98. if natpee > 0: NatbelQW['pee'] = natpee & killvar 'natpee'
  99. if HaveCucumber > 0: NatbelQW['cucumber'] = HaveCucumber & killvar 'HaveCucumber'
  100. if natkolkatease > 0: NatbelQW['KolkaTease'] = natkolkatease & killvar 'natkolkatease'
  101. if kolkawantsnat > 0: NatbelQW['KolkaWantsNat'] = kolkawantsnat & killvar 'kolkawantsnat'
  102. if natfuckday > 0: NatbelQW['KolkaFuckDay'] = natfuckday & killvar 'natfuckday'
  103. if NatKolkaSex > 0: NatbelQW['KolkaSex'] = NatKolkaSex & killvar 'NatKolkaSex'
  104. if natbj > 0: NatbelQW['bj'] = natbj & killvar 'natbj'
  105. if NatKolkaFootjob > 0: NatbelQW['KolkaFootjob'] = NatKolkaFootjob & killvar 'NatKolkaFootjob'
  106. if natcp > 0: NatbelQW['KolkaCP'] = natcp & killvar 'natcp'
  107. ! Adding all previous creampies to the new vaginal sex tracker so it can start above 0 if possible
  108. if NatbelQW['KolkaCP'] > 0 and NatbelQW['vaginal'] = 0:
  109. NatbelQW['vaginal'] = NatbelQW['KolkaCP']
  110. end
  111. if natanal > 0: NatbelQW['anal'] = natanal & killvar 'natanal'
  112. if natpregday > 0: NatbelQW['pregday'] = natpregday & killvar 'natpregday'
  113. if nataskedbaby > 0: NatbelQW['askedbaby'] = nataskedbaby & killvar 'nataskedbaby'
  114. if natbabycount > 0: NatbelQW['babycount'] = natbabycount & killvar 'natbabycount'
  115. if MetNatMother > 0: NatbelQW['MetMother'] = MetNatMother & killvar 'MetNatMother'
  116. ! These can be set to 0, so wiping them in any case to get rid of them
  117. NatbelQW['MotherHome'] = NatashaMotherHome & killvar 'NatashaMotherHome'
  118. NatbelQW['MotherDoor'] = DoorOpenBy & killvar 'DoorOpenBy'
  119. NatbelQW['MotherState'] = NatashaMotherState & killvar 'NatashaMotherState'
  120. NatbelQW['MotherStateMsg'] = NatashaMotherStateMsg & killvar 'NatashaMotherStateMsg'
  121. NatbelQW['MotherStateKeep'] = NatashaMotherStateKeep & killvar 'NatashaMotherStateKeep'
  122. if SeenNatMomHitachi > 0: NatbelQW['SeenNatMomHitachi'] = SeenNatMomHitachi & killvar 'SeenNatMomHitachi'
  123. if CaughtByNatMomHitachi > 0: NatbelQW['CaughtByNatMomHitachi'] = CaughtByNatMomHitachi & killvar 'CaughtByNatMomHitachi'
  124. if $NatMomVibName ! '': $NatbelQW['NatMomVibName'] = $NatMomVibName & killvar '$NatMomVibName'
  125. ! typos found in the natasha files & other cleaning up
  126. if nhib_exp > 0: inhib_exp += nhib_exp & killvar 'nhib_exp'
  127. killvar 'natsleeprand'
  128. killvar 'imgrand'
  129. !! ----- Natasha story variables migrated to array ----- 0.8.0
  130. ! ----- Parrot story variables migrated to array
  131. if saveparQW > 0: ParrotQW['Level'] = saveparQW & killvar 'saveparQW'
  132. if popugai > 0: ParrotQW['Owned1'] = popugai & killvar 'popugai'
  133. if popugai2 > 0: ParrotQW['Owned2'] = popugai2 & killvar 'popugai2'
  134. if saveparjourQW > 0: ParrotQW['Day'] = saveparjourQW & killvar 'saveparjourQW'
  135. if parbuydate > 0: ParrotQW['BuyDate'] = parbuydate & killvar 'parbuydate'
  136. if sisrelparday > 0: ParrotQW['SisterReleaseParrotDay'] = sisrelparday & killvar 'sisrelparday'
  137. if saveparQWfailed > 0: ParrotQW['Failed'] = saveparQWfailed & killvar 'saveparQWfailed'
  138. If sispopconf > 0: ParrotQW['SisKeepParrot'] = sispopconf & killvar 'sispopconf'
  139. if $namepopu ! '': $ParrotQW['Name1'] = $namepopu & killvar '$namepopu'
  140. if $namepopu2 ! '': $ParrotQW['Name2'] = $namepopu2 & killvar '$namepopu2'
  141. ! ----- Parrot story variables migrated to array
  142. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  143. if BankPapper > 0: BurgerQW['BankTask'] = BankPapper & killvar 'BankPapper'
  144. if BistroBoss > 0: BurgerQW['BossSlut'] = BistroBoss & killvar 'BistroBoss'
  145. if BistroBossDay > 0: BurgerQW['BossSlutLastServed'] = BistroBossDay & killvar 'BistroBossDay'
  146. if bistroQW > 0: BurgerQW['Level'] = bistroQW & killvar 'bistroQW'
  147. if $burgerIvanText ! '': $BurgerQW['IvanSecurityCamDesc'] = $burgerIvanText & killvar '$burgerIvanText'
  148. if BuSWworkEnd > 0: BurgerQW['SaunaWhoreKnown'] = BuSWworkEnd & killvar 'BuSWworkEnd'
  149. if dayBankPapper > 0: BurgerQW['BankTaskDay'] = dayBankPapper & killvar 'dayBankPapper'
  150. if DayTerminalPapper > 0: BurgerQW['TerminalTaskDay'] = DayTerminalPapper & killvar 'DayTerminalPapper'
  151. if gossipBU > 0: BurgerQW['SlutReputation'] = gossipBU & killvar 'gossipBU'
  152. if IvanEvidence > 0: BurgerQW['IlyQWEvidence'] = IvanEvidence & killvar 'IvanEvidence'
  153. if ivanFilmBJ > 0: BurgerQW['IlyQWBJFilmed'] = ivanFilmBJ & killvar 'ivanFilmBJ'
  154. if IvanKvartira > 0: BurgerQW['IlyQWTatianaHelp'] = IvanKvartira & killvar 'IvanKvartira'
  155. if IvanPodstavaDay > 0: BurgerQW['IlyQWDay'] = IvanPodstavaDay & killvar 'IvanPodstavaDay'
  156. if IvanPodstavaQW > 0: BurgerQW['IlyQW'] = IvanPodstavaQW & killvar 'IvanPodstavaQW'
  157. if kompromatBlackMail > 0: BurgerQW['IlyQWBlackmail'] = kompromatBlackMail & killvar 'kompromatBlackMail'
  158. if $kompromatFoto ! '': $BurgerQW['IlyQWBlackmailPhoto'] = $kompromatFoto & killvar '$kompromatFoto'
  159. if NoBistroWork > 0: BurgerQW['WorkBlocked'] = NoBistroWork & killvar 'NoBistroWork'
  160. if PersSecWork > 0: BurgerQW['Secretary'] = PersSecWork & killvar 'PersSecWork'
  161. if PersSecWorkTimes > 0: BurgerQW['SecretaryTimesWorked'] = PersSecWorkTimes & killvar 'PersSecWorkTimes'
  162. if PodpiskaNeviezd > 0: BurgerQW['IlyQWPoliceDayCount'] = PodpiskaNeviezd & killvar 'PodpiskaNeviezd'
  163. if posuda > 0: BurgerQW['WashDishesCount'] = posuda & killvar 'posuda'
  164. if posudaA > 0: BurgerQW['WashFloorCount'] = posudaA & killvar 'posudaA'
  165. if posudaday > 0: BurgerQW['WashedDishesLastDay'] = posudaday & killvar 'posudaday'
  166. if posudaAday > 0: BurgerQW['WashFloorLastDay'] = posudaAday & killvar 'posudaAday'
  167. if PSBBtimes > 0: BurgerQW['WorkShift'] = PSBBtimes & killvar 'PSBBtimes'
  168. if sergeyPQW > 0: BurgerQW['sergeyQW'] = sergeyPQW & killvar 'sergeyPQW'
  169. if soplakTimes > 0: BurgerQW['sergeyQWServiced1'] = soplakTimes & killvar 'soplakTimes'
  170. if soplakTimes1 > 0: BurgerQW['sergeyQWServiced2'] = soplakTimes1 & killvar 'soplakTimes1'
  171. if TerminalPapper > 0: BurgerQW['TerminalTask'] = TerminalPapper & killvar 'TerminalPapper'
  172. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  173. ! ----- Albina story variables migrated to array
  174. if AlbFather > 0: AlbinaQW['AlbFatherQW'] = AlbFather & killvar 'AlbFather'
  175. if AlbFrend > 0: AlbinaQW['Friends'] = AlbFrend & killvar 'AlbFrend'
  176. if ZvezdEnd > 0: AlbinaQW['StarletsShutDown'] = ZvezdEnd & killvar 'ZvezdEnd'
  177. if DanceWhore > 0: AlbinaQW['StarletsWhore'] = DanceWhore & killvar 'DanceWhore'
  178. if beinalbinahome > 0: AlbinaQW['KnowsHouse'] = beinalbinahome & killvar 'beinalbinahome'
  179. if albsportday > 0: AlbinaQW['SportDay'] = albsportday & killvar 'albsportday'
  180. if albsporthome > 0: AlbinaQW['SportHome'] = albsporthome & killvar 'albsporthome'
  181. if gamebet > 0: AlbinaQW['gamebet'] = gamebet & killvar 'gamebet'
  182. if stardance > 0: AlbinaQW['ShowTriggerCount'] = stardance & killvar 'stardance'
  183. if albrideday > 0: AlbinaQW['albrideday'] = albrideday & killvar 'albrideday'
  184. if albinaQWdance > 0: AlbinaQW['StarletsJoined'] = albinaQWdance & killvar 'albinaQWdance'
  185. if AlbZverHelp > 0: AlbinaQW['ChristinaHelp'] = AlbZverHelp & killvar 'AlbZverHelp'
  186. if alb_father_meeting > 0: AlbinaQW['ParkRally'] = alb_father_meeting & killvar 'alb_father_meeting'
  187. if alb_father_day > 0: AlbinaQW['ParkRallyDay'] = alb_father_day & killvar 'alb_father_day'
  188. if AlbFaterBlackTime > 0: AlbinaQW['ElectionCampaignTime'] = AlbFaterBlackTime & killvar 'AlbFaterBlackTime'
  189. if startletsday > 0: AlbinaQW['startletsday'] = startletsday & killvar 'startletsday'
  190. if AlbVsNiko > 0: AlbinaQW['niko_help'] = AlbVsNiko & killvar 'AlbVsNiko'
  191. if AlbinaBlockHumiliation > 0: AlbinaQW['Protect'] = AlbinaBlockHumiliation & killvar 'AlbinaBlockHumiliation'
  192. ! ----- Albina story variables migrated to array
  193. !! Updating npc_bust[] array to the new values ----- 0.8.0
  194. if npc_bust['A12'] = 9: npc_bust['A12'] = 23
  195. if npc_bust['A13'] = 9: npc_bust['A13'] = 8
  196. if npc_bust['A14'] = 9: npc_bust['A14'] = 20
  197. if npc_bust['A15'] = 9: npc_bust['A15'] = 18
  198. if npc_bust['A16'] = 9: npc_bust['A16'] = 26
  199. if npc_bust['A17'] = 9: npc_bust['A17'] = 34
  200. if npc_bust['A18'] = 9: npc_bust['A18'] = 21
  201. if npc_bust['A19'] = 9: npc_bust['A19'] = 14
  202. if npc_bust['A20'] = 9: npc_bust['A20'] = 22
  203. if npc_bust['A21'] = 9: npc_bust['A21'] = 18
  204. if npc_bust['A22'] = 9: npc_bust['A22'] = 27
  205. if npc_bust['A23'] = 9: npc_bust['A23'] = 14
  206. if npc_bust['A24'] = 9: npc_bust['A24'] = 20
  207. if npc_bust['A25'] = 9: npc_bust['A25'] = 21
  208. if npc_bust['A29'] = 9: npc_bust['A29'] = 25
  209. if npc_bust['A30'] = 9: npc_bust['A30'] = 18
  210. if npc_bust['A33'] = 9: npc_bust['A33'] = 19
  211. if npc_bust['A134'] = 9: npc_bust['A134'] = 20
  212. if npc_bust['A135'] = 9: npc_bust['A135'] = 13
  213. if npc_bust['A136'] = 9: npc_bust['A136'] = 30
  214. if npc_bust['A137'] = 9: npc_bust['A137'] = 34
  215. if npc_bust['A138'] = 9: npc_bust['A138'] = 18
  216. if npc_bust['A139'] = 9: npc_bust['A139'] = 22
  217. if npc_bust['A140'] = 9: npc_bust['A140'] = 13
  218. if npc_bust['A141'] = 9: npc_bust['A141'] = 20
  219. if npc_bust['A142'] = 9: npc_bust['A142'] = 13
  220. if npc_bust['A143'] = 9: npc_bust['A143'] = 7
  221. if npc_bust['A144'] = 9: npc_bust['A144'] = 24
  222. if npc_bust['A145'] = 9: npc_bust['A145'] = 31
  223. !! Updating npc_bust[] array to the new values ----- 0.8.0
  224. !!-----------Adding pube colours for 0.8.0-----------
  225. if pcs_pubecol[1] = 0:
  226. pcs_pubecol = pcs_haircol
  227. pcs_pubecol[1] = 1
  228. pcs_pubecol[2] = pcs_haircol
  229. end
  230. !!-----------Adding pube colours for 0.8.0-----------
  231. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  232. killvar 'olufirst'
  233. killvar 'tetyafirst'
  234. killvar 'oluuosegunday_count'
  235. killvar 'oluuosegunday_day'
  236. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  237. !!trait update
  238. if pcs_traits['update_1'] = 0:
  239. pcs_traits['update_1'] = 1
  240. pcs_traits['alko_day'] = alko_trait_day
  241. pcs_traits['alko_points'] = alko_trait_counter
  242. pcs_traits['alko_status'] = alko_trait
  243. killvar 'alko_trait_day'
  244. killvar 'alko_trait_counter'
  245. killvar 'alko_trait'
  246. end
  247. if trt_cumeater = 1: pcs_traits['cumeater'] = 1 & trt_cumeater = 7
  248. !! ----- Other bug fixes and cleanup ----- 0.8.0
  249. if pcs_gaming_exp > 0: gs 'exp_gain', 'gaming', pcs_gaming_exp & killvar 'pcs_gaming_exp'
  250. if nerd_night_game ! 0: killvar 'nerd_night_game'
  251. if nerd_night_game_day ! 0: nerd_game['game_day'] = nerd_night_game_day & killvar 'nerd_night_game_day'
  252. !!Masturbation check wasn''t being cleared
  253. mastrOnce = 0
  254. !! ----- Other bug fixes and cleanup ----- 0.8.0
  255. end
  256. !!------------------------------------!!Version 0.8.0.1!!-----------------------------------------------!!
  257. if temp_current_save_version < 00080001:
  258. !!--------0.8.0.1---school social group adjustment
  259. if gruptipe[9000] = 0:
  260. gruptipe[9000] = 1
  261. grupvalue[1] = grupvalue[1] * 10
  262. grupvalue[2] = grupvalue[2] * 10
  263. grupvalue[3] = grupvalue[3] * 10
  264. grupvalue[4] = grupvalue[4] * 10
  265. end
  266. !!--------0.8.0.1---school social group adjustment
  267. end
  268. !!------------------------------------------------------------------------------------------------------!!
  269. !! !!Version 0.8.1!! !!
  270. !!------------------------------------------------------------------------------------------------------!!
  271. if temp_current_save_version < 00080100:
  272. !!--------0.8.1--- Music variable names changed
  273. if ml_update_1 = 0:
  274. ml_guitar['hasguitar'] = ml_guitar
  275. ml_guitar['carried'] = ml_guitarWithMe
  276. ml_guitar['chordbook'] = ml_chordbook
  277. ml_performance['performed_minutes'] = ml_performed_minutes
  278. ml_performance['max_perform_minutes'] = ml_max_perform_minutes
  279. ml_guitarlesson['lessoncount'] = ml_lessoncount
  280. ml_guitarlesson['lessonday'] = ml_lessonday
  281. $ml_guitarlesson['lessonday'] = $ml_lessonday
  282. ml_guitarlesson['lessonhour'] = 15
  283. ml_guitarlesson['nextlesson'] = daystart + (ml_guitarlesson['lessonday'] + 7 - week)
  284. ml_guitarlesson['advertisement'] = ml_guitarlessonadv
  285. ml_guitarlesson['enquired'] = ml_enquired
  286. if age < 18:
  287. ml_guitarlesson['lessoncost'] = 300
  288. else
  289. ml_guitarlesson['lessoncost'] = 500
  290. end
  291. killvar 'ml_guitarWithMe'
  292. killvar 'ml_performed_minutes'
  293. killvar 'ml_max_perform_minutes'
  294. killvar 'ml_guitarlessonadv'
  295. killvar 'ml_enquired'
  296. killvar 'ml_lessonday'
  297. killvar '$ml_lessonday'
  298. killvar 'ml_lessoncost'
  299. !!--------0.8.1--- Music variable names changed
  300. ml_update_1 = 1
  301. end
  302. !! changed $metkaM to $locM_arg and $metka to $loc_arg in the code - needed for correction saves saved prior to version 0.8.1
  303. if arrsize('$metkaM') > 0 or arrsize('$metka') > 0:
  304. $locM_arg = $metkaM
  305. $loc_arg = $metka
  306. killvar '$metkaM'
  307. killvar '$metka'
  308. end
  309. !!---------------------------------------------------------------
  310. !! fixes the variable for Christina getting outcasted, so she will show up in the journal correctly
  311. if zverSlutQW = 2:
  312. npc_grupTipe['A18'] = 5
  313. end
  314. !!---------------------------------------------------------------
  315. !!model variable updates
  316. if anastasia > 0 and anastasia['status'] = 0 and anastasia['saveupdate'] = 0:
  317. anastasia['status'] = anastasia
  318. anastasia['escort_ask'] = anastasia_escort_ask
  319. anastasia['model_exp'] = anastasia_mode_exp
  320. anastasia['sex'] = anastasiasex
  321. anastasia['saveupdate'] = 1
  322. end
  323. if foto_models['emily'] > 0 and emily['status'] = 0 and emily['saveupdate'] = 0:
  324. emily['status'] = foto_models['emily']
  325. emily['hate'] = emily_hate
  326. emily['model_exp'] = emily_model_exp
  327. emily['saveupdate'] = 1
  328. end
  329. if jeff > 0 and jeff['status'] = 0 and jeff['saveupdate'] = 0:
  330. jeff['status'] = jeff
  331. jeff['grope'] = jeff_grope
  332. jeff['movies'] = jeff_movies
  333. jeff['model_exp'] = jeff_model_exp
  334. jeff['saveupdate'] = 1
  335. end
  336. if krystal > 0 and krystal['status'] = 0 and krystal['saveupdate'] = 0:
  337. krystal['status'] = krystal['talk']
  338. krystal['saveupdate'] = 1
  339. end
  340. if $model['firstname'] = '':
  341. $model['firstname'] = $pcs_firstname
  342. $model['nickname'] = $pcs_nickname
  343. $model['lastname'] = $pcs_lastname
  344. end
  345. if $model['pay_method'] = '': $model['pay_method'] = 'cash_envelope'
  346. !! Fixing Katja and Natasha relationship
  347. if npc_sex['A14'] > 1: npc_sex['A14'] = 1
  348. if npc_sex['A16'] > 1: npc_sex['A16'] = 1
  349. !! University related vars update
  350. if student >= 0:
  351. gs 'uniutil', 'transfer_legacy_vars'
  352. end
  353. !!---------------------------------------------------------------
  354. !! Lariska story variables migrated to array
  355. if KotovZverHelp > 0: LariskaQW['VitekHelp'] = KotovZverHelp & killvar 'KotovZverHelp'
  356. if IvanZverHelp > 0: LariskaQW['IvanHelp'] = IvanZverHelp & killvar 'IvanZverHelp'
  357. if FyodorZverHelp > 0: LariskaQW['FedorHelp'] = FyodorZverHelp & killvar 'FyodorZverHelp'
  358. if lariskaHelp > 0: LariskaQW['LariskaHelp'] = lariskaHelp & killvar 'lariskaHelp'
  359. if lariskaHelp_end > 0: LariskaQw['LariskaHelpEnd'] = lariskaHelp_end & killvar 'lariskaHelp_end'
  360. !!---------------------------------------------------------------
  361. !! Shave updater
  362. if shave_update ! 1:
  363. if pubestyle = 1:
  364. shave_length = 2
  365. shave_trigger = 4
  366. elseif pubestyle = 10:
  367. shave_length = 26
  368. shave_trigger = 31
  369. elseif pubestyle = 11:
  370. shave_length = 2
  371. shave_trigger = 10
  372. !elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  373. else
  374. shave_length = 16
  375. shave_trigger = 21
  376. end
  377. shave_update = 1
  378. end
  379. end
  380. !!------------------------------------------------------------------------------------------------------!!
  381. !! !!Version 0.8.2!! !!
  382. !!------------------------------------------------------------------------------------------------------!!
  383. if temp_current_save_version < 00080200:
  384. !! 0.8.2 clothing package for old saves ---------------------------------------
  385. if ARRSIZE('cheapH') > 0 or ARRSIZE('averageH') > 0 or ARRSIZE('expensiveH') > 0 or ARRSIZE('formalH') > 0 or ARRSIZE('officeH') > 0 or ARRSIZE('schoolH') > 0 or ARRSIZE('exerciseH') > 0 or ARRSIZE('uniformH') > 0 or ARRSIZE('exhibitH') > 0 or ARRSIZE('alternativeH') > 0 or ARRSIZE('fetishH') > 0 or ARRSIZE('burlesqueH') > 0:
  386. $batch_sell = {
  387. poshvalldrop += 1
  388. dynamic 'RESULT = <<$ARGS[0]>>H[<<ARGS[1]>>]'
  389. if RESULT > 100:
  390. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  391. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  392. money += 750
  393. selltot += 750
  394. elseif RESULT > 45:
  395. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  396. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  397. money += 500
  398. selltot += 500
  399. elseif RESULT > 30:
  400. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  401. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  402. money += 300
  403. selltot += 300
  404. elseif RESULT > 0:
  405. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  406. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  407. money += 100
  408. selltot += 100
  409. else
  410. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  411. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  412. end
  413. dynamic '<<$ARGS[0]>>H[<<ARGS[1]>>] = 0'
  414. }
  415. poshvalldrop = 0
  416. selltot = 0
  417. !!-----------------------------------------------------------------------------------------
  418. i = 1
  419. :cheapmet
  420. if cheap[i] = 1 and cheapH[i] > 0: dynamic($batch_sell, 'cheap', i)
  421. i += 1
  422. if i <= 419: jump 'cheapmet'
  423. i = 1
  424. :averagemet
  425. if average[i] = 1 and averageH[i] > 0: dynamic($batch_sell, 'average', i)
  426. i += 1
  427. if i <= 541: jump 'averagemet'
  428. i = 1
  429. :expensivemet
  430. if expensive[i] = 1 and expensiveH[i] > 0: dynamic($batch_sell, 'expensive', i)
  431. i += 1
  432. if i <= 442: jump 'expensivemet'
  433. i = 1
  434. :formalmet
  435. if formal[i] = 1 and formalH[i] > 0: dynamic($batch_sell, 'formal', i)
  436. i += 1
  437. if i <= 185: jump 'formalmet'
  438. i = 1
  439. :officemet
  440. if office[i] = 1 and officeH[i] > 0: dynamic($batch_sell, 'office', i)
  441. i += 1
  442. if i <= 140: jump 'officemet'
  443. i = 1
  444. :schoolmet
  445. if school[i] = 1 and schoolH[i] > 0: dynamic($batch_sell, 'school', i)
  446. i += 1
  447. if i <= 80: jump 'schoolmet'
  448. i = 1
  449. :exercisemet
  450. if exercise[i] = 1 and exerciseH[i] > 0: dynamic($batch_sell, 'exercise', i)
  451. i += 1
  452. if i <= 260: jump 'exercisemet'
  453. i = 1
  454. :fetishmet
  455. if fetish[i] = 1 and fetishH[i] > 0: dynamic($batch_sell, 'fetish', i)
  456. i += 1
  457. if i <= 240: jump 'fetishmet'
  458. i = 1
  459. :burlesquemet
  460. if burlesque[i] = 1 and burlesqueH[i] > 0: dynamic($batch_sell, 'burlesque', i)
  461. i += 1
  462. if i <= 22: jump 'burlesquemet'
  463. i = 1
  464. :exhibitmet
  465. if exhibit[i] = 1 and exhibitH[i] > 0: dynamic($batch_sell, 'exhibit', i)
  466. i += 1
  467. if i <= 125: jump 'exhibitmet'
  468. i = 1
  469. :uniformmet
  470. if uniform[i] = 1 and uniformH[i] > 0: dynamic($batch_sell, 'uniform', i)
  471. i += 1
  472. if i <= 60: jump 'uniformmet'
  473. i = 1
  474. :swimwearmet
  475. if swimwear[i] = 1 and swimwearH[i] > 0: dynamic($batch_sell, 'swimwear', i)
  476. i += 1
  477. if i <= 213: jump 'swimwearmet'
  478. i = 1
  479. :beachmet
  480. if beach[i] = 1 and beachH[i] > 0: dynamic($batch_sell, 'beach', i)
  481. i += 1
  482. if i <= 103: jump 'beachmet'
  483. i = 1
  484. :alternativemet
  485. if alternative[i] = 1 and alternativeH[i] > 0: dynamic($batch_sell, 'alternativer', i)
  486. i += 1
  487. if i <= 129: jump 'alternativemet'
  488. !!-----------------------------------------------------------------------------------------
  489. killvar 'batch_sell'
  490. killvar 'alternativeH' & killvar 'alternativeS' & killvar 'alternative'
  491. killvar 'averageH' & killvar 'averageS' & killvar 'average'
  492. killvar 'burlesqueH' & killvar 'burlesqueS' & killvar 'burlesque'
  493. killvar 'cheapH' & killvar 'cheapS' & killvar 'cheap'
  494. killvar 'exerciseH' & killvar 'exerciseS'
  495. killvar 'exhibitH' & killvar 'exhibitS'
  496. killvar 'expensiveH' & killvar 'expensiveS' & killvar 'expensive'
  497. killvar 'fetishH' & killvar 'fetishS'
  498. killvar 'formalH' & killvar 'formalS' & killvar 'formal'
  499. killvar 'officeH' & killvar 'officeS' & killvar 'office'
  500. killvar 'schoolH' & killvar 'schoolS' & killvar 'school'
  501. killvar 'uniformH' & killvar 'uniformS' & killvar 'uniform'
  502. killvar 'beachH' & killvar 'beachS' & killvar 'beachB'
  503. killvar 'swimwearH' & killvar 'swimwearS' & killvar 'swimwearB'
  504. killvar 'coatH' & killvar 'coatS'
  505. gm_outfits[50] = 1
  506. gm_outfits_h[50] = 100
  507. gm_outfits_b[50] = pcs_hips
  508. gs 'clothing', 'wear', 'gm_outfits', 50
  509. end
  510. !! Shave updater
  511. if shave_update ! 1:
  512. if pubestyle = 1:
  513. shave_length = 2
  514. shave_trigger = 4
  515. elseif pubestyle = 10:
  516. shave_length = 26
  517. shave_trigger = 31
  518. elseif pubestyle = 11:
  519. shave_length = 2
  520. shave_trigger = 8
  521. !elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  522. else
  523. shave_length = 16
  524. shave_trigger = 21
  525. end
  526. shave_update = 1
  527. end
  528. end
  529. !!------------------------------------!!Version 0.8.2.3!!-----------------------------------------------!!
  530. if temp_current_save_version < 00080203:
  531. !! Lariska variables removed, no longer needed - 2020/11/30 - Alaratt
  532. !! Edited - 2021/01/19 - Alaratt
  533. if beInLariskaHome = 1 or LariskaHomeIn >= 1:
  534. if LariskaHomeIn = 1:
  535. LariskaQW['story'] = 4
  536. else
  537. LariskaQW['story'] = 5
  538. end
  539. killvar 'LariskaHomeIn'
  540. killvar 'beInLariskaHome'
  541. end
  542. if doorlocked > 0: killvar 'doorlocked'
  543. if doorpeek > 0: killvar 'doorpeek'
  544. if lariskaBDSM > 0: killvar 'lariskaBDSM'
  545. if lariskaMotherKnown = 1:
  546. LariskaQW['metAnna'] = 1
  547. killvar 'lariskaMotherKnown'
  548. end
  549. if LariskaProfi = 1:
  550. LariskaQW['volleyball'] = 1
  551. killvar 'LariskaProfi'
  552. end
  553. !!---------------------------------------------------------------
  554. !! Migrates Christina variables into an array, removes unneeded variables, and fixes the outcast issue if still needed
  555. !! 2021/01/19 - Alaratt
  556. if zverSlutQW > 0:
  557. if zverSlutQW = 2:
  558. !! Christina lost the fight and is outcasted
  559. christinaQW['fight'] = 1
  560. christinaQW['dompath'] = 7
  561. npc_grupTipe['A18'] = 5
  562. else
  563. !! Christina lost the fight and is prepped for outcasting
  564. christinaQW['fight'] = 1
  565. christinaQW['dompath'] = 6
  566. end
  567. killvar 'zverSlutQW'
  568. end
  569. if zverRageQW > 0:
  570. if zverRageQW = 10:
  571. !! Christina won the fight
  572. christinaQW['fight'] = -1
  573. christinaQW['subpath'] = 2
  574. elseif zverRageQW = 2:
  575. !! Christina lost the fight
  576. christinaQW['fight'] = 1
  577. christinaQW['dompath'] = 6
  578. else
  579. !! You spread rumors about Christina and she preps for fight
  580. christinaQW['dompath'] = 4
  581. end
  582. killvar 'zverRageQW'
  583. end
  584. if socialchg['christina_dont_care'] = 1: socialchg['christina_dont_care'] = 0
  585. if zverevaQW > 0: killvar 'zverevaQW'
  586. if LinaSlut > 0: killvar 'LinaSlut'
  587. if fizrukSex > 0: killvar 'fizrukSex'
  588. if kristinaSex > 0: killvar 'kristinaSex'
  589. if christinaphotos > 0:
  590. if christinaphotos = 3:
  591. !! Christina won the fight and you have not had a shower scene with her yet
  592. christinaQW['fight'] = -1
  593. christinaQW['subpath'] = 2
  594. elseif christinaphotos = 4:
  595. !! Christina won the fight and you had first shower scene with her
  596. christinaQW['fight'] = -1
  597. christinaQW['subpath'] = 3
  598. elseif christinaphotos = 2:
  599. !! You submitted to Christina and you had first shower scene with her
  600. christinaQW['submit'] = 1
  601. christinaQW['subpath'] = 3
  602. else
  603. !! You submitted to Christina but not had a shower scene with her yet
  604. christinaQW['submit'] = 1
  605. christinaQW['subpath'] = 2
  606. end
  607. killvar 'christinaphotos'
  608. end
  609. !!---------------------------------------------------------------
  610. !!Albina variables no longer needed, no sense in having them run in the background for nothing
  611. if AlbinaQW['ParkRallyDay'] > 0: AlbinaQW['ParkRallyDay'] = 0
  612. if AlbinaQW['ElectionCampaignTime'] > 0: AlbinaQW['ElectionCampaignTime'] = 0
  613. if AlbinaQW['AlbFatherQW'] > 1: AlbinaQW['AlbFatherQW'] = 1
  614. !!---------------------------------------------------------------
  615. end
  616. !!------------------------------------!!Version 0.8.2.4!!-----------------------------------------------!!
  617. if temp_current_save_version < 00080204:
  618. !! Migrates kikboxing variables into an array, removes unneeded variables.
  619. if razradKik > 0: kickbox['sash'] = razradKik & killvar 'razradKik'
  620. if amatReit > 0: kickbox['advancement'] = amatReit & killvar 'amatReit'
  621. if kikmoney > 0: kickbox['money'] = kikmoney & killvar 'kikmoney'
  622. if KikWinAm > 0: kickbox['amateurWin'] = KikWinAm & killvar 'KikWinAm'
  623. if KikWinAmKO > 0: kickbox['amateurWinKO'] = KikWinAmKO & killvar 'KikWinAmKO'
  624. if KikLossAm > 0: kickbox['amateurLoss'] = KikLossAm & killvar 'KikLossAm'
  625. if KikLossAmKO > 0: kickbox['amateurLossKO'] = KikLossAmKO & killvar 'KikLossAmKO'
  626. if KikDrawAm > 0: kickbox['amateurDraw'] = KikDrawAm & killvar 'KikDrawAm'
  627. if amateur > 0: kickbox['amateur'] = amateur & killvar 'amateur'
  628. killvar 'razrand'
  629. end
  630. !!------------------------------------!!Version 0.8.2.5!!-----------------------------------------------!!
  631. if temp_current_save_version < 00080205:
  632. !! Migrates Anushka''s brother''s quest into a array.
  633. if maksimQW > 0: maksimQW['QWstage'] = maksimQW
  634. end
  635. !!------------------------------------!!Version 0.8.2.6!!-----------------------------------------------!!
  636. !! 0.8.3 shoe package for old saves ---------------------------------------
  637. if temp_current_save_version < 00080206:
  638. i = 1
  639. :sfetishmet
  640. if sfetish[i] = 1: money += 300
  641. i += 1
  642. if i <= 27: jump 'sfetishmet'
  643. i = 1
  644. :scatsmet
  645. if scats[i] = 1: money += 300
  646. i += 1
  647. if i <= 38: jump 'scatsmet'
  648. i = 1
  649. :sgandmsmet
  650. if sgandm[i] = 1: money += 300
  651. i += 1
  652. if i <= 40: jump 'sgandmsmet'
  653. i = 1
  654. :trainersmet
  655. if trainers[i] = 1: money += 300
  656. i += 1
  657. if i <= 30: jump 'trainersmet'
  658. i = 1
  659. :sboutiquemet
  660. if sboutique[i] = 1: money += 300
  661. i += 1
  662. if i <= 37: jump 'sboutiquemet'
  663. killvar 'sfetish' & killvar 'sfetishS'
  664. killvar 'scats' & killvar 'scatsS'
  665. killvar 'sgandm' & killvar 'sgandmS'
  666. killvar 'trainers' & killvar 'trainersS'
  667. killvar 'sboutique' & killvar 'sboutiqueS'
  668. sgm[5] = 1
  669. sgm_s[5] = 0
  670. gs 'shoes', 'wear', 'sgm', 5
  671. end
  672. !!------------------------------------------------------------------------------------------------------!!
  673. !! !!Version 0.8.3!! !!
  674. !!------------------------------------------------------------------------------------------------------!!
  675. !!------------------------------------!!Version 0.8.3.4!!-----------------------------------------------!!
  676. if temp_current_save_version < 00080304:
  677. $fametown = 'pav'
  678. :fametownloop
  679. $fameact = 'acting'
  680. :fameactloop
  681. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  682. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = <<$fametown>>_<<$fameact>>'
  683. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  684. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  685. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  686. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  687. else
  688. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  689. end
  690. killvar '<<$fametown>>_<<$fameact>>'
  691. if $fameact = 'acting':
  692. $fameact = 'dance'
  693. jump 'fameactloop'
  694. elseif $fameact = 'dance':
  695. $fameact = 'painting'
  696. jump 'fameactloop'
  697. elseif $fameact = 'painting':
  698. $fameact = 'music'
  699. jump 'fameactloop'
  700. elseif $fameact = 'music':
  701. $fameact = 'ballet'
  702. jump 'fameactloop'
  703. elseif $fameact = 'ballet':
  704. $fameact = 'modelling'
  705. jump 'fameactloop'
  706. elseif $fameact = 'modelling':
  707. $fameact = 'porn'
  708. jump 'fameactloop'
  709. elseif $fameact = 'porn':
  710. $fameact = 'stripping'
  711. jump 'fameactloop'
  712. elseif $fameact = 'stripping':
  713. $fameact = 'kickboxing'
  714. jump 'fameactloop'
  715. elseif $fameact = 'kickboxing':
  716. $fameact = 'running'
  717. jump 'fameactloop'
  718. elseif $fameact = 'running':
  719. $fameact = 'volleyball'
  720. jump 'fameactloop'
  721. elseif $fameact = 'volleyball':
  722. $fameact = 'chess'
  723. jump 'fameactloop'
  724. elseif $fameact = 'chess':
  725. $fameact = 'teaching'
  726. jump 'fameactloop'
  727. elseif $fameact = 'teaching':
  728. $fameact = 'media'
  729. jump 'fameactloop'
  730. end
  731. $fameact = 'sex'
  732. :fameactloop2
  733. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  734. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = <<$fametown>>_<<$fameact>>'
  735. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  736. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  737. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  738. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  739. else
  740. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  741. end
  742. killvar '<<$fametown>>_<<$fameact>>'
  743. if $fameact = 'sex':
  744. $fameact = 'prostitute'
  745. jump 'fameactloop2'
  746. end
  747. if $fametown = 'pav':
  748. $fametown = 'city'
  749. jump 'fametownloop'
  750. elseif $fametown = 'city':
  751. $fametown = 'village'
  752. jump 'fametownloop'
  753. elseif $fametown = 'village':
  754. $fametown = 'pushkin'
  755. jump 'fametownloop'
  756. end
  757. gs 'fame', 'calculate', 'acting'
  758. gs 'fame', 'calculate', 'dance'
  759. gs 'fame', 'calculate', 'painting'
  760. gs 'fame', 'calculate', 'music'
  761. gs 'fame', 'calculate', 'ballet'
  762. gs 'fame', 'calculate', 'modelling'
  763. gs 'fame', 'calculate', 'porn'
  764. gs 'fame', 'calculate', 'stripping'
  765. gs 'fame', 'calculate', 'kickboxing'
  766. gs 'fame', 'calculate', 'running'
  767. gs 'fame', 'calculate', 'volleyball'
  768. gs 'fame', 'calculate', 'chess'
  769. gs 'fame', 'calculate', 'teaching'
  770. gs 'fame', 'calculate', 'media'
  771. gs 'fame', 'calculateSlut'
  772. if modelfoto > 0 and modelfoto['saveupdater'] = 0:
  773. !! changing modelling variables to arrays
  774. if modelfoto > 0: modelfoto['shoots'] = modelfoto
  775. if modelfotomoney > 0: modelfoto['earnings'] = modelfotomoney
  776. if modelfoto_catalog > 0: modelfoto['catalog'] = modelfoto_catalog
  777. if modelfoto_fashion > 0: modelfoto['fashion'] = modelfoto_fashion
  778. if modelfoto_ero_clo > 0: modelfoto['sexy'] = modelfoto_ero_clo
  779. if modelfoto_bikini > 0: modelfoto['bikini'] = modelfoto_bikini
  780. if modelfoto_lingerie > 0: modelfoto['lingerie'] = modelfoto_lingerie
  781. if modelfoto_trans_ling > 0: modelfoto['trans_ling'] = modelfoto_trans_ling
  782. if modelfoto_transparent > 0: modelfoto['transparent'] = modelfoto_transparent
  783. if modelfoto_fitness > 0: modelfoto['fitness'] = modelfoto_fitness
  784. if modelfoto_glamour > 0: modelfoto['glamour'] = modelfoto_glamour
  785. if modelfoto_topless > 0: modelfoto['topless'] = modelfoto_topless
  786. if modelfoto_nude > 0: modelfoto['nude'] = modelfoto_nude
  787. if modelfoto_tastenude > 0: modelfoto['tastenude'] = modelfoto_tastenude
  788. if modelfoto_toplessnude > 0: modelfoto['toplessnude'] = modelfoto_toplessnude
  789. if modelfoto_fullnude > 0: modelfoto['fullnude'] = modelfoto_fullnude
  790. if modelfoto_erotic > 0: modelfoto['erotic'] = modelfoto_erotic
  791. if modelfoto_nip > 0: modelfoto['nip'] = modelfoto_nip
  792. if modelfoto_pussy > 0: modelfoto['pussy'] = modelfoto_pussy
  793. if modelfoto_asshole > 0: modelfoto['asshole'] = modelfoto_asshole
  794. modelfoto['saveupdater'] = 1
  795. end
  796. end
  797. !!------------------------------------!!Version 0.8.3.5!!-----------------------------------------------!!
  798. if temp_current_save_version < 00080305:
  799. !!Defines the high school classes using the new grade system
  800. gs 'grades', 'createclass', 'school', 'math', 3, 2, 'yes', 'yes', 0, 0
  801. gs 'grades', 'createclass', 'school', 'rus', 3, 2, 'yes', 'yes', 0, 0
  802. gs 'grades', 'createclass', 'school', 'lit', 2, 2, 'yes', 'yes', 0, 0
  803. gs 'grades', 'createclass', 'school', 'art', 2, 2, 'yes', 'no', 0, 0
  804. gs 'grades', 'createclass', 'school', 'bio', 2, 2, 'yes', 'yes', 0, 0
  805. gs 'grades', 'createclass', 'school', 'pe', 3, 1, 'yes', 'no', 0, 0
  806. gs 'grades', 'createclass', 'school', 'eng', 2, 2, 'yes', 'yes', 0, 0
  807. gs 'grades', 'createclass', 'school', 'geo', 2, 2, 'yes', 'yes', 0, 0
  808. gs 'grades', 'createclass', 'school', 'sci', 2, 2, 'yes', 'yes', 0, 0
  809. gs 'grades', 'createclass', 'school', 'shop', 2, 2, 'yes', 'no', 0, 0
  810. gs 'grades', 'createclass', 'school', 'comp', 3, 2, 'yes', 'yes', 0, 0
  811. gs 'grades', 'createclass', 'school', 'mus', 2, 2, 'yes', 'no', 0, 0
  812. gs 'grades', 'createclass', 'school', 'his', 2, 2, 'yes', 'yes', 0, 0
  813. !!Convert the old grade attribute into the new individual grades.
  814. gs 'grades', 'grade_award', 'school', 'math', pcs_grades
  815. gs 'grades', 'grade_award', 'school', 'rus', pcs_grades
  816. gs 'grades', 'grade_award', 'school', 'lit', pcs_grades
  817. gs 'grades', 'grade_award', 'school', 'art', pcs_grades
  818. gs 'grades', 'grade_award', 'school', 'bio', pcs_grades
  819. gs 'grades', 'grade_award', 'school', 'pe', pcs_grades
  820. gs 'grades', 'grade_award', 'school', 'eng', pcs_grades
  821. gs 'grades', 'grade_award', 'school', 'geo', pcs_grades
  822. gs 'grades', 'grade_award', 'school', 'sci', pcs_grades
  823. gs 'grades', 'grade_award', 'school', 'shop', pcs_grades
  824. gs 'grades', 'grade_award', 'school', 'comp', pcs_grades
  825. gs 'grades', 'grade_award', 'school', 'mus', pcs_grades
  826. gs 'grades', 'grade_award', 'school', 'his', pcs_grades
  827. !!Assign a grado on the 1 to 5 russina grade scale from the grade variable
  828. gs 'grades', 'assing_grade_description', 'school'
  829. if month > 9 or (month = 9 and day > 5 and hour > 8) or year > 2016: class['first_grade_check'] = 1
  830. end
  831. !!------------------------------------!!Version 0.8.3.6!!-----------------------------------------------!!
  832. if temp_current_save_version < 00080306:
  833. !!Moving Djibril old variables into his array
  834. if meet_djibril > 0: DjibrilQW['meet'] = meet_djibril & killvar 'meet_djibril'
  835. if djibril_invite > 0: DjibrilQW['invite'] = djibril_invite & killvar 'djibril_invite'
  836. if african_gangbang > 0: DjibrilQW['african_gangbang'] = african_gangbang & killvar 'african_gangbang'
  837. if djibril_sex > 0: npc_sex['A82'] = djibril_sex & killvar 'djibril_sex'
  838. if npc_sex['A82'] > 0 or DjibrilQW['african_gangbang'] > 0: DjibrilQW['invite'] = 1
  839. end
  840. !!------------------------------------!!Version 0.8.3.7!!-----------------------------------------------!!
  841. if temp_current_save_version < 00080307:
  842. !!Moving some string variables to more appropriate numerical variables in the camera files.
  843. i = 0
  844. :camera_update_loop
  845. camera_found[i] = 1
  846. i += 1
  847. if ARRSIZE('camera_found') > i: jump 'camera_update_loop'
  848. !!Moved Igor''s quest to use daystart.
  849. if igor_DimaNos = 2 or igor_DimaNos = 3:
  850. if max(val($igor_DimaNos_day), igor_DimaNos_day) > 5:
  851. igor_DimaNos_day = daystart
  852. else
  853. igor_DimaNos_day = daystart + 6 - max(val($igor_DimaNos_day), igor_DimaNos_day)
  854. end
  855. end
  856. end
  857. if temp_current_save_version < 00080402:
  858. !!Setting the count of generic girlfirends.
  859. pcs_girlfriends = 0
  860. i = 0
  861. :girlfriend_looop
  862. if loverGender[i] = 1: pcs_girlfriends += 1
  863. i +=1
  864. if i < ARRSIZE('lover'): jump 'girlfriend_looop'
  865. Killvar 'i'
  866. if analorgasm > 0: orgasm_anal += analorgasm
  867. end
  868. !!------------------------------------------------------------------------------------------------------!!
  869. !! !!Version 0.8.4!! !!
  870. !!------------------------------------------------------------------------------------------------------!!
  871. !!------------------------------------!!Version 0.8.4.3!!-----------------------------------------------!!
  872. if temp_current_save_version < 00080403:
  873. !!Updating the variables for the Katja Quest line.
  874. if meynoldQW = 1 or meynoldQW = 2:
  875. katjaQW['QWstage'] = meynoldQW
  876. killvar 'meynoldQW'
  877. end
  878. if katjaFirstKiss > 0 or KatjaOTN > 0:
  879. katjaQW['QWstage'] = 3
  880. killvar 'katjaFirstKiss'
  881. killvar 'KatjaOTN'
  882. end
  883. if katjaTanga > 0: katjaQW['pantiesQWstage'] = katjaTanga & killvar 'katjaTanga'
  884. if katja_tanga_end > 0: katjaQW['pantiesQWstage'] = 5 & killvar 'katja_tanga_end'
  885. if katjaSlut > 0: katjaQW['slut'] = katjaSlut & killvar 'katjaSlut'
  886. if katjaHorny > 0: katjaQW['horny'] = katjaHorny & killvar 'katjaHorny'
  887. if katjaSex = 1: katjaQW['park_sex'] = 1 & killvar 'katjaSex'
  888. if katjaSex = 2: katjaQW['park_sex'] = 2 & killvar 'katjaSex'
  889. if katjaSex > 2: katjaQW['park_sex'] = 3 & killvar 'katjaSex'
  890. if KatjaMastr > 0: katjaQW['masturbates'] = KatjaMastr & killvar 'KatjaMastr'
  891. if KatjaThroat > 0: npc_throat['A14'] = KatjaThroat & killvar 'KatjaThroat'
  892. if KatjaAnus > 0: npc_ass['A14'] = KatjaAnus & killvar 'KatjaAnus'
  893. if KatjaOrgasm > 0: katjaQW['orgasm_day'] = KatjaOrgasm & killvar 'KatjaOrgasm'
  894. if katjaMeynoldday > 0: katjaQW['afterschool_hangout_day'] = katjaMeynoldday & killvar 'katjaMeynoldday'
  895. if tangaday > 0: katjaQW['no_panties_day'] = tangaday & killvar 'tangaday'
  896. if KatjaKnowMastr > 0: katjaQW['knows_masterbation'] = 1 & killvar 'KatjaKnowMastr'
  897. if SelfFistingKnow > 0: katjaQW['knows_self_fisting'] = 1 & killvar 'SelfFistingKnow'
  898. if KatjaKnowBJ > 0: katjaQW['knows_BJ'] = 1 & killvar 'KatjaKnowBJ'
  899. if KatjaKnowSex > 0: katjaQW['knows_sex'] = 1 & killvar 'KatjaKnowSex'
  900. if KatjaKnowAnal > 0: katjaQW['knows_anal'] = 1 & killvar 'KatjaKnowAnal'
  901. if KatjaKnowKuni > 0: katjaQW['knows_cuni'] = 1 & killvar 'KatjaKnowKuni'
  902. if KatjaKnowPirsA > 0: katjaQW['know_Pirced_tongue'] = 1 & killvar 'KatjaKnowPirsA'
  903. if katschoolsex > 0: katjaQW['school_sex'] = 1 & killvar 'katschoolsex'
  904. if katja_disco_Foto > 0: katjaQW['disco_Foto'] = 1 & killvar 'katja_disco_Foto'
  905. if meynoldQW = 3: katjaQW['drunk_help'] = 1 & killvar 'meynoldQW'
  906. if katja_disco_end > 0: katjaQW['no_panties_at_disco'] = 1 & killvar 'katja_disco_end'
  907. if KatjaOhrenet > 0: KatjaQW['sex_in_the_park_comment'] = KatjaOhrenet & killvar 'KatjaOhrenet'
  908. if flag_start_parc > 0: katjaQW['school_kiss'] = flag_start_parc & killvar 'flag_start_parc'
  909. end
  910. !!------------------------------------------------------------------------------------------------------!!
  911. !! !!Version 0.8.5!! !!
  912. !!------------------------------------------------------------------------------------------------------!!
  913. if temp_current_save_version < 00080500:
  914. if $loc = 'dorm': $loc = 'uni_dorm' & $menu_loc = 'uni_dorm'
  915. if $loc = 'HotelWork': $loc = 'hotel_work' & $menu_loc = 'hotel_work'
  916. if $loc = 'ParChurch': $loc = 'pav_church' & $menu_loc = 'pav_church'
  917. if $loc = 'pav_train': $loc = 'pav_market' & $menu_loc = 'pav_market'
  918. if $loc = 'univer': $loc = 'uni_admin' & $menu_loc = 'uni_admin'
  919. if $loc = 'youplace': $loc = 'city_mansion_entrance' & $menu_loc = 'city_mansion_entrance'
  920. if $loc = 'ykamin': $loc = 'city_mansion_residence_2' & $loc_arg='ylounge' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylounge'
  921. if $loc = 'ykuh': $loc = 'city_mansion_residence_1' & $loc_arg='ykitchen' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ykitchen'
  922. if $loc = 'ydet': $loc = 'city_mansion_residence_2' & $loc_arg='ynursery' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ynursery'
  923. if $loc = 'ybib': $loc = 'city_mansion_residence_2' & $loc_arg='ylibrary' & $menu_loc ='city_mansion_residence_2' & $menu_arg='ylibrary'
  924. if $loc = 'ybedr': $loc = 'city_mansion_residence_1' & $loc_arg='ybedroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybedroom'
  925. if $loc = 'ybass': $loc = 'city_mansion_residence_3' & $loc_arg='ypool' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ypool'
  926. if $loc = 'yban': $loc = 'city_mansion_residence_3' & $loc_arg='ysauna' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ysauna'
  927. if $loc = 'yvan': $loc = 'city_mansion_residence_1' & $loc_arg='ybathroom' & $menu_loc ='city_mansion_residence_1' & $menu_arg='ybathroom'
  928. if $loc = 'ymans': $loc = 'city_mansion_residence_1' & $loc_arg='yfoyer' & $menu_loc ='city_mansion_residence_1' & $menu_arg='yfoyer'
  929. if $loc = 'yzal': $loc = 'city_mansion_residence_2' & $loc_arg='yliving' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yliving'
  930. if $loc = 'ysport': $loc = 'city_mansion_residence_3' & $loc_arg='ygym' & $menu_loc ='city_mansion_residence_3' & $menu_arg='ygym'
  931. if $loc = 'ykabinet': $loc = 'city_mansion_residence_2' & $loc_arg='yoffice' & $menu_loc ='city_mansion_residence_2' & $menu_arg='yoffice'
  932. !!updater for sports clothing variable to unify it and fix bug
  933. i = 1
  934. :danilovichfix
  935. if danilovich[i] = 1:
  936. danilovich_outfits[i] = 1
  937. danilovich_outfits_s[i] = danilovich_s[i]
  938. danilovich_outfits_h[i] = danilovich_h[i]
  939. danilovich_outfits_b[i] = danilovich_b[i]
  940. end
  941. i += 1
  942. if i <= 170: jump 'danilovichfix'
  943. killvar 'danilovich'
  944. killvar 'danilovich_s'
  945. killvar 'danilovich_h'
  946. killvar 'danilovich_b'
  947. !! New setting for gaping time per stage in minutes that can be made user definable
  948. if agape[4] = 0: agape[4] = 10
  949. if vgape[4] = 0: vgape[4] = 10
  950. end
  951. !!------------------------------------!!Version 0.8.5.2!!-----------------------------------------------!!
  952. if temp_current_save_version < 00080502:
  953. i = 0
  954. :saveupdaterloop852_1
  955. $text = 'C' + str(i)
  956. temp1 = func('shortgs', 'get_me_index', '$npc_firstname', $text)
  957. if temp1 >= 0: $npc_index[$text] = $text
  958. i += 1
  959. if i < carraynumber: jump 'saveupdaterloop852_1'
  960. i = 0
  961. :saveupdaterloop852_2
  962. $text = 'B' + str(i)
  963. temp1 = func('shortgs', 'get_me_index', '$npc_firstname', $text)
  964. if temp1 >= 0: $npc_index[$text] = $text
  965. i += 1
  966. if i < barraynumber: jump 'saveupdaterloop852_2'
  967. end
  968. !!------------------------------------!!Version 0.8.5.3!!-----------------------------------------------!!
  969. if temp_current_save_version < 00080503:
  970. i = 0
  971. :saveupdaterloop853_1
  972. if npc_grupTipe['A<<i>>'] = 5:
  973. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_outcast_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  974. elseif npc_grupTipe['A<<i>>'] = 4:
  975. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_gopnik_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  976. elseif npc_grupTipe['A<<i>>'] = 3:
  977. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_nerd_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  978. elseif npc_grupTipe['A<<i>>'] = 2:
  979. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  980. elseif npc_grupTipe['A<<i>>'] = 1:
  981. $npcGoSchool['A<<i>>'] = '<a href="exec:gt ''gschool_coolkid_chats'', ''' + $lcase($npc_usedname['A<<i>>']) + '''"><<$npc_usedname["A<<i>>"]>></a>'
  982. end
  983. i += 1
  984. if i < 250: jump 'saveupdaterloop853_1'
  985. if hotelroom1day ! 0:
  986. hotelRoomDays['pav'] = hotelroom1day
  987. hotelRoom['pav'] = hotelroom
  988. killvar 'hotelroom1day'
  989. hotelroom = 0
  990. end
  991. end
  992. !!------------------------------------!!Version 0.8.5.4!!-----------------------------------------------!!
  993. if temp_current_save_version < 00080504:
  994. !!Christinas chat have to stay in the jocks file even if she is an outcast
  995. $npcGoSchool['A18'] = '<a href="exec:gt ''gschool_jock_chats'', ''' + $lcase($npc_usedname['A18']) + '''"><<$npc_usedname["A18"]>></a>'
  996. if storyline = 1 and MagikDostup = 1:
  997. $start_type = 'sg'
  998. $start_type[1] = 'nomagic'
  999. elseif $start_type = 'csb':
  1000. $start_type = 'sg_tg'
  1001. $start_type[1] = 'tg'
  1002. elseif storyline = 1:
  1003. $start_type = 'sg_m'
  1004. elseif MagikDostup = 1:
  1005. $start_type = 'city'
  1006. $start_type[1] = 'nomagic'
  1007. else
  1008. $start_type = 'city_tg'
  1009. $start_type[1] = 'tg'
  1010. end
  1011. end
  1012. !!------------------------------------------------------------------------------------------------------!!
  1013. !! !!Version 0.8.6!! !!
  1014. !!------------------------------------------------------------------------------------------------------!!
  1015. !!------------------------------------!!Version 0.8.6.1!!-----------------------------------------------!!
  1016. if temp_current_save_version < 00080601:
  1017. if pcs_skin < 150: pcs_skin = 7 * pcs_skin
  1018. gs 'body', 'Update_Body'
  1019. gs 'body', 'DailyUpdate'
  1020. gs 'stat'
  1021. end
  1022. !!------------------------------------------------------------------------------------------------------!!
  1023. !! !!Version 0.8.7!! !!
  1024. !!------------------------------------------------------------------------------------------------------!!
  1025. if temp_current_save_version < 00080700:
  1026. !!name fix from kats to cats
  1027. i = 1
  1028. :loopcatsbrassave
  1029. if kats_bras[i] = 1:
  1030. cats_brasS[i] = kats_brasS[i]
  1031. cats_bras[i] = kats_bras[i]
  1032. end
  1033. i += 1
  1034. if i <= ARRSIZE('kats_bras'): jump 'loopcatsbrassave'
  1035. killvar 'kats_brasS'
  1036. killvar 'kats_bras'
  1037. i = 1
  1038. :loopcatspantiessave
  1039. if kats_panties[i] = 1:
  1040. cats_pantiesS[i] = kats_pantiesS[i]
  1041. cats_panties[i] = kats_panties[i]
  1042. end
  1043. i += 1
  1044. if i <= ARRSIZE('kats_panties'): jump 'loopcatspantiessave'
  1045. killvar 'kats_pantiesS'
  1046. killvar 'kats_panties'
  1047. !!Christina variable update
  1048. if AvelinaQW['encourage'] = 1: AvelinaQW['encourage'] = 0
  1049. if lariskaQwestDay < 0 or lariskaQwestDay > 0: killvar 'lariskaQwestDay'
  1050. if LariskaQW['LariskaHelp'] < 0 or LariskaQW['LariskaHelp'] > 0: LariskaQW['LariskaHelp'] = 0
  1051. if LariskaQW['LariskaHelpEnd'] = 1: LariskaQW['LariskaHelpEnd'] = 0
  1052. if npc_grupTipe['A18'] = 5: npc_grupTipe['A18'] = 2
  1053. if christinaQW['dompath'] >= 1:
  1054. if christinaQW['dompath'] >= 6:
  1055. christinaQW['fight'] = 1
  1056. christinaQW['dompath'] = 0
  1057. else
  1058. christinaQW['dompath'] = 0
  1059. end
  1060. end
  1061. if christinaQW['set_bully'] = 0:
  1062. if (christinaQW['blackmail'] > 0 or christinaQW['pre_bm'] > 0 or christinaQW['pre_fight'] > 0 or christinaQW['fight'] > 0) and christinaQW['set_bully'] = 0:
  1063. christinaQW['set_bully'] = 1
  1064. christinaQW['bully'] = 40
  1065. end
  1066. if christinaQW['subpath'] > 0:
  1067. christinaQW['set_bully'] = 1
  1068. christinaQW['bully'] = 60
  1069. end
  1070. end
  1071. !!Schedule migrated to the array, no need to change first
  1072. killvar 'chrisloc'
  1073. killvar 'lariloc'
  1074. killvar 'anyaloc'
  1075. killvar 'kolloc'
  1076. killvar 'sdadloc'
  1077. killvar 'father_go'
  1078. killvar 'momloc'
  1079. killvar 'momclean1'
  1080. killvar 'momclean2'
  1081. if mother_go > 0:
  1082. locat['Mom_cafe_sex'] = mother_go
  1083. end
  1084. killvar 'm_day'
  1085. killvar 'mother_go'
  1086. killvar 'ocpd_room'
  1087. if indorf > 0:
  1088. locat['Fam_inGad'] = indorf
  1089. end
  1090. if indorf_month = month:
  1091. locat['Fam_month_inGad'] = indorf_month
  1092. end
  1093. if dostupindorf > 0:
  1094. locat['Fam_set_month_inGad'] = dostupindorf
  1095. end
  1096. killvar 'indorf'
  1097. killvar 'indorf_month'
  1098. killvar 'dostupindorf'
  1099. if sister_indorf > 0:
  1100. locat['Anya_Gad'] = sister_indorf
  1101. end
  1102. if sister_opr_indorf > 0:
  1103. locat['Anya_check_Gad'] = sister_opr_indorf
  1104. end
  1105. killvar 'sister_indorf'
  1106. killvar 'sister_opr_indorf'
  1107. if workKafe = 1:
  1108. workKafe = 0
  1109. workKafe['job'] = 1
  1110. end
  1111. if moisturiser['time'] > 0:
  1112. moisturiser_time = moisturiser['time']
  1113. gs 'shortgs', 'remove_array_element', '<<moisturiser>>', 'time'
  1114. end
  1115. end
  1116. killvar 'hypnoHairStyle'
  1117. if mod_list > 0:
  1118. mod_i = 1
  1119. :mod_data_updater
  1120. if $mod_name[mod_i] ! '':
  1121. $mod_su_name = 'mod_<<$mod_name[mod_i]>>_saveupdater'
  1122. if LOC($mod_su_name): gs $mod_su_name
  1123. end
  1124. if mod_list > mod_i:
  1125. mod_i += 1
  1126. jump 'mod_data_updater'
  1127. end
  1128. killvar '$mod_su_name'
  1129. killvar 'mod_i'
  1130. end
  1131. !!------------------------------------------------------------------------------------------------------!!
  1132. !! !!Version 0.8.8!! !!
  1133. !!------------------------------------------------------------------------------------------------------!!
  1134. if temp_current_save_version < 00080800:
  1135. !!update base appearance to the new calculation
  1136. gs 'body', 'Update_Appearance'
  1137. gs 'AppearanceSystem'
  1138. if $wloc = 'default': $wloc = 'default1'
  1139. !! new teeth variables
  1140. if pcs_teeth >= 0:
  1141. pcs_missing_teeth = pcs_teeth
  1142. pcs_teeth = 0
  1143. end
  1144. !! udate of Artem quest variables to an array.
  1145. if artembj > 0: artemQW['bj'] = artembj & killvar 'artembj'
  1146. if artemsex > 0: artemQW['sex'] = artemsex & killvar 'artemsex'
  1147. if artemanal > 0: artemQW['anal'] = artemanal & killvar 'artemanal'
  1148. if artemhj > 0: artemQW['hj'] = artemhj & killvar 'artemhj'
  1149. if artembrokenheart > 0: artemQW['brokenheart'] = artembrokenheart & killvar 'artembrokenheart'
  1150. if artemStripSee > 0: artemQW['stripsee'] = artemStripSee & killvar 'artemStripSee'
  1151. if artemlove > 0: artemQW['artemlove'] = artemlove & killvar 'artemlove'
  1152. if artemblok > 0: artemQW['artemblok'] = artemblok & killvar 'artemblok'
  1153. if artembf > 0: artemQW['bf'] = artembf & killvar 'artembf'
  1154. if artdryhump > 0: artemQW['dryhump'] = artdryhump & killvar 'artdryhump'
  1155. if artlie > 0: artemQW['artlie'] = artlie & killvar 'artlie'
  1156. if artfall > 0: artemQW['artfall'] = artfall & killvar 'artfall'
  1157. if artdate > 0: artemQW['date'] = artdate & killvar 'artdate'
  1158. if artdim > 0: artemQW['dimka'] = artdim & killvar 'artdim'
  1159. if artslutlove > 0: artemQW['slutlove'] = artslutlove & killvar 'artslutlove'
  1160. if artsveslut > 0: artemQW['sveslut'] = artsveslut & killvar 'artsveslut'
  1161. if metArtemMom > 0: artemQW['metArtemMom'] = metArtemMom & killvar 'metArtemMom'
  1162. if artdimhelp > 0: artemQW['dimkahelp'] = artdimhelp & killvar 'artdimhelp'
  1163. !! update Julia to an array
  1164. if JulMilBestFrend > 0: juliaQW['JulMilBestFrend'] = JulMilBestFrend & killvar 'JulMilBestFrend'
  1165. if eatJulMilDay: juliaQW['eatJulMilDay'] = eatJulMilDay & killvar 'eatJulMilDay'
  1166. if SexTalkJulia: juliaQW['SexTalkJulia'] = SexTalkJulia & killvar 'SexTalkJulia'
  1167. if BeInJulMilHome: juliaQW['home_unlocked'] = BeInJulMilHome & killvar 'BeInJulMilHome'
  1168. if JuliaMilLernQW: juliaQW['study_unlocked'] = JuliaMilLernQW & killvar 'JuliaMilLernQW'
  1169. end
  1170. !!------------------------------------!!Version 0.8.8.2!!-----------------------------------------------!!
  1171. if temp_current_save_version < 00080802:
  1172. !!--------------------------------------------------------------------
  1173. !! Prostitution related changes
  1174. !!--------------------------------------------------------------------
  1175. !! Gadukino prostitution
  1176. gs 'prostitution_functions', 'set_gadukion_prostitute'
  1177. !! Anuahka''s variables put in an array.
  1178. if anushkaFirstvisit > 0: anushkaQW['first_visit'] = anushkaFirstvisit & killvar 'anushkaFirstvisit'
  1179. if Anush_lunch > 0: anushkaQW['lunch'] = Anush_lunch & killvar 'Anush_lunch'
  1180. if nush_model > 0: anushkaQW['model'] = nush_model & killvar 'nush_model'
  1181. if foto_anush_referral > 0: anushkaQW['model_referral'] = foto_anush_referral & killvar 'foto_anush_referral'
  1182. if AnushkaCompUse > 0: anushkaQW['computer_use'] = AnushkaCompUse & killvar 'AnushkaCompUse'
  1183. if marspyknow > 0: anushkaQW['marspyknow'] = marspyknow & killvar 'marspyknow'
  1184. if nushstrapanalpain > 0: anushkaQW['strapon_anal_pain'] = nushstrapanalpain & killvar 'nushstrapanalpain'
  1185. if nushstrapon > 0: anushkaQW['strapon'] = nushstrapon & killvar 'nushstrapon'
  1186. if domnush > 0: anushkaQW['dom_nush'] = domnush & killvar 'domnush'
  1187. if seenEd > 0: anushkaQW['seen_ed'] = seenEd & killvar 'seenEd'
  1188. if valeriaIntroduced > 0: anushkaQw['valeria_introduced'] = valeriaIntroduced & killvar 'valeriaIntroduced'
  1189. if showerphotos > 0: anushkaQW['shower_photos'] = showerphotos & killvar 'showerphotos'
  1190. if anushka_tv_day > 0: anushkaQW['tv_day'] = anushka_tv_day & killvar 'anushka_tv_day'
  1191. if anushka_shower_day > 0: anushkaQW['shower_day'] = anushka_shower_day & killvar 'anushka_shower_day'
  1192. if AnushkaHomeDay > 0: anushkaQW['home_day'] = AnushkaHomeDay & killvar 'AnushkaHomeDay'
  1193. if nush_photoshoot > 0: anushkaQW['photoshoot'] = nush_photoshoot & killvar 'nush_photoshoot'
  1194. if NushVsNiko > 0: anushkaQW['vs_niko'] = NushVsNiko & killvar 'NushVsNiko'
  1195. if nushaboutalyona > 0: anushkaQW['about_alyona'] = nushaboutalyona & killvar 'nushaboutalyona'
  1196. if valspy > 0: anushkaQW['valspy'] = valspy & killvar 'valspy'
  1197. if radnushdate > 0: anushkaQW['rad_date'] = radnushdate & killvar 'radnushdate'
  1198. if radspy > 0: anushkaQW['radspy'] = radspy & killvar ' radspy'
  1199. if nushfedor3s > 0: anushkaQW['fedor_3some'] = nushfedor3s & killvar 'nushfedor3s'
  1200. if Anush_sex > 0: anushkaQW['sex'] = Anush_sex & killvar 'Anush_sex'
  1201. if Anush_dolls > 0: anushkaQW['dolls'] = Anush_dolls & killvar 'Anush_dolls'
  1202. if anushka_toilet > 0: anushkaQW['toilet'] = anushka_toilet & killvar 'anushka_toilet'
  1203. if marspy > 0: anushkaQW['marspy'] = marspy & killvar 'marspy'
  1204. if bandpracticeinvite > 0: gopnikbandQW['practice_invite'] = bandpracticeinvite & killvar 'bandpracticeinvite'
  1205. end
  1206. !!------------------------------------!!Version 0.8.8.2!!-----------------------------------------------!!
  1207. if temp_current_save_version < 00080804:
  1208. !!--------------------------------------------------------------------
  1209. !! Homes, Properties and Internet Update
  1210. !!--------------------------------------------------------------------
  1211. !! Transferring the owned, rented, accessible properties
  1212. ! city apartment
  1213. if home_owned[1] = 1 or owned_property['city_apartment'] = 1:
  1214. gs 'homes_properties', 'rent_property', 'city_apartment', ArendHouseSL
  1215. elseif home_owned[1] = 2 or owned_property['city_apartment'] = 2:
  1216. gs 'homes_properties', 'buy_property', 'city_apartment'
  1217. elseif home_owned[1] = 3 or owned_property['city_apartment'] = 3:
  1218. gs 'homes_properties', 'tenants_move_in', 'city_apartment', sdaday, sdamonth
  1219. end
  1220. !! Checking for renovation
  1221. if home_owned[1] > 0 or owned_property['city_apartment'] = 1:
  1222. if rembedr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'bedroom'
  1223. if remsitr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'living room'
  1224. if remkorr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'hallway'
  1225. if remvanr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'bathroom'
  1226. if remkuhr = 1: gs 'homes_properties', 'renovate_property', 'city_apartment', 50000, 'kitchen'
  1227. end
  1228. ! parents home
  1229. if home_owned[2] > 0 or owned_property['parents_home'] > 0: gs 'homes_properties', 'give_access', 'parents_home'
  1230. ! cottage in the village
  1231. if home_owned[3] > 0 or owned_property['village_cottage'] > 0: gs 'homes_properties', 'buy_property', 'village_cottage'
  1232. if home_owned[3] > 1 or owned_property['village_cottage-renovated'] = 1: gs 'homes_properties', 'renovate_property', 'village_cottage', 200000
  1233. ! Pushking old town apartment
  1234. if home_owned[4] = 1 or owned_property['old_town_apartment'] = 1: gs 'homes_properties', 'rent_property', 'old_town_apartment', ArendHouseSL4
  1235. ! Matryona mansion
  1236. if home_owned[5] > 0 or owned_property['matryona_mansion'] > 0: gs 'homes_properties', 'buy_property', 'matryona_mansion'
  1237. if home_owned[5] > 1 or owned_property['matryona_mansion-construction-status'] = 1: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1238. if home_owned[5] > 2 or owned_property['matryona_mansion-construction-status'] = 2: gs 'homes_properties', 'progress_construction_status', 'matryona_mansion'
  1239. ! Pavlovsk hotel room
  1240. if home_owned[6] > 0 or owned_property['pavlovsk_hotel'] > 0: gs 'homes_properties', 'give_access', 'pavlovsk_hotel'
  1241. ! Live in maid bedroom
  1242. if home_owned[7] > 0 or owned_property['maid_bedroom'] > 0: gs 'homes_properties', 'give_access', 'maid_bedroom'
  1243. ! Niko apartment
  1244. if home_owned[8] > 0 or owned_property['niko_apartment'] > 0: gs 'homes_properties', 'give_access', 'niko_apartment'
  1245. ! Shulga apartment
  1246. if home_owned[9] > 0 or owned_property['shulga_apartment'] > 0: gs 'homes_properties', 'give_access', 'shulga_apartment'
  1247. ! Lyceum dorm room
  1248. if home_owned[10] > 0 or owned_property['lyceum_dorm'] > 0: gs 'homes_properties', 'give_access', 'lyceum_dorm'
  1249. ! University dorm room
  1250. if home_owned[11] > 0 or owned_property['university_dorm'] > 0: gs 'homes_properties', 'give_access', 'university_dorm'
  1251. ! Hunters lodge
  1252. if home_owned[12] > 0 or owned_property['hunters_lodge'] > 0: gs 'homes_properties', 'give_access', 'hunters_lodge'
  1253. ! Shared apartment in Pavlovsk
  1254. if home_owned[13] > 0 or owned_property['shared_apartment'] > 0: gs 'homes_properties', 'give_access', 'shared_apartment'
  1255. ! Grandparents house
  1256. if home_owned[14] > 0 or owned_property['grandparents_house'] > 0: gs 'homes_properties', 'give_access', 'grandparents_house'
  1257. ! City residential house
  1258. if home_owned[15] > 0 or owned_property['city_house'] > 0: gs 'homes_properties', 'buy_property', 'city_house'
  1259. ! Meynold household
  1260. if home_owned[16] > 0 or owned_property['meynold_household'] > 0: gs 'homes_properties', 'give_access', 'meynold_household'
  1261. !! Setting the current home and fixing potential missing access issues
  1262. if curr_home > 0 and $home['current'] = '':
  1263. gs 'homes_properties', 'set_home', '', STR(curr_home)
  1264. end
  1265. if $home['current'] = 'parents_home' and accessible_property['parents_home'] = 0:
  1266. gs 'homes_properties', 'give_access', 'parents_home'
  1267. end
  1268. killvar 'home_owned'
  1269. killvar 'curr_home'
  1270. killvar 'ArendHouseSL' & killvar 'ArendHouseSL4'
  1271. killvar 'home_rent_txt'
  1272. killvar 'home_value' & killvar 'home_value_txt'
  1273. killvar 'sdaday' & killvar 'sdamonth'
  1274. killvar 'owned_property'
  1275. if $home['current'] = '':
  1276. if mid($start_type, 1, 2) = 'sg':
  1277. gs 'homes_properties', 'give_access', 'parents_home'
  1278. gs 'homes_properties', 'set_home', 'parents_home'
  1279. elseif mid($start_type, 1, 4) = 'city':
  1280. gs 'homes_properties', 'give_access', 'city_apartment'
  1281. gs 'homes_properties', 'set_home', 'city_apartment'
  1282. elseif mid($start_type, 1, 3) = 'uni':
  1283. gs 'homes_properties', 'give_access', 'university_dorm'
  1284. gs 'homes_properties', 'set_home', 'university_dorm'
  1285. end
  1286. end
  1287. !! Setting the internet
  1288. if internet > 0:
  1289. old_internet_value = 10*internet
  1290. if property['internet_enabled'] = 1:
  1291. gs 'internet_mobile', 'buy_subscription', $home['current'], 900
  1292. if (old_internet_value - 900) >= 0: money += (old_internet_value - 900)
  1293. else
  1294. if old_internet_value >= 1200:
  1295. gs 'internet_mobile', 'buy_subscription', 'mobile', 1200
  1296. if (old_internet_value - 1200) > 0: money += (old_internet_value - 1200)
  1297. else
  1298. gs 'internet_mobile', 'top_up_metered', 'metered_mobile', internet * 60
  1299. end
  1300. end
  1301. killvar 'internet'
  1302. end
  1303. !! Setting the mobile phone calls and texts
  1304. if balans > 0:
  1305. if (balans - 800) >= 0:
  1306. gs 'internet_mobile', 'buy_subscription', 'monthly_calls', 800
  1307. money += (balans - 800)
  1308. else
  1309. if balans >= 225:
  1310. temp_phone_mult = balans / 225
  1311. temp_phone_rem = balans mod 225
  1312. new_balans = temp_phone_mult * 240
  1313. gs 'internet_mobile', 'top_up_metered', 'metered_calls', new_balans
  1314. if temp_phone_rem > 0: money += temp_phone_rem
  1315. elseif balans >= 170:
  1316. temp_phone_rem = balans mod 170
  1317. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 180
  1318. if temp_phone_rem > 0: money += temp_phone_rem
  1319. elseif balans >= 115:
  1320. temp_phone_rem = balans mod 115
  1321. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 120
  1322. if temp_phone_rem > 0: money += temp_phone_rem
  1323. elseif balans >= 60:
  1324. temp_phone_rem = balans mod 60
  1325. gs 'internet_mobile', 'top_up_metered', 'metered_calls', 60
  1326. if temp_phone_rem > 0: money += temp_phone_rem
  1327. else
  1328. gs 'internet_mobile', 'top_up_metered', 'metered_calls', balans
  1329. end
  1330. end
  1331. killvar 'balans' & killvar 'temp_phone_rem' & killvar 'temp_phone_mult' & killvar 'new_balans'
  1332. end
  1333. !! ------------ NPC Stat Updater ------------------------
  1334. if $ARGS[0] = 'npc_stat_update':
  1335. if npc_start_free_time[$boy] = 0 or npc_day_off[$boy] = 0:
  1336. if npc_finance[$boy] = 0:
  1337. if rand(1,3) = 1:
  1338. npc_start_free_time[$boy] = 9
  1339. npc_end_free_time[$boy] = 12
  1340. elseif rand(1,2) = 1:
  1341. npc_start_free_time[$boy] = 16
  1342. npc_end_free_time[$boy] = 20
  1343. else
  1344. npc_start_free_time[$boy] = 20
  1345. npc_end_free_time[$boy] = 23
  1346. end
  1347. elseif npc_finance[$boy] = 1:
  1348. if rand(1,2) = 1:
  1349. npc_start_free_time[$boy] = 9
  1350. npc_end_free_time[$boy] = 12
  1351. else
  1352. npc_start_free_time[$boy] = 20
  1353. npc_end_free_time[$boy] = 23
  1354. end
  1355. elseif npc_finance[$npclastgenerated] = 2:
  1356. npc_apt_type[$npclastgenerated] = 5
  1357. !!npc_apt_type[$npclastgenerated] = rand(5,6)
  1358. !! apt_type 6 is disabled until pictures are added
  1359. npc_occupation[$npclastgenerated] = rand(14,18)
  1360. npc_car[$npclastgenerated] = rand(0,1)
  1361. end
  1362. npc_day_off = rand(1,7)
  1363. end
  1364. end
  1365. end
  1366. !!------------------------------------------------------------------------------------------------------!!
  1367. !! !!Version 0.8.9!! !!
  1368. !!------------------------------------------------------------------------------------------------------!!
  1369. if temp_current_save_version < 00080900:
  1370. if $wardrobeDefaultPagePref = 'savedOutfits':$wardrobeDefaultPagePref = 'default1'
  1371. if nichTanyaKnown = 1:
  1372. nichTanya['Known'] = nichTanyaKnown & killvar 'nichTanyaKnown'
  1373. nichTanya['Relationship'] = nichTanyaRelationship & killvar 'nichTanyaRelationship'
  1374. nichTanya['RelationshipState'] = nichTanyaRelationshipState & killvar 'nichTanyaRelationshipState'
  1375. nichTanya['RelationshipBreakup'] = nichTanyaRelationshipBreakup & killvar 'nichTanyaRelationshipBreakup'
  1376. nichTanya['BF'] = nichTanyaBF & killvar 'nichTanyaBF'
  1377. nichTanya['Date'] = nichTanyaDate & killvar 'nichTanyaDate'
  1378. nichTanya['DateCounter'] = nichTanyaDateCounter & killvar 'nichTanyaDateCounter'
  1379. nichTanya['DateLast'] = nichTanyaDateLast & killvar 'nichTanyaDateLast'
  1380. nichTanya['DateShopping'] = nichTanyaDateShopping & killvar 'nichTanyaDateShopping'
  1381. nichTanya['FuckCounter'] = nichTanyaFuckCounter & killvar 'nichTanyaFuckCounter'
  1382. nichTanya['FuckLast'] = nichTanyaFuckLast & killvar 'nichTanyaFuckLast'
  1383. nichTanya['FuckToday'] = nichTanyaFuckToday & killvar 'nichTanyaFuckToday'
  1384. nichTanya['FuckPositions'] = nichTanyaFuckPositions & killvar 'nichTanyaFuckPositions'
  1385. nichTanya['Strapon'] = nichTanyaStrapon & killvar 'nichTanyaStrapon'
  1386. nichTanya['Dominance'] = nichTanyaDominance & killvar 'nichTanyaDominance'
  1387. nichTanya['Uni'] = nichTanyaUni & killvar 'nichTanyaUni'
  1388. nichTanya['UniStart'] = nichTanyaUniStart & killvar 'nichTanyaUniStart'
  1389. nichTanya['Room'] = nichTanyaRoom & killvar 'nichTanyaRoom'
  1390. nichTanya['PropSex'] = nichTanyaPropSex & killvar 'nichTanyaPropSex'
  1391. nichTanya['PropDate'] = nichTanyaPropDate & killvar 'nichTanyaPropDate'
  1392. killvar 'nichTanyaBFState'
  1393. killvar 'nichTanyaFuckDom'
  1394. killvar 'nichTanyaFuckSub'
  1395. end
  1396. end
  1397. !!------------------------------------!!Version 0.8.9.1!!-----------------------------------------------!!
  1398. if temp_current_save_version < 00080901:
  1399. if $wardrobeDefaultPagePref = 'savedOutfits':$wardrobeDefaultPagePref = 'default1'
  1400. i = 0
  1401. :loopboutiquepanties
  1402. i += 1
  1403. if boutique_panties[i] = 1:
  1404. dynamic 'lusso_panties[i] = 1'
  1405. dynamic 'lusso_pantiesS[i] = boutique_pantiesS[i]'
  1406. end
  1407. if i <= ARRSIZE('boutique_panties'): jump 'loopboutiquepanties'
  1408. killvar 'boutique_panties'
  1409. i = 0
  1410. :loopboutiquebras
  1411. i += 1
  1412. if boutique_bras[i] = 1:
  1413. dynamic 'lusso_bras[i] = 1'
  1414. dynamic 'lusso_brasS[i] = boutique_brasS[i]'
  1415. end
  1416. if i <= ARRSIZE('boutique_bras'): jump 'loopboutiquebras'
  1417. killvar 'boutique_bras'
  1418. i = 0
  1419. :loopcheappanties
  1420. i += 1
  1421. if cheap_panties[i] = 1:
  1422. dynamic 'gm_panties[i] = 1'
  1423. dynamic 'gm_pantiesS[i] = cheap_pantiesS[i]'
  1424. end
  1425. if i <= ARRSIZE('cheap_panties'): jump 'loopcheappanties'
  1426. killvar 'cheap_panties'
  1427. i = 0
  1428. :loopcheapbras
  1429. i += 1
  1430. if cheap_bras[i] = 1:
  1431. dynamic 'gm_bras[i] = 1'
  1432. dynamic 'gm_brasS[i] = cheap_brasS[i]'
  1433. end
  1434. if i <= ARRSIZE('cheap_bras'): jump 'loopcheapbras'
  1435. killvar 'cheap_bras'
  1436. i = 0
  1437. :loopexhibitionistpanties
  1438. i += 1
  1439. if exhibitionist_panties[i] = 1:
  1440. dynamic 'salacious_panties[i] = 1'
  1441. dynamic 'salacious_pantiesS[i] = exhibitionist_pantiesS[i]'
  1442. end
  1443. if i <= ARRSIZE('exhibitionist_panties'): jump 'loopexhibitionistpanties'
  1444. killvar 'exhibitionist_panties'
  1445. i = 0
  1446. :loopexhibitionistbras
  1447. i += 1
  1448. if exhibitionist_bras[i] = 1:
  1449. dynamic 'salacious_bras[i] = 1'
  1450. dynamic 'salacious_brasS[i] = exhibitionist_brasS[i]'
  1451. end
  1452. if i <= ARRSIZE('exhibitionist_bras'): jump 'loopexhibitionistbras'
  1453. killvar 'exhibitionist_bras'
  1454. i = 0
  1455. :loopsexshoppanties
  1456. i += 1
  1457. if sexshop_panties[i] = 1:
  1458. dynamic 'eroto_panties[i] = 1'
  1459. dynamic 'eroto_pantiesS[i] = sexshop_pantiesS[i]'
  1460. end
  1461. if i <= ARRSIZE('sexshop_panties'): jump 'loopsexshoppanties'
  1462. killvar 'sexshop_panties'
  1463. i = 0
  1464. :loopsexshopbras
  1465. i += 1
  1466. if sexshop_bras[i] = 1:
  1467. dynamic 'eroto_bras[i] = 1'
  1468. dynamic 'eroto_brasS[i] = sexshop_brasS[i]'
  1469. end
  1470. if i <= ARRSIZE('sexshop_bras'): jump 'loopsexshopbras'
  1471. killvar 'sexshop_bras'
  1472. i = 0
  1473. :loopsportpanties
  1474. i += 1
  1475. if sport_panties[i] = 1:
  1476. dynamic 'danilovich_panties[i] = 1'
  1477. dynamic 'danilovich_pantiesS[i] = sport_pantiesS[i]'
  1478. end
  1479. if i <= ARRSIZE('sport_panties'): jump 'loopsportpanties'
  1480. killvar 'sport_panties'
  1481. i = 0
  1482. :loopsportbras
  1483. i += 1
  1484. if sport_bras[i] = 1:
  1485. dynamic 'danilovich_bras[i] = 1'
  1486. dynamic 'danilovich_brasS[i] = sport_brasS[i]'
  1487. end
  1488. if i <= ARRSIZE('sport_bras'): jump 'loopsportbras'
  1489. killvar 'sport_bras'
  1490. if metmira = 1: npc_known['A60'] = 1 & killvar 'metmira'
  1491. end
  1492. !!------------------------------------!!Version 0.8.8.2!!-----------------------------------------------!!
  1493. if temp_current_save_version < 00080903:
  1494. if $wardrobeDefaultPagePref = 'savedOutfits': $wardrobeDefaultPagePref = 'default1'
  1495. if mid($start_type,1,4) = 'city' or $start_type = 'uni':
  1496. gs 'homes_properties', 'give_access', 'parents_home'
  1497. SchoolAtestat = 1
  1498. end
  1499. if teh > 0:
  1500. car['new_condition'] = tehcar
  1501. car['current_condition'] = teh
  1502. killvar 'teh'
  1503. killvar 'tehcar'
  1504. end
  1505. i = 0
  1506. :loopboys
  1507. if $npc_rel_type[i] ! '':$npc_rel_type[i] = 'fuckbuddy'
  1508. i += 1
  1509. if i <= ARRSIZE('$boys'): jump 'loopboys'
  1510. if traits > 0 or trait > 0:
  1511. pcs_traits['nerd_status'] = traits['nerd_status']
  1512. pcs_traits['alko_status'] = traits['alko_status']
  1513. pcs_traits['alko_points'] = traits['alko_points']
  1514. pcs_traits['buttslut_lvl'] = traits['buttslut_lvl']
  1515. pcs_traits['buttslut_exp'] = traits['buttslut_exp']
  1516. pcs_traits['nerd_lernHome'] = traits['nerd_lernHome']
  1517. pcs_traits['nerd_points'] = traits['nerd_points']
  1518. pcs_traits['nerd_lessons'] = traits['nerd_lessons']
  1519. pcs_traits['cumeater'] = trait['cumeater']
  1520. pcs_traits['commando_lvl'] = trait['commando_lvl']
  1521. pcs_traits['commando_exp'] = trait['commando_exp']
  1522. killvar 'traits'
  1523. killvar 'trait'
  1524. end
  1525. end
  1526. !!======================================================================================================!!
  1527. !! !!
  1528. !! !!Version 0.9.0!! !!
  1529. !! !!
  1530. !!======================================================================================================!!
  1531. if temp_current_save_version < 00090000:
  1532. if photography_job >0:
  1533. photography['experience'] = photography_job & killvar 'photography_job'
  1534. end
  1535. ! Deduplication in $fuckbuddy
  1536. if arrsize('$fuckbuddy') > 0:
  1537. ! Loop over the array, check if the value already exists in the temp array. If not copy.
  1538. i_fb = 0
  1539. :loopFuckbuddies
  1540. if arrpos('$_fuckbuddies', '$fuckbuddy[i_fb]') = -1:
  1541. copyarr '$_fuckbuddies', '$fuckbuddy', i_fb, 1
  1542. i_fb +=1
  1543. end
  1544. if i_fb < arrsize('$fuckbuddy') : jump 'loopFuckbuddies'
  1545. killvar '$fuckbuddy'
  1546. $fuckbuddy = $_fuckbuddies
  1547. killvar '$_fuckbuddies' & killvar 'i_fb'
  1548. end
  1549. if stat['virgin'] > 0:
  1550. stat['think_virgin'] = stat['virgin']
  1551. gs 'shortgs', 'remove_array_element', 'stat', 'virgin'
  1552. end
  1553. end
  1554. !!------------------------------------!!Version 0.9.0.1!!-----------------------------------------------!!
  1555. if temp_current_save_version < 00090001:
  1556. if futa > 0: shemale = futa & killvar 'futa'
  1557. if hidden_futa > 0: hidden_shemale = hidden_futa & killvar 'hidden_futa'
  1558. end
  1559. !!------------------------------------!!Version 0.9.0.3!!-----------------------------------------------!!
  1560. if temp_current_save_version < 00090003:
  1561. if $home['current'] ! '' and $home['bathroom'] = '':
  1562. gs 'homes_properties', 'set_home', $home['current']
  1563. end
  1564. !! Makeup Refactor
  1565. if makeup['base'] < 1: makeup['base'] = 1
  1566. makeup_routine_update_index = 1
  1567. :makeup_routine_update_loop
  1568. $temp_makeup_routine = str(dyneval('$result = $routine<<makeup_routine_update_index>>'))
  1569. $temp_makeup_routine_name = str(dyneval('$result = $routine<<makeup_routine_update_index>>custname'))
  1570. if $temp_makeup_routine ! '':
  1571. makeup['routine_<<makeup_routine_update_index>>_makeup'] = val(mid($temp_makeup_routine,1,1))
  1572. makeup['routine_<<makeup_routine_update_index>>_lipbalm'] = val(mid($temp_makeup_routine,2,1))
  1573. makeup['routine_<<makeup_routine_update_index>>_lashes'] = val(mid($temp_makeup_routine,3,1))
  1574. $makeup['routine_<<makeup_routine_update_index>>'] = $temp_makeup_routine
  1575. $makeup['routine_<<makeup_routine_update_index>>_name'] = $temp_makeup_routine_name
  1576. killvar '$routine<<makeup_routine_update_index>>'
  1577. killvar '$routine<<makeup_routine_update_index>>custname'
  1578. end
  1579. makeup_routine_update_index += 1
  1580. if makeup_routine_update_index <= 4: jump 'makeup_routine_update_loop'
  1581. killvar 'makeup_routine_update_index' & killvar '$temp_makeup_routine' & killvar '$temp_makeup_routine_name'
  1582. !! Temporary functions, can be removed once all variables are migrated, workaround for SaveUpdater not transferring data or as a quick fix.
  1583. if kosmetica > 0: mc_inventory['cosmetics'] = kosmetica & killvar 'kosmetica'
  1584. if item_moisturizer > 0: mc_inventory['moisturiser'] = item_moisturizer & killvar 'item_moisturizer'
  1585. if lipbalm > 0: mc_inventory['lipbalm'] = lipbalm & killvar 'lipbalm'
  1586. if falselashesplain > 0: mc_inventory['eyelash_fake'] = falselashesplain & killvar 'falselashesplain'
  1587. if falselashesmink > 0: mc_inventory['eyelash_mink'] = falselashesmink & killvar 'falselashesmink'
  1588. if stanok > 0: mc_inventory['razor'] = stanok & killvar 'stanok'
  1589. if krem > 0: mc_inventory['suncream'] = krem & killvar 'krem'
  1590. if deodorant > 0: mc_inventory['deodorant'] = deodorant & killvar 'deodorant'
  1591. if tampon > 0: mc_inventory['tampons'] = tampon & killvar 'tampon'
  1592. if sanpad > 0: mc_inventory['sanitary_pads'] = sanpad & killvar 'sanpad'
  1593. if shampoo > 0: mc_inventory['shampoo'] = shampoo & killvar 'shampoo'
  1594. if hscrunch > 0: mc_inventory['scrunchies'] = hscrunch & killvar 'hscrunch'
  1595. if hpingrip > 0: mc_inventory['kirbygrips'] = hpingrip & killvar 'hpingrip'
  1596. if salfetka > 0: mc_inventory['makeup_wipes'] = salfetka & killvar 'salfetka'
  1597. if mouthwash > 0: mc_inventory['mouthwash'] = mouthwash & killvar 'mouthwash'
  1598. if greben > 0: mc_inventory['comb'] = greben & killvar 'greben'
  1599. if kosmetitka > 0: mc_inventory['travel_makeup'] = kosmetitka & killvar 'kosmetitka'
  1600. if compact_mirror > 0: mc_inventory['travel_mirror'] = compact_mirror & killvar 'compact_mirror'
  1601. if eda > 0: mc_inventory['food_basic'] = eda & killvar 'eda'
  1602. if edaD > 0: mc_inventory['food_diet'] = edaD & killvar 'edaD'
  1603. if pranik > 0: mc_inventory['food_biscuits'] = pranik & killvar 'pranik'
  1604. if buterbrod > 0: mc_inventory['food_sandwich'] = buterbrod & killvar 'buterbrod'
  1605. if wine > 0: mc_inventory['food_wine'] = wine & killvar 'wine'
  1606. if bottle > 0: mc_inventory['food_water'] = bottle & killvar 'bottle'
  1607. if pregtest > 0: mc_inventory['pregnancy_test'] = pregtest & killvar 'pregtest'
  1608. if lekarstvo > 0: mc_inventory['antibiotics'] = lekarstvo & killvar 'lekarstvo'
  1609. if vitamin > 0: mc_inventory['vitamins'] = vitamin & killvar 'vitamin'
  1610. if painkiller > 0: mc_inventory['painkillers'] = painkiller & killvar 'painkiller'
  1611. if mosolmaz > 0: mc_inventory['chafing_cream'] = mosolmaz & killvar 'mosolmaz'
  1612. if lubri > 0: mc_inventory['lubricant'] = lubri & killvar 'lubri'
  1613. if klisma > 0: mc_inventory['enema_kit'] = klisma & killvar 'klisma'
  1614. if breastpump > 0: mc_inventory['breast_pump'] = breastpump & killvar 'breastpump'
  1615. if bpbottles > 0: mc_inventory['bottle_s'] = bpbottles & killvar 'bpbottles'
  1616. if bpbottlem > 0: mc_inventory['bottle_m'] = bpbottlem & killvar 'bpbottlem'
  1617. if bpnipplebalm > 0: mc_inventory['nipple_cream'] = bpnipplebalm & killvar 'bpnipplebalm'
  1618. ! if Kandidoz > 0: mc_inventory['thrush_meds'] = Kandidoz & killvar 'Kandidoz' ! No clue what to do with this
  1619. if fatdel > 0: mc_inventory['weight_loss_pill'] = fatdel & killvar 'fatdel'
  1620. if morning_after_pill > 0: mc_inventory['morning_after_pill'] = morning_after_pill & killvar 'morning_after_pill'
  1621. if prezik > 0: mc_inventory['equipped_condoms'] = prezik & killvar 'prezik'
  1622. if prezikcount > 0: mc_inventory['normal_condoms'] = prezikcount & killvar 'prezikcount'
  1623. if preziksabo > 0: mc_inventory['sabotaged_condoms'] = preziksabo & killvar 'preziksabo'
  1624. if badprezik > 0: mc_inventory['bad_condoms'] = badprezik & killvar 'badprezik'
  1625. if tabletki > 0: mc_inventory['contraceptive_pill'] = tabletki & killvar 'tabletki'
  1626. if siga > 0: mc_inventory['cigarettes'] = siga & killvar 'siga'
  1627. if fashmag > 0: mc_inventory['mag_fashion'] = fashmag & killvar 'fashmag'
  1628. if compmag > 0: mc_inventory['mag_computer'] = compmag & killvar 'compmag'
  1629. if biomag > 0: mc_inventory['mag_biography'] = biomag & killvar 'biomag'
  1630. if cookmag > 0: mc_inventory['mag_cooking'] = cookmag & killvar 'cookmag'
  1631. if knitmag > 0: mc_inventory['mag_knitting'] = knitmag & killvar 'knitmag'
  1632. if fitmag > 0: mc_inventory['mag_fitness'] = fitmag & killvar 'fitmag'
  1633. if umbrella > 0: mc_inventory['umbrella'] = umbrella & killvar 'umbrella'
  1634. if pornMagazine > 0: mc_inventory['mag_porn'] = pornMagazine & killvar 'pornMagazine'
  1635. if vibrator > 0: mc_inventory['vibe'] = vibrator & killvar 'vibrator'
  1636. if analplug > 0: mc_inventory['buttplug'] = analplug & killvar 'analplug'
  1637. if suction_dildo > 0: mc_inventory['dildo_suction'] = suction_dildo & killvar 'suction_dildo'
  1638. if strapon > 0: mc_inventory['strapon'] = strapon & killvar 'strapon'
  1639. if dildo > 0: mc_inventory['dildo_small'] = dildo & killvar 'dildo'
  1640. if middildo > 0: mc_inventory['dildo_normal'] = middildo & killvar 'middildo'
  1641. if largedildo > 0: mc_inventory['dildo_big'] = largedildo & killvar 'largedildo'
  1642. if bigdildo > 0: mc_inventory['dildo_large'] = bigdildo & killvar 'bigdildo'
  1643. if extradildo > 0: mc_inventory['dildo_huge'] = extradildo & killvar 'extradildo'
  1644. if superdildo > 0: mc_inventory['dildo_enormous'] = superdildo & killvar 'superdildo'
  1645. if maddildo > 0: mc_inventory['dildo_gigantic'] = maddildo & killvar 'maddildo'
  1646. if skak > 0: mc_inventory['skipping_rope'] = skak & killvar 'skak'
  1647. if obruch > 0: mc_inventory['hula_hoop'] = obruch & killvar 'obruch'
  1648. if bookyog > 0: mc_inventory['book_yoga'] = bookyog & killvar 'bookyog'
  1649. if konki > 0: mc_inventory['ice_skates'] = konki & killvar 'konki'
  1650. if pcs_ski_owned > 0: mc_inventory['ski'] = pcs_ski_owned & killvar 'pcs_ski_owned'
  1651. if refillable_bottle > 0: mc_inventory['refill_bottle'] = refillable_bottle & killvar 'refillable_bottle'
  1652. if fairy > 0: mc_inventory['dish_soap'] = fairy & killvar 'fairy'
  1653. if poroshok > 0: mc_inventory['laundry_soap'] = poroshok & killvar 'poroshok'
  1654. if cltarelka > 0: mc_inventory['dish_plates'] = cltarelka & killvar 'cltarelka'
  1655. if tkan > 0: mc_inventory['sewing_fabric'] = tkan & killvar 'tkan'
  1656. if sewing_kit > 0: mc_inventory['sewing_kit'] = sewing_kit & killvar 'sewing_kit'
  1657. if TV = 1: mc_inventory['tech_tv'] = 1 & killvar 'TV'
  1658. if TV >= 2: mc_inventory['plasma_tv'] = 1 & killvar 'TV'
  1659. if mc_inventory['tech_tv'] >= 2: mc_inventory['plasma_tv'] = 1 & mc_inventory['tech_tv'] = 1
  1660. if komp > 0: mc_inventory['tech_computer'] = komp & killvar 'komp'
  1661. if GameCD2 > 0: mc_inventory['tech_game_ds'] = GameCD2 & killvar 'GameCD2'
  1662. if posudomashina > 0: mc_inventory['tech_dishwasher'] = posudomashina & killvar 'posudomashina'
  1663. if stiralka > 0: mc_inventory['tech_washing_machine'] = stiralka & killvar 'stiralka'
  1664. if zenit > 0: mc_inventory['tech_camera'] = zenit & killvar 'zenit'
  1665. if minifoto > 0: mc_inventory['tech_hidden_cam'] = minifoto & killvar 'minifoto'
  1666. if webcamera > 0: mc_inventory['tech_webcam'] = webcamera & killvar 'webcamera'
  1667. if ms_pill > 0: mc_inventory['meds_morning_sick'] = ms_pill & killvar 'ms_pill'
  1668. if preg_ball > 0: mc_inventory['preg_ball'] = preg_ball & killvar 'preg_ball'
  1669. if preg_brace > 0: mc_inventory['preg_brace'] = preg_brace & killvar 'preg_brace'
  1670. if preg_pillow > 0: mc_inventory['preg_pillow'] = preg_pillow & killvar 'preg_pillow'
  1671. ! if > 0: mc_inventory[''] = &killvar ''
  1672. !! Preferences update.
  1673. killvar 'npc_preferences'
  1674. pref_update_index = 1
  1675. :update_standard_preferences_loop
  1676. gs 'npc_standard_preferences', 'A<<pref_update_index>>'
  1677. pref_update_index += 1
  1678. if pref_update_index <= 263: jump 'update_standard_preferences_loop'
  1679. killvar 'pref_update_index'
  1680. !! policeQW
  1681. !! policeQW_courtletter_dates[]
  1682. !! policeQW_courtletter_subjects[]
  1683. !! policeQW_courthearing_dates[]
  1684. !! policeQW_courthearing_subjects[]
  1685. if shplft_booked > 0: policeQW['shoplift_booked'] = shplft_booked & killvar 'shplft_booked'
  1686. if prst_booked > 0: policeQW['prostitution_booked'] = prst_booked & killvar 'prst_booked'
  1687. if shplft_counter > 0: policeQW['shoplift_counter'] = shplft_counter & killvar 'shplft_counter'
  1688. if prst_counter > 0: policeQW['prostitution_counter'] = prost_counter & killvar 'prst_counter'
  1689. if prst_bribe > 0: policeQW['prostitution_bribe'] = prst_bribe & killvar 'prst_bribe'
  1690. if shplft_value > 0: policeQW['shoplift_value'] = shplft_value & killvar 'shplft_value'
  1691. killvar 'book_response'
  1692. if bookingofficer_rel > 0: policeQW['bookingofficer_rel'] = bookingofficer_rel & killvar 'bookingofficer_rel'
  1693. if toldonguard > 0: policeQW['toldonguard'] = toldonguard & killvar 'toldonguard'
  1694. if courtletter_date > 0:
  1695. policeQW_courtletter_dates[0] = courtletter_date & killvar 'courtletter_date'
  1696. if shplft_tmp > 0:
  1697. $policeQW_courtletter_subjects[0] = 'shoplift_<<$detec_type>>'
  1698. else
  1699. $policeQW_courtletter_subjects[0] = 'prostitution_<<$detec_type>>'
  1700. end
  1701. end
  1702. if courthearing_date > 0:
  1703. policeQW_courthearing_dates[0] = courthearing_date & killvar 'courthearing_date'
  1704. if shplft_tmp > 0:
  1705. $policeQW_courthearing_subjects[0] = 'shoplift_<<$detec_type>>'
  1706. else
  1707. $policeQW_courthearing_subjects[0] = 'prostitution_<<$detec_type>>'
  1708. end
  1709. end
  1710. killvar 'shplft_tmp'
  1711. killvar 'prst_tmp'
  1712. killvar '$detec_type'
  1713. if legal_fine > 0: policeQW['legal_fine'] = legal_fine & killvar 'legal_fine'
  1714. !! Sleep update.
  1715. killvar 'varsleep'
  1716. if bedPanty > 0: sleepVars['bedPanty'] = bedPanty & killvar 'bedPanty'
  1717. if bedAnal > 0: sleepVars['bedAnal'] = bedAnal & killvar 'bedAnal'
  1718. if bedVibrator > 0: sleepVars['bedVibrator'] = bedVibrator & killvar 'bedVibrator'
  1719. if cheatVib > 0: sleepVars['cheatVib'] = cheatVib & killvar 'cheatVib'
  1720. if notathomesleep > 0: sleepVars['notathomesleep'] = notathomesleep & killvar 'notathomesleep'
  1721. if Enable_nodream > 0: sleepVars['cheat_nodream_chance'] = Enable_nodream & killvar 'Enable_nodream'
  1722. sleepVars['events_active'] = 1
  1723. sleepVars['dreams_active'] = 1
  1724. if budilnikOn > 0: alarmVars['alarmOn'] = budilnikOn & killvar 'budilnikOn'
  1725. if timer > 0: alarmVars['timerH'] = timer & killvar 'timer'
  1726. if timerM > 0: alarmVars['timerM'] = timerM & killvar 'timerM'
  1727. if timerEnd > 0: alarmVars['timerEndH'] = timerEnd & killvar 'timerEnd'
  1728. if timerEndM > 0: alarmVars['timerEndM'] = timerEndM & killvar 'timerEndM'
  1729. if alarm_holiday > 0: alarmVars['alarm_holiday'] = alarm_holiday & killvar 'alarm_holiday'
  1730. !! Pav shared apartment update
  1731. npctemp = 264
  1732. $npc_dna['A<<npctemp>>'] = '1290130369 1043654233 5049908515 3153411713 0721993774 2486220839 0288719745'
  1733. $npc_firstname['A<<npctemp>>'] = 'Yakov'
  1734. $npc_nickname['A<<npctemp>>'] = 'Yakov'
  1735. $npc_lastname['A<<npctemp>>'] = ''
  1736. $npc_usedname['A<<npctemp>>'] = 'Yakov'
  1737. npc_dob['A<<npctemp>>'] = 19961215
  1738. $npc_notes['A<<npctemp>>'] = 'Yakov is a fitness-focused sports enthusiast with blond hair and a tanned complexion.'
  1739. npc_gender['A<<npctemp>>'] = 0
  1740. gs 'npcstaticdefaults', 'defaults'
  1741. $npc_thdick['A<<npctemp>>'] = 'well proportioned'
  1742. npc_dick['A<<npctemp>>'] = 14
  1743. npc_sexskill['A<<npctemp>>'] = 1
  1744. $npc_occupation['A<<npctemp>>'] = 'personal_trainer'
  1745. npc_style['A<<npctemp>>'] = 5
  1746. npctemp = 265
  1747. $npc_dna['A<<npctemp>>'] = '1085950303 4348731991 6618084127 9067996922 8669859044 9431283301 0673267503'
  1748. $npc_firstname['A<<npctemp>>'] = 'Nestor'
  1749. $npc_nickname['A<<npctemp>>'] = 'Nestor'
  1750. $npc_lastname['A<<npctemp>>'] = ''
  1751. $npc_usedname['A<<npctemp>>'] = 'Nestor'
  1752. npc_dob['A<<npctemp>>'] = 19930127
  1753. $npc_notes['A<<npctemp>>'] = 'Nestor is a gopnik with a reputation for being rude and aggressive. His motto seems to be "the younger, the better," which can be concerning. He has a tough demeanor, with dark hair and dark skin, giving off an intimidating presence.'
  1754. npc_gender['A<<npctemp>>'] = 0
  1755. gs 'npcstaticdefaults', 'defaults'
  1756. $npc_thdick['A<<npctemp>>'] = 'massive'
  1757. npc_dick['A<<npctemp>>'] = 22
  1758. npc_sexskill['A<<npctemp>>'] = 1
  1759. npc_style['A<<npctemp>>'] = 2
  1760. npctemp = 266
  1761. $npc_dna['A<<npctemp>>'] = '5654106058 6395942483 3363408422 7113656738 1111862818 8859290040 7960339191'
  1762. $npc_firstname['A<<npctemp>>'] = 'Oleg'
  1763. $npc_nickname['A<<npctemp>>'] = 'Oleg'
  1764. $npc_lastname['A<<npctemp>>'] = ''
  1765. $npc_usedname['A<<npctemp>>'] = 'Oleg'
  1766. npc_dob['A<<npctemp>>'] = 19950712
  1767. $npc_notes['A<<npctemp>>'] = 'Oleg is a shy, young-looking guy with thick glasses, a slim frame, and very pale skin.'
  1768. npc_gender['A<<npctemp>>'] = 0
  1769. gs 'npcstaticdefaults', 'defaults'
  1770. $npc_thdick['A<<npctemp>>'] = 'thick'
  1771. npc_dick['A<<npctemp>>'] = 17
  1772. npc_sexskill['A<<npctemp>>'] = 1
  1773. $npc_occupation['A<<npctemp>>'] = 'programmer'
  1774. npc_style['A<<npctemp>>'] = 3
  1775. if sp_rel > 0: npc_rel['A264'] = sp_rel &killvar 'sp_rel'
  1776. if gp_rel > 0: npc_rel['A265'] = gp_rel &killvar 'gp_rel'
  1777. if nd_rel > 0: npc_rel['A266'] = nd_rel &killvar 'nd_rel'
  1778. if nd_hj > 0: oleg_hj = nd_hj &killvar 'nd_hj'
  1779. if nd_bj > 0: oleg_bj = nd_bj &killvar 'nd_bj'
  1780. if nd_bjFail > 0: oleg_bjFail = nd_bjFail &killvar 'nd_bjFail'
  1781. if nd_bjDeep > 0: oleg_bjDeep = nd_bjDeep &killvar 'nd_bjDeep'
  1782. if nd_bjFailPuke > 0: oleg_bjFailPuke = nd_bjFailPuke &killvar 'nd_bjFailPuke'
  1783. if nd_bjFailFaint > 0: oleg_bjFailFaint = nd_bjFailFaint &killvar 'nd_bjFailFaint'
  1784. if nd_swall > 0: oleg_swall = nd_swall &killvar 'nd_swall'
  1785. if nd_vagCumInsideUnwanted > 0: oleg_vagCumInsideUnwanted = nd_vagCumInsideUnwanted &killvar 'nd_vagCumInsideUnwanted'
  1786. if nd_vag > 0: oleg_vag = nd_vag &killvar 'nd_vag'
  1787. if nd_vagCumInside > 0: oleg_vagCumInside = nd_vagCumInside &killvar 'nd_vagCumInside'
  1788. if nd_anal > 0: oleg_anal = nd_anal &killvar 'nd_anal'
  1789. if nd_analCumInside > 0: oleg_analCumInside = nd_analCumInside &killvar 'nd_analCumInside'
  1790. if nd_vagCumInsideUnwanted > 0: oleg_vagCumInsideUnwanted = nd_vagCumInsideUnwanted &killvar 'nd_vagCumInsideUnwanted'
  1791. if nd_piss > 0: oleg_piss = nd_piss &killvar 'nd_piss'
  1792. if nd_doPornpos > 0: oleg_doPornpos = nd_doPornpos &killvar 'nd_doPornpos'
  1793. if nd_pornPos > 0: oleg_pornPos = nd_pornPos &killvar 'nd_pornPos'
  1794. if gp_bj > 0: nestor_bj = gp_bj &killvar 'gp_bj'
  1795. if gp_bjFail > 0: nestor_bjFail = gp_bjFail &killvar 'gp_bjFail'
  1796. if gp_bjDeep > 0: nestor_bjDeep = gp_bjDeep &killvar 'gp_bjDeep'
  1797. if gp_bjFailPuke > 0: nestor_bjFailPuke = gp_bjFailPuke &killvar 'gp_bjFailPuke'
  1798. if gp_bjFailFaint > 0: nestor_bjFailFaint = gp_bjFailFaint &killvar 'gp_bjFailFaint'
  1799. if gp_swall > 0: nestor_swall = gp_swall &killvar 'gp_swall'
  1800. if gp_vagCumInsideUnwanted > 0: nestor_vagCumInsideUnwanted = gp_vagCumInsideUnwanted &killvar 'gp_vagCumInsideUnwanted'
  1801. if gp_vag > 0: nestor_vag = gp_vag &killvar 'gp_vag'
  1802. if gp_vagCumInside > 0: nestor_vagCumInside = gp_vagCumInside &killvar 'gp_vagCumInside'
  1803. if gp_anal > 0: nestor_anal = gp_anal &killvar 'gp_anal'
  1804. if gp_analCumInside > 0: nestor_analCumInside = gp_analCumInside &killvar 'gp_analCumInside'
  1805. if gp_vagCumInsideUnwanted > 0: nestor_vagCumInsideUnwanted = gp_vagCumInsideUnwanted &killvar 'gp_vagCumInsideUnwanted'
  1806. if gp_doPornpos > 0: nestor_doPornpos = gp_doPornpos &killvar 'gp_doPornpos'
  1807. if gp_pornPos > 0: nestor_pornPos = gp_pornPos &killvar 'gp_pornPos'
  1808. if sp_bj > 0: yakov_bj = sp_bj &killvar 'sp_bj'
  1809. if sp_bjFail > 0: yakov_bjFail = sp_bjFail &killvar 'sp_bjFail'
  1810. if sp_bjDeep > 0: yakov_bjDeep = sp_bjDeep &killvar 'sp_bjDeep'
  1811. if sp_bjFailPuke > 0: yakov_bjFailPuke = sp_bjFailPuke &killvar 'sp_bjFailPuke'
  1812. if sp_bjFailFaint > 0: yakov_bjFailFaint = sp_bjFailFaint &killvar 'sp_bjFailFaint'
  1813. if sp_swall > 0: yakov_swall = sp_swall &killvar 'sp_swall'
  1814. if sp_vagCumInsideUnwanted > 0: yakov_vagCumInsideUnwanted = sp_vagCumInsideUnwanted &killvar 'sp_vagCumInsideUnwanted'
  1815. if sp_vag > 0: yakov_vag = sp_vag &killvar 'sp_vag'
  1816. if sp_vagCumInside > 0: yakov_vagCumInside = sp_vagCumInside &killvar 'sp_vagCumInside'
  1817. if sp_anal > 0: yakov_anal = sp_anal &killvar 'sp_anal'
  1818. if sp_analCumInside > 0: yakov_analCumInside = sp_analCumInside &killvar 'sp_analCumInside'
  1819. if sp_vagCumInsideUnwanted > 0: yakov_vagCumInsideUnwanted = sp_vagCumInsideUnwanted &killvar 'sp_vagCumInsideUnwanted'
  1820. if sp_doPornpos > 0: yakov_doPornpos = sp_doPornpos &killvar 'sp_doPornpos'
  1821. if sp_pornPos > 0: yakov_pornPos = sp_pornPos &killvar 'sp_pornPos'
  1822. if sp_hj > 0: yakov_hj = sp_hj &killvar 'sp_hj'
  1823. if sp_dildo > 0: yakov_dildo = sp_dildo &killvar'sp_dildo'
  1824. if oleg_analCumInside > 0: oleg_cumAnal = oleg_analCumInside
  1825. if oleg_analCumInside > 0: oleg_analCumInside -= oleg_analCumInsideUnwanted
  1826. if oleg_analCumInsideUnwanted > 0: oleg_analCumInsideUnwanted -= oleg_analCumInside
  1827. if nestor_analCumInside > 0: nestor_cumAnal = nestor_analCumInside
  1828. if nestor_analCumInside > 0: nestor_analCumInside -= nestor_analCumInsideUnwanted
  1829. if nestor_analCumInsideUnwanted > 0: nestor_analCumInsideUnwanted -= nestor_analCumInside
  1830. if yakov_analCumInside > 0: yakov_cumAnal = yakov_analCumInside
  1831. if yakov_analCumInside > 0: yakov_analCumInside -= yakov_analCumInsideUnwanted
  1832. if yakov_analCumInsideUnwanted > 0: yakov_analCumInsideUnwanted -= yakov_analCumInside
  1833. if oleg_vagCumInside > 0: oleg_cumVag = oleg_vagCumInside
  1834. if oleg_vagCumInside > 0: oleg_vagCumInside -= oleg_vagCumInsideUnwanted
  1835. if oleg_vagCumInsideUnwanted > 0: oleg_vagCumInsideUnwanted -= oleg_vagCumInside
  1836. if nestor_vagCumInside > 0: nestor_cumVag = nestor_vagCumInside
  1837. if nestor_vagCumInside > 0: nestor_vagCumInside -= nestor_vagCumInsideUnwanted
  1838. if nestor_vagCumInsideUnwanted > 0: nestor_vagCumInsideUnwanted -= nestor_vagCumInside
  1839. if yakov_vagCumInside > 0: yakov_cumVag = yakov_vagCumInside
  1840. if yakov_vagCumInside > 0: yakov_vagCumInside -= yakov_vagCumInsideUnwanted
  1841. if yakov_vagCumInsideUnwanted > 0: yakov_vagCumInsideUnwanted -= yakov_vagCumInside
  1842. killvar 'gp_horny'
  1843. killvar 'sp_horny'
  1844. killvar 'nd_horny'
  1845. killvar 'milkPause'
  1846. killvar 'gp_cumVol'
  1847. killvar 'sp_cumVol'
  1848. killvar 'nd_cumVol'
  1849. !! Prostitution blocking variable changes
  1850. prostitute['wl_block'] = prostitute['blocked']
  1851. prostitute['full_block'] = 0
  1852. !! New variables to manage a homeless Sveta and travel.
  1853. gs 'homes_properties_attr'
  1854. if accessible_property['accessible_home_count'] < 1:
  1855. gs 'homes_properties', 'set_homeless'
  1856. else
  1857. gs 'homes_properties', 'set_home', $home['current']
  1858. end
  1859. end
  1860. !!------------------------------------!!Version 0.9.1.1!!-----------------------------------------------!!
  1861. if temp_current_save_version < 00090101:
  1862. if pornstudio > 1: pornstudio = 1
  1863. if nichTanya['RelationshipBreakup'] ! 0 or nichTanya['RelationshipState'] ! 0:
  1864. if nichTanya['RelationshipBreakup'] = 1: nichTanya['Relationship'] = 2
  1865. if nichTanya['RelationshipState'] = 10: nichTanya['Relationship'] = 1
  1866. if nichTanya['RelationshipState'] = 20: nichTanya['Relationship'] = 3
  1867. if nichTanya['RelationshipState'] = 1000: nichTanya['Relationship'] = 4
  1868. if nichTanya['RelationshipState'] = 1010: nichTanya['Relationship'] = 5
  1869. if nichTanya['RelationshipState'] = 1011: nichTanya['Relationship'] = 6
  1870. gs 'shortgs', 'remove_array_element', 'nichTanya','RelationshipBreakup'
  1871. gs 'shortgs', 'remove_array_element', 'nichTanya','RelationshipState'
  1872. end
  1873. killvar '_n_timer'
  1874. if $theme['name'] = '':
  1875. if night_mode = 1:
  1876. gs 'themes', 'set_black'
  1877. elseif night_mode = 2:
  1878. gs 'themes', 'set_gray'
  1879. elseif night_mode = 3:
  1880. gs 'themes', 'set_white'
  1881. elseif night_mode = 4:
  1882. gs 'themes', 'set_custom'
  1883. else
  1884. gs 'themes', 'set_dynamic'
  1885. end
  1886. if $theme['type'] = 'static':
  1887. gs 'themes', 'apply_static'
  1888. else
  1889. if $location_type = 'public_outdoors' or $location_type = 'secluded' or $location_type = 'event_outdoors':
  1890. gs 'themes', 'apply_dynamic', 'outdoors'
  1891. else
  1892. gs 'themes', 'apply_dynamic', 'indoors'
  1893. end
  1894. end
  1895. killvar 'night_mode'
  1896. killvar '$bgcolor'
  1897. killvar '$bgcolor1'
  1898. killvar '$bgcolor2'
  1899. killvar '$bgcolor3'
  1900. killvar '$fgcolor'
  1901. killvar '$fgcolor1'
  1902. end
  1903. end
  1904. !!------------------------------------!!Version 0.9.2.0!!-----------------------------------------------!!
  1905. if temp_current_save_version < 00090200:
  1906. ! Body update -- By Anjuna
  1907. if genbsize ! 0: pcs_mass['bust_gen'] = genbsize & killvar 'genbsize'
  1908. if nbsize ! 0: pcs_mass['bust'] = nbsize & killvar 'nbsize'
  1909. if pcs_mass['butt_gen'] = 0: pcs_mass['butt_gen'] = 20
  1910. if salo ! 0:
  1911. temp_totmass = salo + pcs_mass['bust']
  1912. temp_totgenmass = 60 + pcs_mass['bust_gen'] + pcs_mass['butt_gen']
  1913. pcs_mass['bust'] = (temp_totmass * pcs_mass['bust_gen']) / temp_totgenmass
  1914. pcs_mass['butt'] = (temp_totmass * pcs_mass['butt_gen']) / temp_totgenmass
  1915. pcs_mass['body'] = temp_totmass - pcs_mass['bust'] - pcs_mass['butt']
  1916. killvar 'salo'
  1917. killvar 'temp_totmass'
  1918. killvar 'temp_totgenmass'
  1919. end
  1920. if vofat ! 0: bodyVars['vofat'] = vofat & killvar 'vofat'
  1921. if vhips ! 0: bodyVars['vhips'] = vhips & killvar 'vhips'
  1922. if wratio ! 0: bodyVars['wratio'] = wratio & killvar 'wratio'
  1923. if bratio ! 0: bodyVars['bratio'] = bratio & killvar 'bratio'
  1924. if hratio ! 0: bodyVars['hratio'] = hratio & killvar 'hratio'
  1925. if magicf2b ! 0: bodyVars['bust_magic'] = magicf2b & killvar 'magicf2b'
  1926. if silicone_butt ! 0: bodyVars['butt_silicone'] = silicone_butt & killvar 'silicone_butt'
  1927. if silicone ! 0: bodyVars['bust_silicone'] = silicone & killvar 'silicone'
  1928. if butt_cheat ! 0: bodyVars['butt_cheat'] = butt_cheat & killvar 'butt_cheat'
  1929. if pcs_mass['bust_message'] = 0: pcs_mass['bust_message'] = pcs_mass['bust']
  1930. if pcs_mass['butt_message'] = 0: pcs_mass['butt_message'] = pcs_mass['butt']
  1931. !!update_clothing
  1932. !! Do not think we need this anymore. Since pcs_hips should now be basically unchanged.
  1933. !!gs 'tailor2'
  1934. !! Typo Correction -- By Derryth_Love
  1935. if katjaQW['knows_masterbation'] > 0:
  1936. katjaQW['knows_masturbation'] = katjaQW['knows_masterbation']
  1937. gs 'shortgs', 'remove_array_element', 'katjaQW', 'knows_masterbation'
  1938. end
  1939. !! body_structure introduction and variable migration:
  1940. if $bmi_desc ! '': $bodyVars['bmi_desc'] = $bmi_desc & killvar '$bmi_desc'
  1941. if $body ! '': $bodyVars['desc'] = $body & killvar '$body'
  1942. !! Migration of alterstrtimg and start_type
  1943. if arrsize('start_type') ! 4 and alterstrtimg ! 0:
  1944. if mid($start_type[0], 1, 2) = 'sg':
  1945. $temp_st[0] = 'sg'
  1946. elseif mid($start_type[0], 1, 3) = 'uni':
  1947. $temp_st[0] = 'uni'
  1948. else
  1949. $temp_st[0] = 'city'
  1950. end
  1951. $temp_st[1] = $start_type[1]
  1952. if $temp_st[1] = '': $temp_st[1] = 'magic'
  1953. if alterstrtimg >= 8 and alterstrtimg <= 11:
  1954. $temp_st[2] = 'nerd'
  1955. if alterstrtimg = 8:
  1956. $temp_st[3] = 'nerdqueen'
  1957. elseif alterstrtimg = 9:
  1958. $temp_st[3] = 'goodstudent'
  1959. elseif alterstrtimg = 10:
  1960. $temp_st[3] = 'computergeek'
  1961. else
  1962. $temp_st[3] = 'chessplayer'
  1963. end
  1964. elseif alterstrtimg >= 12 and alterstrtimg <= 15:
  1965. $temp_st[2] = 'jock'
  1966. if alterstrtimg = 12:
  1967. $temp_st[3] = 'volleyball'
  1968. elseif alterstrtimg = 13:
  1969. $temp_st[3] = 'dancer'
  1970. elseif alterstrtimg = 14:
  1971. $temp_st[3] = 'runner'
  1972. else
  1973. $temp_st[3] = 'football'
  1974. end
  1975. elseif alterstrtimg >= 16 and alterstrtimg <= 17:
  1976. $temp_st[2] = 'cool'
  1977. if alterstrtimg = 16:
  1978. $temp_st[3] = 'socialite'
  1979. elseif alterstrtimg = 17:
  1980. $temp_st[3] = 'beautiful'
  1981. end
  1982. elseif alterstrtimg >= 18 and alterstrtimg <= 21:
  1983. $temp_st[2] = 'gopnik'
  1984. if alterstrtimg = 18:
  1985. $temp_st[3] = 'gopnikstart'
  1986. elseif alterstrtimg = 19:
  1987. $temp_st[3] = 'troublemaker'
  1988. elseif alterstrtimg = 20:
  1989. $temp_st[3] = 'vitekgf'
  1990. else
  1991. $temp_st[3] = 'alternative'
  1992. end
  1993. elseif alterstrtimg >= 22 and alterstrtimg <= 28:
  1994. $temp_st[2] = 'outcast'
  1995. if alterstrtimg = 22:
  1996. $temp_st[3] = 'friendless'
  1997. elseif alterstrtimg = 23:
  1998. $temp_st[3] = 'uglyduckling'
  1999. elseif alterstrtimg = 24:
  2000. $temp_st[3] = 'goodgirl'
  2001. elseif alterstrtimg = 25:
  2002. $temp_st[3] = 'slut'
  2003. else
  2004. $temp_st[3] = 'goth'
  2005. end
  2006. elseif alterstrtimg = 31:
  2007. $temp_st[2] = 'cool'
  2008. $temp_st[3] = 'anorexic'
  2009. else
  2010. $temp_st[2] = 'outcast'
  2011. $temp_st[3] = 'friendless'
  2012. end
  2013. killvar 'start_type'
  2014. killvar 'alterstrtimg'
  2015. $start_type['loc'] = $temp_st[0]
  2016. $start_type['magic'] = $temp_st[1]
  2017. $start_type['group'] = $temp_st[2]
  2018. $start_type['cat'] = $temp_st[3]
  2019. killvar 'temp_st'
  2020. end
  2021. if $start_type['loc'] = '': $start_type['loc'] = 'city'
  2022. if $start_type['magic'] = '': $start_type['magic'] = 'magic'
  2023. if $start_type['group'] = '': $start_type['group'] = 'outcast'
  2024. if $start_type['cat'] = '': $start_type['cat'] = 'friendless'
  2025. !update fashionista to fashionista_dress\
  2026. if arrsize('fashionista') > 0:
  2027. :loopfashionista2
  2028. if fashionista[i] = 1:
  2029. fashionista_dress[i] = 1
  2030. fashionista_dress_h[i] = fashionista_h[i]
  2031. fashionista_dress_b[i] = fashionista_b[i]
  2032. fashionista_dress_s[i] = fashionista_s[i]
  2033. end
  2034. i += 4
  2035. if i <= 200:jump 'loopfashionista2'
  2036. killvar 'fashionista'
  2037. killvar 'fashionista_h'
  2038. killvar 'fashionista_b'
  2039. killvar 'fashionista_s'
  2040. end
  2041. ! Transport update
  2042. if Trainpass_day ! 0: transportVars['trainpass_day'] = Trainpass_day & killvar 'Trainpass_day'
  2043. killvar 'train_event'
  2044. ! Therapist
  2045. if therapist_key[1] > 0: therapistQW['hotel_day'] = therapist_key[1] & killvar 'therapist_key', 1
  2046. if therapist_key > 0: therapistQW['hotel_key'] = therapist_key & killvar 'therapist_key'
  2047. ! Ballet Dorm
  2048. if arrsize('homes') = 16: $homes[] = 'hotel_therapist'
  2049. if $home_name['hotel_therapist'] = '':
  2050. $home_name['hotel_therapist'] = 'hotel_therapist'
  2051. $home_name['17'] = 'hotel_therapist'
  2052. end
  2053. if arrsize('homes') = 17: $homes[] = 'pushkin_ballet_dorm'
  2054. if $home_name['pushkin_ballet_dorm'] = '':
  2055. $home_name['pushkin_ballet_dorm'] = 'pushkin_ballet_dorm'
  2056. $home_name['18'] = 'pushkin_ballet_dorm'
  2057. end
  2058. ! Call Trace update
  2059. killvar 'call_trace_enabled'
  2060. killvar 'call_trace_shown'
  2061. killvar 'call_trace_manual'
  2062. killvar '$call_trace'
  2063. end
  2064. !!------------------------------------!!Version 0.9.2.1!!-----------------------------------------------!!
  2065. if temp_current_save_version < 00090201:
  2066. if btwarn > 0: bodyVars['weight_warning'] = btwarn & killvar 'btwarn'
  2067. if pcs_mass['body_message'] = 0: pcs_mass['body_message'] = pcs_masss['body']
  2068. !! Clears broken pregnancy data
  2069. rej_idx = 0
  2070. rej_sz = arrsize('Babyptype')
  2071. :lutcycloop
  2072. if rej_idx < rej_sz:
  2073. if $ChildFath[rej_idx] = '':
  2074. killvar 'polkid',rej_idx
  2075. killvar '$kidname',rej_idx
  2076. killvar 'kidage',rej_idx
  2077. killvar 'daykid',rej_idx
  2078. killvar 'monthkid',rej_idx
  2079. killvar 'yearkid',rej_idx
  2080. killvar 'Babyptype',rej_idx
  2081. killvar '$ChildFath',rej_idx
  2082. killvar 'hairkid',rej_idx
  2083. killvar 'eyeskid',rej_idx
  2084. killvar 'cumarrcon',rej_idx
  2085. FertEgg -= 1
  2086. end
  2087. rej_idx += 1
  2088. jump 'lutcycloop'
  2089. if arrsize('Babyptype') <= 0:
  2090. preg = 0
  2091. pregchem = 0
  2092. knowpreg = 0
  2093. end
  2094. end
  2095. killvar 'rej_idx'
  2096. killvar 'rej_sz'
  2097. end
  2098. !!------------------------------------!!Version 0.9.2.2!!-----------------------------------------------!!
  2099. if temp_current_save_version < 00090202:
  2100. !!updating of BDSM club variables to use array and be generally better
  2101. if BDSMtaxi = 1:
  2102. bdsmclub['unlocked'] = 1
  2103. if BDSMClubIn = 1:
  2104. bdsmclub['intro'] = 1
  2105. if $BDSMrole = 's':
  2106. bdsmclub['subtraining'] = 3
  2107. else
  2108. bdsmclub['domtraining'] = 1
  2109. end
  2110. bdsmclub['payday'] = BDSMpayDay
  2111. end
  2112. end
  2113. killvar'BDSMtaxi'
  2114. killvar'BDSMmeet'
  2115. killvar'BDSMClubIn'
  2116. killvar'BDSMClub'
  2117. killvar'DSMday'
  2118. killvar'BDSMrole'
  2119. killvar'BDSMpayDay'
  2120. if motherQW['seen_dildos'] > 0 and motherKnowDildo = 0: motherKnowDildo = 1
  2121. if motherQW['seen_dildos'] = 0 and motherKnowDildo > 0: motherQW['seen_dildos'] = 1
  2122. if motherKnowRaped > 0: motherKnowSpravka = 1
  2123. end
  2124. !!------------------------------------!!Version 0.9.2.3!!-----------------------------------------------!!
  2125. if temp_current_save_version < 00090203:
  2126. !!updates the exp to the new scale so you don''t go down in stat
  2127. gs 'stat_sklattrib'
  2128. i = 0 & x = 1
  2129. :rstloop
  2130. expadj = func('_difficulty','getexpadj')
  2131. tl = 0
  2132. :trtrstloop
  2133. tltp = 0
  2134. :trtrstinsdlp
  2135. !! Note this loop is done with a flag set in the dynamic that is checked outside; this is because testing showed inconsistent results when jumping from inside the dynamic and with the whole loop in the dynamic.
  2136. dynamic "
  2137. if <<$traitattskl[tl]>> > 0 and <<$traitattskl[tl]>>[tltp + 1] = x and <<$traitattskl[tl]>>[tltp + 2] = i and <<$traitattskl[tl]>>[tltp + 3] ! 0: expadj += <<$traitattskl[tl]>>[tltp + 3]
  2138. if <<$traitattskl[tl]>>[tltp + 11] ! 0: insdlpflag = 1
  2139. "
  2140. if insdlpflag = 1: tltp += 10 & insdlpflag = 0 & jump 'trtrstinsdlp'
  2141. tl += 1
  2142. if tl < arrsize ('$traitattskl'): jump 'trtrstloop'
  2143. killvar 'tl' & killvar 'tltp' & killvar 'insdlpflag'
  2144. if x = 1:
  2145. $attskltmp = $att_name[i]
  2146. else
  2147. $attskltmp = $skl_name[i]
  2148. end
  2149. dynamic "
  2150. if <<$attskltmp>>_lvl > 0:
  2151. <<$attskltmp>>_exp -= (expadj * (<<$attskltmp>>_lvl - 1) * (<<$attskltmp>>_lvl - 1) / 180)
  2152. <<$attskltmp>>_exp += (expadj *73* (<<$attskltmp>>_lvl - 1) * (<<$attskltmp>>_lvl - 1) / 2730)
  2153. <<$attskltmp>>_mem = <<$attskltmp>>_exp
  2154. end
  2155. "
  2156. killvar 'expadj' & killvar '$attskltmp'
  2157. i += 1
  2158. if (x = 1 and i < arrsize ('$att_name')) or (x = 2 and i < arrsize ('$skl_name')): jump 'rstloop'
  2159. i = 0 & x += 1
  2160. if x < 3: jump 'rstloop'
  2161. killvar 'i' & killvar 'x'
  2162. end
  2163. !!------------------------------------!!Version 0.9.2.5!!-----------------------------------------------!!
  2164. if temp_current_save_version < 00090204:
  2165. if oleg_hj > 0: Oleg['hj'] = oleg_hj &killvar 'oleg_hj'
  2166. if oleg_bj > 0: Oleg['bj'] = oleg_bj &killvar 'oleg_bj'
  2167. if oleg_bjFail > 0: Oleg['bjFail'] = oleg_bjFail &killvar 'oleg_bjFail'
  2168. if oleg_bjDeep > 0: Oleg['bjDeep'] = oleg_bjDeep &killvar 'oleg_bjDeep'
  2169. if oleg_bjFailPuke > 0: Oleg['bjFailPuke'] = oleg_bjFailPuke &killvar 'oleg_bjFailPuke'
  2170. if oleg_bjFailFaint > 0: Oleg['bjFailFaint'] = oleg_bjFailFaint &killvar 'oleg_bjFailFaint'
  2171. if oleg_swall > 0: Oleg['swall'] = oleg_swall &killvar 'oleg_swall'
  2172. if oleg_vagCumInsideUnwanted > 0: Oleg['vagCumInsideUnwanted'] = oleg_vagCumInsideUnwanted &killvar 'oleg_vagCumInsideUnwanted'
  2173. if oleg_vag > 0: Oleg['vag'] = oleg_vag &killvar 'oleg_vag'
  2174. if oleg_vagCumInside > 0: Oleg['vagCumInside'] = oleg_vagCumInside &killvar 'oleg_vagCumInside'
  2175. if oleg_anal > 0: Oleg['anal'] = oleg_anal &killvar 'oleg_anal'
  2176. if oleg_analCumInside > 0: Oleg['analCumInside'] = oleg_analCumInside &killvar 'oleg_analCumInside'
  2177. if oleg_vagCumInsideUnwanted > 0: Oleg['vagCumInsideUnwanted'] = oleg_vagCumInsideUnwanted &killvar 'oleg_vagCumInsideUnwanted'
  2178. if oleg_piss > 0: Oleg['piss'] = oleg_piss &killvar 'oleg_piss'
  2179. if oleg_doPornpos > 0: Oleg['doPornpos'] = oleg_doPornpos &killvar 'oleg_doPornpos'
  2180. if oleg_pornPos > 0: Oleg['pornPos'] = oleg_pornPos &killvar 'oleg_pornPos'
  2181. if nestor_bj > 0: Nestor['bj'] = nestor_bj &killvar 'nestor_bj'
  2182. if nestor_bjFail > 0: Nestor['bjFail'] = nestor_bjFail &killvar 'nestor_bjFail'
  2183. if nestor_bjDeep > 0: Nestor['bjDeep'] = nestor_bjDeep &killvar 'nestor_bjDeep'
  2184. if nestor_bjFailPuke > 0: Nestor['bjFailPuke'] = nestor_bjFailPuke &killvar 'nestor_bjFailPuke'
  2185. if nestor_bjFailFaint > 0: Nestor['bjFailFaint'] = nestor_bjFailFaint &killvar 'nestor_bjFailFaint'
  2186. if nestor_swall > 0: Nestor['swall'] = nestor_swall &killvar 'nestor_swall'
  2187. if nestor_vagCumInsideUnwanted > 0: Nestor['vagCumInsideUnwanted'] = nestor_vagCumInsideUnwanted &killvar 'nestor_vagCumInsideUnwanted'
  2188. if nestor_vag > 0: Nestor['vag'] = nestor_vag &killvar 'nestor_vag'
  2189. if nestor_vagCumInside > 0: Nestor['vagCumInside'] = nestor_vagCumInside &killvar 'nestor_vagCumInside'
  2190. if nestor_anal > 0: Nestor['anal'] = nestor_anal &killvar 'nestor_anal'
  2191. if nestor_analCumInside > 0: Nestor['analCumInside'] = nestor_analCumInside &killvar 'nestor_analCumInside'
  2192. if nestor_vagCumInsideUnwanted > 0: Nestor['vagCumInsideUnwanted'] = nestor_vagCumInsideUnwanted &killvar 'nestor_vagCumInsideUnwanted'
  2193. if nestor_doPornpos > 0: Nestor['doPornpos'] = nestor_doPornpos &killvar 'nestor_doPornpos'
  2194. if nestor_pornPos > 0: Nestor['pornPos'] = nestor_pornPos &killvar 'nestor_pornPos'
  2195. if yakov_bj > 0: Yakov['bj'] = yakov_bj &killvar 'yakov_bj'
  2196. if yakov_bjFail > 0: Yakov['bjFail'] = yakov_bjFail &killvar 'yakov_bjFail'
  2197. if yakov_bjDeep > 0: Yakov['bjDeep'] = yakov_bjDeep &killvar 'yakov_bjDeep'
  2198. if yakov_bjFailPuke > 0: Yakov['bjFailPuke'] = yakov_bjFailPuke &killvar 'yakov_bjFailPuke'
  2199. if yakov_bjFailFaint > 0: Yakov['bjFailFaint'] = yakov_bjFailFaint &killvar 'yakov_bjFailFaint'
  2200. if yakov_swall > 0: Yakov['swall'] = yakov_swall &killvar 'yakov_swall'
  2201. if yakov_vagCumInsideUnwanted > 0: Yakov['vagCumInsideUnwanted'] = yakov_vagCumInsideUnwanted &killvar 'yakov_vagCumInsideUnwanted'
  2202. if yakov_vag > 0: Yakov['vag'] = yakov_vag &killvar 'yakov_vag'
  2203. if yakov_vagCumInside > 0: Yakov['vagCumInside'] = yakov_vagCumInside &killvar 'yakov_vagCumInside'
  2204. if yakov_anal > 0: Yakov['anal'] = yakov_anal &killvar 'yakov_anal'
  2205. if yakov_analCumInside > 0: Yakov['analCumInside'] = yakov_analCumInside &killvar 'yakov_analCumInside'
  2206. if yakov_vagCumInsideUnwanted > 0: Yakov['vagCumInsideUnwanted'] = yakov_vagCumInsideUnwanted &killvar 'yakov_vagCumInsideUnwanted'
  2207. if yakov_doPornpos > 0: Yakov['doPornpos'] = yakov_doPornpos &killvar 'yakov_doPornpos'
  2208. if yakov_pornPos > 0: Yakov['pornPos'] = yakov_pornPos &killvar 'yakov_pornPos'
  2209. if yakov_hj > 0: Yakov['hj'] = yakov_hj &killvar 'yakov_hj'
  2210. if yakov_dildo > 0: Yakov['dildo'] = yakov_dildo &killvar'yakov_dildo'
  2211. if rentLeft > 0: shared_apt['rentLeft'] = rentLeft & killvar 'rentLeft'
  2212. if weekNum > 0: shared_apt['weekNum'] = weekNum & killvar 'weekNum'
  2213. if rentWeekNum > 0: shared_apt['rentWeekNum'] = rentWeekNum & killvar 'rentWeekNum'
  2214. if servitudeLvl > 0: shared_apt['servitudeLvl'] = servitudeLvl & killvar 'servitudeLvl'
  2215. if servicePaid > 0: shared_apt['servicePaid'] = servicePaid & killvar 'servicePaid'
  2216. if cashPaid > 0: shared_apt['cashPaid'] = cashPaid & killvar 'cashPaid'
  2217. if pavSharedAptEnabled > 0: shared_apt['enabled'] = pavSharedAptEnabled & killvar 'pavSharedAptEnabled'
  2218. if pavIntroStep > 0: shared_apt['pavIntroStep'] = pavIntroStep & killvar 'pavIntroStep'
  2219. if rentWeekly > 0: shared_apt['rentWeekly'] = rentWeekly & killvar 'rentWeekly'
  2220. if price > 0: shared_apt['price'] = price & killvar 'price'
  2221. if vcard > 0: mc_inventory['vintage_card'] = vcard & killvar 'vcard'
  2222. if card > 0: mc_inventory['card'] = card & killvar 'card'
  2223. if sexCh > 0: shared_apt['sexCh'] = sexCh & killvar 'sexCh'
  2224. if actionR > 0: shared_apt['actionR'] = actionR & killvar 'actionR'
  2225. if seenAd > 0: shared_apt['seenAd'] = seenAd & killvar 'seenAd'
  2226. if gobelen > 0: mc_inventory['tapestry'] = gobelen & killvar 'gobelen'
  2227. if GarTorgItem > 0: mc_inventory['trinkets_garage'] = GarTorgItem & killvar 'GarTorgItem'
  2228. if TovarL > 0: mc_inventory['trinkets_home'] = TovarL & killvar 'TovarL'
  2229. if perenGarTov > 0: killvar 'perenGarTov'
  2230. if mc_inventory['refill_bottle'] > 0 and mc_inventory['refill_bottle_water'] = 0: mc_inventory['refill_bottle_water'] = mc_inventory['refill_bottle'] & mc_inventory['refill_bottle'] = 1
  2231. killvar'kuhdrova'
  2232. if Oleg['analCumInside'] > 0: Oleg['cumAnal'] = Oleg['analCumInside']
  2233. if Oleg['analCumInside'] > 0: Oleg['analCumInside'] -= Oleg['analCumInsideUnwanted']
  2234. if Oleg['analCumInsideUnwanted'] > 0: Oleg['analCumInsideUnwanted'] -= Oleg['analCumInside']
  2235. if Nestor['analCumInside'] > 0: Nestor['cumAnal'] = Nestor['analCumInside']
  2236. if Nestor['analCumInside'] > 0: Nestor['analCumInside'] -= Nestor['analCumInsideUnwanted']
  2237. if Nestor['analCumInsideUnwanted'] > 0: Nestor['analCumInsideUnwanted'] -= Nestor['analCumInside']
  2238. if Yakov['analCumInside'] > 0: Yakov['cumAnal'] = Yakov['analCumInside']
  2239. if Yakov['analCumInside'] > 0: Yakov['analCumInside'] -= Yakov['analCumInsideUnwanted']
  2240. if Yakov['analCumInsideUnwanted'] > 0: Yakov['analCumInsideUnwanted'] -= Yakov['analCumInside']
  2241. if Oleg['vagCumInside'] > 0: Oleg['cumVag'] = Oleg['vagCumInside']
  2242. if Oleg['vagCumInside'] > 0: Oleg['vagCumInside'] -= Oleg['vagCumInsideUnwanted']
  2243. if Oleg['vagCumInsideUnwanted'] > 0: Oleg['vagCumInsideUnwanted'] -= Oleg['vagCumInside']
  2244. if Nestor['vagCumInside'] > 0: Nestor['cumVag'] = Nestor['vagCumInside']
  2245. if Nestor['vagCumInside'] > 0: Nestor['vagCumInside'] -= Nestor['vagCumInsideUnwanted']
  2246. if Nestor['vagCumInsideUnwanted'] > 0: Nestor['vagCumInsideUnwanted'] -= Nestor['vagCumInside']
  2247. if Yakov['vagCumInside'] > 0: Yakov['cumVag'] = Yakov['vagCumInside']
  2248. if Yakov['vagCumInside'] > 0: Yakov['vagCumInside'] -= Yakov['vagCumInsideUnwanted']
  2249. if Yakov['vagCumInsideUnwanted'] > 0: Yakov['vagCumInsideUnwanted'] -= Yakov['vagCumInside']
  2250. !! Drugs variable migration
  2251. if NarkImmune > 0: drugVars['cheat_immune'] = NarkImmune & killvar 'NarkImmune'
  2252. if SNarkPriton > 0: drugVars['city_drugden'] = SNarkPriton & killvar 'SNarkPriton'
  2253. if snarkozak > 0: drugVars['pav_dropoff'] = snarkozak & killvar 'snarkozak'
  2254. if siga_bum > 0: mc_inventory['cigarettes'] += 1 & killvar 'siga_bum'
  2255. if smoker > 0: drugVars['cigarettes_used'] = smoker & killvar 'smoker'
  2256. if smoke_exp > 0: drugVars['cigarettes_exp'] = smoke_exp & killvar 'smoke_exp'
  2257. if smokerneed > 0: drugVars['cigarettes_need'] = smokerneed & killvar 'smokerneed'
  2258. if smokeDay > 0: drugVars['cigarettes_day'] = smokeDay & killvar 'smokeDay'
  2259. if smokeHour > 0: drugVars['cigarettes_hour'] = smokeHour & killvar 'smokeHour'
  2260. if smokeminut > 0: drugVars['cigarettes_minute'] = smokeminut & killvar 'smokeminut'
  2261. if joint < 0: killvar 'joint'
  2262. if joint > 0: mc_inventory['joints'] = joint & killvar 'joint'
  2263. if jointhigh > 0: drugVars['weed_high'] = jointhigh & killvar 'jointhigh'
  2264. if joint_smoked > 0: drugVars['weed_used'] = joint_smoked & killvar 'joint_smoked'
  2265. if joint_exp > 0: drugVars['weed_exp'] = joint_exp & killvar 'joint_exp'
  2266. if jointday > 0: drugVars['weed_day'] = jointday & killvar 'jointday'
  2267. if jointhour > 0: drugVars['weed_hour'] = jointhour & killvar 'jointhour'
  2268. if jointminut > 0: drugVars['weed_minute'] = jointminut & killvar 'jointminut'
  2269. if SNarkTimes['inject'] > 0: drugVars['heroin_inject'] = SNarkTimes['inject']
  2270. if StrongNarkota > 0: drugVars['heroin_high'] = StrongNarkota & killvar 'StrongNarkota'
  2271. if SNarkTimes > 0: drugVars['heroin_used'] = SNarkTimes & killvar 'SNarkTimes'
  2272. if heroin_exp > 0: drugVars['heroin_exp'] = heroin_exp & killvar 'heroin_exp'
  2273. if SLomka > 0: drugVars['heroin_need'] = SLomka & killvar 'SLomka'
  2274. if narkozakday > 0: drugVars['heroin_day'] = narkozakday & killvar 'narkozakday'
  2275. if NarkShmaraTimes > 0: drugVars['heroin_whore'] = NarkShmaraTimes & killvar 'NarkShmaraTimes'
  2276. if SNarkvnesh > 0: drugVars['heroin_penalty'] = SNarkvnesh & killvar 'SNarkvnesh'
  2277. if dur > 0: mc_inventory['cocaine'] = dur & killvar 'dur'
  2278. if nark > 0: drugVars['cocaine_system'] = nark & killvar 'nark'
  2279. if cocaine_count > 0: drugVars['cocaine_used'] = cocaine_count & killvar 'cocaine_count'
  2280. if cocaine_exp > 0: drugVars['cocaine_exp'] = cocaine_exp & killvar 'cocaine_exp'
  2281. if narkday > 0: drugVars['cocaine_day'] = narkday & killvar 'narkday'
  2282. if narkoman > 0: drugVars['cocaine_addict'] = narkoman & killvar 'narkoman'
  2283. if willday_cocaine > 0: drugVars['cocaine_willday'] = willday_cocaine & killvar 'willday_cocaine'
  2284. if amphetamine > 0: mc_inventory['amphetamine'] = amphetamine & killvar 'amphetamine'
  2285. if amphHigh > 0: drugVars['amphetamine_high'] = amphHigh & killvar 'amphHigh'
  2286. if amphetamine_count > 0: drugVars['amphetamine_used'] = amphetamine_count & killvar 'amphetamine_count'
  2287. if amphetamine_exp > 0: drugVars['amphetamine_exp'] = amphetamine_exp & killvar 'amphetamine_exp'
  2288. if amphIntake > 0: drugVars['amphetamine_intake'] = amphIntake & killvar 'amphIntake'
  2289. if amphWithdrawl > 0: drugVars['amphetamine_withdrawl'] = amphWithdrawl & killvar 'amphWithdrawl'
  2290. if amphetamineBonus > 0: drugVars['amphetamine_bonus'] = amphetamineBonus & killvar 'amphetamineBonus'
  2291. if mentats_have > 0: mc_inventory['mentats'] = mentats_have & killvar 'mentats_have'
  2292. if mentats_dose > 0: drugVars['mentats_dose'] = mentats_dose & killvar 'mentats_dose'
  2293. if alcohol_count > 0: drugVars['alcohol_used'] = alcohol_count & killvar 'alcohol_count'
  2294. if alcohol_exp > 0: drugVars['alcohol_exp'] = alcohol_exp & killvar 'alcohol_exp'
  2295. if aphrodisiac_have > 0: mc_inventory['aphrodisiac'] = aphrodisiac_have & killvar 'aphrodisiac_have'
  2296. if aphrodisiac_addiction > 0: drugVars['aphrodisiac_addict'] = aphrodisiac_addiction & killvar 'aphrodisiac_addiction'
  2297. if aphrodisiac_timer > 0: drugVars['aphrodisiac_timer'] = aphrodisiac_timer & killvar 'aphrodisiac_timer'
  2298. if aphrodisiac_overdose > 0: drugVars['aphrodisiac_overdose'] = aphrodisiac_overdose & killvar 'aphrodisiac_overdose'
  2299. if $aphrodisiac_msg ! '': $drugVars['aphrodisiac_msg'] = $aphrodisiac_msg & killvar 'aphrodisiac_msg'
  2300. if steroid_have > 0: mc_inventory['steroids'] = steroid_have & killvar 'steroid_have'
  2301. if steroid_counter > 0: drugVars['steroids_used'] = steroid_counter & killvar 'steroid_counter'
  2302. if steroid_dose > 0: drugVars['steroids_dose'] = steroid_dose & killvar 'steroid_dose'
  2303. if bcream_have > 0: mc_inventory['breastcream'] = bcream_have & killvar 'bcream_have'
  2304. if bcream_used > 0: drugVars['breastcream_dose'] = bcream_used & killvar 'bcream_used'
  2305. ! Adding the new room in gadukino to the home_name array:
  2306. $home_name['gad_gpbarn'] = 'grandparents_house'
  2307. ! heart-shaped butt added:
  2308. dynamic $npc_preferences['A14']
  2309. if arrpos('$npc_pref_traits', 'body_ass_heart') < 0:
  2310. gs 'npc_set_preference', 'A14', 'body_ass_heart', 'like'
  2311. end
  2312. killvar 'npc_pref_traits'
  2313. ! Professional runner variable migration
  2314. if begsec > 0: runnerQW['joined_team'] = begsec & killvar 'begsec'
  2315. if run_comp_day > 0: runnerQW['comp_day'] = run_comp_day & killvar 'run_comp_day'
  2316. if kolsorev > 0: runnerQW['races_ran'] = kolsorev & killvar 'kolsorev'
  2317. if razradbeg > 0: runnerQW['prof_stage'] = razradbeg & killvar 'razradbeg'
  2318. if bronzebeg > 0: runnerQW['bronze_medals'] = bronzebeg & killvar 'bronzebeg'
  2319. if silverbeg > 0: runnerQW['silver_medals'] = silverbeg & killvar 'silverbeg'
  2320. if goldbeg > 0: runnerQW['gold_medals'] = goldbeg & killvar 'goldbeg'
  2321. if razradbegK > 0: runnerQW['qualifiers'] = razradbegK & killvar 'razradbegK'
  2322. if razradbegEB > 0: runnerQW['champ_bronze'] = razradbegEB & killvar 'razradbegEB'
  2323. if razradbegES > 0: runnerQW['champ_silver'] = razradbegES & killvar 'razradbegES'
  2324. if razradbegEG > 0: runnerQW['champ_gold'] = razradbegEG & killvar 'razradbegEG'
  2325. if SchoolSorev > 0: runnerQW['pav_racetype'] = SchoolSorev & killvar 'SchoolSorev'
  2326. if LocalRun > 0: runnerQW['pav_stage'] = LocalRun & killvar 'LocalRun'
  2327. if swinbeg > 0: runnerQW['pav_wins1'] = swinbeg & killvar 'swinbeg'
  2328. if swinbeggor > 0: runnerQW['pav_wins2'] = swinbeggor & killvar 'swinbeggor'
  2329. !! Flash variable migration to singular array (which is killvared on site)
  2330. if dress_ind_bra > 0: killvar 'dress_ind_bra'
  2331. if dress_ind_tits > 0: killvar 'dress_ind_tits'
  2332. if dress_ind_panties > 0: killvar 'dress_ind_panties'
  2333. if dress_ind_pussy > 0: killvar 'dress_ind_pussy'
  2334. if dress_ind_pussy_hairy > 0: killvar 'dress_ind_pussy_hairy'
  2335. if dress_ind_pantyrear > 0: killvar 'dress_ind_pantyrear'
  2336. if dress_ind_butt > 0: killvar 'dress_ind_butt'
  2337. if dress_ind_full > 0: killvar 'dress_ind_full'
  2338. if dress_ind_full_hairy > 0: killvar 'dress_ind_full_hairy'
  2339. if dress_out_bra > 0: killvar 'dress_out_bra'
  2340. if dress_out_tits > 0: killvar 'dress_out_tits'
  2341. if dress_out_panties > 0: killvar 'dress_out_panties'
  2342. if dress_out_pussy > 0: killvar 'dress_out_pussy'
  2343. if dress_out_pussy_hairy > 0: killvar 'dress_out_pussy_hairy'
  2344. if dress_out_pantyrear > 0: killvar 'dress_out_pantyrear'
  2345. if dress_out_butt > 0: killvar 'dress_out_butt'
  2346. if dress_out_butt_plug > 0: killvar 'dress_out_butt_plug'
  2347. if dress_out_full > 0: killvar 'dress_out_full'
  2348. if dress_out_full_hairy > 0: killvar 'dress_out_full_hairy'
  2349. if pants_ind_bra > 0: killvar 'pants_ind_bra'
  2350. if pants_ind_tits > 0: killvar 'pants_ind_tits'
  2351. if pants_ind_panties > 0: killvar 'pants_ind_panties'
  2352. if pants_ind_pussy > 0: killvar 'pants_ind_pussy'
  2353. if pants_ind_pussy_hairy > 0: killvar 'pants_ind_pussy_hairy'
  2354. if pants_ind_pantyrear > 0: killvar 'pants_ind_pantyrear'
  2355. if pants_ind_butt > 0: killvar 'pants_ind_butt'
  2356. if pants_ind_full > 0: killvar 'pants_ind_full'
  2357. if pants_ind_full_hairy > 0: killvar 'pants_ind_full_hairy'
  2358. if pants_out_bra > 0: killvar 'pants_out_bra'
  2359. if pants_out_tits > 0: killvar 'pants_out_tits'
  2360. if pants_out_panties > 0: killvar 'pants_out_panties'
  2361. if pants_out_pussy > 0: killvar 'pants_out_pussy'
  2362. if pants_out_pussy_hairy > 0: killvar 'pants_out_pussy_hairy'
  2363. if pants_out_pantyrear > 0: killvar 'pants_out_pantyrear'
  2364. if pants_out_butt > 0: killvar 'pants_out_butt'
  2365. if pants_out_butt_plug > 0: killvar 'pants_out_butt_plug'
  2366. if pants_out_full > 0: killvar 'pants_out_full'
  2367. if pants_out_full_hairy > 0: killvar 'pants_out_full_hairy'
  2368. !! Introduction of lact_ev['poli_totaldonatemoney']
  2369. if lact_ev['poli_totaldonatemoney'] <= 0 and lact_ev['poli_totalmilkdonated'] >= 5: lact_ev['poli_totaldonatemoney'] = (lact_ev['poli_totalmilkdonated'] / 5) * 10
  2370. if soniaQW[soniafall_block] > 1 and soniaQW[soniafall_block] ! soniaQW['soniafall_block']:
  2371. soniaQW['soniafall_block'] = soniaQW[soniafall_block]
  2372. if soniaQW['homeinvite'] > 0: soniaQW['homeinvite'] = 1
  2373. end
  2374. if vladimirday > 0 or vladimirQW > 0 and vladimirQW['stage'] = 0:
  2375. temp_var1 = vladimirQW
  2376. killvar 'vladimirQW'
  2377. vladimirQW['stage'] = temp_var1
  2378. if vladimirday > 0: vladimirQW['day'] = vladimirday
  2379. killvar 'vladimirday'
  2380. killvar 'temp_var1'
  2381. end
  2382. !! Telephone call migration to their correct event locations
  2383. if arrpos('$contact', 'A108') > -1:
  2384. temp_pos = arrpos('$contact', 'A108')
  2385. if strpos($contactICode[temp_pos], 'telefon') > 0:
  2386. $contactICode[temp_pos] = replace($contactICode[temp_pos], "'telefon', 'vladimir'", "'vladimirQW_loc', 'telephone_call'")
  2387. end
  2388. if strpos($contactISche[temp_pos], 'vladimirday') > 0:
  2389. $contactISche[temp_pos] = replace($contactISche[temp_pos], "vladimirday", "vladimirQW['day']")
  2390. end
  2391. killvar 'temp_pos'
  2392. end
  2393. if arrpos('$contact', 'A192') > -1:
  2394. temp_pos = arrpos('$contact', 'A192')
  2395. if strpos($contactOCode[temp_pos], 'telefon') > 0:
  2396. $contactOCode[temp_pos] = replace($contactOCode[temp_pos], 'telefon', 'nastja')
  2397. end
  2398. killvar 'temp_pos'
  2399. end
  2400. !! sms scheduling added to addcontact in telefon:
  2401. if arrsize('$contact') > arrsize('contactOSMSCode'):
  2402. temp_maxi = arrsize('$contact')
  2403. temp_i = arrsize('contactOSMSCode')
  2404. :saveupdater_SMSCODE_scheduling_loop
  2405. $contactOSMSCode[temp_i] = ""
  2406. $contactOSMSSche[temp_i] = "0"
  2407. $contactISMSCode[temp_i] = ""
  2408. $contactISMSSche[temp_i] = "0"
  2409. temp_i += 1
  2410. if temp_i < temp_maxi: jump 'saveupdater_SMSCODE_scheduling_loop'
  2411. killvar 'temp_maxi'
  2412. killvar 'temp_i'
  2413. end
  2414. !! region added to the blackmailer array:
  2415. if $blackmailQW['init_flashloc'] ! '' and $blackmailQW['init_flashregion'] = '':
  2416. if strpos($blackmailQW['init_flashloc'], 'city') > 0:
  2417. $blackmailQW['init_flashregion'] = 'city'
  2418. elseif strpos($blackmailQW['init_flashloc'], 'pav') > 0:
  2419. $blackmailQW['init_flashregion'] = 'pav'
  2420. elseif strpos($blackmailQW['init_flashloc'], 'gad') > 0:
  2421. $blackmailQW['init_flashregion'] = 'gad'
  2422. elseif strpos($blackmailQW['init_flashloc'], 'pushkin') > 0:
  2423. $blackmailQW['init_flashregion'] = 'pushkin'
  2424. elseif $start_type['loc'] = 'city':
  2425. $blackmailQW['init_flashregion'] = 'city'
  2426. else
  2427. $blackmailQW['init_flashregion'] = 'pav'
  2428. end
  2429. blackmailQW['total_material'] = 1
  2430. end
  2431. if $blackmailQW['init_flashimage'] ! '' and strpos($blackmailQW['init_flashimage'], '.jpg') = 0:
  2432. $blackmailQW['init_flashimage'] = $blackmailQW['init_flashimage'] + '.jpg'
  2433. end
  2434. if $blackmailQW['blackmail_image_chosen'] = '' and blackmailQW['next_payment'] > 0:
  2435. $blackmailQW['blackmail_image_chosen'] = $blackmailQW['init_flashimage']
  2436. end
  2437. if igor_krossdress > 0 and igor_eqwtday > 0 and igor_progulkaday = 0: igor_krossdress = 0
  2438. if arrsize('transportVars') > 4:
  2439. copyarr('temp_transportVars', 'transportVars')
  2440. killvar 'transportVars'
  2441. transportVars['trainpass_day'] = temp_transportVars['trainpass_day']
  2442. transportVars['buspass_day'] = temp_transportVars['buspass_day']
  2443. transportVars['train_event_day'] = temp_transportVars['train_event_day']
  2444. transportVars['bus_event_day'] = temp_transportVars['bus_event_day']
  2445. killvar 'temp_transportVars'
  2446. end
  2447. !! vars clean up
  2448. killvar 'dynamicCommand'
  2449. killvar 'bomzstartqwestdi'
  2450. killvar 'workbomzdi'
  2451. if bodyVars['cheat_staticAssets'] ! 0:
  2452. cheatVars['body_staticAssets'] = bodyVars['cheat_staticAssets']
  2453. gs 'shortgs', 'remove_array_element', '$bodyVars', 'cheat_staticAssets'
  2454. end
  2455. gs 'shortgs', 'remove_array_element', '$bodyVars', 'cheat_staticAssets_text'
  2456. if drugVars['cheat_immune'] ! 0:
  2457. cheatVars['drugs_immune'] = drugVars['cheat_immune']
  2458. gs 'shortgs', 'remove_array_element', '$drugVars', 'cheat_immune'
  2459. end
  2460. gs 'shortgs', 'remove_array_element', '$drugVars', 'cheat_immune_text'
  2461. if sleepVars['cheatVib'] ! 0: cheatVars['sleep_vib'] = sleepVars['cheatVib']
  2462. gs 'shortgs', 'remove_array_element', '$sleepVars', 'cheatVib'
  2463. if sleepVars['cheat_nodream_chance'] ! 0: cheatVars['no_dream_chance'] = sleepVars['cheat_nodream_chance']
  2464. gs 'shortgs', 'remove_array_element', '$sleepVars', 'cheat_nodream_chance'
  2465. if cheatConsole ! 0 or $cheatConsole ! '': cheatVars['console'] = cheatConsole & killvar 'cheatConsole'
  2466. if cheatwork ! 0 or $cheatwork ! '': cheatVars['work'] = cheatwork & killvar 'cheatwork'
  2467. if cheatWillpower ! 0 or $cheatWillpower ! '': cheatVars['willpower'] = cheatWillpower & killvar 'cheatWillpower'
  2468. if InfWillpwer ! 0 or $InfWillpwer ! '': cheatVars['inf_willpower'] = InfWillpwer & killvar 'InfWillpwer'
  2469. if cheatHapri ! 0 or $cheatHapri ! '': cheatVars['always_brushed'] = cheatHapri & killvar 'cheatHapri'
  2470. if autohairbrush ! 0 or $autohairbrush ! '': cheatVars['auto_brush'] = autohairbrush & killvar 'autohairbrush'
  2471. if no_cum_leak ! 0 or $no_cum_leak ! '': cheatVars['no_cum_leak'] = no_cum_leak & killvar 'no_cum_leak'
  2472. if cyccustom ! 0 or $cyccustom ! '': cheatVars['track_period'] = cyccustom & killvar 'cyccustom'
  2473. if cheatNomakeup ! 0 or $cheatNomakeup ! '': cheatVars['makeup_smear'] = cheatNomakeup & killvar 'cheatNomakeup'
  2474. if cheatNoSweat ! 0 or $cheatNoSweat ! '': cheatVars['no_sweat'] = cheatNoSweat & killvar 'cheatNoSweat'
  2475. if cheatNoEat ! 0 or $cheatNoEat ! '': cheatVars['hunger'] = cheatNoEat & killvar 'cheatNoEat'
  2476. if cheatNoDrink ! 0 or $cheatNoDrink ! '': cheatVars['thirst'] = cheatNoDrink & killvar 'cheatNoDrink'
  2477. if cheatNoSleep ! 0 or $cheatNoSleep ! '': cheatVars['sleep'] = cheatNoSleep & killvar 'cheatNoSleep'
  2478. if cheatNoMood ! 0 or $cheatNoMood ! '': cheatVars['mood'] = cheatNoMood & killvar 'cheatNoMood'
  2479. if cheatNoFat ! 0 or $cheatNoFat ! '': cheatVars['fat'] = cheatNoFat & killvar 'cheatNoFat'
  2480. if cheatHealth ! 0 or $cheatHealth ! '': cheatVars['std'] = cheatHealth & killvar 'cheatHealth'
  2481. if cheatPee ! 0 or $cheatPee ! '': cheatVars['pee'] = cheatPee & killvar 'cheatPee'
  2482. if cheatSlut ! 0 or $cheatSlut ! '': cheatVars['no_periods'] = cheatSlut & killvar 'cheatSlut'
  2483. if cheatHorny ! 0 or $cheatHorny ! '': cheatVars['always_horny'] = cheatHorny & killvar 'cheatHorny'
  2484. if fight_cheat ! 0 or $fight_cheat ! '': cheatVars['win_fights'] = fight_cheat & killvar 'fight_cheat'
  2485. if autocombat_cheat ! 0 or $autocombat_cheat ! '': cheatVars['auto_combat'] = autocombat_cheat & killvar 'autocombat_cheat'
  2486. if cheat_NoPregnancy ! 0 or $cheat_NoPregnancy ! '': cheatVars['no_pregnancy'] = cheat_NoPregnancy & killvar 'cheat_NoPregnancy'
  2487. if pregspeedcheat ! 0 or $pregspeedcheat ! '': cheatVars['preg_speed'] = pregspeedcheat & killvar 'pregspeedcheat'
  2488. if cheat_NoLactation ! 0 or $cheat_NoLactation ! '': cheatVars['no_lactation'] = cheat_NoLactation & killvar 'cheat_NoLactation'
  2489. if cheatBimbo ! 0 or $cheatBimbo ! '': cheatVars['bimbo'] = cheatBimbo & killvar 'cheatBimbo'
  2490. if cheatBimbo2 ! 0 or $cheatBimbo2 ! '': cheatVars['smart_bimbo'] = cheatBimbo2 & killvar 'cheatBimbo2'
  2491. if cheatBimbo3 ! 0 or $cheatBimbo3 ! '': cheatVars['suc_bimbo'] = cheatBimbo3 & killvar 'cheatBimbo3'
  2492. if cheatTime ! 0 or $cheatTime ! '': cheatVars['time'] = cheatTime & killvar 'cheatTime'
  2493. if random_bf_gf_cheat ! 0 or $random_bf_gf_cheat ! '': cheatVars['random_lovers'] = random_bf_gf_cheat & killvar 'random_bf_gf_cheat'
  2494. if cheat_street_robbers ! 0 or $cheat_street_robbers ! '': cheatVars['random_robbers'] = cheat_street_robbers & killvar 'cheat_street_robbers'
  2495. if cheat_street_rapists ! 0 or $cheat_street_rapists ! '': cheatVars['random_rapists'] = cheat_street_rapists & killvar 'cheat_street_rapists'
  2496. if Enable_nogameover ! 0 or $Enable_nogameover ! '': cheatVars['gameover'] = Enable_nogameover & killvar 'Enable_nogameover'
  2497. if cheatShaveLegs ! 0 or $cheatShaveLegs ! '': cheatVars['no_leghair'] = cheatShaveLegs & killvar 'cheatShaveLegs'
  2498. if editpornname ! 0 or $editpornname ! '': cheatVars['rename_porn'] = editpornname & killvar 'editpornname'
  2499. if enfullmorrout ! 0 or $enfullmorrout ! '': cheatVars['full_morning_rout'] = enfullmorrout & killvar 'enfullmorrout'
  2500. if Enable_sforma ! 0 or $Enable_sforma ! '': cheatVars['school_clothing'] = Enable_sforma & killvar 'Enable_sforma'
  2501. if therapist_weekly_cheat ! 0 or $therapist_weekly_cheat ! '': cheatVars['therapist_schedule'] = therapist_weekly_cheat & killvar 'therapist_weekly_cheat'
  2502. if addictive_cheat ! 0 or $addictive_cheat ! '' or $cheataddictive ! '' or cheataddictive ! 0:
  2503. cheatVars['no_trait_addictive'] = addictive_cheat
  2504. killvar 'addictive_cheat'
  2505. killvar 'cheataddictive'
  2506. end
  2507. if cumeater_cheat ! 0 or $cumeater_cheat ! '' or $cheatcumtrait ! '' or cheatcumtrait ! 0:
  2508. cheatVars['no_trait_cumeater'] = cumeater_cheat
  2509. killvar 'cumeater_cheat'
  2510. killvar 'cheatcumtrait'
  2511. end
  2512. if exhib_cheat ! 0 or $exhib_cheat ! '' or $cheatexhib ! '' or cheatexhib ! 0:
  2513. cheatVars['no_trait_exhib'] = exhib_cheat
  2514. killvar 'exhib_cheat'
  2515. killvar 'cheatexhib'
  2516. end
  2517. if $cheatKlisma ! '':
  2518. if cheatKlisma = 0: cheatVars['enema'] = 1
  2519. killvar 'cheatKlisma'
  2520. end
  2521. if $Enable_auto_tampons ! '':
  2522. if Enable_auto_tampons = 0: cheatVars['auto_tampons'] = 1
  2523. killvar 'Enable_auto_tampons'
  2524. end
  2525. killvar 'InSleepWake'
  2526. !---------------- Mira Update ----------------!
  2527. if npc_QW['A60'] ! 0:
  2528. MiraVars['QW'] = npc_QW['A60']
  2529. gs 'shortgs', 'remove_array_element', 'npc_QW', 'A60'
  2530. end
  2531. if miraprost ! 0: MiraVars['prostitute'] = miraprost & killvar 'miraprost'
  2532. if mirasex ! 0: MiraVars['had_sex'] = mirasex & killvar 'mirasex'
  2533. if mirasextimes ! 0: MiraVars['Mitka_fucks'] = mirasextimes & killvar 'mirasextimes'
  2534. if mira_no ! 0: MiraVars['emb_day'] = daystart + mira_no & killvar 'mira_no'
  2535. if miraday ! 0: MiraVars['event_day'] = miraday & killvar 'miraday'
  2536. if mirahorny ! 0: MiraVars['arousal'] = mirahorny & killvar 'mirahorny'
  2537. if miralick ! 0: MiraVars['cuni_given'] = miralick & killvar 'miralick'
  2538. if mira_stay ! 0: MiraVars['follow_time'] = 1 & killvar 'mira_stay'
  2539. if mira ! 0: MiraVars['follow_time'] = 20 - hour & killvar 'mira'
  2540. if mira_go_blok ! 0: MiraVars['follow_time'] = mira_go_blok & killvar 'mira_go_blok'
  2541. if mira_guest ! 0: MiraVars['guest'] = 1 & killvar 'mira_guest'
  2542. if mira_guestday ! 0: MiraVars['guestday'] = mira_guestday & killvar 'mira_guestday'
  2543. if miratalkday ! 0: MiraVars['talkday'] = miratalkday & killvar 'miratalkday'
  2544. if miranudetalk ! 0: MiraVars['nudetalk'] = miranudetalk & killvar 'miranudetalk'
  2545. if mirapickingtalk ! 0: MiraVars['pickingtalk'] = mirapickingtalk & killvar 'mirapickingtalk'
  2546. if mirapimp ! 0: MiraVars['pimp'] = mirapimp & killvar 'mirapimp'
  2547. if Miraswimday ! 0: MiraVars['swimday'] = Miraswimday & killvar 'Miraswimday'
  2548. if meadow > 0:
  2549. gad_meadow_found = 1
  2550. MiraVars['meadow'] = meadow -1
  2551. killvar 'meadow'
  2552. end
  2553. if MiraLoc ! 0: gs 'miroslava_schedule' & killvar 'MiraLoc'
  2554. if arrsize('mitkabuhday') ! 0: GadBoy['drunk_event'] = mitkabuhday & killvar 'mitkabuhday'
  2555. if arrsize('mitkabuhmiraday') ! 0: MiraVars['drunk_event'] = mitkabuhmiraday & killvar 'mitkabuhmiraday'
  2556. if mitkaday ! 0: GadBoy['mitka_day'] = mitkaday & killvar 'mitkaday'
  2557. if kolyambaday ! 0: GadBoy['kolyamba_day'] = kolyambaday & killvar 'kolyambaday'
  2558. if vasyanday ! 0: GadBoy['vasyan_day'] = vasyanday & killvar 'vasyanday'
  2559. if mitkaguysriver ! 0: GadBoy['river_day'] = mitkaguysriver & killvar 'mitkaguysriver'
  2560. if mitka_first_drink ! 0: GadBoy['first_drink'] = mitka_first_drink & killvar 'mitka_first_drink'
  2561. if mitkadrinkday ! 0: GadBoy['drinkday'] = mitkadrinkday & killvar 'mitkadrinkday'
  2562. if gadriver_gang ! 0: GadBoy['river_gang'] = gadriver_gang & killvar 'gadriver_gang'
  2563. if tpKnown['gadforest'] ! 0:
  2564. tpKnown['gad_forest'] = tpKnown['gadforest']
  2565. gs 'shortgs', 'remove_array_element', 'tpKnown', 'gadforest'
  2566. end
  2567. killvar '$textsexhunter'
  2568. killvar '$textsexhunter2'
  2569. killvar '$textsexhunter3'
  2570. killvar '$textsexhunter4'
  2571. killvar '$textsexhunter5'
  2572. killvar '$textsexhunter6'
  2573. killvar '$textsexhunter7'
  2574. killvar '$textsexhunter8'
  2575. killvar '$textsexhunter9'
  2576. killvar '$textsexhunter10'
  2577. killvar '$textsexhunter11'
  2578. killvar '$textsexhunter12'
  2579. $home_name['gad_gpyard'] = 'grandparents_house'
  2580. $home_name['gad_gpbath'] = 'grandparents_house'
  2581. $home_name['gad_gphouse'] = 'grandparents_house'
  2582. $home_name['gad_gpbarn'] = 'grandparents_house'
  2583. gs 'shortgs', 'remove_array_element', '$home_name', 'gadsarai'
  2584. gs 'shortgs', 'remove_array_element', '$home_name', 'gadbana'
  2585. gs 'shortgs', 'remove_array_element', '$home_name', 'gadhouse'
  2586. gs 'shortgs', 'remove_array_element', '$home_name', 'gadgarden'
  2587. gs 'shortgs', 'remove_array_element', '$home_name', 'gaddvor'
  2588. end
  2589. !!------------------------------------!!Version 0.9.3!!-----------------------------------------------!!
  2590. if temp_current_save_version < 00090300:
  2591. $home_name['gad_swamphouse'] = 'hunters_lodge'
  2592. $home_name['gad_swamp_yard'] = 'hunters_lodge'
  2593. gs 'shortgs', 'remove_array_element', '$home_name', 'swamphouse'
  2594. gs 'shortgs', 'remove_array_element', '$home_name', 'swamp_yard'
  2595. if arrsize('newspaperVars') = 0: gs 'newspaper', 'cikl'
  2596. if hotelroom['pav_hotel'] ! 0:
  2597. hotelroom['pav'] = hotelroom['pav_hotel']
  2598. gs 'shortgs', 'remove_array_element', 'hotelroom', 'pav_hotel'
  2599. end
  2600. if hotelroomDays['pav_hotel'] ! 0:
  2601. hotelroomDays['pav'] = hotelroomDays['pav_hotel']
  2602. gs 'shortgs', 'remove_array_element', 'hotelroomDays', 'pav_hotel'
  2603. end
  2604. if hotelroom['city_hotel'] ! 0:
  2605. hotelroom['city'] = hotelroom['city_hotel']
  2606. gs 'shortgs', 'remove_array_element', 'hotelroom', 'city_hotel'
  2607. end
  2608. if hotelroomDays['city_hotel'] ! 0:
  2609. hotelroomDays['city'] = hotelroomDays['city_hotel']
  2610. gs 'shortgs', 'remove_array_element', 'hotelroom', 'city_hotel'
  2611. end
  2612. if $hotel ! '': killvar '$hotel'
  2613. if therapistQW['met'] = 0 and therpistday ! 0: therapistQW['met'] = 1
  2614. if player_avatar = 1:
  2615. face_style['type'] = 1
  2616. $face_style['avatar_path'] = 'images/avatar.jpg'
  2617. killvar 'player_avatar'
  2618. end
  2619. if avatar_hair = 1:
  2620. $face_style['avatar_hair'] = $av_hair
  2621. killvar 'avatar_hair'
  2622. killvar 'av_hair'
  2623. end
  2624. end
  2625. !!------------------------------------!!Version 0.9.3.1!!-----------------------------------------------!!
  2626. if temp_current_save_version < 00090301:
  2627. !! use this for updates in 0.9.3
  2628. if val($experimentQW['pill_cyan_taken']) > experimentQW['pill_cyan_taken'] : experimentQW['pill_cyan_taken'] = val($experimentQW['pill_cyan_taken'])
  2629. if val($experimentQW['pill_red_taken']) > experimentQW['pill_red_taken'] : experimentQW['pill_red_taken'] = val($experimentQW['pill_red_taken'])
  2630. if val($experimentQW['pill_blue_taken']) > experimentQW['pill_blue_taken'] : experimentQW['pill_blue_taken'] = val($experimentQW['pill_blue_taken'])
  2631. if val($experimentQW['pill_yellow_taken']) > experimentQW['pill_yellow_taken'] : experimentQW['pill_yellow_taken'] = val($experimentQW['pill_yellow_taken'])
  2632. if val($experimentQW['pill_orange_taken']) > experimentQW['pill_orange_taken'] : experimentQW['pill_orange_taken'] = val($experimentQW['pill_orange_taken'])
  2633. if val($experimentQW['pill_violet_taken']) > experimentQW['pill_violet_taken'] : experimentQW['pill_violet_taken'] = val($experimentQW['pill_violet_taken'])
  2634. if val($experimentQW['pill_brown_taken']) > experimentQW['pill_brown_taken'] : experimentQW['pill_brown_taken'] = val($experimentQW['pill_brown_taken'])
  2635. if val($experimentQW['pill_purple_taken']) > experimentQW['pill_purple_taken'] : experimentQW['pill_purple_taken'] = val($experimentQW['pill_purple_taken'])
  2636. if val($experimentQW['pill_green_taken']) > experimentQW['pill_green_taken'] : experimentQW['pill_green_taken'] = val($experimentQW['pill_green_taken'])
  2637. if val($experimentQW['pill_gray_taken']) > experimentQW['pill_gray_taken'] : experimentQW['pill_gray_taken'] = val($experimentQW['pill_gray_taken'])
  2638. if val($experimentQW['pill_pink_taken']) > experimentQW['pill_pink_taken'] : experimentQW['pill_pink_taken'] = val($experimentQW['pill_pink_taken'])
  2639. end
  2640. !!------------------------------------!!Version 0.9.3.2!!-----------------------------------------------!!
  2641. if temp_current_save_version < 00090302:
  2642. !! use this for updates in 0.9.3.1
  2643. if arrsize('$npc_pref_values') > 0:
  2644. su_i = 1
  2645. :su_pref_values_update_loop
  2646. dynamic $npc_preferences['A<<su_i>>']
  2647. dynamic $npc_pref_values['A<<su_i>>']
  2648. if arrsize('$npc_pref_traits') > 0:
  2649. gs 'npc_set_preference', 'rebuild_preferences', 'A<<su_i>>'
  2650. end
  2651. killvar '$npc_pref_traits'
  2652. killvar 'npc_trait_values'
  2653. su_i += 1
  2654. if su_i < 257: jump 'su_pref_values_update_loop'
  2655. killvar '$npc_pref_values'
  2656. killvar 'su_i'
  2657. end
  2658. if mc_inventory['chaffing_cream'] > 0:
  2659. mc_inventory['chafing_cream'] = mc_inventory['chaffing_cream']
  2660. gs 'shortgs', 'remove_array_element', 'mc_inventory', 'chaffing_cream'
  2661. end
  2662. $npc_notes['A26'] = 'Anatoly Tsarev is the school''s math teacher. He''s a stern teacher, who always demands the best out of his students. His daughter Lera is in your class. He''s married to Vera, who works at the train station as a ticket saleswoman and as a cleaner in the garment factory. There are rumors that since Lesco came to live with them, his marriage has been on the rocks.'
  2663. if $lib_book_loaned = 'fantasy': $lib_book_loaned = 'a fantasy novel'
  2664. killvar '$downlibrary'
  2665. !! tag is no longer needed
  2666. killvar 'updated_pav_shared_apt'
  2667. !! changes made to din_bad are not automatically pushed through due to the dynamic code.
  2668. gs 'din_bad'
  2669. !! Renaming of zaprF and zaprFWash. Removed need for litltown
  2670. killvar 'litltown'
  2671. if blackmailQW['day'] ! 0:
  2672. if strpos($blackmailQW['init_flashloc'], 'zaprF') > 0:
  2673. $blackmailQW['init_flashloc'] = replace($blackmailQW['init_flashloc'], 'zaprF', 'fuelstation')
  2674. end
  2675. su_i = 0
  2676. :zaprFreplaceloop
  2677. if strpos($blackmailQW['selfie_location_<<su_i>>'], 'zaprF') > 0:
  2678. $blackmailQW['selfie_location_<<su_i>>'] = replace($blackmailQW['selfie_location_<<su_i>>'], 'zaprF', 'fuelstation')
  2679. end
  2680. su_i += 1
  2681. if su_i < 10: jump 'zaprFreplaceloop'
  2682. killvar 'su_i'
  2683. end
  2684. !! Library/books updates
  2685. if f_book ! 0: mc_inventory['fantasy_books'] = f_book & killvar 'f_book'
  2686. if sf_book ! 0: mc_inventory['scifi_books'] = sf_book & killvar 'sf_book'
  2687. if w_book ! 0: mc_inventory['romance_books'] = w_book & killvar 'w_book'
  2688. if fantasybook ! 0: BookVars['fantasy_pages'] = fantasybook * 100 & killvar 'fantasybook'
  2689. if womanbook ! 0: BookVars['romance_pages'] = womanbook * 100 & killvar 'womanbook'
  2690. if artembook ! 0: BookVars['artem_pages'] = artembook * 100 & killvar 'artembook'
  2691. !! kickbox variable migration
  2692. if pointKik ! 0: temp_kickboxVars['pcs_points'] = pointKik & killvar 'pointKik'
  2693. if pointKikV ! 0: temp_kickboxVars['npc_points'] = pointKikV & killvar 'pointKikV'
  2694. if formula ! 0: temp_kickboxVars['max_rounds'] = formula & killvar 'formula'
  2695. if round ! 0: temp_kickboxVars['round'] = round & killvar 'round'
  2696. if minround ! 0: temp_kickboxVars['time'] = minround & killvar 'minround'
  2697. if strenV ! 0: temp_kickboxVars['npc_stren'] = strenV & killvar 'strenV'
  2698. if speedV ! 0: temp_kickboxVars['npc_speed'] = speedV & killvar 'speedV'
  2699. if agilV ! 0: temp_kickboxVars['npc_agil'] = agilV & killvar 'agilV'
  2700. if reactV ! 0: temp_kickboxVars['npc_react'] = reactV & killvar 'reactV'
  2701. if vitalV ! 0: temp_kickboxVars['npc_vital'] = vitalV & killvar 'vitalV'
  2702. if intelV ! 0: temp_kickboxVars['npc_intel'] = intelV & killvar 'intelV'
  2703. if willV ! 0: temp_kickboxVars['npc_will'] = willV & killvar 'willV'
  2704. if JabV ! 0: temp_kickboxVars['npc_jab'] = JabV & killvar 'JabV'
  2705. if PunchV ! 0: temp_kickboxVars['npc_punch'] = PunchV & killvar 'PunchV'
  2706. if KikV ! 0: temp_kickboxVars['npc_kick'] = KikV & killvar 'KikV'
  2707. if KikDefV ! 0: temp_kickboxVars['npc_def'] = KikDefV & killvar 'KikDefV'
  2708. if healthV ! 0:
  2709. temp_kickboxVars['npc_health'] = healthV & killvar 'healthV'
  2710. temp_kickboxVars['npc_max_health'] = temp_kickboxVars['npc_vital'] * 10 + temp_kickboxVars['npc_stren'] * 5
  2711. temp_kickboxVars['npc_stam'] = (30 * (2 * temp_kickboxVars['npc_vital'] + temp_kickboxVars['npc_agil'] + temp_kickboxVars['npc_stren']) + 1000) / 13
  2712. end
  2713. if init ! 0: temp_kickboxVars['pcs_init'] = init & killvar 'init'
  2714. if initKoef ! 0: killvar 'initKoef'
  2715. if initi ! 0: temp_kickboxVars['pcs_init_true'] = initi & killvar 'initi'
  2716. if initV ! 0: temp_kickboxVars['npc_init'] = initV & killvar 'initV'
  2717. if initKoefV ! 0: killvar 'initKoefV'
  2718. if initiV ! 0: temp_kickboxVars['npc_init_true'] = initiV & killvar 'initiV'
  2719. if ionce ! 0: temp_kickboxVars['set_init'] = ionce & killvar 'ionce'
  2720. if damkoef ! 0: killvar 'damkoef'
  2721. if hod ! 0: temp_kickboxVars['active_init'] = hod & killvar 'home_day'
  2722. if hodtime ! 0: temp_kickboxVars['pcs_inittime'] = hodtime & killvar 'hodtime'
  2723. if hodtimeV ! 0: temp_kickboxVars['npc_inittime'] = hodtimeV & killvar 'hodtimeV'
  2724. if sparing ! 0: temp_kickboxVars['fight_type'] = 0 & killvar 'sparing'
  2725. if kickbox['amateur'] ! 0:
  2726. temp_kickboxVars['fight_type'] = 1
  2727. gs 'shortgs', 'remove_array_element', 'kickbox', 'amateur'
  2728. end
  2729. if KikWinPro ! 0: kickbox['proWin'] = KikWinPro & killvar 'KikWinPro'
  2730. if KikWinProKO ! 0: kickbox['proWinKO'] = KikWinProKO & killvar 'KikWinProKO'
  2731. if KikLossPro ! 0: kickbox['proLoss'] = KikLossPro & killvar 'KikLossPro'
  2732. if KikLossProKO ! 0: kickbox['proLossKO'] = KikLossProKO & killvar 'KikLossProKO'
  2733. if KikDrawPro ! 0: kickbox['proDraw'] = KikDrawPro & killvar 'KikDrawPro'
  2734. killvar '$crossfit_north_image_dir'
  2735. !!--- Moving cheerleading variables into existing array ---!!
  2736. if First_time_3some_with_Lazar ! 0: cheerleadingQW['lazar_threesome'] = First_time_3some_with_Lazar & killvar 'First_time_3some_with_Lazar'
  2737. if first_time_outside_in_cold_weather ! 0: cheerleadingQW['cold_weather'] = first_time_outside_in_cold_weather & killvar 'first_time_outside_in_cold_weather'
  2738. if first_time_doing_basketball ! 0: cheerleadingQW['basketball'] = first_time_doing_basketball & killvar 'first_time_doing_basketball'
  2739. if first_time_spring_football_match ! 0: cheerleadingQW['spring_match'] = first_time_spring_football_match & killvar 'first_time_spring_football_match'
  2740. !!---------------------------------------------------------!!
  2741. !! Blackmailer
  2742. if blackmailQW['stage'] = 10: blackmailQW['package'] = 1
  2743. !! npc_apprnc and hotcat_rating -> npc_hotcat
  2744. if appearance_update_932 = 0:
  2745. appearance_update_932 = 1
  2746. su_i = 0
  2747. :appearance_update_loop
  2748. if npc_apprnc[su_i] > 0:
  2749. npc_apprnc[su_i] = 3 * npc_apprnc[su_i]
  2750. if npc_apprnc[su_i] > 190: npc_apprnc[su_i] = 190
  2751. end
  2752. su_i += 1
  2753. if su_i < arrsize('npc_apprnc'): jump 'appearance_update_loop'
  2754. killvar 'su_i'
  2755. end
  2756. copyarr 'npc_hotcat', 'hotcat_rating'
  2757. killvar 'hotcat_rating'
  2758. if hotcat ! 0: pcs_hotcat = hotcat & killvar 'hotcat'
  2759. !! daystart update
  2760. if daystart_update_932 = 0:
  2761. daystart_update_932 = 1
  2762. ds_diff = daystart_start - 1
  2763. if ds_diff > 0:
  2764. daystart += ds_diff
  2765. if abortionbirthdate ! 0: abortionbirthdate += ds_diff
  2766. if acting['shoot_day'] ! 0: acting['shoot_day'] += ds_diff
  2767. if afterschool_day ! 0: afterschool_day += ds_diff
  2768. if AlbinaQW['startletsday'] ! 0: AlbinaQW['startletsday'] += ds_diff
  2769. if anushkaQW['tour_SMS_send'] ! 0: anushkaQW['tour_SMS_send'] += ds_diff
  2770. if atmDepositDate ! 0: atmDepositDate += ds_diff
  2771. if audition['day'] ! 0: audition['day'] += ds_diff
  2772. if balletqw['membership'] ! 0: balletqw['membership'] += ds_diff
  2773. if blackmailQW['day'] ! 0: blackmailQW['day'] += ds_diff
  2774. if blackmailQW['dream_day'] ! 0: blackmailQW['dream_day'] += ds_diff
  2775. if BurgerQW['IlyQWDay'] ! 0: BurgerQW['IlyQWDay'] += ds_diff
  2776. if cheerleadingQW['day'] ! 0: cheerleadingQW['day'] += ds_diff
  2777. if CloLostOn ! 0: CloLostOn += ds_diff
  2778. if daylastperiod ! 0: daylastperiod += ds_diff
  2779. if dentistday ! 0: dentistday += ds_diff
  2780. if dimaRevengedaystart ! 0: dimaRevengedaystart += ds_diff
  2781. if dimasexday ! 0: dimasexday += ds_diff
  2782. if drugVars['cigarettes_day'] ! 0: drugVars['cigarettes_day'] += ds_diff
  2783. if drugVars['cocain_day'] ! 0: drugVars['cocain_day'] += ds_diff
  2784. if drugVars['cocain_willday'] ! 0: drugVars['cocain_willday'] += ds_diff
  2785. if drugVars['heroin_day'] ! 0: drugVars['heroin_day'] += ds_diff
  2786. if drugVars['weed_day'] ! 0: drugVars['weed_day'] += ds_diff
  2787. if fairycurse ! 0: fairycurse += ds_diff
  2788. if firstmens ! 0: firstmens += ds_diff
  2789. if forest_lostday ! 0: forest_lostday += ds_diff
  2790. if forced_naked_day ! 0: forced_naked_day += ds_diff
  2791. if gopnik_initiation_day ! 0: gopnik_initiation_day += ds_diff
  2792. if gopopusday ! 0: gopopusday += ds_diff
  2793. if grandmaQW['last_day_helped'] ! 0: grandmaQW['last_day_helped'] += ds_diff
  2794. if grandpaQW['last_day_helped'] ! 0: grandpaQW['last_day_helped'] += ds_diff
  2795. if hotelRoomDays['city'] ! 0: hotelRoomDays['city'] += ds_diff
  2796. if hotelRoomDays['pav'] ! 0: hotelRoomDays['pav'] += ds_diff
  2797. if hypnoDay ! 0: hypnoDay += ds_diff
  2798. if implant_day ! 0: implant_day += ds_diff
  2799. if katalkinSexDay ! 0: katalkinSexDay += ds_diff
  2800. if katjaQW['birth_control_start_day'] ! 0: katjaQW['birth_control_start_day'] += ds_diff
  2801. if katjaQW['coke_day'] ! 0: katjaQW['coke_day'] += ds_diff
  2802. if katjaQW['relationship_count_start'] ! 0: katjaQW['relationship_count_start'] += ds_diff
  2803. if kats_absent_check ! 0: kats_absent_check += ds_diff
  2804. if kolka_dick_day ! 0: kolka_dick_day += ds_diff
  2805. if krystal['porn_card_day'] ! 0: krystal['porn_card_day'] += ds_diff
  2806. if lactation['milkgrowday'] ! 0: lactation['milkgrowday'] += ds_diff
  2807. if LariskaBoyDay ! 0: LariskaBoyDay += ds_diff
  2808. if lastconf ! 0: lastconf += ds_diff
  2809. if lastdayperiod ! 0: lastdayperiod += ds_diff
  2810. if lastovulation ! 0: lastovulation += ds_diff
  2811. if lastmens ! 0: lastmens += ds_diff
  2812. if lastreadday ! 0: lastreadday += ds_diff
  2813. if leonidSlaveDay ! 0: leonidSlaveDay += ds_diff
  2814. if lesbiday ! 0: lesbiday += ds_diff
  2815. if locat['katja_rand1'] ! 0: locat['katja_rand1'] += ds_diff
  2816. if locat['katja_rand2'] ! 0: locat['katja_rand2'] += ds_diff
  2817. if locat['katja_rand3'] ! 0: locat['katja_rand3'] += ds_diff
  2818. if MartinSexTalkDay ! 0: MartinSexTalkDay += ds_diff
  2819. if masseuse['last_worked_day'] ! 0: masseuse['last_worked_day'] += ds_diff
  2820. if masseuse['schedule_update'] ! 0: masseuse['schedule_update'] += ds_diff
  2821. if MiraVars['emb_day'] ! 0: MiraVars['emb_day'] += ds_diff
  2822. if MiraVars['event_day'] ! 0: MiraVars['event_day'] += ds_diff
  2823. if mistresscontract ! 0: mistresscontract += ds_diff
  2824. if ml_delparcoQW['Next Date'] ! 0: ml_delparcoQW['Next Date'] += ds_diff
  2825. if ml_guitarlesson['nextlesson'] ! 0: ml_guitarlesson['nextlesson'] += ds_diff
  2826. if ml_performance['set_lastpracticeday'] ! 0: ml_performance['set_lastpracticeday'] += ds_diff
  2827. if model_week ! 0: model_week += ds_diff
  2828. if mother['kickedout_timer'] ! 0: mother['kickedout_timer'] += ds_diff
  2829. if NatbelQW['DebtDay'] ! 0: NatbelQW['DebtDay'] += ds_diff
  2830. if NatbelQW['evt_day'] ! 0: NatbelQW['evt_day'] += ds_diff
  2831. if NatbelQW['pregday'] ! 0: NatbelQW['pregday'] += ds_diff
  2832. if NatbelQW['StP_trip_daystart'] ! 0: NatbelQW['StP_trip_daystart'] += ds_diff
  2833. if nerd_game['game_day'] ! 0: nerd_game['game_day'] += ds_diff
  2834. if nerd_game['invite_day'] ! 0: nerd_game['invite_day'] += ds_diff
  2835. if nichBreakfLast ! 0: nichBreakfLast += ds_diff
  2836. if nichEvaluationLast ! 0: nichEvaluationLast += ds_diff
  2837. if nichEvaluationLastReq ! 0: nichEvaluationLastReq += ds_diff
  2838. if nichGalaContractDay ! 0: nichGalaContractDay += ds_diff
  2839. if nichGalaContractTarasLast ! 0: nichGalaContractTarasLast += ds_diff
  2840. if nichGentleclubDayE1 ! 0: nichGentleclubDayE1 += ds_diff
  2841. if nickHired ! 0: nickHired += ds_diff
  2842. if nichLastWorkDay ! 0: nichLastWorkDay += ds_diff
  2843. if nichTanya['FuckLast'] ! 0: nichTanya['FuckLast'] += ds_diff
  2844. if nichVacationFrom ! 0: nichVacationFrom += ds_diff
  2845. if nichVactionTil ! 0: nichVactionTil += ds_diff
  2846. if NikoNextDate_day ! 0: NikoNextDate_day += ds_diff
  2847. if NikoPayback_Sex ! 0: NikoPayback_Sex += ds_diff
  2848. if NikoPayed ! 0: NikoPayed += ds_diff
  2849. if painpubday ! 0: painpubday += ds_diff
  2850. if parkblackmail ! 0: parkblackmail += ds_diff
  2851. if ParrotQW['BuyDate'] ! 0: ParrotQW['BuyDate'] += ds_diff
  2852. if ParrotQW['SisterReleaseParrotDay'] ! 0: ParrotQW['SisterReleaseParrotDay'] += ds_diff
  2853. if pav_disco_in ! 0: pav_disco_in += ds_diff
  2854. if pav_swimpool['entrancepaid'] ! 0: pav_swimpool['entrancepaid'] += ds_diff
  2855. if parkday ! 0: parkday += ds_diff
  2856. if photography['datecheck'] ! 0: photography['datecheck'] += ds_diff
  2857. if policeQW['fine_deadline'] ! 0: policeQW['fine_deadline'] += ds_diff
  2858. if pilldaychk ! 0: pilldaychk += ds_diff
  2859. if pornstar['icon_disable'] ! 0: pornstar['icon_disable'] += ds_diff
  2860. if pregbirthdate ! 0: pregbirthdate += ds_diff
  2861. if rape_day ! 0: rape_day += ds_diff
  2862. if rex['timer_day'] ! 0: rex['timer_day'] += ds_diff
  2863. if rex['gadukino_day'] ! 0: rex['gadukino_day'] += ds_diff
  2864. if rexCarDay ! 0: rexCarDay += ds_diff
  2865. if school_daily_check ! 0: school_daily_check += ds_diff
  2866. if schoolProgulDay ! 0: schoolProgulDay += ds_diff
  2867. if shulga_whore ! 0: shulga_whore += ds_diff
  2868. if sisboyday ! 0: sisboyday += ds_diff
  2869. if sisboyparty_day ! 0: sisboyparty_day += ds_diff
  2870. if sisboytrioDayOtkaz ! 0: sisboytrioDayOtkaz += ds_diff
  2871. if sisterQW['partyday'] ! 0: sisterQW['partyday'] += ds_diff
  2872. if sistrioday ! 0: sistrioday += ds_diff
  2873. if slavejobday ! 0: slavejobday += ds_diff
  2874. if sleepVars['sleep_reflection_day'] ! 0: sleepVars['sleep_reflection_day'] += ds_diff
  2875. if SMTV_commercial ! 0: SMTV_commercial += ds_diff
  2876. if social_check['disco'] ! 0: social_check['disco'] += ds_diff
  2877. if soniadisco_day ! 0: soniadisco_day += ds_diff
  2878. if soniafallDay ! 0: soniafallDay += ds_diff
  2879. if soniaPSdays ! 0: soniaPSdays += ds_diff
  2880. if sorevday ! 0: sorevday += ds_diff
  2881. if starlets_practice ! 0: starlets_practice += ds_diff
  2882. if stat['last_broken_condom'] ! 0: stat['last_broken_condom'] += ds_diff
  2883. if stat['last_creampie'] ! 0: stat['last_creampie'] += ds_diff
  2884. if stat['last_dance_class'] ! 0: stat['last_dance_class'] += ds_diff
  2885. if stat['last_morning_after_pill'] ! 0: stat['last_morning_after_pill'] += ds_diff
  2886. if suchuntday ! 0: suchuntday += ds_diff
  2887. if sucinfoday ! 0: sucinfoday += ds_diff
  2888. if sucwalkday ! 0: sucwalkday += ds_diff
  2889. if surgeryday ! 0: surgeryday += ds_diff
  2890. if suspended['day'] ! 0: suspended['day'] += ds_diff
  2891. if tabletkichday ! 0: tabletkichday += ds_diff
  2892. if tabletkiday ! 0: tabletkiday += ds_diff
  2893. if TatianaMissionDay ! 0: TatianaMissionDay += ds_diff
  2894. if tatisucsexday ! 0: tatisucsexday += ds_diff
  2895. if therapistday ! 0: therapistday += ds_diff
  2896. if tomorrow ! 0: tomorrow += ds_diff
  2897. if transportVars['buspass_day'] ! 0: transportVars['buspass_day'] += ds_diff
  2898. if transportVars['trainpass_day'] ! 0: transportVars['trainpass_day'] += ds_diff
  2899. if uni_period['first'] ! 0: uni_period['first'] += ds_diff
  2900. if uni_period['second'] ! 0: uni_period['second'] += ds_diff
  2901. if uni_period['third'] ! 0: uni_period['third'] += ds_diff
  2902. if uni_period['exam'] ! 0: uni_period['exam'] += ds_diff
  2903. if vladimirQW['day'] ! 0: vladimirQW['day'] += ds_diff
  2904. if volkomday ! 0: volkomday += ds_diff
  2905. if virgin_stats['day_lost'] ! 0: virgin_stats['day_lost'] += ds_diff
  2906. su_ds_i = 0
  2907. :daystart_fix_loops
  2908. if booty_call_invite[su_ds_i] ! 0: booty_call_invite[isu_ds_i] += ds_diff
  2909. if loverday[su_ds_i] ! 0: loverday[su_ds_i] += ds_diff
  2910. if meetday[su_ds_ii] ! 0: meetday[su_ds_i] += ds_diff
  2911. if npc_sugar_daddy_timer[su_ds_i] ! 0: npc_sugar_daddy_timer[su_ds_i] += ds_diff
  2912. if npc_no_booty_call[su_ds_i] ! 0: npc_no_booty_call[su_ds_i] += ds_diff
  2913. if npc_booty_call_date[su_ds_i] ! 0: npc_booty_call_date[su_ds_i] += ds_diff
  2914. if npc_bc_promise[su_ds_i] ! 0: npc_bc_promise[su_ds_i] += ds_diff
  2915. if npc_last_booty_call[su_ds_i] ! 0: npc_last_booty_call[su_ds_i] += ds_diff
  2916. if policeQW_courthearing_dates[su_ds_i] ! 0: policeQW_courthearing_dates[su_ds_i] += ds_diff
  2917. if policeQW_courtletter_dates[su_ds_i] ! 0: policeQW_courtletter_dates[su_ds_i] += ds_diff
  2918. if porndaystart[su_ds_i] ! 0: porndaystart[su_ds_i] += ds_diff
  2919. su_ds_i += 1
  2920. if su_ds_i < 99: jump 'daystart_fix_loops'
  2921. killvar 'su_ds_i'
  2922. end
  2923. killvar 'ds_diff'
  2924. end
  2925. end
  2926. if temp_current_save_version < 00090303:
  2927. killvar 'daystart_update_932'
  2928. if pcs_traits['easy_orgams'] ! 0:
  2929. if pcs_traits['easy_orgasms'] < pcs_traits['easy_orgams']: pcs_traits['easy_orgasms'] = pcs_traits['easy_orgams']
  2930. gs 'shortgs', 'remove_array_element', 'pcs_traits', 'easy_orgams'
  2931. end
  2932. !!Sonia Variable migration:
  2933. if soniafall ! 0: soniaQW['soniafall'] = soniafall & killvar 'soniafall'
  2934. if soniaPS ! 0: soniaQW['slut'] = soniaPS & killvar 'soniaPS'
  2935. if soniafallDay ! 0: soniaQW['fallDay'] = soniafallDay & killvar 'soniafallDay'
  2936. if soniaPSdays ! 0: soniaQW['slutdays'] = soniaPSdays & killvar 'soniaPSdays'
  2937. if soniahelp ! 0: soniaQW['help'] = soniahelp & killvar 'soniahelp'
  2938. if soniaencourage ! 0: soniaQW['encourage'] = soniaencourage & killvar 'soniaencourage'
  2939. if soniasex ! 0: soniaQW['sex'] = soniasex & killvar 'soniasex'
  2940. if soniasextime ! 0: soniaQW['sextime'] = soniasextime & killvar 'soniasextime'
  2941. if ivankosup_count ! 0: ivanko['soup'] = ivankosup_count & killvar 'ivankosup_count'
  2942. if ivankowater_count ! 0: ivanko['water'] = ivankowater_count & killvar 'ivankowater_count'
  2943. if ivankolefto_count ! 0: ivanko['leftovers'] = ivankolefto_count & killvar 'ivankolefto_count'
  2944. if ivankosanw_count ! 0: ivanko['sandwich'] = ivankosanw_count & killvar 'ivankosanw_count'
  2945. if ivankofood_day ! 0: ivanko['food_day'] = ivankofood_day & killvar 'ivankofood_day'
  2946. if $ivanko_lefto ! '': $ivanko['leftover_txt'] = $ivanko_lefto & killvar '$ivanko_lefto'
  2947. if $ivanko_sup ! '': $ivanko['soup_txt'] = $ivanko_sup & killvar '$ivanko_sup'
  2948. if $ivanko_water ! '': $ivanko['water_txt'] = $ivanko_water & killvar '$ivanko_water'
  2949. if $ivanko_sanw ! '': $ivanko['sandwich_txt'] = $ivanko_sanw & killvar '$ivanko_sanw'
  2950. !! Less dynamic code in dynamic code-files.
  2951. gs 'din_bad'
  2952. gs 'din_pav'
  2953. gs 'din_van'
  2954. gs 'dina'
  2955. gs 'dinmother'
  2956. gs 'dinnpc'
  2957. gs 'Cheatmenu_din'
  2958. temp_total_mass = pcs_mass['body'] + pcs_mass['bust'] + pcs_mass['butt']
  2959. if pcs_mass['body_message'] < temp_total_mass - 10: pcs_mass['body_message'] = temp_total_mass
  2960. killvar 'temp_total_mass'
  2961. if $din_dush ! '': killvar '$din_dush'
  2962. if $din_analplugin_off ! '': killvar '$din_analplugin_off'
  2963. if nminut ! 0: killvar 'nminut'
  2964. if nhour ! 0: killvar 'nhour'
  2965. !! Fixed body image cheat overhaul
  2966. if arrsize('$bodimgsets') / 10 > 4:
  2967. su_i = 4
  2968. su_j = 0
  2969. :su_bodimgset_move_loop
  2970. if su_j < 9:
  2971. $cheatVars['fix_biset_<<su_i-4>>_desc_<<su_j>>'] = func('body_structure', 'body_desc_from_class', su_j)
  2972. if (su_j >= 1 and su_j <= 5) or dyneval('result = imgset<<su_j>>ovr[<<su_i>>]') = 0:
  2973. $cheatVars['fix_biset_<<su_i-4>>_img_<<su_j>>'] = '<<su_j>>'
  2974. end
  2975. su_j += 1
  2976. else
  2977. $cheatVars['fix_biset_<<su_i-4>>_folder'] = $bodimgsets[10 * su_i + su_j]
  2978. su_j = 0
  2979. su_i += 1
  2980. end
  2981. if 10 * su_i + su_j < arrsize('$bodimgsets'): jump 'su_bodimgset_move_loop'
  2982. end
  2983. killvar '$bodimgsets'
  2984. killvar 'imgset0ovr'
  2985. killvar 'imgset6ovr'
  2986. killvar 'imgset7ovr'
  2987. killvar 'imgset8ovr'
  2988. if bdsetlock ! 0:
  2989. cheatVars['fix_bodyimg'] = 1
  2990. if fixbodset >= 4:
  2991. cheatVars['fix_bi_set'] = fixbodset - 4
  2992. elseif fixbodset >= 1:
  2993. cheatVars['fix_bi_set'] = 190 + (fixbodset - 1)
  2994. else
  2995. cheatVars['fix_bi_set'] = 0
  2996. cheatVars['fix_bodyimg'] = 0
  2997. end
  2998. killvar 'bdsetlock'
  2999. killvar 'fixbodset'
  3000. end
  3001. if bodyVars['butt_other'] ! 0: bodyVars['butt_other'] = 0
  3002. if $lip ! '': $pc_descFull['lip'] = $lip & killvar '$lip'
  3003. if $pcs_throat ! '': $pc_descFull['throat'] = $pcs_throat & $pcs_throat = ''
  3004. if $skin ! '': $pc_descFull['skin'] = $skin & killvar '$skin'
  3005. if $glaza ! '': $pc_descFull['eyes'] = $glaza & killvar '$glaza'
  3006. if $pcs_makeup ! '': $pc_descFull['makeup'] = $pcs_makeup & $pcs_makeup = ''
  3007. if bankDebtLimit > 0: karta += bankDebtLimit
  3008. end
  3009. if temp_current_save_version < 00090304:
  3010. if artemQW['strapon_count'] = 0 and artemQW['strapon'] >= 1 or artemQW['strapon'] = -1: artemQW['strapon_count'] = 1
  3011. pcs_piercings['total'] = 0
  3012. pcs_piercings['wearing'] = 0
  3013. if pirsC > 0:
  3014. pcs_piercings['total'] += 1
  3015. if pirsC >= 10000:
  3016. pcs_piercings['ears'] = -1
  3017. elseif pirsC > 0:
  3018. pcs_piercings['wearing'] += 1
  3019. pcs_percings['ears'] = pirsC
  3020. end
  3021. killvar 'pirsC'
  3022. end
  3023. if pirsD > 0:
  3024. pcs_piercings['total'] += 1
  3025. if pirsD >= 10000:
  3026. pcs_piercings['nose'] = -1
  3027. elseif pirsD > 0:
  3028. pcs_piercings['wearing'] += 1
  3029. pcs_percings['nose'] = pirsD
  3030. end
  3031. killvar 'pirsD'
  3032. end
  3033. if pirsE > 0:
  3034. pcs_piercings['total'] += 1
  3035. if pirsE >= 10000:
  3036. pcs_piercings['brow'] = -1
  3037. elseif pirsE > 0:
  3038. pcs_piercings['wearing'] += 1
  3039. pcs_percings['brow'] = pirsE
  3040. end
  3041. killvar 'pirsE'
  3042. end
  3043. if pirsB > 0:
  3044. pcs_piercings['total'] += 1
  3045. if pirsB >= 10000:
  3046. pcs_piercings['lip'] = -1
  3047. elseif pirsB > 0:
  3048. pcs_piercings['wearing'] += 1
  3049. pcs_percings['lip'] = pirsB
  3050. end
  3051. killvar 'pirsB'
  3052. end
  3053. if pirsA > 0:
  3054. pcs_piercings['total'] += 1
  3055. if pirsA >= 10000:
  3056. pcs_piercings['tongue'] = -1
  3057. elseif pirsA > 0:
  3058. pcs_piercings['wearing'] += 1
  3059. pcs_percings['tongue'] = pirsA
  3060. end
  3061. killvar 'pirsA'
  3062. end
  3063. if pirsN > 0:
  3064. pcs_piercings['total'] += 1
  3065. if pirsN >= 10000:
  3066. pcs_piercings['navel'] = -1
  3067. elseif pirsN > 0:
  3068. pcs_piercings['wearing'] += 1
  3069. pcs_percings['navel'] = pirsN
  3070. end
  3071. killvar 'pirsN'
  3072. end
  3073. if pirsF > 0:
  3074. pcs_piercings['total'] += 1
  3075. if pirsF >= 10000:
  3076. pcs_piercings['nipples'] = -1
  3077. elseif pirsF > 0:
  3078. pcs_piercings['wearing'] += 1
  3079. pcs_percings['nipples'] = pirsF
  3080. end
  3081. killvar 'pirsF'
  3082. end
  3083. if pirsG > 0:
  3084. pcs_piercings['total'] += 1
  3085. if pirsG >= 10000:
  3086. pcs_piercings['pussy'] = -1
  3087. elseif pirsG > 0:
  3088. pcs_piercings['wearing'] += 1
  3089. pcs_percings['pussy'] = pirsG
  3090. end
  3091. killvar 'pirsG'
  3092. end
  3093. su_i = 0
  3094. :piercing_owned_update_loop
  3095. dynamic "
  3096. if pirsC<<su_i>>_owned = 1: pcs_piercings['ears_<<su_i>>_owned'] = 1 & killvar 'pirsC<<su_i>>_owned'
  3097. if pirsD<<su_i>>_owned = 1: pcs_piercings['nose_<<su_i>>_owned'] = 1 & killvar 'pirsD<<su_i>>_owned'
  3098. if pirsE<<su_i>>_owned = 1: pcs_piercings['brow_<<su_i>>_owned'] = 1 & killvar 'pirsE<<su_i>>_owned'
  3099. if pirsB<<su_i>>_owned = 1: pcs_piercings['lip_<<su_i>>_owned'] = 1 & killvar 'pirsB<<su_i>>_owned'
  3100. if pirsA<<su_i>>_owned = 1: pcs_piercings['tongue_<<su_i>>_owned'] = 1 & killvar 'pirsA<<su_i>>_owned'
  3101. if pirsN<<su_i>>_owned = 1: pcs_piercings['navel_<<su_i>>_owned'] = 1 & killvar 'pirsN<<su_i>>_owned'
  3102. if pirsF<<su_i>>_owned = 1: pcs_piercings['nipples_<<su_i>>_owned'] = 1 & killvar 'pirsF<<su_i>>_owned'
  3103. if pirsG<<su_i>>_owned = 1: pcs_piercings['pussy_<<su_i>>_owned'] = 1 & killvar 'pirsG<<su_i>>_owned'
  3104. "
  3105. su_i += 1
  3106. if su_i < 24: jump 'piercing_owned_update_loop'
  3107. if tattCount > 0: pcs_tattoos['total'] = tattCount & killvar 'tattCount'
  3108. if tatarm > 0: pcs_tattoos['arm'] = tatarm & killvar 'tatarm'
  3109. if tatass > 0: pcs_tattoos['ass'] = tatass & killvar 'tatass'
  3110. if tatback > 0: pcs_tattoos['back'] = tatback & killvar 'tatback'
  3111. if tatblly > 0: pcs_tattoos['belly'] = tatblly & killvar 'tatblly'
  3112. if tatbrst > 0: pcs_tattoos['breast'] = tatbrst & killvar 'tatbrst'
  3113. if tatchst > 0: pcs_tattoos['chest'] = tatchst & killvar 'tatchst'
  3114. if tatfce > 0: pcs_tattoos['face'] = tatfce & killvar 'tatfce'
  3115. if tatankle > 0: pcs_tattoos['ankle'] = tatankle & killvar 'tatankle'
  3116. if tatleg > 0: pcs_tattoos['leg'] = tatleg & killvar 'tatleg'
  3117. if tatlip > 0: pcs_tattoos['lip'] = tatlip & killvar 'tatlip'
  3118. if tatneck > 0: pcs_tattoos['neck'] = tatneck & killvar 'tatneck'
  3119. if tatvag > 0: pcs_tattoos['pussy'] = tatvag & killvar 'tatvag'
  3120. if tatlech > 0: pcs_tattoos['shoulder'] = tatlech & killvar 'tatlech'
  3121. if tatside > 0: pcs_tattoos['side'] = tatside & killvar 'tatside'
  3122. if tatupb > 0: pcs_tattoos['tramp'] = tatupb & killvar 'tatupb'
  3123. if tatunder > 0: pcs_tattoos['under'] = tatunder & killvar 'tatunder'
  3124. if tatwrist > 0: pcs_tattoos['wrist'] = tatwrist & killvar 'tatwrist'
  3125. if tathand > 0: pcs_tattoos['hand'] = tathand & killvar 'tathand'
  3126. if sisterQW['pirsA'] > 0:
  3127. sisterQW['piercing_tongue'] = 1
  3128. gs 'shortgs', 'remove_array_element', 'sisterQW', 'pirsA'
  3129. end
  3130. if sisterQW['pirsB'] > 0:
  3131. sisterQW['piercing_lip'] = 1
  3132. gs 'shortgs', 'remove_array_element', 'sisterQW', 'pirsB'
  3133. end
  3134. if sisterQW['pirsC'] > 0:
  3135. sisterQW['piercing_ears'] = 1
  3136. gs 'shortgs', 'remove_array_element', 'sisterQW', 'pirsC'
  3137. end
  3138. if sisterQW['pirsD'] > 0:
  3139. sisterQW['piercing_nose'] = 1
  3140. gs 'shortgs', 'remove_array_element', 'sisterQW', 'pirsD'
  3141. end
  3142. if sisterQW['pirsE'] > 0:
  3143. sisterQW['piercing_brow'] = 1
  3144. gs 'shortgs', 'remove_array_element', 'sisterQW', 'pirsE'
  3145. end
  3146. if sisterpirsadaytalk > 0: sisterQW['piercing_daystart'] = sisterpirsadaytalk & killvar 'sisterpirsadaytalk'
  3147. if brothersawpirsF > 0: brotherQW['piercing_nipples'] = 1 & killvar 'brothersawpirsF'
  3148. if pirsadaytalk > 0: stepfatherQW['piercing_talkday'] = pirsadaytalk & killvar 'pirsadaytalk'
  3149. if pirsAfather > 0: stepfatherQW['piercing_tongue'] = 1 & killvar 'pirsAfather'
  3150. if pirsBfather > 0: stepfatherQW['piercing_lip'] = 1 & killvar 'pirsBfather'
  3151. if pirsCfather > 0: stepfatherQW['piercing_ears'] = 1 & killvar 'pirsCfather'
  3152. if pirsDfather > 0: stepfatherQW['piercing_nose'] = 1 & killvar 'pirsDfather'
  3153. if pirsEfather > 0: stepfatherQW['piercing_brow'] = 1 & killvar 'pirsEfather'
  3154. if PutsawpirsF > 0: stepfatherQW['piercing_nipples'] = 1 & killvar 'PutsawpirsF'
  3155. if PutsawpirsG > 0: stepfatherQW['piercing_pussy'] = 1 & killvar 'PutsawpirsG'
  3156. if fatherTatLip > 0: stepfatherQW['tattoo_lip'] = 1 & killvar 'fatherTatLip' & killvar '$textFatherTatLip'
  3157. if Putsawtatvag > 0: stepfatherQW['tattoo_pussy'] = 1 & killvar 'Putsawtatvag'
  3158. if motherpirsadaytalk > 0: motherQW['piercing_talkday'] = motherpirsadaytalk & killvar 'motherpirsadaytalk'
  3159. if pirsAmother > 0: motherQW['piercing_tongue'] = 1 & killvar 'pirsAmother'
  3160. if pirsBmother > 0: motherQW['piercing_lip'] = 1 & killvar 'pirsBmother'
  3161. if pirsCmother > 0: motherQW['piercing_ears'] = 1 & killvar 'pirsCmother'
  3162. if pirsDmother > 0: motherQW['piercing_nose'] = 1 & killvar 'pirsDmother'
  3163. if pirsEmother > 0: motherQW['piercing_brow'] = 1 & killvar 'pirsEmother'
  3164. if KotovKnowPirsA > 0: VitekQW['piercing_tongue'] = 1 & killvar 'KotovKnowPirsA'
  3165. end
  3166. killvar 'temp_current_save_version'
  3167. gs 'saveg'
  3168. --- saveupdater ---------------------------------