saveupdater.qsrc 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920
  1. # saveupdater
  2. if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < 00080202:
  3. 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.'
  4. if housr = 1:
  5. home_owned[1] = 1
  6. elseif housr = 2:
  7. home_owned[4] = 1
  8. end
  9. if BuyHous = 1: home_owned[1] = 2
  10. if placeMansion > 0: home_owned[5] = placeMansion
  11. if dachaest > 0: home_owned[3] = dachaest
  12. killvar 'placemansion'
  13. killvar 'dachaest'
  14. killvar 'housr'
  15. killvar 'BuyHous'
  16. if alko < 0: alko = 0
  17. if pranik < 0: pranik = 0
  18. if poroshok < 0: poroshok = 0
  19. !! set $home_town variable and remove consequential obsolete variables
  20. if $home_town = '':
  21. gs 'set_home', curr_home
  22. killvar 'svidboykino'
  23. killvar 'svidboypark'
  24. killvar 'svidboypark1'
  25. killvar 'svidboypark2'
  26. killvar 'svidboykafe'
  27. end
  28. !! exhibition to inhib
  29. if pcs_exhibition ! 0:
  30. pcs_inhib = pcs_exhibition
  31. inhib_exp = exhibition_exp
  32. inhib_lvlst = pcs_exhibition
  33. inhib_lvl = pcs_exhibition
  34. killvar 'pcs_exhibition'
  35. killvar 'exhibition_exp'
  36. end
  37. !! adds pregnancy progression images to saves that did not have them previously.
  38. if arrsize('$bodimgsets') = 30:
  39. $bodimgsets[30] = 'pregnant, but not showing'
  40. $bodimgsets[31] = 'glowing'
  41. $bodimgsets[32] = 'starting to show'
  42. $bodimgsets[33] = 'clearly showing'
  43. $bodimgsets[34] = 'fairly pregnant'
  44. $bodimgsets[35] = 'quite pregnant'
  45. $bodimgsets[36] = 'very pregnant'
  46. $bodimgsets[37] = 'extremely pregnant'
  47. $bodimgsets[38] = 'ready to pop'
  48. $bodimgsets[39] = 'default_preg'
  49. end
  50. !! reorganizes old spell variables into new arrrays
  51. if spell_update = 0:
  52. spell_update = 1
  53. if spelltuman = 1:spellKnown['fog'] = 1
  54. if spellklon = 1:spellKnown['clone'] = 1
  55. if spellstun = 1:spellKnown['stun'] = 1
  56. if spellweap = 1:spellKnown['weapon'] = 1
  57. if spellwind = 1:spellKnown['wind'] = 1
  58. if spellklon2 = 1:spellKnown['multiclone'] = 1
  59. if spellinit = 1:spellKnown['haste'] = 1
  60. if spellhel = 1:spellKnown['heal'] = 1
  61. if spellfire0 = 1:spellKnown['scaldingtouch'] = 1
  62. if spellfire2 = 1:spellKnown['burninghands'] = 1
  63. if spellfire3 = 1:spellKnown['firebarrier'] = 1
  64. if spellfire4 = 1:spellKnown['firestorm'] = 1
  65. if spellfire5 = 1:spellKnown['flameshield'] = 1
  66. if spellele0 = 1:spellKnown['shock'] = 1
  67. if spellele2 = 1:spellKnown['lightning'] = 1
  68. if spellele3 = 1:spellKnown['electricbarrier'] = 1
  69. if spellele4 = 1:spellKnown['1000birds'] = 1
  70. if spellele5 = 1:spellKnown['dancingsphere'] = 1
  71. if spellert0 = 1:spellKnown['quicksand'] = 1
  72. if spellert2 = 1:spellKnown['earthshield'] = 1
  73. if spellert3 = 1:spellKnown['abyss'] = 1
  74. if spellert4 = 1:spellKnown['earthguardian'] = 1
  75. if spellert5 = 1:spellKnown['sando'] = 1
  76. if spellwind0 = 1:spellKnown['windgust'] = 1
  77. if spellwind2 = 1:spellKnown['pressure'] = 1
  78. if spellwind3 = 1:spellKnown['vacuum'] = 1
  79. if spellwind4 = 1:spellKnown['vacuumshells'] = 1
  80. if spellwind5 = 1:spellKnown['devouringvacuum'] = 1
  81. if spellwater0 = 1:spellKnown['leechmana'] = 1
  82. if spellwater2 = 1:spellKnown['flood'] = 1
  83. if spellwater3 = 1:spellKnown['blister'] = 1
  84. if spellwater4 = 1:spellKnown['sharkrockets'] = 1
  85. if spellwater5 = 1:spellKnown['greatflood'] = 1
  86. end
  87. if spell_update < 2:
  88. spell_update = 2
  89. killvar '$basicSpells'
  90. end
  91. gs 'spellList'
  92. if spell_update < 3:
  93. spell_update = 3
  94. ! Fix Spell learn avaiability for Kakuzu if needed
  95. if tobiQW = 3:
  96. if stihia = 1:
  97. gs 'spellList','addAvailableSpells','fireSpells', 20
  98. end
  99. if stihia = 2:
  100. gs 'spellList','addAvailableSpells','electSpells', 20
  101. end
  102. if stihia = 3:
  103. gs 'spellList','addAvailableSpells','earthSpells', 20
  104. end
  105. if stihia = 4:
  106. gs 'spellList','addAvailableSpells','airSpells', 20
  107. end
  108. if stihia = 5:
  109. gs 'spellList','addAvailableSpells','waterSpells', 20
  110. end
  111. end
  112. ! Fix Library spells found if needed
  113. if arrsize('$ResearchingSP')>0:
  114. gs 'spellList','addAvailableSpells','librarySpells', arrsize('$ResearchingSP')
  115. end
  116. end
  117. gs 'spellList'
  118. if array_updater = 0:
  119. array_updater = 1
  120. $oldnpcvars[0] = 'npc_app'
  121. $oldnpcvars[1] = 'npc_int'
  122. $oldnpcvars[2] = 'npc_Qstlvl'
  123. $newnpcvars[0] = 'npc_apprnc'
  124. $newnpcvars[1] = 'npc_intel'
  125. $newnpcvars[2] = 'npc_QW'
  126. i = 0
  127. :npcvarloop
  128. $oldnpcvar = $oldnpcvars[i]
  129. if i < arrsize($oldnpcvars):
  130. if 1 > arrsize('oldnpcvar'):i += 1 & jump 'npcvarloop'
  131. $newnpcvar = $newnpcvars[i]
  132. COPYARR 'newnpcvar', 'oldnpcvar'
  133. i += 1
  134. jump 'npcvarloop'
  135. end
  136. killvar 'npc_app'
  137. killvar 'npc_int'
  138. killvar 'npc_Qstlvl'
  139. killvar 'oldnpcvar'
  140. killvar 'newnpcvar'
  141. killvar '$oldnpcsvars'
  142. killvar '$newnpcvars'
  143. end
  144. !!Updates for the old school code
  145. if NatBelLernQW > 0 and NatbelQW['QWstage'] = 0: NatbelQW['QWstage'] = NatBelLernQW & NatBelLernQW = 0
  146. if npc_grupTipe['A133'] = 0: npc_grupTipe['A133'] = 6
  147. if grupTipe[25] ! 0:
  148. if npc_grupTipe['A25'] = 0: npc_grupTipe['A25'] = grupTipe[25]
  149. grupTipe[25] = 0
  150. end
  151. if grupTipe[5] ! 0:
  152. if npc_grupTipe['A5'] = 0: npc_grupTipe['A5'] = grupTipe[5]
  153. grupTipe[5] = 0
  154. end
  155. if grupTipe[61] ! 0:
  156. if npc_grupTipe['A189'] = 0: npc_grupTipe['A189'] = grupTipe[61]
  157. grupTipe[61] = 0
  158. end
  159. if npcSex[1] > 0: npcSex[1] = 0 & npc_sex['A1'] = 1
  160. if npcSex[2] > 0: npcSex[2] = 0 & npc_sex['A2'] = 1
  161. if npcSex[3] > 0: npcSex[3] = 0 & npc_sex['A3'] = 1
  162. if npcSex[4] > 0: npcSex[4] = 0 & npc_sex['A4'] = 1
  163. if npcSex[6] > 0: npcSex[6] = 0 & npc_sex['A6'] = 1
  164. if npcSex[9] > 0: npcSex[10] = 0 & npc_sex['A9'] = 1
  165. if npcSex[10] > 0: npcSex[10] = 0 & npc_sex['A10'] = 1
  166. if npcSex[11] > 0: npcSex[11] = 0 & npc_sex['A11'] = 1
  167. if npcSex[14] > 0: npcSex[14] = 0 & npc_sex['A14'] = 1
  168. if npcSex[16] > 0: npcSex[16] = 0 & npc_sex['A16'] = 1
  169. if npcSex[23] > 0: npcSex[23] = 0 & npc_sex['A23'] = 1
  170. if telefon_rev < 2:
  171. killvar '$contact'
  172. killvar '$contactIcon'
  173. killvar '$contactOCode'
  174. killvar '$contactOSche'
  175. killvar '$contactICode'
  176. killvar '$contactISche'
  177. gs 'telefon', 'AddContact', 'A29', 'icon_npc1',"gs 'telefon', 'Phone_call'","hour >= 8 and hour <= 20"
  178. if telkat > 0:
  179. gs 'telefon', 'AddContact', 'A219', 'icon_kat',"$telsob = 'Kate' & gt 'telefon', 'mobilaraz'","hour >= 8 and hour <= 20"
  180. end
  181. if npc_QW['A192'] > 0:
  182. gs 'telefon', 'AddContact', 'A192', 'icon_nastja',"gs 'telefon', 'start'","hour >= 8 and hour <= 20"
  183. end
  184. telefon_rev = 2
  185. end
  186. if pee > 0: stat['pee'] += pee & killvar 'pee'
  187. ! 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.
  188. if NatbelQW['pee'] > stat['pee_give']: stat['pee_give'] += NatbelQW['pee']
  189. if mistpiss > stat['pee_give'] - NatbelQW['pee']: stat['pee_give'] += mistpiss
  190. if thpic ! 0: killvar 'thpic'
  191. if puspic ! 0: killvar 'puspic'
  192. 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>'
  193. !! Replacing some of the natasha variables with NatbelQW['QWstage'] levels.
  194. killvar 'natsub'
  195. killvar 'natotrab'
  196. killvar 'natfuck'
  197. if StoryLine = 1:
  198. if fuckornot_update = 0:
  199. fuckornot_update = 1
  200. hotcat_rating['A22'] = 9
  201. hotcat_rating['A17'] = 9
  202. hotcat_rating['A23'] = 8
  203. hotcat_rating['A144'] = 8
  204. hotcat_rating['A19'] = 7
  205. hotcat_rating['A18'] = 7
  206. hotcat_rating['A14'] = 7
  207. hotcat_rating['A12'] = 7
  208. hotcat_rating['A140'] = 7
  209. hotcat_rating['A141'] = 7
  210. hotcat_rating['A15'] = 7
  211. hotcat_rating['A143'] = 6
  212. hotcat_rating['A13'] = 6
  213. hotcat_rating['A16'] = 6
  214. hotcat_rating['A25'] = 6
  215. hotcat_rating['A139'] = 6
  216. hotcat_rating['A20'] = 6
  217. hotcat_rating['A21'] = 6
  218. hotcat_rating['A24'] = 5
  219. hotcat_rating['A142'] = 5
  220. hotcat_rating['A145'] = 4
  221. elseif fuckornot_update = 1:
  222. fuckornot_update = 2
  223. hotcat_rating['A145'] = 4
  224. hotcat_movement['A145'] = 0
  225. elseif fuckornot_update = 2:
  226. fuckornot_update = 3
  227. hotcat_rating['A1'] = 8
  228. hotcat_rating['A2'] = 6
  229. hotcat_rating['A3'] = 7
  230. hotcat_rating['A4'] = 5
  231. hotcat_rating['A5'] = 7
  232. hotcat_rating['A6'] = 4
  233. hotcat_rating['A7'] = 1
  234. hotcat_rating['A8'] = 7
  235. hotcat_rating['A9'] = 5
  236. hotcat_rating['A10'] = 6
  237. hotcat_rating['A11'] = 4
  238. hotcat_rating['A34'] = 7
  239. hotcat_rating['A58'] = 4
  240. hotcat_rating['A59'] = 6
  241. hotcat_rating['A146'] = 8
  242. hotcat_rating['A147'] = 8
  243. hotcat_rating['A148'] = 6
  244. hotcat_rating['A149'] = 7
  245. hotcat_rating['A152'] = 6
  246. hotcat_rating['A153'] = 4
  247. hotcat_rating['A154'] = 7
  248. hotcat_rating['A155'] = 7
  249. hotcat_rating['A156'] = 5
  250. hotcat_rating['A157'] = 5
  251. hotcat_rating['A158'] = 6
  252. hotcat_rating['A159'] = 1
  253. end
  254. if grigoryEV ! 0:
  255. npc_qw['A221'] = grigoryEV
  256. killvar 'grigoryEV'
  257. end
  258. if SchoolAtestat = 0 and SchoolBlock = 0 and $schbrand = '':$schbrand = 'school'
  259. end
  260. if wombfather_update = 0: wombfather_update = 1 & gs 'din_bad'
  261. !! This will unlock the Anushka photos if a player has already done the event.
  262. if showerphotos = 1 and showerphotosupdater = 0:
  263. showerphotosupdater = 1
  264. anushkaphoto[1] = 1
  265. anushkaphoto[2] = 1
  266. anushkaphoto[3] = 1
  267. anushkaphoto[4] = 1
  268. anushkaphoto[5] = 1
  269. anushkaphoto[6] = 1
  270. end
  271. !! Changes to the pregnancy due date dynamic format
  272. if pregdateupdate = 0:
  273. gs 'din_bad'
  274. pregdateupdate = 1
  275. end
  276. if $npc_usedname['A<<npctemp>>'] = 'Inna': $npc_usedname['A<<npctemp>>'] = 'Irina'
  277. !! Killing some useless variables used to trigger the Pavlin storyline
  278. if totalmon ! 0:
  279. montake = totalmon
  280. killvar 'totalmon'
  281. killvar 'mongiveback'
  282. end
  283. if cyc_update = 0:
  284. cyc_update = 1
  285. daylastperiod = firstmens
  286. if difficulty = 4:
  287. cyccustom = 0
  288. else
  289. cyccustom = 1
  290. end
  291. end
  292. ! Switching from tracking relationship with Rex from rex to npc_rel['A57']
  293. if rex > 0 and rex > npc_rel['A57']: npc_rel['A57'] = rex & killvar 'rex'
  294. !!------------------------------village variable clean up/translation---------------------------------------
  295. if findvel > 0: BikeLoc = findvel & killvar 'findvel'
  296. !!------------------------------grandparent variable clean up---for 0.8.0 release---------------------------
  297. !!---Grandpa
  298. If grandpa_bilberry > 0: grandpaQW['chore_berry_quantity'] = grandpa_bilberry & killvar 'grandpa_bilberry'
  299. If grandpa_boletus > 0: grandpaQW['chore_mushroom_quantity'] = grandpa_boletus & killvar 'grandpa_boletus'
  300. If grandpahelpday > 0: grandpaQW['last_day_helped'] = grandpahelpday & killvar 'grandpahelpday'
  301. If grandpahelping > 0: grandpaQW['chore_type'] = grandpahelping & killvar 'grandpahelping'
  302. If grandpatalk > 0: grandpaQW['last_hour_talked'] = grandpatalk & killvar 'grandpatalk'
  303. If grandpatalkday > 0: grandpaQW['last_day_talked'] = grandpatalkday & killvar 'grandpatalkday'
  304. If grandpatalkforest > 0: grandpaQW['talked_about_forest'] = grandpatalkforest & killvar 'grandpatalkforest'
  305. If comb_horse > 0: grandpaQW['chore_brush_horse'] = comb_horse & killvar 'comb_horse'
  306. If cow_field > 0: grandpaQW['chore_lead_cow_to_field'] = cow_field & killvar 'cow_field'
  307. If feed_boar > 0: grandpaQW['chore_feed_boar'] = feed_boar & killvar 'feed_boar'
  308. If feed_cow > 0: grandpaQW['chore_feed_cow'] = feed_cow & killvar 'feed_cow'
  309. If feed_horse > 0: grandpaQW['chore_feed_horse'] = feed_horse & killvar 'feed_horse'
  310. If graze_cow > 0: grandpaQW['chore_herd_cattle'] = graze_cow & killvar 'graze_cow'
  311. If graze_cow_exp > 0: grandpaQW['chore_herd_cattle_experience'] = graze_cow_exp & killvar 'graze_cow_exp'
  312. If haying_time > 0: grandpaQW['chore_bale_hay'] = haying_time & killvar 'haying_time'
  313. If horse_field > 0: grandpaQW['chore_lead_horse_to_field'] = horse_field & killvar 'horse_field'
  314. If horse_river > 0: grandpaQW['chore_bathe_horse'] = horse_river & killvar 'horse_river'
  315. If go_in_bilberry > 0: grandpaQW['chore_gather_berries'] = go_in_bilberry & killvar 'go_in_bilberry'
  316. If go_in_boletus > 0: grandpaQW['chore_gather_mushrooms'] = go_in_boletus & killvar 'go_in_boletus'
  317. If go_in_boletus_bilberry > 0: grandpaQW['chore_gather_both'] = go_in_boletus_bilberry & killvar 'go_in_boletus_bilberry'
  318. !!---Grandma
  319. If grandma_trouble > 0: grandmaQW['nudity_trouble'] = grandma_trouble & killvar 'grandma_trouble'
  320. If grandmastory > 0: grandmaQW['last_day_asked_for_story'] = grandmastory & killvar 'grandmastory'
  321. If grandmatalk > 0: grandmaQW['last_hour_talked'] = grandmatalk & killvar 'grandmatalk'
  322. If grandmatalkday > 0: grandmaQW['last_day_talked'] = grandmatalkday & killvar 'grandmatalkday'
  323. If grandmatalkgad > 0: grandmaQW['talked_about_gadukino'] = grandmatalkgad & killvar 'grandmatalkgad'
  324. If monthbabkapay > 0: grandmaQW['last_month_paid'] = monthbabkapay & killvar 'monthbabkapay'
  325. If grandmahelpday > 0: grandmaQW['last_day_helped'] = grandmahelpday & killvar 'grandmahelpday'
  326. If grandmahelp > 0: grandmaQW['help_amount'] = grandmahelp & killvar 'grandmahelp'
  327. If grandmahelping > 0: grandmaQW['chore_type'] = grandmahelping & killvar 'grandmahelping'
  328. If collect_strawberries > 0: grandmaQW['chore_collect_strawberries'] = collect_strawberries & killvar 'collect_strawberries'
  329. If feed_chickens > 0: grandmaQW['chore_feed_chickens'] = feed_chickens & killvar 'feed_chickens'
  330. If fruit_collect > 0: grandmaQW['chore_collect_fruit'] = fruit_collect & killvar 'fruit_collect'
  331. If harvest_garden > 0: grandmaQW['chore_harvest_garden'] = harvest_garden & killvar 'harvest_garden'
  332. If milk_cow > 0: grandmaQW['chore_milk_cow'] = milk_cow & killvar 'milk_cow'
  333. If water_garden > 0: grandmaQW['chore_water_garden'] = water_garden & killvar 'water_garden'
  334. If work_garden > 0: grandmaQW['chore_work_in_garden'] = work_garden & killvar 'work_garden'
  335. !!---------------------------end of grandparent variable clean up---for 0.8.0 release-----------------------
  336. !! ----- Natasha story variables migrated to array ----- 0.8.0
  337. ! Natasha''s mom NPC data for existing saves
  338. if $npc_firstname['A191'] ! 'Isabella':
  339. npctemp = 191
  340. $npc_dna['A<<npctemp>>'] = '1614037462 1959746313 1085890273 0326112989 0869737602 6676723523 3590292041'
  341. $npc_firstname['A<<npctemp>>'] = 'Isabella'
  342. $npc_nickname['A<<npctemp>>'] = 'Bella'
  343. $npc_lastname['A<<npctemp>>'] = 'Belova'
  344. $npc_usedname['A<<npctemp>>'] = 'Isabella'
  345. $npc_notes['A<<npctemp>>'] = 'Your classmate Natasha''s mother, Isabella Belova.'
  346. npc_dob['A<<npctemp>>'] = 19820922
  347. npc_gender['A<<npctemp>>'] = 1
  348. gs 'npcstaticdefaults', 'defaults'
  349. npc_bust['A<<npctemp>>'] = 23
  350. end
  351. killvar '$NatashaMotherName' & killvar '$NatashaMotherNickname'
  352. if NatashaQW > 0: NatbelQW['QWstage'] = NatashaQW & killvar 'NatashaQW'
  353. if natbelXP > 0: NatbelQW['natbelXP'] = natbelXP & killvar 'natbelXP'
  354. if NatBelBestFrend > 0: NatbelQW['BestFriend'] = NatBelBestFrend & killvar 'NatBelBestFrend'
  355. if BeInNatBelHome > 0: NatbelQW['VisitedHome'] = BeInNatBelHome & killvar 'BeInNatBelHome'
  356. if natashaFirstvisit > 0: NatbelQW['FirstVisit'] = natashaFirstvisit & killvar 'natashaFirstvisit'
  357. if NatNoTV > 0: NatbelQW['NoTV'] = NatNoTV & killvar 'NatNoTV'
  358. if ShowRand > 0: NatbelQW['TVshow'] = ShowRand & killvar 'ShowRand'
  359. if $ShowMsg ! '': $NatbelQW['TVmsg'] = $ShowMsg & killvar '$ShowMsg'
  360. if NatashaWatchedYourPorn > 0: NatbelQW['WatchedYourPorn'] = NatashaWatchedYourPorn & killvar 'NatashaWatchedYourPorn'
  361. if NatDolg > 0: NatbelQW['Debt'] = NatDolg & killvar 'NatDolg'
  362. if NatDolgDay > 0: NatbelQW['DebtDay'] = NatDolgDay & killvar 'NatDolgDay'
  363. if nattimeleft > 0: NatbelQW['DebtTimeLeft'] = nattimeleft & killvar 'nattimeleft'
  364. if NatashaMoneyGivenTimes > 0: NatbelQW['MoneyGivenTimes'] = NatashaMoneyGivenTimes & killvar 'NatashaMoneyGivenTimes'
  365. if NatashaHW > 0: NatbelQW['homework'] = NatashaHW & killvar 'NatashaHW'
  366. if natdoingHW > 0: NatbelQW['doingHW'] = natdoingHW & killvar 'natdoingHW'
  367. if NatashaNakedHW > 0: NatbelQW['nakedHW'] = NatashaNakedHW & killvar 'NatashaNakedHW'
  368. if natunderwear > 0: NatbelQW['underwear'] = natunderwear & killvar 'natunderwear'
  369. if natund > 0: NatbelQW['underwearShop'] = natund & killvar 'natund'
  370. if natseethrough > 0: NatbelQW['seethrough'] = natseethrough & killvar 'natseethrough'
  371. if natseethroughwearing > 0: NatbelQW['seethroughwearing'] = natseethroughwearing & killvar 'natseethroughwearing'
  372. if natseethroughworn > 0: NatbelQW['seethroughworn'] = natseethroughworn & killvar 'natseethroughworn'
  373. if natseehtroughkitchen > 0: NatbelQW['seethroughkitchen'] = natseehtroughkitchen & killvar 'natseehtroughkitchen'
  374. if natmomrobe > 0: NatbelQW['momrobe'] = natmomrobe & killvar 'natmomrobe'
  375. if nattraining > 0: NatbelQW['training'] = nattraining & killvar 'nattraining'
  376. if natlesb > 0: NatbelQW['lesbian'] = natlesb & killvar 'natlesb'
  377. if natpee > 0: NatbelQW['pee'] = natpee & killvar 'natpee'
  378. if HaveCucumber > 0: NatbelQW['cucumber'] = HaveCucumber & killvar 'HaveCucumber'
  379. if natkolkatease > 0: NatbelQW['KolkaTease'] = natkolkatease & killvar 'natkolkatease'
  380. if kolkawantsnat > 0: NatbelQW['KolkaWantsNat'] = kolkawantsnat & killvar 'kolkawantsnat'
  381. if natfuckday > 0: NatbelQW['KolkaFuckDay'] = natfuckday & killvar 'natfuckday'
  382. if NatKolkaSex > 0: NatbelQW['KolkaSex'] = NatKolkaSex & killvar 'NatKolkaSex'
  383. if natbj > 0: NatbelQW['bj'] = natbj & killvar 'natbj'
  384. if NatKolkaFootjob > 0: NatbelQW['KolkaFootjob'] = NatKolkaFootjob & killvar 'NatKolkaFootjob'
  385. if natcp > 0: NatbelQW['KolkaCP'] = natcp & killvar 'natcp'
  386. ! Adding all previous creampies to the new vaginal sex tracker so it can start above 0 if possible
  387. if NatbelQW['KolkaCP'] > 0 and NatbelQW['vaginal'] = 0: NatbelQW['vaginal'] += NatbelQW['KolkaCP']
  388. if natanal > 0: NatbelQW['anal'] = natanal & killvar 'natanal'
  389. if natpregday > 0: NatbelQW['pregday'] = natpregday & killvar 'natpregday'
  390. if nataskedbaby > 0: NatbelQW['askedbaby'] = nataskedbaby & killvar 'nataskedbaby'
  391. if natbabycount > 0: NatbelQW['babycount'] = natbabycount & killvar 'natbabycount'
  392. if MetNatMother > 0: NatbelQW['MetMother'] = MetNatMother & killvar 'MetNatMother'
  393. ! These can be set to 0, so wiping them in any case to get rid of them
  394. NatbelQW['MotherHome'] = NatashaMotherHome & killvar 'NatashaMotherHome'
  395. NatbelQW['MotherDoor'] = DoorOpenBy & killvar 'DoorOpenBy'
  396. NatbelQW['MotherState'] = NatashaMotherState & killvar 'NatashaMotherState'
  397. NatbelQW['MotherStateMsg'] = NatashaMotherStateMsg & killvar 'NatashaMotherStateMsg'
  398. NatbelQW['MotherStateKeep'] = NatashaMotherStateKeep & killvar 'NatashaMotherStateKeep'
  399. if SeenNatMomHitachi > 0: NatbelQW['SeenNatMomHitachi'] = SeenNatMomHitachi & killvar 'SeenNatMomHitachi'
  400. if CaughtByNatMomHitachi > 0: NatbelQW['CaughtByNatMomHitachi'] = CaughtByNatMomHitachi & killvar 'CaughtByNatMomHitachi'
  401. if $NatMomVibName ! '': $NatbelQW['NatMomVibName'] = $NatMomVibName & killvar '$NatMomVibName'
  402. ! typos found in the natasha files & other cleaning up
  403. if nhib_exp > 0: inhib_exp += nhib_exp & killvar 'nhib_exp'
  404. killvar 'natsleeprand'
  405. killvar 'imgrand'
  406. !! ----- Natasha story variables migrated to array ----- 0.8.0
  407. ! ----- Parrot story variables migrated to array
  408. if saveparQW > 0: ParrotQW['Level'] = saveparQW & killvar 'saveparQW'
  409. if popugai > 0: ParrotQW['Owned1'] = popugai & killvar 'popugai'
  410. if popugai2 > 0: ParrotQW['Owned2'] = popugai2 & killvar 'popugai2'
  411. if saveparjourQW > 0: ParrotQW['Day'] = saveparjourQW & killvar 'saveparjourQW'
  412. if parbuydate > 0: ParrotQW['BuyDate'] = parbuydate & killvar 'parbuydate'
  413. if sisrelparday > 0: ParrotQW['SisterReleaseParrotDay'] = sisrelparday & killvar 'sisrelparday'
  414. if saveparQWfailed > 0: ParrotQW['Failed'] = saveparQWfailed & killvar 'saveparQWfailed'
  415. If sispopconf > 0: ParrotQW['SisKeepParrot'] = sispopconf & killvar 'sispopconf'
  416. if $namepopu ! '': $ParrotQW['Name1'] = $namepopu & killvar '$namepopu'
  417. if $namepopu2 ! '': $ParrotQW['Name2'] = $namepopu2 & killvar '$namepopu2'
  418. ! ----- Parrot story variables migrated to array
  419. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  420. if BankPapper > 0: BurgerQW['BankTask'] = BankPapper & killvar 'BankPapper'
  421. if BistroBoss > 0: BurgerQW['BossSlut'] = BistroBoss & killvar 'BistroBoss'
  422. if BistroBossDay > 0: BurgerQW['BossSlutLastServed'] = BistroBossDay & killvar 'BistroBossDay'
  423. if bistroQW > 0: BurgerQW['Level'] = bistroQW & killvar 'bistroQW'
  424. if $burgerIvanText ! '': $BurgerQW['IvanSecurityCamDesc'] = $burgerIvanText & killvar '$burgerIvanText'
  425. if BuSWworkEnd > 0: BurgerQW['SaunaWhoreKnown'] = BuSWworkEnd & killvar 'BuSWworkEnd'
  426. if dayBankPapper > 0: BurgerQW['BankTaskDay'] = dayBankPapper & killvar 'dayBankPapper'
  427. if DayTerminalPapper > 0: BurgerQW['TerminalTaskDay'] = DayTerminalPapper & killvar 'DayTerminalPapper'
  428. if gossipBU > 0: BurgerQW['SlutReputation'] = gossipBU & killvar 'gossipBU'
  429. if IvanEvidence > 0: BurgerQW['IvanQWEvidence'] = IvanEvidence & killvar 'IvanEvidence'
  430. if ivanFilmBJ > 0: BurgerQW['IvanQWBJFilmed'] = ivanFilmBJ & killvar 'ivanFilmBJ'
  431. if IvanKvartira > 0: BurgerQW['IvanQWTatianaHelp'] = IvanKvartira & killvar 'IvanKvartira'
  432. if IvanPodstavaDay > 0: BurgerQW['IvanQWDay'] = IvanPodstavaDay & killvar 'IvanPodstavaDay'
  433. if IvanPodstavaQW > 0: BurgerQW['IvanQW'] = IvanPodstavaQW & killvar 'IvanPodstavaQW'
  434. if kompromatBlackMail > 0: BurgerQW['IvanQWBlackmail'] = kompromatBlackMail & killvar 'kompromatBlackMail'
  435. if $kompromatFoto ! '': $BurgerQW['IvanQWBlackmailPhoto'] = $kompromatFoto & killvar '$kompromatFoto'
  436. if NoBistroWork > 0: BurgerQW['WorkBlocked'] = NoBistroWork & killvar 'NoBistroWork'
  437. if PersSecWork > 0: BurgerQW['Secretary'] = PersSecWork & killvar 'PersSecWork'
  438. if PersSecWorkTimes > 0: BurgerQW['SecretaryTimesWorked'] = PersSecWorkTimes & killvar 'PersSecWorkTimes'
  439. if PodpiskaNeviezd > 0: BurgerQW['IvanQWPoliceDayCount'] = PodpiskaNeviezd & killvar 'PodpiskaNeviezd'
  440. if posuda > 0: BurgerQW['WashDishesCount'] = posuda & killvar 'posuda'
  441. if posudaA > 0: BurgerQW['WashFloorCount'] = posudaA & killvar 'posudaA'
  442. if posudaday > 0: BurgerQW['WashedDishesLastDay'] = posudaday & killvar 'posudaday'
  443. if posudaAday > 0: BurgerQW['WashFloorLastDay'] = posudaAday & killvar 'posudaAday'
  444. if PSBBtimes > 0: BurgerQW['WorkShift'] = PSBBtimes & killvar 'PSBBtimes'
  445. if sergeyPQW > 0: BurgerQW['sergeyQW'] = sergeyPQW & killvar 'sergeyPQW'
  446. if soplakTimes > 0: BurgerQW['sergeyQWServiced1'] = soplakTimes & killvar 'soplakTimes'
  447. if soplakTimes1 > 0: BurgerQW['sergeyQWServiced2'] = soplakTimes1 & killvar 'soplakTimes1'
  448. if TerminalPapper > 0: BurgerQW['TerminalTask'] = TerminalPapper & killvar 'TerminalPapper'
  449. ! ----- Diner Bystroeshka (burger) story variables migrated to array
  450. ! ----- Albina story variables migrated to array
  451. if AlbFather > 0: AlbinaQW['AlbFatherQW'] = AlbFather & killvar 'AlbFather'
  452. if AlbFrend > 0: AlbinaQW['Friends'] = AlbFrend & killvar 'AlbFrend'
  453. if ZvezdEnd > 0: AlbinaQW['StarletsShutDown'] = ZvezdEnd & killvar 'ZvezdEnd'
  454. if DanceWhore > 0: AlbinaQW['StarletsWhore'] = DanceWhore & killvar 'DanceWhore'
  455. if beinalbinahome > 0: AlbinaQW['KnowsHouse'] = beinalbinahome & killvar 'beinalbinahome'
  456. if albsportday > 0: AlbinaQW['SportDay'] = albsportday & killvar 'albsportday'
  457. if albsporthome > 0: AlbinaQW['SportHome'] = albsporthome & killvar 'albsporthome'
  458. if gamebet > 0: AlbinaQW['gamebet'] = gamebet & killvar 'gamebet'
  459. if stardance > 0: AlbinaQW['ShowTriggerCount'] = stardance & killvar 'stardance'
  460. if albrideday > 0: AlbinaQW['albrideday'] = albrideday & killvar 'albrideday'
  461. if albinaQWdance > 0: AlbinaQW['StarletsJoined'] = albinaQWdance & killvar 'albinaQWdance'
  462. if AlbZverHelp > 0: AlbinaQW['ChristinaHelp'] = AlbZverHelp & killvar 'AlbZverHelp'
  463. if alb_father_meeting > 0: AlbinaQW['ParkRally'] = alb_father_meeting & killvar 'alb_father_meeting'
  464. if alb_father_day > 0: AlbinaQW['ParkRallyDay'] = alb_father_day & killvar 'alb_father_day'
  465. if AlbFaterBlackTime > 0: AlbinaQW['ElectionCampaignTime'] = AlbFaterBlackTime & killvar 'AlbFaterBlackTime'
  466. if startletsday > 0: AlbinaQW['startletsday'] = startletsday & killvar 'startletsday'
  467. ! ----- Albina story variables migrated to array
  468. !! Updating npc_bust[] array to the new values ----- 0.8.0
  469. if npc_bust['A12'] = 9: npc_bust['A12'] = 23
  470. if npc_bust['A13'] = 9: npc_bust['A13'] = 8
  471. if npc_bust['A14'] = 9: npc_bust['A14'] = 20
  472. if npc_bust['A15'] = 9: npc_bust['A15'] = 18
  473. if npc_bust['A16'] = 9: npc_bust['A16'] = 26
  474. if npc_bust['A17'] = 9: npc_bust['A17'] = 34
  475. if npc_bust['A18'] = 9: npc_bust['A18'] = 21
  476. if npc_bust['A19'] = 9: npc_bust['A19'] = 14
  477. if npc_bust['A20'] = 9: npc_bust['A20'] = 22
  478. if npc_bust['A21'] = 9: npc_bust['A21'] = 18
  479. if npc_bust['A22'] = 9: npc_bust['A22'] = 27
  480. if npc_bust['A23'] = 9: npc_bust['A23'] = 14
  481. if npc_bust['A24'] = 9: npc_bust['A24'] = 20
  482. if npc_bust['A25'] = 9: npc_bust['A25'] = 21
  483. if npc_bust['A29'] = 9: npc_bust['A29'] = 25
  484. if npc_bust['A30'] = 9: npc_bust['A30'] = 18
  485. if npc_bust['A33'] = 9: npc_bust['A33'] = 19
  486. if npc_bust['A134'] = 9: npc_bust['A134'] = 20
  487. if npc_bust['A135'] = 9: npc_bust['A135'] = 13
  488. if npc_bust['A136'] = 9: npc_bust['A136'] = 30
  489. if npc_bust['A137'] = 9: npc_bust['A137'] = 34
  490. if npc_bust['A138'] = 9: npc_bust['A138'] = 18
  491. if npc_bust['A139'] = 9: npc_bust['A139'] = 22
  492. if npc_bust['A140'] = 9: npc_bust['A140'] = 13
  493. if npc_bust['A141'] = 9: npc_bust['A141'] = 20
  494. if npc_bust['A142'] = 9: npc_bust['A142'] = 13
  495. if npc_bust['A143'] = 9: npc_bust['A143'] = 7
  496. if npc_bust['A144'] = 9: npc_bust['A144'] = 24
  497. if npc_bust['A145'] = 9: npc_bust['A145'] = 31
  498. !! Updating npc_bust[] array to the new values ----- 0.8.0
  499. !!-----------Adding pube colours for 0.8.0-----------
  500. if pcs_pubecol[1] = 0: pcs_pubecol = pcs_haircol & pcs_pubecol[1] = 1 & pcs_pubecol[2] = pcs_haircol
  501. !!-----------Adding pube colours for 0.8.0-----------
  502. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  503. killvar 'olufirst'
  504. killvar 'tetyafirst'
  505. killvar 'oluuosegunday_count'
  506. killvar 'oluuosegunday_day'
  507. !! ----- Mom, Luda & Olu stuff ----- 0.8.0
  508. !!trait update
  509. if traits['update_1'] = 0:
  510. traits['update_1'] = 1
  511. traits['alko_day'] = alko_trait_day
  512. traits['alko_points'] = alko_trait_counter
  513. traits['alko_status'] = alko_trait
  514. killvar 'alko_trait_day'
  515. killvar 'alko_trait_counter'
  516. killvar 'alko_trait'
  517. end
  518. !! ----- Other bug fixes and cleanup ----- 0.8.0
  519. if pcs_gaming_exp > 0: gaming_exp += pcs_gaming_exp & killvar 'pcs_gaming_exp'
  520. if nerd_night_game ! 0: killvar 'nerd_night_game'
  521. if nerd_night_game_day ! 0: nerd_game['game_day'] = nerd_night_game_day & killvar 'nerd_night_game_day'
  522. !!Masturbation check wasn''t being cleared
  523. mastrOnce = 0
  524. !! ----- Other bug fixes and cleanup ----- 0.8.0
  525. !!--------0.8.0.1---school social group adjustment
  526. if gruptipe[9000] = 0:
  527. gruptipe[9000] = 1
  528. grupvalue[1] = grupvalue[1] * 10
  529. grupvalue[2] = grupvalue[2] * 10
  530. grupvalue[3] = grupvalue[3] * 10
  531. grupvalue[4] = grupvalue[4] * 10
  532. end
  533. !!--------0.8.0.1---school social group adjustment
  534. !!--------0.8.1--- Music variable names changed
  535. if ml_update_1 = 0:
  536. ml_guitar['hasguitar'] = ml_guitar
  537. ml_guitar['carried'] = ml_guitarWithMe
  538. ml_performance['performed_minutes'] = ml_performed_minutes
  539. ml_performance['max_perform_minutes'] = ml_max_perform_minutes
  540. ml_guitar['chordbook'] = ml_chordbook
  541. ml_guitarlesson['lessoncount'] = ml_lessoncount
  542. ml_guitarlesson['lessonday'] = ml_lessonday
  543. $ml_guitarlesson['lessonday'] = $ml_lessonday
  544. ml_guitarlesson['lessonhour'] = 15
  545. ml_guitarlesson['nextlesson'] = daystart + (ml_guitarlesson['lessonday'] + 7 - week)
  546. ml_guitarlesson['advertisement'] = ml_guitarlessonadv
  547. ml_guitarlesson['enquired'] = ml_enquired
  548. if age < 18:
  549. ml_guitarlesson['lessoncost'] = 300
  550. else
  551. ml_guitarlesson['lessoncost'] = 500
  552. end
  553. killvar 'ml_guitarWithMe'
  554. killvar 'ml_performed_minutes'
  555. killvar 'ml_max_perform_minutes'
  556. killvar 'ml_guitarlessonadv'
  557. killvar 'ml_enquired'
  558. killvar 'ml_lessonday'
  559. killvar '$ml_lessonday'
  560. killvar 'ml_lessoncost'
  561. !!--------0.8.1--- Music variable names changed
  562. ml_update_1 = 1
  563. end
  564. !! changed $metkaM to $locM_arg and $metka to $loc_arg in the code - needed for correction saves saved prior to version 0.8.1
  565. if arrsize('$metkaM') > 0 or arrsize('$metka') > 0:
  566. $locM_arg = $metkaM
  567. $loc_arg = $metka
  568. killvar '$metkaM'
  569. killvar '$metka'
  570. end
  571. !!---------------------------------------------------------------
  572. !!model age addition
  573. if model['age'] = 0 and model > 0:
  574. model['status'] = 1
  575. if age >= 18:
  576. model['age'] = age
  577. else
  578. model['age'] = 18
  579. end
  580. model = 0
  581. end
  582. !! Fixing Katja and Natasha relationship
  583. if npc_sex['A14'] > 1: npc_sex['A14'] = 1
  584. if npc_sex['A16'] > 1: npc_sex['A16'] = 1
  585. !! University related vars update
  586. if student >= 0:
  587. gs 'uniutil', 'transfer_legacy_vars'
  588. end
  589. !!---------------------------------------------------------------
  590. !! Lariska story variables migrated to array
  591. if KotovZverHelp > 0: LariskaQW['VitekHelp'] = KotovZverHelp & killvar 'KotovZverHelp'
  592. if IvanZverHelp > 0: LariskaQW['IvanHelp'] = IvanZverHelp & killvar 'IvanZverHelp'
  593. if FyodorZverHelp > 0: LariskaQW['FedorHelp'] = FyodorZverHelp & killvar 'FyodorZverHelp'
  594. if lariskaHelp > 0: LariskaQW['LariskaHelp'] = lariskaHelp & killvar 'lariskaHelp'
  595. if lariskaHelp_end > 0: LariskaQw['LariskaHelpEnd'] = lariskaHelp_end & killvar 'lariskaHelp_end'
  596. !!---------------------------------------------------------------
  597. !! Lariska variables removed, no longer needed - 2020/11/30 - Alaratt
  598. !! Edited - 2021/01/19 - Alaratt
  599. if beInLariskaHome = 1 or LariskaHomeIn >= 1:
  600. if LariskaHomeIn = 1:
  601. LariskaQW['story'] = 4
  602. else
  603. LariskaQW['story'] = 5
  604. end
  605. killvar 'LariskaHomeIn'
  606. killvar 'beInLariskaHome'
  607. end
  608. if doorlocked > 0: killvar 'doorlocked'
  609. if doorpeek > 0: killvar 'doorpeek'
  610. if lariskaBDSM > 0: killvar 'lariskaBDSM'
  611. if lariskaMotherKnown = 1:
  612. LariskaQW['metAnna'] = 1
  613. killvar 'lariskaMotherKnown'
  614. end
  615. if LariskaProfi = 1:
  616. LariskaQW['volleyball'] = 1
  617. killvar 'LariskaProfi'
  618. end
  619. !!---------------------------------------------------------------
  620. !! Migrates Christina variables into an array, removes unneeded variables, and fixes the outcast issue if still needed
  621. !! 2021/01/19 - Alaratt
  622. if zverSlutQW > 0:
  623. if zverSlutQW = 2:
  624. !! Christina lost the fight and is outcasted
  625. christinaQW['fight'] = 1
  626. christinaQW['dompath'] = 7
  627. npc_grupTipe['A18'] = 5
  628. else
  629. !! Christina lost the fight and is prepped for outcasting
  630. christinaQW['fight'] = 1
  631. christinaQW['dompath'] = 6
  632. end
  633. killvar 'zverSlutQW'
  634. end
  635. if zverRageQW > 0:
  636. if zverRageQW = 10:
  637. !! Christina won the fight
  638. christinaQW['fight'] = -1
  639. christinaQW['subpath'] = 2
  640. elseif zverRageQW = 2:
  641. !! Christina lost the fight
  642. christinaQW['fight'] = 1
  643. christinaQW['dompath'] = 6
  644. else
  645. !! You spread rumors about Christina and she preps for fight
  646. christinaQW['dompath'] = 4
  647. end
  648. killvar 'zverRageQW'
  649. end
  650. if socialchg['christina_dont_care'] = 1:socialchg['christina_dont_care'] = 0
  651. if zverevaQW > 0:killvar 'zverevaQW'
  652. if LinaSlut > 0:killvar 'LinaSlut'
  653. if fizrukSex > 0:killvar 'fizrukSex'
  654. if kristinaSex > 0:killvar 'kristinaSex'
  655. if christinaphotos > 0:
  656. if christinaphotos = 3:
  657. !! Christina won the fight and you have not had a shower scene with her yet
  658. christinaQW['fight'] = -1
  659. christinaQW['subpath'] = 2
  660. elseif christinaphotos = 4:
  661. !! Christina won the fight and you had first shower scene with her
  662. christinaQW['fight'] = -1
  663. christinaQW['subpath'] = 3
  664. elseif christinaphotos = 2
  665. !! You submitted to Christina and you had first shower scene with her
  666. christinaQW['submit'] = 1
  667. christinaQW['subpath'] = 3
  668. else
  669. !! You submitted to Christina but not had a shower scene with her yet
  670. christinaQW['submit'] = 1
  671. christinaQW['subpath'] = 2
  672. end
  673. killvar 'christinaphotos'
  674. end
  675. !!---------------------------------------------------------------
  676. !! Shave updater
  677. if shave_update ! 1:
  678. if pubestyle = 1:
  679. shave_length = 2
  680. shave_trigger = 4
  681. elseif (pubestyle >= 2 and pubestyle <= 9) or pubestyle >= 12:
  682. shave_length = 16
  683. shave_trigger = 21
  684. elseif pubestyle = 10:
  685. shave_length = 26
  686. shave_trigger = 31
  687. elseif pubestyle = 11:
  688. shave_length = 2
  689. shave_trigger = 10
  690. end
  691. shave_update = 1
  692. end
  693. !! 0.8.2 clothing package for old saves ---------------------------------------
  694. 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:
  695. $batch_sell = {
  696. poshvalldrop += 1
  697. dynamic 'RESULT = <<$ARGS[0]>>H[<<ARGS[1]>>]'
  698. if RESULT > 100:
  699. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  700. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  701. money += 750
  702. selltot += 750
  703. elseif RESULT > 45:
  704. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  705. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  706. money += 500
  707. selltot += 500
  708. elseif RESULT > 30:
  709. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  710. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  711. money += 300
  712. selltot += 300
  713. elseif RESULT > 0:
  714. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  715. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  716. money += 100
  717. selltot += 100
  718. else
  719. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  720. dynamic '<<$ARGS[0]>>S[<<ARGS[1]>>] = 0'
  721. end
  722. dynamic '<<$ARGS[0]>>H[<<ARGS[1]>>] = 0'
  723. }
  724. poshvalldrop = 0
  725. selltot = 0
  726. i = 1
  727. :cheapmet
  728. if cheap[i] = 1 and cheapH[i] > 0:dynamic($batch_sell, 'cheap', i)
  729. i += 1
  730. if i <= 419:jump 'cheapmet'
  731. i = 1
  732. :averagemet
  733. if average[i] = 1 and averageH[i] > 0:dynamic($batch_sell, 'average', i)
  734. i += 1
  735. if i <= 541:jump 'averagemet'
  736. i = 1
  737. :expensivemet
  738. if expensive[i] = 1 and expensiveH[i] > 0:dynamic($batch_sell, 'expensive', i)
  739. i += 1
  740. if i <= 442:jump 'expensivemet'
  741. i = 1
  742. :formalmet
  743. if formal[i] = 1 and formalH[i] > 0:dynamic($batch_sell, 'formal', i)
  744. i += 1
  745. if i <= 185:jump 'formalmet'
  746. i = 1
  747. :officemet
  748. if office[i] = 1 and officeH[i] > 0:dynamic($batch_sell, 'office', i)
  749. i += 1
  750. if i <= 140:jump 'officemet'
  751. i = 1
  752. :schoolmet
  753. if school[i] = 1 and schoolH[i] > 0:dynamic($batch_sell, 'school', i)
  754. i += 1
  755. if i <= 80:jump 'schoolmet'
  756. i = 1
  757. :exercisemet
  758. if exercise[i] = 1 and exerciseH[i] > 0:dynamic($batch_sell, 'exercise', i)
  759. i += 1
  760. if i <= 260:jump 'exercisemet'
  761. i = 1
  762. :fetishmet
  763. if fetish[i] = 1 and fetishH[i] > 0:dynamic($batch_sell, 'fetish', i)
  764. i += 1
  765. if i <= 240:jump 'fetishmet'
  766. i = 1
  767. :burlesquemet
  768. if burlesque[i] = 1 and burlesqueH[i] > 0:dynamic($batch_sell, 'burlesque', i)
  769. i += 1
  770. if i <= 22:jump 'burlesquemet'
  771. i = 1
  772. :exhibitmet
  773. if exhibit[i] = 1 and exhibitH[i] > 0:dynamic($batch_sell, 'exhibit', i)
  774. i += 1
  775. if i <= 125:jump 'exhibitmet'
  776. i = 1
  777. :uniformmet
  778. if uniform[i] = 1 and uniformH[i] > 0:dynamic($batch_sell, 'uniform', i)
  779. i += 1
  780. if i <= 60:jump 'uniformmet'
  781. i = 1
  782. :swimwearmet
  783. if swimwear[i] = 1 and swimwearH[i] > 0:dynamic($batch_sell, 'swimwear', i)
  784. i += 1
  785. if i <= 213:jump 'swimwearmet'
  786. i = 1
  787. :beachmet
  788. if beach[i] = 1 and beachH[i] > 0:dynamic($batch_sell, 'beach', i)
  789. i += 1
  790. if i <= 103:jump 'beachmet'
  791. i = 1
  792. :alternativemet
  793. if alternative[i] = 1 and alternativeH[i] > 0:dynamic($batch_sell, 'alternativer', i)
  794. i += 1
  795. if i <= 129:jump 'alternativemet'
  796. killvar 'batch_sell'
  797. killvar 'alternativeH' & killvar 'alternativeS' & killvar 'alternative'
  798. killvar 'averageH' & killvar 'averageS' & killvar 'average'
  799. killvar 'burlesqueH' & killvar 'burlesqueS' & killvar 'burlesque'
  800. killvar 'cheapH' & killvar 'cheapS' & killvar 'cheap'
  801. killvar 'exerciseH' & killvar 'exerciseS'
  802. killvar 'exhibitH' & killvar 'exhibitS'
  803. killvar 'expensiveH' & killvar 'expensiveS' & killvar 'expensive'
  804. killvar 'fetishH' & killvar 'fetishS'
  805. killvar 'formalH' & killvar 'formalS' & killvar 'formal'
  806. killvar 'officeH' & killvar 'officeS' & killvar 'office'
  807. killvar 'schoolH' & killvar 'schoolS' & killvar 'school'
  808. killvar 'uniformH' & killvar 'uniformS' & killvar 'uniform'
  809. killvar 'beachS' & killvar 'beachH' & killvar 'beachB'
  810. killvar 'swimwearS' & killvar 'swimwearH' & killvar 'swimwearB'
  811. killvar 'coatS' & killvar 'coatH'
  812. gm_outfits[50] = 1
  813. gm_outfits_h[50] = 100
  814. gm_outfits_b[50] = pcs_hips
  815. gs 'clothing', 'wear', 'gm_outfits', 50
  816. end
  817. end
  818. --- saveupdater ---------------------------------