saveupdater.qsrc 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  1. # saveupdater
  2. !0.73 new menu.
  3. !delete old menus and rebuild.
  4. !killobj
  5. killvar 'Enable_settingmode'
  6. killvar 'menu_character'
  7. killvar 'menu_lookon'
  8. killvar 'menu_view'
  9. killvar 'menu_other'
  10. delobj '[Autosave]'
  11. delobj '<font color = green>Character</font>'
  12. delobj 'Skills'
  13. delobj 'Statistics'
  14. delobj 'Pain'
  15. delobj 'Traits'
  16. delobj 'Fame'
  17. delobj 'Renown'
  18. delobj 'Magic'
  19. delobj 'Face'
  20. delobj 'Body'
  21. delobj 'Clothing'
  22. delobj 'Panties'
  23. delobj 'Shoes'
  24. delobj 'Tattoos'
  25. delobj 'Piercing'
  26. delobj 'Phone'
  27. delobj 'Purse'
  28. delobj 'Notebook'
  29. delobj 'Refresh'
  30. delobj 'Settings'
  31. delobj 'Cheats'
  32. delobj '<font color = red><b>[</b></font>Autosave<font color = red><b>]</b></font>'
  33. delobj '<font color = green><b>[</b></font>Autosave<font color = green><b>]</b></font>'
  34. delobj ''
  35. delobj '<font color = red>Emergency</font>'
  36. delobj '<img src="images/system/icon/pers.png">'
  37. delobj '<img src="images/system/icon/look.png">'
  38. delobj '<img src="images/system/icon/proch.png">'
  39. delobj '<img src="images/system/icon/menu.png">'
  40. delobj '<img src="images/system/icon/phone.png">'
  41. delobj '<img src="images/system/icon/purse.png">'
  42. !add menus back to utility menu.
  43. gs 'obj_din', 'old'
  44. ! 0.72 water to pcs_hydra
  45. if water > 0: pcs_hydra = water & killvar 'water'
  46. ! 0.72 pavSharedApt changes.
  47. if step > 0: pavIntroStep = step & killvar 'step'
  48. pcs_dob = (birthyear * 10000) + (birthmonth * 100) + birthday
  49. if karinsucsexday > 0:tatianasucsexday = karinsucsexday & killvar 'karinsucsexday'
  50. if karinsucsex > 0: tatianasucsex = karinsucsex & killvar 'karinsucsex'
  51. if KarinSex > 0: tatianaSex = KarinSex & killvar 'KarinSex'
  52. if JenyaLCfirst > 0: LCEugenefirst = JenyaLCfirst & killvar 'JenyaLCfirst'
  53. if JenyaLC > 0:npc_rel['A89'] = JenyaLC & killvar 'JenyaLC'
  54. if serge_shulgin > 0:npc_rel['A112'] = serge_shulgin & killvar 'serge_shulgin'
  55. if barmenshameet > 0: npc_Qstlvl['A89'] = barmenshameet & killvar 'barmenshameet'
  56. if npc_QW['A66'] = 0: npc_QW['A66'] = piratsuka & killvar 'piratsuka'
  57. if npc_horny['A66'] = 0: npc_horny['A66'] = piratHorny & killvar 'pirathorny'
  58. if mirabandit = 0: mirabandit = mirapirat & killvar 'mirapirat'
  59. if banditfrend = 0: banditfrend = piratfrend & killvar 'piratfrend'
  60. killvar 'piratknow'
  61. killvar 'piratboggle'
  62. killvar 'know_no_pirat'
  63. if nastjaqw > 0: npc_QW['A192'] = nastjaqw
  64. killvar 'nastjaqw'
  65. if trenerepa > 0: npc_rel['A69'] = trenerepa
  66. killvar 'trenerepa'
  67. if Givi > 0: npc_rel['A41'] = Givi
  68. killvar 'Givi'
  69. !! rachels - boyfriend stuff 2017 09 05
  70. if arrsize('pcs_lovers') > 0 and pcs_lovers[0] = 0:
  71. copyarr '$loverdick_girth','$dick_girth'
  72. copyarr 'loversilaVag','silaVag'
  73. copyarr 'loverfinance','finance'
  74. copyarr 'hairlover','haerlover'
  75. copyarr 'loverizvrat','izvrat'
  76. killvar '$dick_girth'
  77. killvar 'silaVag'
  78. killvar 'finance'
  79. killvar 'haerlover'
  80. killvar 'izvrat'
  81. gs 'lover', 'remove', 0
  82. pcs_lover += 1
  83. boypic[0] = boypicA
  84. meethour[0] = meethourA
  85. svidanie[0] = svidanieA
  86. meetday[0] = meetdayA
  87. boypic[1] = boypicB
  88. meethour[1] = meethourB
  89. svidanie[1] = svidanieB
  90. meetday[1] = meetdayB
  91. boypic[2] = boypicC
  92. meethour[2] = meethourC
  93. svidanie[2] = svidanieC
  94. meetday[2] = meetdayC
  95. if pcs_lovers[2] = 0: gs 'lover', 'remove', 2
  96. if pcs_lovers[1] = 0: gs 'lover', 'remove', 1
  97. if pcs_lovers[0] = 0: gs 'lover', 'remove', 0
  98. end
  99. !! migrate picture ID
  100. if boypic[0] > 0 and lover_picture[0] = 0:
  101. lover_picture[0] = boypic[0]
  102. killvar 'boypic', 0
  103. end
  104. if boypic[1] > 0 and lover_picture[1] = 0:
  105. lover_picture[1] = boypic[1]
  106. killvar 'boypic', 1
  107. end
  108. if boypic[2] > 0 and lover_picture[2] = 0:
  109. lover_picture[2] = boypic[2]
  110. killvar 'boypic', 2
  111. end
  112. !! end boyfriend stuff
  113. !! rachels - pool/billiard skill- 2017 09 13
  114. if billiardnav > 0: pool_exp += billiardnav & killvar 'billiardnav' & killvar 'pcs_billiard'
  115. !! end pool stuff
  116. !! rachels - new years party stuff - 2017 10 28
  117. !! added because December saves have not calculated the nyp data
  118. temp = func('shortgs','dow',year,12,31)
  119. if temp < 6:
  120. nyp_day = 31
  121. elseif temp = 6:
  122. nyp_day = 30
  123. else
  124. nyp_day = 29
  125. end
  126. !!
  127. !!{if $pcs_dna = '':
  128. $npc_dna['A1'] = '1594378993 1607632682 1428796224 1448474566 1775134737 1909315069 1882255348'
  129. $npc_dna['A2'] = '1993665716 1616738815 1589755494 1229942753 1120816404 1371564141 1910586302'
  130. $npc_dna['A3'] = '1580777525 1747887345 8321006077 1970922187 1029352130 7921283143 7765736018'
  131. $npc_dna['A4'] = '1438762189 1855175944 1123617000 1817906848 1390916310 1459640815 1436321833'
  132. $npc_dna['A5'] = '1379973003 1196687437 1136761140 2107449234 1973361988 1939869341 1786180096'
  133. $npc_dna['A6'] = '1490744069 1013739636 1009283243 1951857582 1559659111 1792925326 1086487692'
  134. $npc_dna['A7'] = '1689930319 1973226357 2129134392 2090450913 1513523102 2063456541 1533040976'
  135. $npc_dna['A8'] = '1004746288 1743479356 1890053138 1336365224 1893621358 1730538237 1325162654'
  136. $npc_dna['A9'] = '1851794364 1224420951 1300723572 1628306107 1809003038 1301990921 1253822208'
  137. $npc_dna['A10'] = '2049084127 1470960834 1280333156 1706598464 1268389504 1227431573 2132916352'
  138. $npc_dna['A11'] = '2092485270 1750615492 1357552191 1799649757 1558588590 1808035750 1644370082'
  139. $npc_dna['A12'] = '1898622449 1904538322 8321006077 1825474042 1063577851 7921283143 7765736018'
  140. $npc_dna['A13'] = '1731087833 1604487809 1464859113 1561062144 1440871037 1347904523 1150306572'
  141. $npc_dna['A14'] = '1743820731 1035407288 1124546006 1260253434 1082292496 1455110922 1434089976'
  142. $npc_dna['A15'] = '1743820731 1035407288 1124546006 1260253434 1082292496 1455110922 1434089976'
  143. $npc_dna['A16'] = '1119464721 1614037462 1646642112 1959746313 1085890273 1009333823 1238937878'
  144. $npc_dna['A17'] = '1736016429 1462897715 2010810526 1845581584 1266092607 1950870951 1153689245'
  145. $npc_dna['A18'] = '1695885007 2098494473 1893236781 1197776866 1613803510 1095093401 1877459340'
  146. $npc_dna['A19'] = '1868882449 1367396730 1179635869 1781589830 2141637715 1988698459 1710383168'
  147. $npc_dna['A20'] = '1851794365 1224420951 1300723572 1628306107 1809003038 1301990921 1253822208'
  148. $npc_dna['A21'] = '1027294118 1526664895 1047167563 1146573782 1562782691 2063456541 1533040976'
  149. $npc_dna['A22'] = '2099547924 1046564078 1433794796 1591674416 1440637551 1386979191 1773169648'
  150. $npc_dna['A23'] = '1410862429 1854775733 1705291842 1147504758 1609009238 1203561941 1602837590'
  151. $npc_dna['A24'] = '1989757424 1370351107 1337196420 1362464918 1383218762 1045638336 1960389781'
  152. $npc_dna['A25'] = '1633731691 1389436996 1448312616 1738900889 1051507305 1144473144 1251857548'
  153. $npc_dna['A26'] = '1047167563 2063456541 1533040976 1303801542 1620497680 1042269021 1659592524'
  154. $npc_dna['A27'] = '1526664895 1146573782 1562782691 1262684992 1354837515 1727531312 2004326261'
  155. $npc_dna['A28'] = '1085730943 1931034853 1979821791 1720869809 1405982728 2119519439 2110201703'
  156. $npc_dna['A29'] = '1545843327 1962976090 1780199176 1930957336 1888703623 1843607237 1675779774'
  157. $npc_dna['A30'] = '1545843328 1962976090 1780199176 1930957336 1888703623 1843607237 1675779774'
  158. $npc_dna['A31'] = '1843607237 1942499229 1221585640 1038127602 1700766678 1100784200 1819267918'
  159. $npc_dna['A32'] = '1675779774 1167755546 1500737294 1443097159 1423316671 1056299351 1530143067'
  160. $npc_dna['A33'] = '1429755064 1545843327 1198040660 1962976090 1780199176 1936146603 2049979334'
  161. $npc_dna['A34'] = '1588599246 1545843327 1085730943 1962976090 1780199176 1931034853 1979821791'
  162. $npc_dna['A35'] = '1198040660 1936146603 2049979334 1276791698 1325847789 1379325296 1029736884'
  163. $npc_dna['A36'] = '1902637322 1870968508 1231095894 1330096941 1541087381 1973617911 1386337081'
  164. $npc_dna['A37'] = '1389808807 1404442169 1642165848 1673620649 1531597159 1430968975 1536241074'
  165. $npc_dna['A38'] = '1226305314 1430928850 1144576786 1435600997 1537092669 1301461802 1167005269'
  166. $npc_dna['A39'] = '1792509661 1994108013 1588492806 1200642788 1785136518 1482855645 1903324752'
  167. $npc_dna['A40'] = '1378982990 1311934118 1904514436 1282506111 1725049043 1341280625 1250233099'
  168. $npc_dna['A41'] = '1331452063 2012109105 1708557162 1857346873 1496187449 1611414481 1133537624'
  169. $npc_dna['A42'] = '1684075531 1825751910 1655527813 1683610108 1813375771 2012109105 1708557162'
  170. $npc_dna['A43'] = '1707750779 1605673218 1243222430 1619197534 1698231949 1043436410 1967334561'
  171. $npc_dna['A44'] = '1313155229 1195459649 1517554507 1714940250 1195812044 1410182720 1106787557'
  172. $npc_dna['A45'] = '2120036389 1608902916 1608360250 1348006946 1295114181 1691995142 1058262054'
  173. $npc_dna['A46'] = '1730012364 1640374953 1450067760 1963836408 1594339112 1081934143 1987109342'
  174. $npc_dna['A47'] = '1093558586 1874182199 1860051813 1894735696 2013967885 1566236664 1861552325'
  175. $npc_dna['A48'] = '1399171137 1247493113 1072511322 1204732676 1430581863 1194553758 1926427252'
  176. $npc_dna['A49'] = '1801121147 1596587819 1688642091 1202650974 1577509272 1059659374 1678770230'
  177. $npc_dna['A50'] = '1435367511 1891990398 1521901210 1459906326 1825460937 1413691134 1744017772'
  178. $npc_dna['A51'] = '1852796600 2106532432 1184050637 1847025401 1606707948 1039681085 1957750328'
  179. $npc_dna['A52'] = '1571713339 1381421911 1129274296 1580593240 1693511984 1798824352 1655802955'
  180. $npc_dna['A53'] = '1987201506 1646392419 1036777300 1820041031 1625967645 1373112497 1790005211'
  181. $npc_dna['A54'] = '2134980269 1704535752 1434251081 1076620970 1443727294 1838260118 1205245791'
  182. $npc_dna['A55'] = '1160422782 1599231242 1170518020 1844217422 1970929518 1568598475 1217564731'
  183. $npc_dna['A56'] = '1731740316 1035407288 1124546006 1260253434 1082292496 1455110922 1434089976'
  184. $npc_dna['A57'] = '1173276062 1427985989 1736266892 1028816280 1824359669 1132882533 1134471109'
  185. $npc_dna['A58'] = '1443401856 1151112047 8321006077 1153217734 1305220298 7921283143 7765736018'
  186. $npc_dna['A59'] = '1670044870 1746541889 1939734844 1792989216 1320934850 1111430962 2142228809'
  187. $npc_dna['A60'] = '1277459319 1572128651 2011848683 1766614432 1751115695 2053109941 2123319868'
  188. $npc_dna['A61'] = '1674740055 1616332471 1238320018 1885547841 1948804143 1271878978 1383881679'
  189. $npc_dna['A62'] = '1461313531 1705318453 1315320361 1648677747 1742189125 1337017581 1188201934'
  190. $npc_dna['A63'] = '1262037798 1489580076 1482201365 1230199953 1331830585 1923429750 1570327975'
  191. $npc_dna['A64'] = '2011848683 2053109941 2123319868 1126381092 1930867160 1481040265 1607304091'
  192. $npc_dna['A65'] = '1407717462 1572128651 2011848683 1766614432 1751115695 2053109941 2123319868'
  193. $npc_dna['A66'] = '3769808989 3791424895 3388660888 3670612592 3668879713 3274794097 3877226585'
  194. $npc_dna['A67'] = '1770994710 1045056456 1630291439 1823144512 2022969490 1003713468 1769557695'
  195. $npc_dna['A68'] = '1180829350 1861722783 1533731343 2060083553 1474192936 1030861215 1441974536'
  196. $npc_dna['A69'] = '1497408906 2062794580 1954918340 1284438971 1189615485 1330569260 1356806209'
  197. $npc_dna['A70'] = '1625103852 1058929809 1950538836 1778016905 1380420827 1079863842 1745265049'
  198. $npc_dna['A71'] = '2132719934 1311181050 1171683829 1946919542 1528886114 2035827969 1077439399'
  199. $npc_dna['A72'] = '1416935739 1965395103 1375203982 1925522281 1102922011 2030344556 1049774393'
  200. $npc_dna['A73'] = '2012922376 1037502234 1553944791 1481530732 1811451079 1396452842 1984210226'
  201. $npc_dna['A74'] = '1770755490 1681513008 1124194992 1296486173 1065745146 1634914638 1526211903'
  202. $npc_dna['A75'] = '2039225506 1786885929 1179834057 1525285053 1729741476 1870377171 1879004056'
  203. $npc_dna['A76'] = '1008510370 1518299135 1584717411 1093601930 1547392081 1332335506 1589745960'
  204. $npc_dna['A77'] = '1971687970 1162271469 1942122372 1675574199 1926720739 1720477118 2120304425'
  205. $npc_dna['A78'] = '1129198910 2123899265 2070826103 1263408683 1266342598 1852602642 1659580757'
  206. $npc_dna['A79'] = '1493775493 1711020559 1913087213 1896156768 1664736488 1487004190 1687464440'
  207. $npc_dna['A80'] = '1043237462 1787303410 2015535291 1536406969 1119401804 1423821092 1202659815'
  208. $npc_dna['A81'] = '1781969758 1233736852 1968991800 1271757488 1003619294 1186735786 1089618370'
  209. $npc_dna['A82'] = '1518919857 1263522764 1853362558 1903972455 1560042249 1858587108 1920541253'
  210. $npc_dna['A83'] = '1473539500 1300272748 1849153490 1148245338 1587757384 1435094984 1944660918'
  211. $npc_dna['A84'] = '2106927598 1295208699 1791495642 1377661124 2006483992 1113518034 1579903219'
  212. $npc_dna['A85'] = '1938942779 2106314839 1289521515 1217866816 2023591880 1519928587 1939169723'
  213. $npc_dna['A86'] = '1292901057 1445078354 1576836749 1579962358 1713996320 2046365622 1579166032'
  214. $npc_dna['A87'] = '1847378236 1162293273 1556619643 1329175895 1349109199 1613614049 1534225588'
  215. $npc_dna['A88'] = '1072747711 1893613779 1095190471 1168304377 1119586478 1317838894 1161492926'
  216. $npc_dna['A89'] = '1686681956 1037303803 1438812408 1000615186 1838310950 1945611800 1031199730'
  217. $npc_dna['A90'] = '1551794736 1037303803 1438812408 1000615186 1838310950 1945611800 1031199730'
  218. $npc_dna['A91'] = '1091682576 2037714665 1534661263 1602294938 1206288726 1612990215 1456060861'
  219. $npc_dna['A92'] = '1215179226 1132967920 1233565533 2074043785 1042603573 1361029355 2138150185'
  220. $npc_dna['A93'] = '1419539166 1635112879 1449039561 1653076316 1282274667 1815783068 1891294665'
  221. $npc_dna['A94'] = '1867223522 1532675696 1762275784 1308084289 2089817449 1807718763 1325197727'
  222. $npc_dna['A95'] = '1665716568 1089177521 1951416857 1629130965 1139147327 1335392254 1729246241'
  223. $npc_dna['A96'] = '1460502649 1673367532 1417003328 1868999426 1609397406 1943603327 1181997081'
  224. $npc_dna['A97'] = '1094943856 1353290235 1572450107 1956501688 1542692525 1988448865 1619643443'
  225. $npc_dna['A98'] = '1236168432 1165329555 1245952733 1661287661 1117236841 1677164094 1151987548'
  226. $npc_dna['A99'] = '1510466089 1004233017 1279999730 1803351444 1641046743 1766586587 1960434703'
  227. $npc_dna['A101'] = '1316262053 1139860599 1054558181 1564591207 1897612229 1770085065 1904973185'
  228. $npc_dna['A102'] = '1543553151 1178430341 1325302453 1973698959 1957668534 1742596417 1164209202'
  229. $npc_dna['A103'] = '1067395578 2076484645 1105399915 1907879678 1427565612 1490215506 1150379156'
  230. $npc_dna['A104'] = '1043823602 2024518232 1177653510 1378276310 1952592877 1519571965 1344291245'
  231. $npc_dna['A105'] = '1142923155 1109221512 1878952508 1385940310 1720623901 2002904662 1060291391'
  232. $npc_dna['A106'] = '1417673067 1028156270 1577447008 1963640062 1937710404 1257008617 1439724726'
  233. $npc_dna['A107'] = '1844078701 1752959121 1178966198 1524261234 1583340322 1917049302 1492514745'
  234. $npc_dna['A108'] = '1643991188 1952232493 1071028063 2074038111 1147795375 2118341095 1847972590'
  235. $npc_dna['A109'] = '1746569371 1346237388 1813218844 1467700105 1086609823 1654865621 1715437717'
  236. $npc_dna['A110'] = '1382385133 2015745814 1777689033 1679307387 1776217771 1917449428 2071160465'
  237. $npc_dna['A111'] = '1089725928 1899475061 1329520737 1102315698 1749072929 1621723771 1753154554'
  238. $npc_dna['A112'] = '1357552191 1808035750 1644370082 1970842460 1776176573 1211917555 1776040163'
  239. $npc_dna['A113'] = '1774396206 1848301631 1697225452 1143268439 1252055647 2110725762 1260967419'
  240. $npc_dna['A114'] = '1774396205 1848301631 1697225452 1143268439 1252055647 2110725762 1260967419'
  241. $npc_dna['A115'] = '1074209213 1187173282 1211031753 1535474248 1134590256 1026540873 1721369948'
  242. $npc_dna['A116'] = '1542399937 1905241817 1701426477 1002823534 1464267474 1011697976 1988839911'
  243. $npc_dna['A117'] = '4542399937 4905241817 4701426477 4002823534 4464267474 4011697976 4988839911'
  244. $npc_dna['A118'] = '1705291842 1203561941 1602837590 1811774530 1215541632 1893678025 1991423109'
  245. $npc_dna['A119'] = '2031631571 1995569440 1450381571 1372658726 1715345534 1718505125 1736791711'
  246. $npc_dna['A120'] = '1288672090 1312650625 1126852365 1579537441 1050383706 1530771556 1757833025'
  247. $npc_dna['A121'] = '1145156791 1748081183 1137690401 1121192373 1440194064 1029860550 1346974726'
  248. $npc_dna['A122'] = '2130577244 1640932093 1191659262 1340043332 1009313498 1205807037 1759548391'
  249. $npc_dna['A123'] = '1213144477 1393767889 1853481730 1216131062 1625069235 1446669832 1709998708'
  250. $npc_dna['A124'] = '1665174694 1988944116 1807917594 1254176734 2064239242 1643819573 1392786112'
  251. $npc_dna['A125'] = '1782310214 1854425806 1138563924 1277981120 1771674321 1225102514 1034678700'
  252. $npc_dna['A126'] = '1464522854 1308604424 1705249327 1562011617 1043225628 1849417361 1015855202'
  253. $npc_dna['A127'] = '1797467433 2003489967 1798597247 1058757155 1598996372 1954728943 1657496532'
  254. $npc_dna['A128'] = '1329445270 1353015030 1000782701 1036165668 1639583614 1529658078 1975679453'
  255. $npc_dna['A129'] = '1440577620 1404493595 1159165013 1229533074 1597914660 1301026307 1275667543'
  256. $npc_dna['A130'] = '1726870149 1624130023 1044618711 1429525298 1800638929 1340956737 1405979189'
  257. $npc_dna['A131'] = '1290761368 1731705745 1556198951 1402252861 1318878286 1783536035 1235327987'
  258. $npc_dna['A132'] = '1845705457 1671776475 1432615990 2143340423 1777183626 1122316963 1021792548'
  259. $npc_dna['A133'] = '1771221536 2027750396 2089544713 1734369517 1759135620 1433377965 1088177703'
  260. $npc_dna['A134'] = '1837796316 1436860618 1699933821 1423519204 1271493655 1566380915 1482989416'
  261. $npc_dna['A135'] = '1482962188 1063482733 1488899248 1806709653 1901966276 1373982700 1143695253'
  262. $npc_dna['A136'] = '1323009327 1170828061 1350671739 1453635383 1122377435 1922441585 1637692781'
  263. $npc_dna['A137'] = '1366158823 1463494144 1620282105 1806630761 1949066883 1679902075 1297964182'
  264. $npc_dna['A138'] = '1041262937 1103319358 1212009691 1617547174 1655867289 1930930487 1952353548'
  265. $npc_dna['A139'] = '1194676974 1594146631 1238391630 1274433221 1950748802 1727312584 8321006077'
  266. $npc_dna['A140'] = '1388957981 1104285969 1184925418 1994156965 1456422790 2095370094 1430302038'
  267. $npc_dna['A141'] = '2132183395 1401313649 8321006077 1434417039 2321026077 7921283143 7765736018'
  268. $npc_dna['A142'] = '1972767054 1454786801 1222281674 1247981358 1828806656 1613393781 2115243730'
  269. $npc_dna['A143'] = '1483702075 1521949936 1508959207 1971565483 1258438946 1771252769 1861114888'
  270. $npc_dna['A144'] = '1273241012 2077038465 1275739884 1535053248 1434891447 1879708703 1237809681'
  271. $npc_dna['A145'] = '1353721655 1926973992 1103624951 1850596792 1430454682 1886117868 1618747491'
  272. $npc_dna['A146'] = '1970425464 1559405118 2117548142 1930104143 1673957846 1166458305 1888536480'
  273. $npc_dna['A147'] = '1457300123 1918120099 1967335170 1056889039 1290544338 1170828061 1350671739'
  274. $npc_dna['A148'] = '1110871039 1215316528 1439574498 1881549627 1043257862 2062098828 1713844818'
  275. $npc_dna['A149'] = '1299436863 1261698091 1686799294 1465620552 1949917866 1150154188 1072586683'
  276. $npc_dna['A150'] = '1912077115 1054317172 1216715520 1272636005 1666248718 2044828734 1577551516'
  277. $npc_dna['A151'] = '1668638992 1214865459 1808776698 1612495094 1514793001 1654481226 1823327274'
  278. $npc_dna['A152'] = '1786501093 1834879963 1390361698 1051572151 1608736325 1790512075 1070782218'
  279. $npc_dna['A153'] = '1907002748 2085207351 1100129632 1342689598 1745456331 1873513432 1485648419'
  280. $npc_dna['A154'] = '1942572074 1700154733 1692821756 1194715785 1803063877 2081935270 2014274394'
  281. $npc_dna['A155'] = '1153126939 1063403218 1979820912 1002904260 1380666059 1009730022 1657156801'
  282. $npc_dna['A156'] = '1108429212 1130146285 1800931785 1571774683 1841942137 1677995681 1796981560'
  283. $npc_dna['A157'] = '1663800525 1510572542 1424729633 1976950271 1830743114 1783648027 1763271904'
  284. $npc_dna['A158'] = '1776510699 1586206108 1731953841 1110012478 1584998429 1767532419 1060614101'
  285. $npc_dna['A159'] = '1426757610 1675195614 1268203516 1506174629 1153117090 1007713575 1605966541'
  286. $npc_dna['A160'] = '1428796224 1909315069 1882255348 1835514071 1201593987 2123583560 1823246593'
  287. $npc_dna['A161'] = '1259280312 1641879774 1467473525 1487343721 1544500481 1151521798 1048594742'
  288. $npc_dna['A162'] = '1582727702 1056494408 1939172326 1376797215 1875600726 1724112980 1453206350'
  289. $npc_dna['A163'] = '1748187802 2032789191 1711627574 1292957633 1111654803 1788616009 1772047830'
  290. $npc_dna['A164'] = '1034557513 1185767528 1251220411 1486489711 1093403292 1015320258 1011612550'
  291. $npc_dna['A165'] = '1081104871 1359076800 1939413889 1911496040 1098487725 1546780075 1860974284'
  292. $npc_dna['A166'] = '3081104871 3359076800 3939413889 3911496040 3098487725 3546780075 3860974284'
  293. $npc_dna['A167'] = '1784699091 1203401906 1216561919 1916388994 1239904750 1929086392 1148871462'
  294. $npc_dna['A168'] = '4784699091 4203401906 4216561919 4916388994 4239904750 4929086392 4148871462'
  295. $npc_dna['A169'] = '1772564507 1547200105 1796704229 1583509569 1596894846 1745220169 1973652650'
  296. $npc_dna['A170'] = '1526522684 1795996217 1368402599 1642220203 1021143397 1273163614 1531835829'
  297. $npc_dna['A171'] = '1014091374 1918559552 1896341252 1052968279 1674912040 1758379740 1721466153'
  298. $npc_dna['A172'] = '2035042362 1045516320 1994842543 1052417530 1977000071 1331823092 1986866420'
  299. $npc_dna['A173'] = '1140758667 1773455079 2123382286 1650309847 1391480172 1829299044 1187608522'
  300. $npc_dna['A174'] = '1008006962 1236637588 1489896373 1580273620 1293163913 1709107929 1173381311'
  301. $npc_dna['A175'] = '1762171071 1281651668 1794224566 1962137201 1525806840 1010897683 1463472358'
  302. $npc_dna['A176'] = '1006991833 1781290821 1894478819 1893358116 2127290034 1137830776 1241388413'
  303. $npc_dna['A177'] = '2002591333 1925818575 1969997487 1060579504 1586877100 1553666549 1966601880'
  304. $npc_dna['A178'] = '1144646462 1823244872 1843355586 1217893778 1897895542 1393527413 1969377528'
  305. $npc_dna['A179'] = '1346361049 1328639709 1291363881 1317513795 1888589910 1014862870 1205798028'
  306. $npc_dna['A180'] = '4346361049 4328639709 4291363881 4317513795 4888589910 4014862870 4205798028'
  307. $npc_dna['A181'] = '1546478363 1040873558 1970652586 1531682310 1996463487 1293805943 1036689614'
  308. $npc_dna['A182'] = '1020750214 1760012487 1196272894 1622978428 1628391634 2022138491 2071033872'
  309. $npc_dna['A183'] = '1372778085 1912011495 1743459319 1874701039 1361625511 1281898844 1820485903'
  310. $npc_dna['A184'] = '1102236119 1140436145 1903631040 1307987303 1672604281 1932459933 1381024294'
  311. $npc_dna['A185'] = '1688667877 1444143245 1971085394 1614262160 1304657108 2094208929 1374312201'
  312. $npc_dna['A186'] = '8321006077 7921283143 7765736018 1382438126 1034093203 1265299630 1118945982'
  313. $npc_dna['A187'] = '1828318755 1912110768 1763625475 1700953844 1635556809 1788400335 1891647424'
  314. $npc_dna['A188'] = '1437373624 1498180021 1914707319 1923163911 1520364264 2110725762 1260967419'
  315. $npc_dna['A189'] = '1492342621 1736208516 1680470700 1919367231 1804680320 1756178566 1187568265'
  316. $npc_dna['A190'] = '1492342626 1736208516 1680470700 1919367231 1804680320 1756178566 1187568265'
  317. $npc_dna['A192'] = '1893727481 1167237604 1303192980 1478078827 1870699157 1379809405 1569436993'
  318. $npc_dna['A193'] = '7140667332 7978651826 7440682263 1631105202 2145357995 1540785413 1172036362'
  319. $npc_dna['A194'] = '7008670756 7958693370 7059741341 1566986214 1732880506 1281239619 1634169768'
  320. $npc_dna['A195'] = '1086487692 7476661390 7698010724 1870038241 1870978496 1236988759 1677200479'
  321. $npc_dna['A196'] = '7955917440 7472108604 7013900784 1016721320 1968096832 1240781467 1387541183'
  322. $npc_dna['A197'] = '7169919752 7587835065 7871488903 1779229534 1159101193 1247015884 1571810481'
  323. if StoryLine = 1:
  324. $pcs_dna = func('dna','generate',$npc_dna['A29'],$npc_dna['A35'])
  325. else
  326. $pcs_dna = func('dna','create')
  327. end
  328. a = arrsize('npc_dob')
  329. w = 0
  330. :NpcDnaLoop
  331. if $npc_pic['B<<w>>'] ! '':$npc_dna['B<<w>>'] = func('DNA','create')
  332. if $npc_pic['C<<w>>'] ! '':$npc_dna['C<<w>>'] = func('DNA','create')
  333. if w < a:w += 1 & jump 'NpcDnaLoop'
  334. killvar 'w'
  335. killvar 'a'
  336. if arrsize('$ChildFath') > 0:
  337. i = 0
  338. x = 0
  339. j = arrsize('$ChildFath')-1
  340. :kidDNAloop
  341. $ChildFathDNA[i] = $npc_dna[$ChildFath[i]]
  342. if $childtype[i] ! 'identical twin':
  343. $kid_dna[i] = func('dna','generate',$pcs_dna,$ChildFathDNA[i])
  344. elseif x = 0:
  345. x = 1
  346. $kid_dna[i] = func('dna','generate',$pcs_dna,$ChildFathDNA[i])
  347. else
  348. $kid_dna[i] = $kid_dna[i-1]
  349. x = 0
  350. end
  351. if i < j: i += 1 & jump 'kidDNAloop'
  352. killvar 'i'
  353. killvar 'j'
  354. killvar 'x'
  355. end
  356. end
  357. }
  358. !! set $home_town variable and remove consequential obsolete variables
  359. if $home_town = '':
  360. gs 'set_home', home_cur
  361. killvar 'svidboykino'
  362. killvar 'svidboypark'
  363. killvar 'svidboypark1'
  364. killvar 'svidboypark2'
  365. killvar 'svidboykafe'
  366. end
  367. !! exhibition to inhib
  368. if pcs_exhibition ! 0:
  369. pcs_inhib = pcs_exhibition
  370. inhib_exp = exhibition_exp
  371. inhib_lvlst = pcs_exhibition
  372. inhib_lvl = pcs_exhibition
  373. killvar 'pcs_exhibition'
  374. killvar 'exhibition_exp'
  375. end
  376. if grupTipe[57] = 0: grupTipe[57] = 6
  377. !! adds pregnancy progression images to saves that did not have them previously.
  378. if arrsize('$bodimgsets') = 30:
  379. $bodimgsets[30] = 'pregnant, but not showing'
  380. $bodimgsets[31] = 'glowing'
  381. $bodimgsets[32] = 'starting to show'
  382. $bodimgsets[33] = 'clearly showing'
  383. $bodimgsets[34] = 'fairly pregnant'
  384. $bodimgsets[35] = 'quite pregnant'
  385. $bodimgsets[36] = 'very pregnant'
  386. $bodimgsets[37] = 'extremely pregnant'
  387. $bodimgsets[38] = 'ready to pop'
  388. $bodimgsets[39] = 'default_preg'
  389. end
  390. !! reorganizes old spell variables into new arrrays
  391. if spell_update = 0:
  392. spell_update = 1
  393. if spelltuman = 1:spellKnown['fog'] = 1
  394. if spellklon = 1:spellKnown['clone'] = 1
  395. if spellstun = 1:spellKnown['stun'] = 1
  396. if spellweap = 1:spellKnown['weapon'] = 1
  397. if spellwind = 1:spellKnown['wind'] = 1
  398. if spellklon2 = 1:spellKnown['multiclone'] = 1
  399. if spellinit = 1:spellKnown['haste'] = 1
  400. if spellhel = 1:spellKnown['heal'] = 1
  401. if spellfire0 = 1:spellKnown['scaldingtouch'] = 1
  402. if spellfire2 = 1:spellKnown['burninghands'] = 1
  403. if spellfire3 = 1:spellKnown['firebarrier'] = 1
  404. if spellfire4 = 1:spellKnown['firestorm'] = 1
  405. if spellfire5 = 1:spellKnown['flameshield'] = 1
  406. if spellele0 = 1:spellKnown['shock'] = 1
  407. if spellele2 = 1:spellKnown['lightning'] = 1
  408. if spellele3 = 1:spellKnown['electricbarrier'] = 1
  409. if spellele4 = 1:spellKnown['1000birds'] = 1
  410. if spellele5 = 1:spellKnown['dancingsphere'] = 1
  411. if spellert0 = 1:spellKnown['quicksand'] = 1
  412. if spellert2 = 1:spellKnown['earthshield'] = 1
  413. if spellert3 = 1:spellKnown['abyss'] = 1
  414. if spellert4 = 1:spellKnown['earthguardian'] = 1
  415. if spellert5 = 1:spellKnown['sando'] = 1
  416. if spellwind0 = 1:spellKnown['windgust'] = 1
  417. if spellwind2 = 1:spellKnown['pressure'] = 1
  418. if spellwind3 = 1:spellKnown['vacuum'] = 1
  419. if spellwind4 = 1:spellKnown['vacuumshells'] = 1
  420. if spellwind5 = 1:spellKnown['devouringvacuum'] = 1
  421. if spellwater0 = 1:spellKnown['leechmana'] = 1
  422. if spellwater2 = 1:spellKnown['flood'] = 1
  423. if spellwater3 = 1:spellKnown['blister'] = 1
  424. if spellwater4 = 1:spellKnown['sharkrockets'] = 1
  425. if spellwater5 = 1:spellKnown['greatflood'] = 1
  426. end
  427. if spell_update < 2:
  428. spell_update = 2
  429. killvar '$basicSpells'
  430. end
  431. gs 'spellList'
  432. !! Updater for manna > mana conversions
  433. if pcs_manna ! 0:
  434. pcs_mana = pcs_manna
  435. killvar 'pcs_manna'
  436. end
  437. if mannaMax ! 0:
  438. manaMax = mannaMax
  439. killvar 'mannaMax'
  440. end
  441. if mannaV ! 0:
  442. manaV = mannaV
  443. killvar 'mannaV'
  444. end
  445. if KGManna ! 0:
  446. KGMana = KGmanna
  447. killvar 'KGManna'
  448. end
  449. if bonusmanna ! 0:
  450. bonusmana = bonusmanna
  451. killvar 'bonusmanna'
  452. end
  453. if mannareset ! 0:
  454. manareset = mannareset
  455. killvar 'mannareset'
  456. end
  457. !!Update School NPCs for the disco
  458. if npc_updater < 2:
  459. npc_updater = 2
  460. gs 'npcstatic1'
  461. gs 'npcstatic2'
  462. gs 'npcstatic3'
  463. gs 'npcstatic4'
  464. gs 'npcstatic5'
  465. end
  466. if array_updater = 0:
  467. array_updater = 1
  468. $oldnpcvars[0] = 'npc_app'
  469. $oldnpcvars[1] = 'npc_dnce'
  470. $oldnpcvars[2] = 'npc_erodnce'
  471. $oldnpcvars[3] = 'npc_hair'
  472. $oldnpcvars[4] = 'npc_int'
  473. $oldnpcvars[5] = 'npc_lipstick'
  474. $oldnpcvars[6] = 'npc_mag'
  475. $oldnpcvars[7] = 'npc_undies'
  476. $oldnpcvars[8] = 'npc_Qstlvl'
  477. $oldnpcvars[9] = 'npc_serve'
  478. $oldnpcvars[10] = 'npc_sew'
  479. $oldnpcvars[11] = 'npc_sing'
  480. $oldnpcvars[12] = 'npc_spirit'
  481. $oldnpcvars[13] = 'npc_str'
  482. $oldnpcvars[14] = 'npc_syph'
  483. $oldnpcvars[15] = 'npc_vit'
  484. $newnpcvars[0] = 'npc_apprnc'
  485. $newnpcvars[1] = 'npc_dance'
  486. $newnpcvars[2] = 'npc_danceero'
  487. $newnpcvars[3] = 'npc_hairbsh'
  488. $newnpcvars[4] = 'npc_intel'
  489. $newnpcvars[5] = 'npc_lipbalm'
  490. $newnpcvars[6] = 'npc_magik'
  491. $newnpcvars[7] = 'npc_pantys'
  492. $newnpcvars[8] = 'npc_QW'
  493. $newnpcvars[9] = 'npc_serving'
  494. $newnpcvars[10] = 'npc_sewing'
  495. $newnpcvars[11] = 'npc_vokal'
  496. $newnpcvars[12] = 'npc_sprt'
  497. $newnpcvars[13] = 'npc_stren'
  498. $newnpcvars[14] = 'npc_syth'
  499. $newnpcvars[15] = 'npc_vital'
  500. i = 0
  501. :npcvarloop
  502. $oldnpcvar = $oldnpcvars[i]
  503. if i < arrsize($oldnpcvars):
  504. if 1 > arrsize('oldnpcvar'):i += 1 & jump 'npcvarloop'
  505. $newnpcvar = $newnpcvars[i]
  506. COPYARR 'newnpcvar', 'oldnpcvar'
  507. i += 1
  508. jump 'npcvarloop'
  509. end
  510. killvar 'npc_app'
  511. killvar 'npc_dnce'
  512. killvar 'npc_erodnce'
  513. killvar 'npc_hair'
  514. killvar 'npc_int'
  515. killvar 'npc_int'
  516. killvar 'npc_lipstick'
  517. killvar 'npc_mag'
  518. killvar 'npc_undies'
  519. killvar 'npc_Qstlvl'
  520. killvar 'npc_serve'
  521. killvar 'npc_sew'
  522. killvar 'npc_sing'
  523. killvar 'npc_spirit'
  524. killvar 'npc_str'
  525. killvar 'npc_syph'
  526. killvar 'npc_vit'
  527. killvar 'oldnpcvar'
  528. killvar 'newnpcvar'
  529. killvar '$oldnpcsvars'
  530. killvar '$newnpcvars'
  531. end
  532. !!Updates for the old school code
  533. if NatBelLernQW > 0 and NatashaQW = 0: NatashaQW = NatBelLernQW & NatBelLernQW = 0
  534. if grupTipe[25] = 5: grupTipe[25] = 0 & npc_grupTipe['A25'] = 5
  535. if npcSex[1] > 0: npcSex[1] = 0 & npc_sex['A1'] = 1
  536. if npcSex[2] > 0: npcSex[2] = 0 & npc_sex['A2'] = 1
  537. if npcSex[3] > 0: npcSex[3] = 0 & npc_sex['A3'] = 1
  538. if npcSex[4] > 0: npcSex[4] = 0 & npc_sex['A4'] = 1
  539. if npcSex[6] > 0: npcSex[6] = 0 & npc_sex['A6'] = 1
  540. if npcSex[9] > 0: npcSex[10] = 0 & npc_sex['A9'] = 1
  541. if npcSex[10] > 0: npcSex[10] = 0 & npc_sex['A10'] = 1
  542. if npcSex[11] > 0: npcSex[11] = 0 & npc_sex['A11'] = 1
  543. if npcSex[14] > 0: npcSex[14] = 0 and npc_sex['A14'] = 1
  544. if npcSex[16] > 0: npcSex[16] = 0 and npc_sex['A16'] = 1
  545. if npcSex[23] > 0: npcSex[23] = 0 and npc_sex['A23'] = 1
  546. if npc_dob['A34'] ! 20001219: npc_dob['A34'] = 20001219
  547. if telefon_rev < 2:
  548. killvar '$contact'
  549. killvar '$contactIcon'
  550. killvar '$contactOCode'
  551. killvar '$contactOSche'
  552. killvar '$contactICode'
  553. killvar '$contactISche'
  554. gs 'telefon', 'AddContact', 'A29', 'icon_npc1',"gs 'telefon', 'Phone_call'","hour >= 8 and hour <= 20"
  555. if telkat > 0:
  556. gs 'telefon', 'AddContact', 'A219', 'icon_kat',"$telsob = 'Kate' & gt 'telefon', 'mobilaraz'","hour >= 8 and hour <= 20"
  557. end
  558. if npc_QW['A192'] > 0:
  559. gs 'telefon', 'AddContact', 'A192', 'icon_nastja',"gs 'telefon', 'start'","hour >= 8 and hour <= 20"
  560. end
  561. telefon_rev = 2
  562. end
  563. --- saveupdater ---------------------------------