saveupdater.qsrc 35 KB

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