saveupdater.qsrc 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366
  1. # saveupdater
  2. !! This file is for updating save game when one variable have been replaced by another.
  3. !! If you have replaced a variable for another, then you should first go to saveg.gsrc and update the version number as instructed there.
  4. !! Then at the bottom of this file just after the last end add the following line:
  5. !! if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < "new version number":
  6. !! where "new version number" should be as instructed in the start of saveg.qsrc
  7. !! Then add you replacement of variables after this line. You can see how this is done by looking through this file.
  8. !! When you do this you should always commit this file and saveg.qsrc at the same time.
  9. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080202:
  10. Msg 'Your save comes from some of previous versions of the game.<br>If it comes from ver. 0.8.1 or older, be prepare to buy new clothes.'
  11. if housr = 1:
  12. home_owned[1] = 1
  13. elseif housr = 2:
  14. home_owned[4] = 1
  15. end
  16. if BuyHous = 1: home_owned[1] = 2
  17. if placeMansion > 0: home_owned[5] = placeMansion
  18. if dachaest > 0: home_owned[3] = dachaest
  19. killvar 'placemansion'
  20. killvar 'dachaest'
  21. killvar 'housr'
  22. killvar 'BuyHous'
  23. if alko < 0: alko = 0
  24. if pranik < 0: pranik = 0
  25. if poroshok < 0: poroshok = 0
  26. !! set $home_town variable and remove consequential obsolete variables
  27. if $home_town = '':
  28. gs 'set_home', curr_home
  29. killvar 'svidboykino'
  30. killvar 'svidboypark'
  31. killvar 'svidboypark1'
  32. killvar 'svidboypark2'
  33. killvar 'svidboykafe'
  34. end
  35. !! exhibition to inhib
  36. if pcs_exhibition ! 0:
  37. pcs_inhib = pcs_exhibition
  38. inhib_exp = exhibition_exp
  39. inhib_lvlst = pcs_exhibition
  40. inhib_lvl = pcs_exhibition
  41. killvar 'pcs_exhibition'
  42. killvar 'exhibition_exp'
  43. end
  44. !! adds pregnancy progression images to saves that did not have them previously.
  45. if arrsize('$bodimgsets') = 30:
  46. $bodimgsets[30] = 'pregnant, but not showing'
  47. $bodimgsets[31] = 'glowing'
  48. $bodimgsets[32] = 'starting to show'
  49. $bodimgsets[33] = 'clearly showing'
  50. $bodimgsets[34] = 'fairly pregnant'
  51. $bodimgsets[35] = 'quite pregnant'
  52. $bodimgsets[36] = 'very pregnant'
  53. $bodimgsets[37] = 'extremely pregnant'
  54. $bodimgsets[38] = 'ready to pop'
  55. $bodimgsets[39] = 'default_preg'
  56. end
  57. !! reorganizes old spell variables into new arrrays
  58. if spell_update = 0:
  59. spell_update = 1
  60. if spelltuman = 1:spellKnown['fog'] = 1
  61. if spellklon = 1:spellKnown['clone'] = 1
  62. if spellstun = 1:spellKnown['stun'] = 1
  63. if spellweap = 1:spellKnown['weapon'] = 1
  64. if spellwind = 1:spellKnown['wind'] = 1
  65. if spellklon2 = 1:spellKnown['multiclone'] = 1
  66. if spellinit = 1:spellKnown['haste'] = 1
  67. if spellhel = 1:spellKnown['heal'] = 1
  68. if spellfire0 = 1:spellKnown['scaldingtouch'] = 1
  69. if spellfire2 = 1:spellKnown['burninghands'] = 1
  70. if spellfire3 = 1:spellKnown['firebarrier'] = 1
  71. if spellfire4 = 1:spellKnown['firestorm'] = 1
  72. if spellfire5 = 1:spellKnown['flameshield'] = 1
  73. if spellele0 = 1:spellKnown['shock'] = 1
  74. if spellele2 = 1:spellKnown['lightning'] = 1
  75. if spellele3 = 1:spellKnown['electricbarrier'] = 1
  76. if spellele4 = 1:spellKnown['1000birds'] = 1
  77. if spellele5 = 1:spellKnown['dancingsphere'] = 1
  78. if spellert0 = 1:spellKnown['quicksand'] = 1
  79. if spellert2 = 1:spellKnown['earthshield'] = 1
  80. if spellert3 = 1:spellKnown['abyss'] = 1
  81. if spellert4 = 1:spellKnown['earthguardian'] = 1
  82. if spellert5 = 1:spellKnown['sando'] = 1
  83. if spellwind0 = 1:spellKnown['windgust'] = 1
  84. if spellwind2 = 1:spellKnown['pressure'] = 1
  85. if spellwind3 = 1:spellKnown['vacuum'] = 1
  86. if spellwind4 = 1:spellKnown['vacuumshells'] = 1
  87. if spellwind5 = 1:spellKnown['devouringvacuum'] = 1
  88. if spellwater0 = 1:spellKnown['leechmana'] = 1
  89. if spellwater2 = 1:spellKnown['flood'] = 1
  90. if spellwater3 = 1:spellKnown['blister'] = 1
  91. if spellwater4 = 1:spellKnown['sharkrockets'] = 1
  92. if spellwater5 = 1:spellKnown['greatflood'] = 1
  93. end
  94. if spell_update < 2:
  95. spell_update = 2
  96. killvar '$basicSpells'
  97. end
  98. gs 'spellList'
  99. if spell_update < 3:
  100. spell_update = 3
  101. ! Fix Spell learn avaiability for Kakuzu if needed
  102. if tobiQW = 3:
  103. if stihia = 1:
  104. gs 'spellList','addAvailableSpells','fireSpells', 20
  105. end
  106. if stihia = 2:
  107. gs 'spellList','addAvailableSpells','electSpells', 20
  108. end
  109. if stihia = 3:
  110. gs 'spellList','addAvailableSpells','earthSpells', 20
  111. end
  112. if stihia = 4:
  113. gs 'spellList','addAvailableSpells','airSpells', 20
  114. end
  115. if stihia = 5:
  116. gs 'spellList','addAvailableSpells','waterSpells', 20
  117. end
  118. end
  119. ! Fix Library spells found if needed
  120. if arrsize('$ResearchingSP')>0:
  121. gs 'spellList','addAvailableSpells','librarySpells', arrsize('$ResearchingSP')
  122. end
  123. end
  124. gs 'spellList'
  125. end
  126. if array_updater = 0:
  127. array_updater = 1
  128. $oldnpcvars[0] = 'npc_app'
  129. $oldnpcvars[1] = 'npc_int'
  130. $oldnpcvars[2] = 'npc_Qstlvl'
  131. $newnpcvars[0] = 'npc_apprnc'
  132. $newnpcvars[1] = 'npc_intel'
  133. $newnpcvars[2] = 'npc_QW'
  134. i = 0
  135. :npcvarloop
  136. $oldnpcvar = $oldnpcvars[i]
  137. if i < arrsize($oldnpcvars):
  138. if 1 > arrsize('oldnpcvar'):i += 1 & jump 'npcvarloop'
  139. $newnpcvar = $newnpcvars[i]
  140. COPYARR 'newnpcvar', 'oldnpcvar'
  141. i += 1
  142. jump 'npcvarloop'
  143. end
  144. killvar 'npc_app'
  145. killvar 'npc_int'
  146. killvar 'npc_Qstlvl'
  147. killvar 'oldnpcvar'
  148. killvar 'newnpcvar'
  149. killvar '$oldnpcsvars'
  150. killvar '$newnpcvars'
  151. end
  152. !!Updates for the old school code
  153. if NatBelLernQW > 0 and NatbelQW['QWstage'] = 0: NatbelQW['QWstage'] = NatBelLernQW & NatBelLernQW = 0
  154. if npc_grupTipe['A133'] = 0: npc_grupTipe['A133'] = 6
  155. if grupTipe[25] ! 0:
  156. if npc_grupTipe['A25'] = 0: npc_grupTipe['A25'] = grupTipe[25]
  157. grupTipe[25] = 0
  158. end
  159. if grupTipe[5] ! 0:
  160. if npc_grupTipe['A5'] = 0: npc_grupTipe['A5'] = grupTipe[5]
  161. grupTipe[5] = 0
  162. end
  163. if grupTipe[61] ! 0:
  164. if npc_grupTipe['A189'] = 0: npc_grupTipe['A189'] = grupTipe[61]
  165. grupTipe[61] = 0
  166. end
  167. if npcSex[1] > 0: npcSex[1] = 0 & npc_sex['A1'] = 1
  168. if npcSex[2] > 0: npcSex[2] = 0 & npc_sex['A2'] = 1
  169. if npcSex[3] > 0: npcSex[3] = 0 & npc_sex['A3'] = 1
  170. if npcSex[4] > 0: npcSex[4] = 0 & npc_sex['A4'] = 1
  171. if npcSex[6] > 0: npcSex[6] = 0 & npc_sex['A6'] = 1
  172. if npcSex[9] > 0: npcSex[10] = 0 & npc_sex['A9'] = 1
  173. if npcSex[10] > 0: npcSex[10] = 0 & npc_sex['A10'] = 1
  174. if npcSex[11] > 0: npcSex[11] = 0 & npc_sex['A11'] = 1
  175. if npcSex[14] > 0: npcSex[14] = 0 & npc_sex['A14'] = 1
  176. if npcSex[16] > 0: npcSex[16] = 0 & npc_sex['A16'] = 1
  177. if npcSex[23] > 0: npcSex[23] = 0 & npc_sex['A23'] = 1
  178. if telefon_rev < 2:
  179. killvar '$contact'
  180. killvar '$contactIcon'
  181. killvar '$contactOCode'
  182. killvar '$contactOSche'
  183. killvar '$contactICode'
  184. killvar '$contactISche'
  185. gs 'telefon', 'AddContact', 'A29', 'icon_npc1',"gs 'telefon', 'Phone_call'","hour >= 8 and hour <= 20"
  186. if telkat > 0:
  187. gs 'telefon', 'AddContact', 'A219', 'icon_kat',"$telsob = 'Kate' & gt 'telefon', 'mobilaraz'","hour >= 8 and hour <= 20"
  188. end
  189. if npc_QW['A192'] > 0:
  190. gs 'telefon', 'AddContact', 'A192', 'icon_nastja',"gs 'telefon', 'start'","hour >= 8 and hour <= 20"
  191. end
  192. telefon_rev = 2
  193. end
  194. if pee > 0: stat['pee'] += pee & killvar 'pee'
  195. ! Since the arousal calls are seeded in all the scenes where these two variables occur, once they''ve been added to the stat, they should always be less or equal to it.
  196. if NatbelQW['pee'] > stat['pee_give']: stat['pee_give'] += NatbelQW['pee']
  197. if mistpiss > stat['pee_give'] - NatbelQW['pee']: stat['pee_give'] += mistpiss
  198. if thpic ! 0: killvar 'thpic'
  199. if puspic ! 0: killvar 'puspic'
  200. if $npcGoSchool['A<<npctemp>>'] = '<a href="exec:gt ''gschool_chats2'',''christina''"><<$npc_usedname[''A18'']>></a>': $npcGoSchool['A<<npctemp>>'] = '<a href="exec:gt ''gschool_chats1'',''christina''"><<$npc_usedname[''A18'']>></a>'
  201. !! Replacing some of the natasha variables with NatbelQW['QWstage'] levels.
  202. killvar 'natsub'
  203. killvar 'natotrab'
  204. killvar 'natfuck'
  205. if StoryLine = 1:
  206. if fuckornot_update = 0:
  207. fuckornot_update = 1
  208. hotcat_rating['A22'] = 9
  209. hotcat_rating['A17'] = 9
  210. hotcat_rating['A23'] = 8
  211. hotcat_rating['A144'] = 8
  212. hotcat_rating['A19'] = 7
  213. hotcat_rating['A18'] = 7
  214. hotcat_rating['A14'] = 7
  215. hotcat_rating['A12'] = 7
  216. hotcat_rating['A140'] = 7
  217. hotcat_rating['A141'] = 7
  218. hotcat_rating['A15'] = 7
  219. hotcat_rating['A143'] = 6
  220. hotcat_rating['A13'] = 6
  221. hotcat_rating['A16'] = 6
  222. hotcat_rating['A25'] = 6
  223. hotcat_rating['A139'] = 6
  224. hotcat_rating['A20'] = 6
  225. hotcat_rating['A21'] = 6
  226. hotcat_rating['A24'] = 5
  227. hotcat_rating['A142'] = 5
  228. hotcat_rating['A145'] = 4
  229. elseif fuckornot_update = 1:
  230. fuckornot_update = 2
  231. hotcat_rating['A145'] = 4
  232. hotcat_movement['A145'] = 0
  233. elseif fuckornot_update = 2:
  234. fuckornot_update = 3
  235. hotcat_rating['A1'] = 8
  236. hotcat_rating['A2'] = 6
  237. hotcat_rating['A3'] = 7
  238. hotcat_rating['A4'] = 5
  239. hotcat_rating['A5'] = 7
  240. hotcat_rating['A6'] = 4
  241. hotcat_rating['A7'] = 1
  242. hotcat_rating['A8'] = 7
  243. hotcat_rating['A9'] = 5
  244. hotcat_rating['A10'] = 6
  245. hotcat_rating['A11'] = 4
  246. hotcat_rating['A34'] = 7
  247. hotcat_rating['A58'] = 4
  248. hotcat_rating['A59'] = 6
  249. hotcat_rating['A146'] = 8
  250. hotcat_rating['A147'] = 8
  251. hotcat_rating['A148'] = 6
  252. hotcat_rating['A149'] = 7
  253. hotcat_rating['A152'] = 6
  254. hotcat_rating['A153'] = 4
  255. hotcat_rating['A154'] = 7
  256. hotcat_rating['A155'] = 7
  257. hotcat_rating['A156'] = 5
  258. hotcat_rating['A157'] = 5
  259. hotcat_rating['A158'] = 6
  260. hotcat_rating['A159'] = 1
  261. end
  262. if grigoryEV ! 0:
  263. npc_qw['A221'] = grigoryEV
  264. killvar 'grigoryEV'
  265. end
  266. if SchoolAtestat = 0 and SchoolBlock = 0 and $schbrand = '':$schbrand = 'school'
  267. end
  268. if wombfather_update = 0: wombfather_update = 1 & gs 'din_bad'
  269. !! This will unlock the Anushka photos if a player has already done the event.
  270. if showerphotos = 1 and showerphotosupdater = 0:
  271. showerphotosupdater = 1
  272. anushkaphoto[1] = 1
  273. anushkaphoto[2] = 1
  274. anushkaphoto[3] = 1
  275. anushkaphoto[4] = 1
  276. anushkaphoto[5] = 1
  277. anushkaphoto[6] = 1
  278. end
  279. !! Changes to the pregnancy due date dynamic format
  280. if pregdateupdate = 0:
  281. gs 'din_bad'
  282. pregdateupdate = 1
  283. end
  284. if $npc_usedname['A<<npctemp>>'] = 'Inna': $npc_usedname['A<<npctemp>>'] = 'Irina'
  285. !! Killing some useless variables used to trigger the Pavlin storyline
  286. if totalmon ! 0:
  287. montake = totalmon
  288. killvar 'totalmon'
  289. killvar 'mongiveback'
  290. end
  291. if cyc_update = 0:
  292. cyc_update = 1
  293. daylastperiod = firstmens
  294. if difficulty = 4:
  295. cyccustom = 0
  296. else
  297. cyccustom = 1
  298. end
  299. end
  300. ! Switching from tracking relationship with Rex from rex to npc_rel['A57']
  301. if rex > 0 and rex > npc_rel['A57']: npc_rel['A57'] = rex & killvar 'rex'
  302. !!------------------------------village variable clean up/translation---------------------------------------
  303. if findvel > 0: BikeLoc = findvel & killvar 'findvel'
  304. !!------------------------------grandparent variable clean up---for 0.8.0 release---------------------------
  305. !!---Grandpa
  306. If grandpa_bilberry > 0: grandpaQW['chore_berry_quantity'] = grandpa_bilberry & killvar 'grandpa_bilberry'
  307. If grandpa_boletus > 0: grandpaQW['chore_mushroom_quantity'] = grandpa_boletus & killvar 'grandpa_boletus'
  308. If grandpahelpday > 0: grandpaQW['last_day_helped'] = grandpahelpday & killvar 'grandpahelpday'
  309. If grandpahelping > 0: grandpaQW['chore_type'] = grandpahelping & killvar 'grandpahelping'
  310. If grandpatalk > 0: grandpaQW['last_hour_talked'] = grandpatalk & killvar 'grandpatalk'
  311. If grandpatalkday > 0: grandpaQW['last_day_talked'] = grandpatalkday & killvar 'grandpatalkday'
  312. If grandpatalkforest > 0: grandpaQW['talked_about_forest'] = grandpatalkforest & killvar 'grandpatalkforest'
  313. If comb_horse > 0: grandpaQW['chore_brush_horse'] = comb_horse & killvar 'comb_horse'
  314. If cow_field > 0: grandpaQW['chore_lead_cow_to_field'] = cow_field & killvar 'cow_field'
  315. If feed_boar > 0: grandpaQW['chore_feed_boar'] = feed_boar & killvar 'feed_boar'
  316. If feed_cow > 0: grandpaQW['chore_feed_cow'] = feed_cow & killvar 'feed_cow'
  317. If feed_horse > 0: grandpaQW['chore_feed_horse'] = feed_horse & killvar 'feed_horse'
  318. If graze_cow > 0: grandpaQW['chore_herd_cattle'] = graze_cow & killvar 'graze_cow'
  319. If graze_cow_exp > 0: grandpaQW['chore_herd_cattle_experience'] = graze_cow_exp & killvar 'graze_cow_exp'
  320. If haying_time > 0: grandpaQW['chore_bale_hay'] = haying_time & killvar 'haying_time'
  321. If horse_field > 0: grandpaQW['chore_lead_horse_to_field'] = horse_field & killvar 'horse_field'
  322. If horse_river > 0: grandpaQW['chore_bathe_horse'] = horse_river & killvar 'horse_river'
  323. If go_in_bilberry > 0: grandpaQW['chore_gather_berries'] = go_in_bilberry & killvar 'go_in_bilberry'
  324. If go_in_boletus > 0: grandpaQW['chore_gather_mushrooms'] = go_in_boletus & killvar 'go_in_boletus'
  325. If go_in_boletus_bilberry > 0: grandpaQW['chore_gather_both'] = go_in_boletus_bilberry & killvar 'go_in_boletus_bilberry'
  326. !!---Grandma
  327. If grandma_trouble > 0: grandmaQW['nudity_trouble'] = grandma_trouble & killvar 'grandma_trouble'
  328. If grandmastory > 0: grandmaQW['last_day_asked_for_story'] = grandmastory & killvar 'grandmastory'
  329. If grandmatalk > 0: grandmaQW['last_hour_talked'] = grandmatalk & killvar 'grandmatalk'
  330. If grandmatalkday > 0: grandmaQW['last_day_talked'] = grandmatalkday & killvar 'grandmatalkday'
  331. If grandmatalkgad > 0: grandmaQW['talked_about_gadukino'] = grandmatalkgad & killvar 'grandmatalkgad'
  332. If monthbabkapay > 0: grandmaQW['last_month_paid'] = monthbabkapay & killvar 'monthbabkapay'
  333. If grandmahelpday > 0: grandmaQW['last_day_helped'] = grandmahelpday & killvar 'grandmahelpday'
  334. If grandmahelp > 0: grandmaQW['help_amount'] = grandmahelp & killvar 'grandmahelp'
  335. If grandmahelping > 0: grandmaQW['chore_type'] = grandmahelping & killvar 'grandmahelping'
  336. If collect_strawberries > 0: grandmaQW['chore_collect_strawberries'] = collect_strawberries & killvar 'collect_strawberries'
  337. If feed_chickens > 0: grandmaQW['chore_feed_chickens'] = feed_chickens & killvar 'feed_chickens'
  338. If fruit_collect > 0: grandmaQW['chore_collect_fruit'] = fruit_collect & killvar 'fruit_collect'
  339. If harvest_garden > 0: grandmaQW['chore_harvest_garden'] = harvest_garden & killvar 'harvest_garden'
  340. If milk_cow > 0: grandmaQW['chore_milk_cow'] = milk_cow & killvar 'milk_cow'
  341. If water_garden > 0: grandmaQW['chore_water_garden'] = water_garden & killvar 'water_garden'
  342. If work_garden > 0: grandmaQW['chore_work_in_garden'] = work_garden & killvar 'work_garden'
  343. !!---------------------------end of grandparent variable clean up---for 0.8.0 release-----------------------
  344. !! ----- Natasha story variables migrated to array ----- 0.8.0
  345. ! Natasha''s mom NPC data for existing saves
  346. if $npc_firstname['A191'] ! 'Isabella':
  347. npctemp = 191
  348. $npc_dna['A<<npctemp>>'] = '1614037462 1959746313 1085890273 0326112989 0869737602 6676723523 3590292041'
  349. $npc_firstname['A<<npctemp>>'] = 'Isabella'
  350. $npc_nickname['A<<npctemp>>'] = 'Bella'
  351. $npc_lastname['A<<npctemp>>'] = 'Belova'
  352. $npc_usedname['A<<npctemp>>'] = 'Isabella'
  353. $npc_notes['A<<npctemp>>'] = 'Your classmate Natasha''s mother, Isabella Belova.'
  354. npc_dob['A<<npctemp>>'] = 19820922
  355. npc_gender['A<<npctemp>>'] = 1
  356. gs 'npcstaticdefaults', 'defaults'
  357. npc_bust['A<<npctemp>>'] = 23
  358. end
  359. killvar '$NatashaMotherName' & killvar '$NatashaMotherNickname'
  360. if NatashaQW > 0: NatbelQW['QWstage'] = NatashaQW & killvar 'NatashaQW'
  361. if natbelXP > 0: NatbelQW['natbelXP'] = natbelXP & killvar 'natbelXP'
  362. if NatBelBestFrend > 0: NatbelQW['BestFriend'] = NatBelBestFrend & killvar 'NatBelBestFrend'
  363. if BeInNatBelHome > 0: NatbelQW['VisitedHome'] = BeInNatBelHome & killvar 'BeInNatBelHome'
  364. if natashaFirstvisit > 0: NatbelQW['FirstVisit'] = natashaFirstvisit & killvar 'natashaFirstvisit'
  365. if NatNoTV > 0: NatbelQW['NoTV'] = NatNoTV & killvar 'NatNoTV'
  366. if ShowRand > 0: NatbelQW['TVshow'] = ShowRand & killvar 'ShowRand'
  367. if $ShowMsg ! '': $NatbelQW['TVmsg'] = $ShowMsg & killvar '$ShowMsg'
  368. if NatashaWatchedYourPorn > 0: NatbelQW['WatchedYourPorn'] = NatashaWatchedYourPorn & killvar 'NatashaWatchedYourPorn'
  369. if NatDolg > 0: NatbelQW['Debt'] = NatDolg & killvar 'NatDolg'
  370. if NatDolgDay > 0: NatbelQW['DebtDay'] = NatDolgDay & killvar 'NatDolgDay'
  371. if nattimeleft > 0: NatbelQW['DebtTimeLeft'] = nattimeleft & killvar 'nattimeleft'
  372. if NatashaMoneyGivenTimes > 0: NatbelQW['MoneyGivenTimes'] = NatashaMoneyGivenTimes & killvar 'NatashaMoneyGivenTimes'
  373. if NatashaHW > 0: NatbelQW['homework'] = NatashaHW & killvar 'NatashaHW'
  374. if natdoingHW > 0: NatbelQW['doingHW'] = natdoingHW & killvar 'natdoingHW'
  375. if NatashaNakedHW > 0: NatbelQW['nakedHW'] = NatashaNakedHW & killvar 'NatashaNakedHW'
  376. if natunderwear > 0: NatbelQW['underwear'] = natunderwear & killvar 'natunderwear'
  377. if natund > 0: NatbelQW['underwearShop'] = natund & killvar 'natund'
  378. if natseethrough > 0: NatbelQW['seethrough'] = natseethrough & killvar 'natseethrough'
  379. if natseethroughwearing > 0: NatbelQW['seethroughwearing'] = natseethroughwearing & killvar 'natseethroughwearing'
  380. if natseethroughworn > 0: NatbelQW['seethroughworn'] = natseethroughworn & killvar 'natseethroughworn'
  381. if natseehtroughkitchen > 0: NatbelQW['seethroughkitchen'] = natseehtroughkitchen & killvar 'natseehtroughkitchen'
  382. if natmomrobe > 0: NatbelQW['momrobe'] = natmomrobe & killvar 'natmomrobe'
  383. if nattraining > 0: NatbelQW['training'] = nattraining & killvar 'nattraining'
  384. if natlesb > 0: NatbelQW['lesbian'] = natlesb & killvar 'natlesb'
  385. if natpee > 0: NatbelQW['pee'] = natpee & killvar 'natpee'
  386. if HaveCucumber > 0: NatbelQW['cucumber'] = HaveCucumber & killvar 'HaveCucumber'
  387. if natkolkatease > 0: NatbelQW['KolkaTease'] = natkolkatease & killvar 'natkolkatease'
  388. if kolkawantsnat > 0: NatbelQW['KolkaWantsNat'] = kolkawantsnat & killvar 'kolkawantsnat'
  389. if natfuckday > 0: NatbelQW['KolkaFuckDay'] = natfuckday & killvar 'natfuckday'
  390. if NatKolkaSex > 0: NatbelQW['KolkaSex'] = NatKolkaSex & killvar 'NatKolkaSex'
  391. if natbj > 0: NatbelQW['bj'] = natbj & killvar 'natbj'
  392. if NatKolkaFootjob > 0: NatbelQW['KolkaFootjob'] = NatKolkaFootjob & killvar 'NatKolkaFootjob'
  393. if natcp > 0: NatbelQW['KolkaCP'] = natcp & killvar 'natcp'
  394. ! Adding all previous creampies to the new vaginal sex tracker so it can start above 0 if possible
  395. if NatbelQW['KolkaCP'] > 0 and NatbelQW['vaginal'] = 0: NatbelQW['vaginal'] += NatbelQW['KolkaCP']
  396. if natanal > 0: NatbelQW['anal'] = natanal & killvar 'natanal'
  397. if natpregday > 0: NatbelQW['pregday'] = natpregday & killvar 'natpregday'
  398. if nataskedbaby > 0: NatbelQW['askedbaby'] = nataskedbaby & killvar 'nataskedbaby'
  399. if natbabycount > 0: NatbelQW['babycount'] = natbabycount & killvar 'natbabycount'
  400. if MetNatMother > 0: NatbelQW['MetMother'] = MetNatMother & killvar 'MetNatMother'
  401. ! These can be set to 0, so wiping them in any case to get rid of them
  402. NatbelQW['MotherHome'] = NatashaMotherHome & killvar 'NatashaMotherHome'
  403. NatbelQW['MotherDoor'] = DoorOpenBy & killvar 'DoorOpenBy'
  404. NatbelQW['MotherState'] = NatashaMotherState & killvar 'NatashaMotherState'
  405. NatbelQW['MotherStateMsg'] = NatashaMotherStateMsg & killvar 'NatashaMotherStateMsg'
  406. NatbelQW['MotherStateKeep'] = NatashaMotherStateKeep & killvar 'NatashaMotherStateKeep'
  407. if SeenNatMomHitachi > 0: NatbelQW['SeenNatMomHitachi'] = SeenNatMomHitachi & killvar 'SeenNatMomHitachi'
  408. if CaughtByNatMomHitachi > 0: NatbelQW['CaughtByNatMomHitachi'] = CaughtByNatMomHitachi & killvar 'CaughtByNatMomHitachi'
  409. if $NatMomVibName ! '': $NatbelQW['NatMomVibName'] = $NatMomVibName & killvar '$NatMomVibName'
  410. ! typos found in the natasha files & other cleaning up
  411. if nhib_exp > 0: inhib_exp += nhib_exp & killvar 'nhib_exp'
  412. killvar 'natsleeprand'
  413. killvar 'imgrand'
  414. !! ----- Natasha story variables migrated to array ----- 0.8.0
  415. ! ----- Parrot story variables migrated to array
  416. if saveparQW > 0: ParrotQW['Level'] = saveparQW & killvar 'saveparQW'
  417. if popugai > 0: ParrotQW['Owned1'] = popugai & killvar 'popugai'
  418. if popugai2 > 0: ParrotQW['Owned2'] = popugai2 & killvar 'popugai2'
  419. if saveparjourQW > 0: ParrotQW['Day'] = saveparjourQW & killvar 'saveparjourQW'
  420. if parbuydate > 0: ParrotQW['BuyDate'] = parbuydate & killvar 'parbuydate'
  421. if sisrelparday > 0: ParrotQW['SisterReleaseParrotDay'] = sisrelparday & killvar 'sisrelparday'
  422. if saveparQWfailed > 0: ParrotQW['Failed'] = saveparQWfailed & killvar 'saveparQWfailed'
  423. If sispopconf > 0: ParrotQW['SisKeepParrot'] = sispopconf & killvar 'sispopconf'
  424. if $namepopu ! '': $ParrotQW['Name1'] = $namepopu & killvar '$namepopu'
  425. if $namepopu2 ! '': $ParrotQW['Name2'] = $namepopu2 & killvar '$namepopu2'
  426. ! ----- Parrot story variables migrated to array
  427. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  428. if BankPapper > 0: BurgerQW['BankTask'] = BankPapper & killvar 'BankPapper'
  429. if BistroBoss > 0: BurgerQW['BossSlut'] = BistroBoss & killvar 'BistroBoss'
  430. if BistroBossDay > 0: BurgerQW['BossSlutLastServed'] = BistroBossDay & killvar 'BistroBossDay'
  431. if bistroQW > 0: BurgerQW['Level'] = bistroQW & killvar 'bistroQW'
  432. if $burgerIvanText ! '': $BurgerQW['IvanSecurityCamDesc'] = $burgerIvanText & killvar '$burgerIvanText'
  433. if BuSWworkEnd > 0: BurgerQW['SaunaWhoreKnown'] = BuSWworkEnd & killvar 'BuSWworkEnd'
  434. if dayBankPapper > 0: BurgerQW['BankTaskDay'] = dayBankPapper & killvar 'dayBankPapper'
  435. if DayTerminalPapper > 0: BurgerQW['TerminalTaskDay'] = DayTerminalPapper & killvar 'DayTerminalPapper'
  436. if gossipBU > 0: BurgerQW['SlutReputation'] = gossipBU & killvar 'gossipBU'
  437. if IvanEvidence > 0: BurgerQW['IvanQWEvidence'] = IvanEvidence & killvar 'IvanEvidence'
  438. if ivanFilmBJ > 0: BurgerQW['IvanQWBJFilmed'] = ivanFilmBJ & killvar 'ivanFilmBJ'
  439. if IvanKvartira > 0: BurgerQW['IvanQWTatianaHelp'] = IvanKvartira & killvar 'IvanKvartira'
  440. if IvanPodstavaDay > 0: BurgerQW['IvanQWDay'] = IvanPodstavaDay & killvar 'IvanPodstavaDay'
  441. if IvanPodstavaQW > 0: BurgerQW['IvanQW'] = IvanPodstavaQW & killvar 'IvanPodstavaQW'
  442. if kompromatBlackMail > 0: BurgerQW['IvanQWBlackmail'] = kompromatBlackMail & killvar 'kompromatBlackMail'
  443. if $kompromatFoto ! '': $BurgerQW['IvanQWBlackmailPhoto'] = $kompromatFoto & killvar '$kompromatFoto'
  444. if NoBistroWork > 0: BurgerQW['WorkBlocked'] = NoBistroWork & killvar 'NoBistroWork'
  445. if PersSecWork > 0: BurgerQW['Secretary'] = PersSecWork & killvar 'PersSecWork'
  446. if PersSecWorkTimes > 0: BurgerQW['SecretaryTimesWorked'] = PersSecWorkTimes & killvar 'PersSecWorkTimes'
  447. if PodpiskaNeviezd > 0: BurgerQW['IvanQWPoliceDayCount'] = PodpiskaNeviezd & killvar 'PodpiskaNeviezd'
  448. if posuda > 0: BurgerQW['WashDishesCount'] = posuda & killvar 'posuda'
  449. if posudaA > 0: BurgerQW['WashFloorCount'] = posudaA & killvar 'posudaA'
  450. if posudaday > 0: BurgerQW['WashedDishesLastDay'] = posudaday & killvar 'posudaday'
  451. if posudaAday > 0: BurgerQW['WashFloorLastDay'] = posudaAday & killvar 'posudaAday'
  452. if PSBBtimes > 0: BurgerQW['WorkShift'] = PSBBtimes & killvar 'PSBBtimes'
  453. if sergeyPQW > 0: BurgerQW['sergeyQW'] = sergeyPQW & killvar 'sergeyPQW'
  454. if soplakTimes > 0: BurgerQW['sergeyQWServiced1'] = soplakTimes & killvar 'soplakTimes'
  455. if soplakTimes1 > 0: BurgerQW['sergeyQWServiced2'] = soplakTimes1 & killvar 'soplakTimes1'
  456. if TerminalPapper > 0: BurgerQW['TerminalTask'] = TerminalPapper & killvar 'TerminalPapper'
  457. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  458. ! ----- Albina story variables migrated to array
  459. if AlbFather > 0: AlbinaQW['AlbFatherQW'] = AlbFather & killvar 'AlbFather'
  460. if AlbFrend > 0: AlbinaQW['Friends'] = AlbFrend & killvar 'AlbFrend'
  461. if ZvezdEnd > 0: AlbinaQW['StarletsShutDown'] = ZvezdEnd & killvar 'ZvezdEnd'
  462. if DanceWhore > 0: AlbinaQW['StarletsWhore'] = DanceWhore & killvar 'DanceWhore'
  463. if beinalbinahome > 0: AlbinaQW['KnowsHouse'] = beinalbinahome & killvar 'beinalbinahome'
  464. if albsportday > 0: AlbinaQW['SportDay'] = albsportday & killvar 'albsportday'
  465. if albsporthome > 0: AlbinaQW['SportHome'] = albsporthome & killvar 'albsporthome'
  466. if gamebet > 0: AlbinaQW['gamebet'] = gamebet & killvar 'gamebet'
  467. if stardance > 0: AlbinaQW['ShowTriggerCount'] = stardance & killvar 'stardance'
  468. if albrideday > 0: AlbinaQW['albrideday'] = albrideday & killvar 'albrideday'
  469. if albinaQWdance > 0: AlbinaQW['StarletsJoined'] = albinaQWdance & killvar 'albinaQWdance'
  470. if AlbZverHelp > 0: AlbinaQW['ChristinaHelp'] = AlbZverHelp & killvar 'AlbZverHelp'
  471. if alb_father_meeting > 0: AlbinaQW['ParkRally'] = alb_father_meeting & killvar 'alb_father_meeting'
  472. if alb_father_day > 0: AlbinaQW['ParkRallyDay'] = alb_father_day & killvar 'alb_father_day'
  473. if AlbFaterBlackTime > 0: AlbinaQW['ElectionCampaignTime'] = AlbFaterBlackTime & killvar 'AlbFaterBlackTime'
  474. if startletsday > 0: AlbinaQW['startletsday'] = startletsday & killvar 'startletsday'
  475. ! ----- Albina story variables migrated to array
  476. !! Updating npc_bust[] array to the new values ----- 0.8.0
  477. if npc_bust['A12'] = 9: npc_bust['A12'] = 23
  478. if npc_bust['A13'] = 9: npc_bust['A13'] = 8
  479. if npc_bust['A14'] = 9: npc_bust['A14'] = 20
  480. if npc_bust['A15'] = 9: npc_bust['A15'] = 18
  481. if npc_bust['A16'] = 9: npc_bust['A16'] = 26
  482. if npc_bust['A17'] = 9: npc_bust['A17'] = 34
  483. if npc_bust['A18'] = 9: npc_bust['A18'] = 21
  484. if npc_bust['A19'] = 9: npc_bust['A19'] = 14
  485. if npc_bust['A20'] = 9: npc_bust['A20'] = 22
  486. if npc_bust['A21'] = 9: npc_bust['A21'] = 18
  487. if npc_bust['A22'] = 9: npc_bust['A22'] = 27
  488. if npc_bust['A23'] = 9: npc_bust['A23'] = 14
  489. if npc_bust['A24'] = 9: npc_bust['A24'] = 20
  490. if npc_bust['A25'] = 9: npc_bust['A25'] = 21
  491. if npc_bust['A29'] = 9: npc_bust['A29'] = 25
  492. if npc_bust['A30'] = 9: npc_bust['A30'] = 18
  493. if npc_bust['A33'] = 9: npc_bust['A33'] = 19
  494. if npc_bust['A134'] = 9: npc_bust['A134'] = 20
  495. if npc_bust['A135'] = 9: npc_bust['A135'] = 13
  496. if npc_bust['A136'] = 9: npc_bust['A136'] = 30
  497. if npc_bust['A137'] = 9: npc_bust['A137'] = 34
  498. if npc_bust['A138'] = 9: npc_bust['A138'] = 18
  499. if npc_bust['A139'] = 9: npc_bust['A139'] = 22
  500. if npc_bust['A140'] = 9: npc_bust['A140'] = 13
  501. if npc_bust['A141'] = 9: npc_bust['A141'] = 20
  502. if npc_bust['A142'] = 9: npc_bust['A142'] = 13
  503. if npc_bust['A143'] = 9: npc_bust['A143'] = 7
  504. if npc_bust['A144'] = 9: npc_bust['A144'] = 24
  505. if npc_bust['A145'] = 9: npc_bust['A145'] = 31
  506. !! Updating npc_bust[] array to the new values ----- 0.8.0
  507. !!-----------Adding pube colours for 0.8.0-----------
  508. if pcs_pubecol[1] = 0: pcs_pubecol = pcs_haircol & pcs_pubecol[1] = 1 & pcs_pubecol[2] = pcs_haircol
  509. !!-----------Adding pube colours for 0.8.0-----------
  510. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  511. killvar 'olufirst'
  512. killvar 'tetyafirst'
  513. killvar 'oluuosegunday_count'
  514. killvar 'oluuosegunday_day'
  515. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  516. !!trait update
  517. if traits['update_1'] = 0:
  518. traits['update_1'] = 1
  519. traits['alko_day'] = alko_trait_day
  520. traits['alko_points'] = alko_trait_counter
  521. traits['alko_status'] = alko_trait
  522. killvar 'alko_trait_day'
  523. killvar 'alko_trait_counter'
  524. killvar 'alko_trait'
  525. end
  526. !! ----- Other bug fixes and cleanup ----- 0.8.0
  527. if pcs_gaming_exp > 0: gaming_exp += pcs_gaming_exp & killvar 'pcs_gaming_exp'
  528. if nerd_night_game ! 0: killvar 'nerd_night_game'
  529. if nerd_night_game_day ! 0: nerd_game['game_day'] = nerd_night_game_day & killvar 'nerd_night_game_day'
  530. !!Masturbation check wasn''t being cleared
  531. mastrOnce = 0
  532. !! ----- Other bug fixes and cleanup ----- 0.8.0
  533. !!--------0.8.0.1---school social group adjustment
  534. if gruptipe[9000] = 0:
  535. gruptipe[9000] = 1
  536. grupvalue[1] = grupvalue[1] * 10
  537. grupvalue[2] = grupvalue[2] * 10
  538. grupvalue[3] = grupvalue[3] * 10
  539. grupvalue[4] = grupvalue[4] * 10
  540. end
  541. !!--------0.8.0.1---school social group adjustment
  542. !!--------0.8.1--- Music variable names changed
  543. if ml_update_1 = 0:
  544. ml_guitar['hasguitar'] = ml_guitar
  545. ml_guitar['carried'] = ml_guitarWithMe
  546. ml_performance['performed_minutes'] = ml_performed_minutes
  547. ml_performance['max_perform_minutes'] = ml_max_perform_minutes
  548. ml_guitar['chordbook'] = ml_chordbook
  549. ml_guitarlesson['lessoncount'] = ml_lessoncount
  550. ml_guitarlesson['lessonday'] = ml_lessonday
  551. $ml_guitarlesson['lessonday'] = $ml_lessonday
  552. ml_guitarlesson['lessonhour'] = 15
  553. ml_guitarlesson['nextlesson'] = daystart + (ml_guitarlesson['lessonday'] + 7 - week)
  554. ml_guitarlesson['advertisement'] = ml_guitarlessonadv
  555. ml_guitarlesson['enquired'] = ml_enquired
  556. if age < 18:
  557. ml_guitarlesson['lessoncost'] = 300
  558. else
  559. ml_guitarlesson['lessoncost'] = 500
  560. end
  561. killvar 'ml_guitarWithMe'
  562. killvar 'ml_performed_minutes'
  563. killvar 'ml_max_perform_minutes'
  564. killvar 'ml_guitarlessonadv'
  565. killvar 'ml_enquired'
  566. killvar 'ml_lessonday'
  567. killvar '$ml_lessonday'
  568. killvar 'ml_lessoncost'
  569. !!--------0.8.1--- Music variable names changed
  570. ml_update_1 = 1
  571. end
  572. !! changed $metkaM to $locM_arg and $metka to $loc_arg in the code - needed for correction saves saved prior to version 0.8.1
  573. if arrsize('$metkaM') > 0 or arrsize('$metka') > 0:
  574. $locM_arg = $metkaM
  575. $loc_arg = $metka
  576. killvar '$metkaM'
  577. killvar '$metka'
  578. end
  579. !!---------------------------------------------------------------
  580. !! fixes the variable for Christina getting outcasted, so she will show up in the journal correctly
  581. if zverSlutQW = 2:
  582. npc_grupTipe['A18'] = 5
  583. end
  584. !!---------------------------------------------------------------
  585. !!model variable updates
  586. if anastasia > 0 and anastasia['saveupdate'] = 0:
  587. anastasia['status'] = anastasia
  588. anastasia['escort_ask'] = anastasia_escort_ask
  589. anastasia['model_exp'] = anastasia_mode_exp
  590. anastasia['sex'] = anastasiasex
  591. anastasia['saveupdate'] = 1
  592. end
  593. if foto_models['emily'] > 0 and emily['saveupdate'] = 0:
  594. emily['status'] = foto_models['emily']
  595. emily['hate'] = emily_hate
  596. emily['model_exp'] = emily_model_exp
  597. emily['saveupdate'] = 1
  598. end
  599. if jeff > 0 and jeff['saveupdate'] = 0:
  600. jeff['status'] = jeff
  601. jeff['grope'] = jeff_grope
  602. jeff['movies'] = jeff_movies
  603. jeff['model_exp'] = jeff_model_exp
  604. jeff['saveupdate'] = 1
  605. end
  606. if krystal > 0 and krystal['saveupdate'] = 0:
  607. krystal['status'] = krystal['talk']
  608. krystal['saveupdate'] = 1
  609. end
  610. if mari > 0 and mari['saveupdate'] = 0:
  611. mari['status'] = mari
  612. mari['busy'] = mari_busy
  613. mari['farm_shoot'] = mari_farm_shoot
  614. mari['cloth_shoot'] = mari_cloth_shoot
  615. mari['convo'] = mari_convo
  616. mari['sex'] = mari_sex
  617. mari['model_exp'] = mari_model_exp
  618. mari['model_ask'] = mari_modelling_exp
  619. mari['fakepassport'] = mari_fakepassport
  620. mari['saveupdate'] = 1
  621. end
  622. !! Fixing Katja and Natasha relationship
  623. if npc_sex['A14'] > 1: npc_sex['A14'] = 1
  624. if npc_sex['A16'] > 1: npc_sex['A16'] = 1
  625. !! University related vars update
  626. if student >= 0:
  627. gs 'uniutil', 'transfer_legacy_vars'
  628. end
  629. !!---------------------------------------------------------------
  630. !! Lariska story variables migrated to array
  631. if KotovZverHelp > 0: LariskaQW['VitekHelp'] = KotovZverHelp & killvar 'KotovZverHelp'
  632. if IvanZverHelp > 0: LariskaQW['IvanHelp'] = IvanZverHelp & killvar 'IvanZverHelp'
  633. if FyodorZverHelp > 0: LariskaQW['FedorHelp'] = FyodorZverHelp & killvar 'FyodorZverHelp'
  634. if lariskaHelp > 0: LariskaQW['LariskaHelp'] = lariskaHelp & killvar 'lariskaHelp'
  635. if lariskaHelp_end > 0: LariskaQw['LariskaHelpEnd'] = lariskaHelp_end & killvar 'lariskaHelp_end'
  636. !!---------------------------------------------------------------
  637. !! Shave updater
  638. if shave_update ! 1:
  639. if pubestyle = 1:
  640. shave_length = 2
  641. shave_trigger = 4
  642. elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  643. shave_length = 16
  644. shave_trigger = 21
  645. elseif pubestyle = 10:
  646. shave_length = 26
  647. shave_trigger = 31
  648. elseif pubestyle = 11:
  649. shave_length = 2
  650. shave_trigger = 10
  651. end
  652. shave_update = 1
  653. end
  654. !! 0.8.2 clothing package for old saves ---------------------------------------
  655. 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:
  656. $batch_sell = {
  657. poshvalldrop += 1
  658. dynamic 'RESULT = <<$ARGS[0]>>H[<<ARGS[1]>>]'
  659. if RESULT > 100:
  660. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  661. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  662. money += 750
  663. selltot += 750
  664. elseif RESULT > 45:
  665. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  666. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  667. money += 500
  668. selltot += 500
  669. elseif RESULT > 30:
  670. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  671. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  672. money += 300
  673. selltot += 300
  674. elseif RESULT > 0:
  675. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  676. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  677. money += 100
  678. selltot += 100
  679. else
  680. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  681. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  682. end
  683. dynamic '<<$ARGS[0]>>H[<<ARGS[1]>>] = 0'
  684. }
  685. poshvalldrop = 0
  686. selltot = 0
  687. i = 1
  688. :cheapmet
  689. if cheap[i] = 1 and cheapH[i] > 0:dynamic($batch_sell, 'cheap', i)
  690. i += 1
  691. if i <= 419:jump 'cheapmet'
  692. i = 1
  693. :averagemet
  694. if average[i] = 1 and averageH[i] > 0:dynamic($batch_sell, 'average', i)
  695. i += 1
  696. if i <= 541:jump 'averagemet'
  697. i = 1
  698. :expensivemet
  699. if expensive[i] = 1 and expensiveH[i] > 0:dynamic($batch_sell, 'expensive', i)
  700. i += 1
  701. if i <= 442:jump 'expensivemet'
  702. i = 1
  703. :formalmet
  704. if formal[i] = 1 and formalH[i] > 0:dynamic($batch_sell, 'formal', i)
  705. i += 1
  706. if i <= 185:jump 'formalmet'
  707. i = 1
  708. :officemet
  709. if office[i] = 1 and officeH[i] > 0:dynamic($batch_sell, 'office', i)
  710. i += 1
  711. if i <= 140:jump 'officemet'
  712. i = 1
  713. :schoolmet
  714. if school[i] = 1 and schoolH[i] > 0:dynamic($batch_sell, 'school', i)
  715. i += 1
  716. if i <= 80:jump 'schoolmet'
  717. i = 1
  718. :exercisemet
  719. if exercise[i] = 1 and exerciseH[i] > 0:dynamic($batch_sell, 'exercise', i)
  720. i += 1
  721. if i <= 260:jump 'exercisemet'
  722. i = 1
  723. :fetishmet
  724. if fetish[i] = 1 and fetishH[i] > 0:dynamic($batch_sell, 'fetish', i)
  725. i += 1
  726. if i <= 240:jump 'fetishmet'
  727. i = 1
  728. :burlesquemet
  729. if burlesque[i] = 1 and burlesqueH[i] > 0:dynamic($batch_sell, 'burlesque', i)
  730. i += 1
  731. if i <= 22:jump 'burlesquemet'
  732. i = 1
  733. :exhibitmet
  734. if exhibit[i] = 1 and exhibitH[i] > 0:dynamic($batch_sell, 'exhibit', i)
  735. i += 1
  736. if i <= 125:jump 'exhibitmet'
  737. i = 1
  738. :uniformmet
  739. if uniform[i] = 1 and uniformH[i] > 0:dynamic($batch_sell, 'uniform', i)
  740. i += 1
  741. if i <= 60:jump 'uniformmet'
  742. i = 1
  743. :swimwearmet
  744. if swimwear[i] = 1 and swimwearH[i] > 0:dynamic($batch_sell, 'swimwear', i)
  745. i += 1
  746. if i <= 213:jump 'swimwearmet'
  747. i = 1
  748. :beachmet
  749. if beach[i] = 1 and beachH[i] > 0:dynamic($batch_sell, 'beach', i)
  750. i += 1
  751. if i <= 103:jump 'beachmet'
  752. i = 1
  753. :alternativemet
  754. if alternative[i] = 1 and alternativeH[i] > 0:dynamic($batch_sell, 'alternativer', i)
  755. i += 1
  756. if i <= 129:jump 'alternativemet'
  757. killvar 'batch_sell'
  758. killvar 'alternativeH' & killvar 'alternativeS' & killvar 'alternative'
  759. killvar 'averageH' & killvar 'averageS' & killvar 'average'
  760. killvar 'burlesqueH' & killvar 'burlesqueS' & killvar 'burlesque'
  761. killvar 'cheapH' & killvar 'cheapS' & killvar 'cheap'
  762. killvar 'exerciseH' & killvar 'exerciseS'
  763. killvar 'exhibitH' & killvar 'exhibitS'
  764. killvar 'expensiveH' & killvar 'expensiveS' & killvar 'expensive'
  765. killvar 'fetishH' & killvar 'fetishS'
  766. killvar 'formalH' & killvar 'formalS' & killvar 'formal'
  767. killvar 'officeH' & killvar 'officeS' & killvar 'office'
  768. killvar 'schoolH' & killvar 'schoolS' & killvar 'school'
  769. killvar 'uniformH' & killvar 'uniformS' & killvar 'uniform'
  770. killvar 'beachS' & killvar 'beachH' & killvar 'beachB'
  771. killvar 'swimwearS' & killvar 'swimwearH' & killvar 'swimwearB'
  772. killvar 'coatS' & killvar 'coatH'
  773. gm_outfits[50] = 1
  774. gm_outfits_h[50] = 100
  775. gm_outfits_b[50] = pcs_hips
  776. gs 'clothing', 'wear', 'gm_outfits', 50
  777. end
  778. !! Shave updater
  779. if shave_update ! 1:
  780. if pubestyle = 1:
  781. shave_length = 2
  782. shave_trigger = 4
  783. elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  784. shave_length = 16
  785. shave_trigger = 21
  786. elseif pubestyle = 10:
  787. shave_length = 26
  788. shave_trigger = 31
  789. elseif pubestyle = 11:
  790. shave_length = 2
  791. shave_trigger = 8
  792. end
  793. end
  794. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080203:
  795. !! Lariska variables removed, no longer needed - 2020/11/30 - Alaratt
  796. !! Edited - 2021/01/19 - Alaratt
  797. if beInLariskaHome = 1 or LariskaHomeIn >= 1:
  798. if LariskaHomeIn = 1:
  799. LariskaQW['story'] = 4
  800. else
  801. LariskaQW['story'] = 5
  802. end
  803. killvar 'LariskaHomeIn'
  804. killvar 'beInLariskaHome'
  805. end
  806. if doorlocked > 0: killvar 'doorlocked'
  807. if doorpeek > 0: killvar 'doorpeek'
  808. if lariskaBDSM > 0: killvar 'lariskaBDSM'
  809. if lariskaMotherKnown = 1:
  810. LariskaQW['metAnna'] = 1
  811. killvar 'lariskaMotherKnown'
  812. end
  813. if LariskaProfi = 1:
  814. LariskaQW['volleyball'] = 1
  815. killvar 'LariskaProfi'
  816. end
  817. !!---------------------------------------------------------------
  818. !! Migrates Christina variables into an array, removes unneeded variables, and fixes the outcast issue if still needed
  819. !! 2021/01/19 - Alaratt
  820. if zverSlutQW > 0:
  821. if zverSlutQW = 2:
  822. !! Christina lost the fight and is outcasted
  823. christinaQW['fight'] = 1
  824. christinaQW['dompath'] = 7
  825. npc_grupTipe['A18'] = 5
  826. else
  827. !! Christina lost the fight and is prepped for outcasting
  828. christinaQW['fight'] = 1
  829. christinaQW['dompath'] = 6
  830. end
  831. killvar 'zverSlutQW'
  832. end
  833. if zverRageQW > 0:
  834. if zverRageQW = 10:
  835. !! Christina won the fight
  836. christinaQW['fight'] = -1
  837. christinaQW['subpath'] = 2
  838. elseif zverRageQW = 2:
  839. !! Christina lost the fight
  840. christinaQW['fight'] = 1
  841. christinaQW['dompath'] = 6
  842. else
  843. !! You spread rumors about Christina and she preps for fight
  844. christinaQW['dompath'] = 4
  845. end
  846. killvar 'zverRageQW'
  847. end
  848. if socialchg['christina_dont_care'] = 1:socialchg['christina_dont_care'] = 0
  849. if zverevaQW > 0:killvar 'zverevaQW'
  850. if LinaSlut > 0:killvar 'LinaSlut'
  851. if fizrukSex > 0:killvar 'fizrukSex'
  852. if kristinaSex > 0:killvar 'kristinaSex'
  853. if christinaphotos > 0:
  854. if christinaphotos = 3:
  855. !! Christina won the fight and you have not had a shower scene with her yet
  856. christinaQW['fight'] = -1
  857. christinaQW['subpath'] = 2
  858. elseif christinaphotos = 4:
  859. !! Christina won the fight and you had first shower scene with her
  860. christinaQW['fight'] = -1
  861. christinaQW['subpath'] = 3
  862. elseif christinaphotos = 2:
  863. !! You submitted to Christina and you had first shower scene with her
  864. christinaQW['submit'] = 1
  865. christinaQW['subpath'] = 3
  866. else
  867. !! You submitted to Christina but not had a shower scene with her yet
  868. christinaQW['submit'] = 1
  869. christinaQW['subpath'] = 2
  870. end
  871. killvar 'christinaphotos'
  872. end
  873. !!---------------------------------------------------------------
  874. !!Albina variables no longer needed, no sense in having them run in the background for nothing
  875. if AlbinaQW['ParkRallyDay'] > 0:AlbinaQW['ParkRallyDay'] = 0
  876. if AlbinaQW['ElectionCampaignTime'] > 0:AlbinaQW['ElectionCampaignTime'] = 0
  877. if AlbinaQW['AlbFatherQW'] > 1:AlbinaQW['AlbFatherQW'] = 1
  878. !!---------------------------------------------------------------
  879. end
  880. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080204:
  881. !! Migrates kikboxing variables into an array, removes unneeded variables.
  882. if razradKik > 0: kickbox['sash'] = razradKik & killvar 'razradKik'
  883. if amatReit > 0: kickbox['advancement'] = amatReit & killvar 'amatReit'
  884. if kikmoney > 0: kickbox['money'] = kikmoney & killvar 'kikmoney'
  885. if KikWinAm > 0: kickbox['amateurWin'] = KikWinAm & killvar 'KikWinAm'
  886. if KikWinAmKO > 0: kickbox['amateurWinKO'] = KikWinAmKO & killvar 'KikWinAmKO'
  887. if KikLossAm > 0: kickbox['amateurLoss'] = KikLossAm & killvar 'KikLossAm'
  888. if KikLossAmKO > 0: kickbox['amateurLossKO'] = KikLossAmKO & killvar 'KikLossAmKO'
  889. if KikDrawAm > 0: kickbox['amateurDraw'] = KikDrawAm & killvar 'KikDrawAm'
  890. if amateur > 0: kickbox['amateur'] = amateur & killvar 'amateur'
  891. killvar 'razrand'
  892. end
  893. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080205:
  894. !! Migrates Anushka''s brother''s quest into a array.
  895. if maksimQW > 0: maksimQW['QWstage'] = maksimQW
  896. end
  897. !! 0.8.3 shoe package for old saves ---------------------------------------
  898. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080206:
  899. i = 1
  900. :sfetishmet
  901. if sfetish[i] = 1: money += 300
  902. i += 1
  903. if i <= 27:jump 'sfetishmet'
  904. i = 1
  905. :scatsmet
  906. if scats[i] = 1: money += 300
  907. i += 1
  908. if i <= 38:jump 'scatsmet'
  909. i = 1
  910. :sgandmsmet
  911. if sgandm[i] = 1: money += 300
  912. i += 1
  913. if i <= 40:jump 'sgandmsmet'
  914. i = 1
  915. :trainersmet
  916. if trainers[i] = 1: money += 300
  917. i += 1
  918. if i <= 30:jump 'trainersmet'
  919. i = 1
  920. :sboutiquemet
  921. if sboutique[i] = 1: money += 300
  922. i += 1
  923. if i <= 37:jump 'sboutiquemet'
  924. killvar 'sfetish' & killvar 'sfetishS'
  925. killvar 'scats' & killvar 'scatsS'
  926. killvar 'sgandm' & killvar 'sgandmS'
  927. killvar 'trainers' & killvar 'trainersS'
  928. killvar 'sboutique' & killvar 'sboutiqueS'
  929. sgm[5] = 1
  930. sgm_s[5] = 0
  931. gs 'shoes', 'wear', 'sgm', 5
  932. end
  933. !!updater for sports clothing variable to unify it and fix bug
  934. i = 1
  935. :danilovichfix
  936. if danilovich[i] = 1:
  937. danilovich_outfits[i] = 1
  938. danilovich_outfits_s[i] = danilovich_s[i]
  939. danilovich_outfits_h[i] = danilovich_h[i]
  940. danilovich_outfits_b[i] = danilovich_b[i]
  941. end
  942. i += 1
  943. if i <= 170:jump 'danilovichfix'
  944. killvar 'danilovich'
  945. killvar 'danilovich_s'
  946. killvar 'danilovich_h'
  947. killvar 'danilovich_b'
  948. !! New setting for gaping time per stage in minutes that can be made user definable
  949. if agape[4] = 0: agape[4] = 10
  950. if vgape[4] = 0: vgape[4] = 10
  951. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080304:
  952. $fametown = 'pav'
  953. :fametownloop
  954. $fameact = 'acting'
  955. :fameactloop
  956. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  957. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = <<$fametown>>_<<$fameact>>'
  958. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  959. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  960. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  961. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  962. else
  963. dynamic 'fame[''<<$fametown>>_<<$fameact>>_core''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  964. end
  965. killvar '<<$fametown>>_<<$fameact>>'
  966. if $fameact = 'acting':
  967. $fameact = 'dance'
  968. jump 'fameactloop'
  969. elseif $fameact = 'dance':
  970. $fameact = 'painting'
  971. jump 'fameactloop'
  972. elseif $fameact = 'painting':
  973. $fameact = 'music'
  974. jump 'fameactloop'
  975. elseif $fameact = 'music':
  976. $fameact = 'ballet'
  977. jump 'fameactloop'
  978. elseif $fameact = 'ballet':
  979. $fameact = 'modelling'
  980. jump 'fameactloop'
  981. elseif $fameact = 'modelling':
  982. $fameact = 'porn'
  983. jump 'fameactloop'
  984. elseif $fameact = 'porn':
  985. $fameact = 'stripping'
  986. jump 'fameactloop'
  987. elseif $fameact = 'stripping':
  988. $fameact = 'kickboxing'
  989. jump 'fameactloop'
  990. elseif $fameact = 'kickboxing':
  991. $fameact = 'running'
  992. jump 'fameactloop'
  993. elseif $fameact = 'running':
  994. $fameact = 'volleyball'
  995. jump 'fameactloop'
  996. elseif $fameact = 'volleyball':
  997. $fameact = 'chess'
  998. jump 'fameactloop'
  999. elseif $fameact = 'chess':
  1000. $fameact = 'teaching'
  1001. jump 'fameactloop'
  1002. elseif $fameact = 'teaching':
  1003. $fameact = 'media'
  1004. jump 'fameactloop'
  1005. end
  1006. $fameact = 'sex'
  1007. :fameactloop2
  1008. if dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 400:
  1009. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = <<$fametown>>_<<$fameact>>'
  1010. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 1100:
  1011. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 400 + (<<$fametown>>_<<$fameact>>-400)/3'
  1012. elseif dyneval('RESULT = <<$fametown>>_<<$fameact>>') < 2900:
  1013. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 700 + (<<$fametown>>_<<$fameact>>-1100)/6'
  1014. else
  1015. dynamic 'fame[''<<$fametown>>_<<$fameact>>''] = 1000 +(<<$fametown>>_<<$fameact>> -2900)/10'
  1016. end
  1017. killvar '<<$fametown>>_<<$fameact>>'
  1018. if $fameact = 'sex':
  1019. $fameact = 'prostitute'
  1020. jump 'fameactloop2'
  1021. end
  1022. if $fametown = 'pav':
  1023. $fametown = 'city'
  1024. jump 'fametownloop'
  1025. elseif $fametown = 'city':
  1026. $fametown = 'village'
  1027. jump 'fametownloop'
  1028. elseif $fametown = 'village':
  1029. $fametown = 'pushkin'
  1030. jump 'fametownloop'
  1031. end
  1032. gs 'fame', 'calculate', 'acting'
  1033. gs 'fame', 'calculate', 'dance'
  1034. gs 'fame', 'calculate', 'painting'
  1035. gs 'fame', 'calculate', 'music'
  1036. gs 'fame', 'calculate', 'ballet'
  1037. gs 'fame', 'calculate', 'modelling'
  1038. gs 'fame', 'calculate', 'porn'
  1039. gs 'fame', 'calculate', 'stripping'
  1040. gs 'fame', 'calculate', 'kickboxing'
  1041. gs 'fame', 'calculate', 'running'
  1042. gs 'fame', 'calculate', 'volleyball'
  1043. gs 'fame', 'calculate', 'chess'
  1044. gs 'fame', 'calculate', 'teaching'
  1045. gs 'fame', 'calculate', 'media'
  1046. gs 'fame', 'calculateSlut'
  1047. end
  1048. if modelfoto > 0 and modelfoto['saveupdater'] = 0:
  1049. !! changing modelling variables to arrays
  1050. if modelfoto > 0: modelfoto['shoots'] = modelfoto
  1051. if modelfotomoney > 0: modelfoto['earnings'] = modelfotomoney
  1052. if modelfoto_catalog > 0: modelfoto['catalog'] = modelfoto_catalog
  1053. if modelfoto_fashion > 0: modelfoto['fashion'] = modelfoto_fashion
  1054. if modelfoto_ero_clo > 0: modelfoto['sexy'] = modelfoto_ero_clo
  1055. if modelfoto_bikini > 0: modelfoto['bikini'] = modelfoto_bikini
  1056. if modelfoto_lingerie > 0: modelfoto['lingerie'] = modelfoto_lingerie
  1057. if modelfoto_trans_ling > 0: modelfoto['trans_ling'] = modelfoto_trans_ling
  1058. if modelfoto_transparent > 0: modelfoto['transparent'] = modelfoto_transparent
  1059. if modelfoto_fitness > 0: modelfoto['fitness'] = modelfoto_fitness
  1060. if modelfoto_glamour > 0: modelfoto['glamour'] = modelfoto_glamour
  1061. if modelfoto_topless > 0: modelfoto['topless'] = modelfoto_topless
  1062. if modelfoto_nude > 0: modelfoto['nude'] = modelfoto_nude
  1063. if modelfoto_tastenude > 0: modelfoto['tastenude'] = modelfoto_tastenude
  1064. if modelfoto_toplessnude > 0: modelfoto['toplessnude'] = modelfoto_toplessnude
  1065. if modelfoto_fullnude > 0: modelfoto['fullnude'] = modelfoto_fullnude
  1066. if modelfoto_erotic > 0: modelfoto['erotic'] = modelfoto_erotic
  1067. if modelfoto_nip > 0: modelfoto['nip'] = modelfoto_nip
  1068. if modelfoto_pussy > 0: modelfoto['pussy'] = modelfoto_pussy
  1069. if modelfoto_asshole > 0: modelfoto['asshole'] = modelfoto_asshole
  1070. modelfoto['saveupdater'] = 1
  1071. end
  1072. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080305:
  1073. !!Defines the high school classes using the new grade system
  1074. gs 'grades', 'createclass', 'school', 'math', 3, 2, 'yes', 'yes', 0, 0
  1075. gs 'grades', 'createclass', 'school', 'rus', 3, 2, 'yes', 'yes', 0, 0
  1076. gs 'grades', 'createclass', 'school', 'lit', 2, 2, 'yes', 'yes', 0, 0
  1077. gs 'grades', 'createclass', 'school', 'art', 2, 2, 'yes', 'no', 0, 0
  1078. gs 'grades', 'createclass', 'school', 'bio', 2, 2, 'yes', 'yes', 0, 0
  1079. gs 'grades', 'createclass', 'school', 'pe', 3, 1, 'yes', 'no', 0, 0
  1080. gs 'grades', 'createclass', 'school', 'eng', 2, 2, 'yes', 'yes', 0, 0
  1081. gs 'grades', 'createclass', 'school', 'geo', 2, 2, 'yes', 'yes', 0, 0
  1082. gs 'grades', 'createclass', 'school', 'sci', 2, 2, 'yes', 'yes', 0, 0
  1083. gs 'grades', 'createclass', 'school', 'shop', 2, 2, 'yes', 'no', 0, 0
  1084. gs 'grades', 'createclass', 'school', 'comp', 3, 2, 'yes', 'yes', 0, 0
  1085. gs 'grades', 'createclass', 'school', 'mus', 2, 2, 'yes', 'no', 0, 0
  1086. gs 'grades', 'createclass', 'school', 'his', 2, 2, 'yes', 'yes', 0, 0
  1087. !!Convert the old grade attribute into the new individual grades.
  1088. gs 'grades', 'grade_award', 'school', 'math', pcs_grades
  1089. gs 'grades', 'grade_award', 'school', 'rus', pcs_grades
  1090. gs 'grades', 'grade_award', 'school', 'lit', pcs_grades
  1091. gs 'grades', 'grade_award', 'school', 'art', pcs_grades
  1092. gs 'grades', 'grade_award', 'school', 'bio', pcs_grades
  1093. gs 'grades', 'grade_award', 'school', 'pe', pcs_grades
  1094. gs 'grades', 'grade_award', 'school', 'eng', pcs_grades
  1095. gs 'grades', 'grade_award', 'school', 'geo', pcs_grades
  1096. gs 'grades', 'grade_award', 'school', 'sci', pcs_grades
  1097. gs 'grades', 'grade_award', 'school', 'shop', pcs_grades
  1098. gs 'grades', 'grade_award', 'school', 'comp', pcs_grades
  1099. gs 'grades', 'grade_award', 'school', 'mus', pcs_grades
  1100. gs 'grades', 'grade_award', 'school', 'his', pcs_grades
  1101. !!Assign a grado on the 1 to 5 russina grade scale from the grade variable
  1102. gs 'grades', 'assing_grade_description', 'school'
  1103. if month > 9 or (month = 9 and day > 5 and hour > 8) or year > 2016: class['first_grade_check'] = 1
  1104. end
  1105. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080306:
  1106. !!Moving Djibril old variables into his array
  1107. if meet_djibril > 0: DjibrilQW['meet'] = meet_djibril & killvar 'meet_djibril'
  1108. if djibril_invite > 0: DjibrilQW['invite'] = djibril_invite & killvar 'djibril_invite'
  1109. if djibril_sex > 0: npc_sex['A82'] = djibril_sex & killvar 'djibril_sex'
  1110. if african_gangbang > 0: DjibrilQW['african_gangbang'] = african_gangbang & killvar 'african_gangbang'
  1111. if npc_sex['A82'] > 0 or DjibrilQW['african_gangbang'] > 0: DjibrilQW['invite'] = 1
  1112. end
  1113. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080307:
  1114. !!Moving some string variables to more appropriate numerical variables in the camera files.
  1115. i = 0
  1116. :camera_update_loop
  1117. camera_found[i] = 1
  1118. i += 1
  1119. if ARRSIZE('camera_found') > i: jump 'camera_update_loop'
  1120. !!Moved Igor''s quest to use daystart.
  1121. if igor_DimaNos = 2 or igor_DimaNos = 3:
  1122. if $igor_DimaNos_day > 5:
  1123. igor_DimaNos_day = daystart
  1124. else
  1125. igor_DimaNos_day = daystart +6 - $igor_DimaNos_day
  1126. end
  1127. end
  1128. end
  1129. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080402:
  1130. !!Setting the count of generic girlfirends.
  1131. pcs_girlfriends = 0
  1132. i = 0
  1133. :girlfriend_looop
  1134. if loverGender[i] = 1: pcs_girlfriends += 1
  1135. i +=1
  1136. if i < ARRSIZE('lover'): jump 'girlfriend_looop'
  1137. Killvar 'i'
  1138. if analorgasm > 0: orgasm_anal += analorgasm
  1139. end
  1140. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080403:
  1141. !!Updating the variables for the Katja Quest line.
  1142. if meynoldQW = 1 or meynoldQW = 2: katjaQW['QWstage'] = meynoldQW & killvar 'meynoldQW'
  1143. if katjaFirstKiss > 0 or KatjaOTN > 0: katjaQW['QWstage'] = 3 & killvar 'katjaFirstKiss' & killvar 'KatjaOTN'
  1144. if katjaTanga > 0: katjaQW['pantiesQWstage'] = katjaTanga & killvar 'katjaTanga'
  1145. if katja_tanga_end > 0: katjaQW['pantiesQWstage'] = 5 & killvar 'katja_tanga_end'
  1146. if katjaSlut > 0: katjaQW['slut'] = katjaSlut & killvar 'katjaSlut'
  1147. if katjaHorny > 0: katjaQW['horny'] = katjaHorny & killvar 'katjaHorny'
  1148. if katjaSex = 1: katjaQW['park_sex'] = 1 & killvar 'katjaSex'
  1149. if katjaSex = 2: katjaQW['park_sex'] = 2 & killvar 'katjaSex'
  1150. if katjaSex > 2: katjaQW['park_sex'] = 3 & killvar 'katjaSex'
  1151. if KatjaMastr > 0: katjaQW['masturbates'] = KatjaMastr & killvar 'KatjaMastr'
  1152. if KatjaThroat > 0: npc_throat['A14'] = KatjaThroat & killvar 'KatjaThroat'
  1153. if KatjaAnus > 0: npc_ass['A14'] = KatjaAnus & killvar 'KatjaAnus'
  1154. if KatjaOrgasm > 0: KatjaQW['orgasm_day'] = KatjaOrgasm & killvar 'KatjaOrgasm'
  1155. if katjaMeynoldday > 0: katjaQW['afterschool_hangout_day'] = katjaMeynoldday & killvar 'katjaMeynoldday'
  1156. if tangaday > 0: katjaQW['no_panties_day'] = tangaday & killvar 'tangaday'
  1157. if KatjaKnowMastr > 0: katjaQW['knows_masterbation'] = 1 & killvar 'KatjaKnowMastr'
  1158. if SelfFistingKnow > 0: katjaQW['knows_self_fisting'] = 1 & killvar 'SelfFistingKnow'
  1159. if KatjaKnowBJ > 0: katjaQW['knows_BJ'] = 1 & killvar 'KatjaKnowBJ'
  1160. if KatjaKnowSex > 0: katjaQW['knows_sex'] = 1 & killvar 'KatjaKnowSex'
  1161. if KatjaKnowAnal > 0: katjaQW['knows_anal'] = 1 & killvar 'KatjaKnowAnal'
  1162. if KatjaKnowKuni > 0: katjaQW['knows_cuni'] = 1 & killvar 'KatjaKnowKuni'
  1163. if KatjaKnowPirsA > 0: katjaQW['know_Pirced_tongue'] = 1 & killvar 'KatjaKnowPirsA'
  1164. if katschoolsex > 0: katja['school_sex'] = 1 & killvar 'katschoolsex'
  1165. if katja_disco_Foto > 0: katjaQW['disco_Foto'] = 1 & killvar 'katja_disco_Foto'
  1166. if meynoldQW = 3: katjaQW['drunk_help'] = 1 & killvar 'meynoldQW'
  1167. if katja_disco_end > 0: katjaQW['no_panties_at_disco'] = 1 & killvar 'katja_disco_end'
  1168. if KatjaOhrenet > 0: KatjaQW['sex_in_the_park_comment'] = KatjaOhrenet & killvar 'KatjaOhrenet'
  1169. if flag_start_parc > 0: katjaQW['school_kiss'] = flag_start_parc & killvar 'flag_start_parc'
  1170. end
  1171. if mod_list > 0:
  1172. mod_i=1
  1173. :mod_data_updater
  1174. if $mod_name[mod_i] ! '':
  1175. $mod_su_name = 'mod_<<$mod_name[mod_i]>>_saveupdater'
  1176. if LOC($mod_su_name): gs $mod_su_name
  1177. end
  1178. if mod_list > mod_i:
  1179. mod_i+=1
  1180. jump 'mod_data_updater'
  1181. end
  1182. killvar '$mod_su_name'
  1183. killvar 'mod_i'
  1184. end
  1185. gs 'saveg'
  1186. --- saveupdater ---------------------------------