diff --git a/scripts/Game.pex b/scripts/Game.pex deleted file mode 100644 index 254ec8dd..00000000 Binary files a/scripts/Game.pex and /dev/null differ diff --git a/scripts/_00e_a0_banksystemquest.pex b/scripts/_00e_a0_banksystemquest.pex index 5b6dda68..64c5526c 100644 Binary files a/scripts/_00e_a0_banksystemquest.pex and b/scripts/_00e_a0_banksystemquest.pex differ diff --git a/scripts/_00e_altiniathachievementsc.pex b/scripts/_00e_altiniathachievementsc.pex index e2dcc142..43179b40 100644 Binary files a/scripts/_00e_altiniathachievementsc.pex and b/scripts/_00e_altiniathachievementsc.pex differ diff --git a/scripts/_00e_ark_specialbreadsc.pex b/scripts/_00e_ark_specialbreadsc.pex index 7baf26c9..5bd99904 100644 Binary files a/scripts/_00e_ark_specialbreadsc.pex and b/scripts/_00e_ark_specialbreadsc.pex differ diff --git a/scripts/_00e_cqc05_functions.pex b/scripts/_00e_cqc05_functions.pex index 23a4157e..72a4949a 100644 Binary files a/scripts/_00e_cqc05_functions.pex and b/scripts/_00e_cqc05_functions.pex differ diff --git a/scripts/_00e_cqc06_functions.pex b/scripts/_00e_cqc06_functions.pex index 690e2000..b9dc4bb1 100644 Binary files a/scripts/_00e_cqc06_functions.pex and b/scripts/_00e_cqc06_functions.pex differ diff --git a/scripts/_00e_cqj05_functions.pex b/scripts/_00e_cqj05_functions.pex index ea354165..8afe11a6 100644 Binary files a/scripts/_00e_cqj05_functions.pex and b/scripts/_00e_cqj05_functions.pex differ diff --git a/scripts/_00e_cqj06_functions.pex b/scripts/_00e_cqj06_functions.pex index 5d7f639b..b55f2713 100644 Binary files a/scripts/_00e_cqj06_functions.pex and b/scripts/_00e_cqj06_functions.pex differ diff --git a/scripts/_00e_diggershollowskywalkeractivatorsc.pex b/scripts/_00e_diggershollowskywalkeractivatorsc.pex index 84955e01..2ab07b05 100644 Binary files a/scripts/_00e_diggershollowskywalkeractivatorsc.pex and b/scripts/_00e_diggershollowskywalkeractivatorsc.pex differ diff --git a/scripts/_00e_dragonachievementsc.pex b/scripts/_00e_dragonachievementsc.pex index 07d27ebe..8140574e 100644 Binary files a/scripts/_00e_dragonachievementsc.pex and b/scripts/_00e_dragonachievementsc.pex differ diff --git a/scripts/_00e_eponmagicalsymboldis.pex b/scripts/_00e_eponmagicalsymboldis.pex index dc6d38dd..dc760756 100644 Binary files a/scripts/_00e_eponmagicalsymboldis.pex and b/scripts/_00e_eponmagicalsymboldis.pex differ diff --git a/scripts/_00e_epupdatefunctions.pex b/scripts/_00e_epupdatefunctions.pex index 906ffaaa..8a425f38 100644 Binary files a/scripts/_00e_epupdatefunctions.pex and b/scripts/_00e_epupdatefunctions.pex differ diff --git a/scripts/_00e_frozenmescript.pex b/scripts/_00e_frozenmescript.pex index 31f164eb..a0ba5a76 100644 Binary files a/scripts/_00e_frozenmescript.pex and b/scripts/_00e_frozenmescript.pex differ diff --git a/scripts/_00e_fs_mq18c_dreamflowersc.pex b/scripts/_00e_fs_mq18c_dreamflowersc.pex index 7f520fa1..a92fb30c 100644 Binary files a/scripts/_00e_fs_mq18c_dreamflowersc.pex and b/scripts/_00e_fs_mq18c_dreamflowersc.pex differ diff --git a/scripts/_00e_fs_mq18c_functions.pex b/scripts/_00e_fs_mq18c_functions.pex index 5be6dcc1..40ef1c3c 100644 Binary files a/scripts/_00e_fs_mq18c_functions.pex and b/scripts/_00e_fs_mq18c_functions.pex differ diff --git a/scripts/_00e_fs_mysticalspellbooksc.pex b/scripts/_00e_fs_mysticalspellbooksc.pex index 1a4a5ed0..6856634a 100644 Binary files a/scripts/_00e_fs_mysticalspellbooksc.pex and b/scripts/_00e_fs_mysticalspellbooksc.pex differ diff --git a/scripts/_00e_fs_mysticalsymbolsc.pex b/scripts/_00e_fs_mysticalsymbolsc.pex index 054c2bed..99932ce8 100644 Binary files a/scripts/_00e_fs_mysticalsymbolsc.pex and b/scripts/_00e_fs_mysticalsymbolsc.pex differ diff --git a/scripts/_00e_fs_nq01_functions.pex b/scripts/_00e_fs_nq01_functions.pex index f6a98d2e..c14621b3 100644 Binary files a/scripts/_00e_fs_nq01_functions.pex and b/scripts/_00e_fs_nq01_functions.pex differ diff --git a/scripts/_00e_fs_nq02_functions2.pex b/scripts/_00e_fs_nq02_functions2.pex index d4822a3c..5146a5ca 100644 Binary files a/scripts/_00e_fs_nq02_functions2.pex and b/scripts/_00e_fs_nq02_functions2.pex differ diff --git a/scripts/_00e_fs_nq07_functions.pex b/scripts/_00e_fs_nq07_functions.pex index 6f5f7190..1733bbd1 100644 Binary files a/scripts/_00e_fs_nq07_functions.pex and b/scripts/_00e_fs_nq07_functions.pex differ diff --git a/scripts/_00e_fs_nq09_functions.pex b/scripts/_00e_fs_nq09_functions.pex index e9719594..4cc6f1cd 100644 Binary files a/scripts/_00e_fs_nq09_functions.pex and b/scripts/_00e_fs_nq09_functions.pex differ diff --git a/scripts/_00e_fs_nqr02_functions.pex b/scripts/_00e_fs_nqr02_functions.pex index bedd22a9..2ea076fe 100644 Binary files a/scripts/_00e_fs_nqr02_functions.pex and b/scripts/_00e_fs_nqr02_functions.pex differ diff --git a/scripts/_00e_fs_nqr04_functions.pex b/scripts/_00e_fs_nqr04_functions.pex index 05418f53..6cac4191 100644 Binary files a/scripts/_00e_fs_nqr04_functions.pex and b/scripts/_00e_fs_nqr04_functions.pex differ diff --git a/scripts/_00e_fs_nqr05_functions.pex b/scripts/_00e_fs_nqr05_functions.pex index 43f9f9c2..5fe430cd 100644 Binary files a/scripts/_00e_fs_nqr05_functions.pex and b/scripts/_00e_fs_nqr05_functions.pex differ diff --git a/scripts/_00e_fs_sleightofhand_hiddenslotsc.pex b/scripts/_00e_fs_sleightofhand_hiddenslotsc.pex index ea5609b4..a7aa41a7 100644 Binary files a/scripts/_00e_fs_sleightofhand_hiddenslotsc.pex and b/scripts/_00e_fs_sleightofhand_hiddenslotsc.pex differ diff --git a/scripts/_00e_game_skillmenusc.pex b/scripts/_00e_game_skillmenusc.pex index a3af012b..28fc71ee 100644 Binary files a/scripts/_00e_game_skillmenusc.pex and b/scripts/_00e_game_skillmenusc.pex differ diff --git a/scripts/_00e_mq02_functions.pex b/scripts/_00e_mq02_functions.pex index b5e94ab4..83de808e 100644 Binary files a/scripts/_00e_mq02_functions.pex and b/scripts/_00e_mq02_functions.pex differ diff --git a/scripts/_00e_mq07a_functions.pex b/scripts/_00e_mq07a_functions.pex index 06959b54..62531e35 100644 Binary files a/scripts/_00e_mq07a_functions.pex and b/scripts/_00e_mq07a_functions.pex differ diff --git a/scripts/_00e_mq07b_questfunctions.pex b/scripts/_00e_mq07b_questfunctions.pex index 578cb834..f4b7fb29 100644 Binary files a/scripts/_00e_mq07b_questfunctions.pex and b/scripts/_00e_mq07b_questfunctions.pex differ diff --git a/scripts/_00e_mq11c_functions.pex b/scripts/_00e_mq11c_functions.pex index 40efe22e..2ac0a3f5 100644 Binary files a/scripts/_00e_mq11c_functions.pex and b/scripts/_00e_mq11c_functions.pex differ diff --git a/scripts/_00e_mq11c_minigameshootingsphere_hit.pex b/scripts/_00e_mq11c_minigameshootingsphere_hit.pex index 92b2ecd7..cc359332 100644 Binary files a/scripts/_00e_mq11c_minigameshootingsphere_hit.pex and b/scripts/_00e_mq11c_minigameshootingsphere_hit.pex differ diff --git a/scripts/_00e_mq12a_functions.pex b/scripts/_00e_mq12a_functions.pex index be78c3c9..a06bb0f7 100644 Binary files a/scripts/_00e_mq12a_functions.pex and b/scripts/_00e_mq12a_functions.pex differ diff --git a/scripts/_00e_mq12b_functions.pex b/scripts/_00e_mq12b_functions.pex index 16d66af0..2825591f 100644 Binary files a/scripts/_00e_mq12b_functions.pex and b/scripts/_00e_mq12b_functions.pex differ diff --git a/scripts/_00e_mq17_functions.pex b/scripts/_00e_mq17_functions.pex index 607095bb..0cc874ef 100644 Binary files a/scripts/_00e_mq17_functions.pex and b/scripts/_00e_mq17_functions.pex differ diff --git a/scripts/_00e_mq18a_functions.pex b/scripts/_00e_mq18a_functions.pex index 878b7454..60dce360 100644 Binary files a/scripts/_00e_mq18a_functions.pex and b/scripts/_00e_mq18a_functions.pex differ diff --git a/scripts/_00e_mq18b_functions.pex b/scripts/_00e_mq18b_functions.pex index 8f4473ac..d6ef54c7 100644 Binary files a/scripts/_00e_mq18b_functions.pex and b/scripts/_00e_mq18b_functions.pex differ diff --git a/scripts/_00e_mqp01_functions.pex b/scripts/_00e_mqp01_functions.pex index cea3aca3..2e9b9eee 100644 Binary files a/scripts/_00e_mqp01_functions.pex and b/scripts/_00e_mqp01_functions.pex differ diff --git a/scripts/_00e_myradsystem02.pex b/scripts/_00e_myradsystem02.pex index c76f5e00..714c5879 100644 Binary files a/scripts/_00e_myradsystem02.pex and b/scripts/_00e_myradsystem02.pex differ diff --git a/scripts/_00e_nq02_newhorizons_library.pex b/scripts/_00e_nq02_newhorizons_library.pex index 4c609d9e..3f24b431 100644 Binary files a/scripts/_00e_nq02_newhorizons_library.pex and b/scripts/_00e_nq02_newhorizons_library.pex differ diff --git a/scripts/_00e_nq03_skullspheresc.pex b/scripts/_00e_nq03_skullspheresc.pex index 9073863e..96a48198 100644 Binary files a/scripts/_00e_nq03_skullspheresc.pex and b/scripts/_00e_nq03_skullspheresc.pex differ diff --git a/scripts/_00e_nq24_playerhousing_functions.pex b/scripts/_00e_nq24_playerhousing_functions.pex index 0bf4e7cb..af6de542 100644 Binary files a/scripts/_00e_nq24_playerhousing_functions.pex and b/scripts/_00e_nq24_playerhousing_functions.pex differ diff --git a/scripts/_00e_nq29_functions.pex b/scripts/_00e_nq29_functions.pex index 26c3599b..8d33bb3e 100644 Binary files a/scripts/_00e_nq29_functions.pex and b/scripts/_00e_nq29_functions.pex differ diff --git a/scripts/_00e_nq_g_04_functions.pex b/scripts/_00e_nq_g_04_functions.pex index e28cd498..7b9a616c 100644 Binary files a/scripts/_00e_nq_g_04_functions.pex and b/scripts/_00e_nq_g_04_functions.pex differ diff --git a/scripts/_00e_nq_g_06_functions.pex b/scripts/_00e_nq_g_06_functions.pex index 53ca9881..e7c2a1f9 100644 Binary files a/scripts/_00e_nq_g_06_functions.pex and b/scripts/_00e_nq_g_06_functions.pex differ diff --git a/scripts/_00e_placeablegrammophonplay.pex b/scripts/_00e_placeablegrammophonplay.pex index 52825a0f..0b72ffd6 100644 Binary files a/scripts/_00e_placeablegrammophonplay.pex and b/scripts/_00e_placeablegrammophonplay.pex differ diff --git a/scripts/_00e_princemithbooksc.pex b/scripts/_00e_princemithbooksc.pex index 4c14c259..c69622d7 100644 Binary files a/scripts/_00e_princemithbooksc.pex and b/scripts/_00e_princemithbooksc.pex differ diff --git a/scripts/_00e_questfunctions.pex b/scripts/_00e_questfunctions.pex index 18a2c01f..fd236e0a 100644 Binary files a/scripts/_00e_questfunctions.pex and b/scripts/_00e_questfunctions.pex differ diff --git a/scripts/_00e_theriantrophist_playeraswerewolf.pex b/scripts/_00e_theriantrophist_playeraswerewolf.pex index 4a87f4d2..a762a9e3 100644 Binary files a/scripts/_00e_theriantrophist_playeraswerewolf.pex and b/scripts/_00e_theriantrophist_playeraswerewolf.pex differ diff --git a/scripts/_00e_wearesorrysc.pex b/scripts/_00e_wearesorrysc.pex index 72474d11..1ee0c9ff 100644 Binary files a/scripts/_00e_wearesorrysc.pex and b/scripts/_00e_wearesorrysc.pex differ diff --git a/scripts/_00e_whatwedeserveachievementsc.pex b/scripts/_00e_whatwedeserveachievementsc.pex index 03a2db05..eaaedb0c 100644 Binary files a/scripts/_00e_whatwedeserveachievementsc.pex and b/scripts/_00e_whatwedeserveachievementsc.pex differ diff --git a/scripts/_fs_phasmalist_controlquest.pex b/scripts/_fs_phasmalist_controlquest.pex index 90158a3b..f6cd0c44 100644 Binary files a/scripts/_fs_phasmalist_controlquest.pex and b/scripts/_fs_phasmalist_controlquest.pex differ diff --git a/scripts/_sag_activ_diceblackjackmainsscript.pex b/scripts/_sag_activ_diceblackjackmainsscript.pex index d78c76d5..5cad5a75 100644 Binary files a/scripts/_sag_activ_diceblackjackmainsscript.pex and b/scripts/_sag_activ_diceblackjackmainsscript.pex differ diff --git a/scripts/_sag_dicesgame_mainscript.pex b/scripts/_sag_dicesgame_mainscript.pex index 66313b8e..f81e3699 100644 Binary files a/scripts/_sag_dicesgame_mainscript.pex and b/scripts/_sag_dicesgame_mainscript.pex differ diff --git a/scripts/_sag_playcards_mainscript.pex b/scripts/_sag_playcards_mainscript.pex index 23cc58fd..ef81a98c 100644 Binary files a/scripts/_sag_playcards_mainscript.pex and b/scripts/_sag_playcards_mainscript.pex differ diff --git a/scripts/qf__00e_nq01_largesteggsfind_00027d2d.pex b/scripts/qf__00e_nq01_largesteggsfind_00027d2d.pex index 9afdbaee..9796573b 100644 Binary files a/scripts/qf__00e_nq01_largesteggsfind_00027d2d.pex and b/scripts/qf__00e_nq01_largesteggsfind_00027d2d.pex differ diff --git a/scripts/qf__00e_nq06_freda_000725ba.pex b/scripts/qf__00e_nq06_freda_000725ba.pex index 4b6bca59..a711f7fa 100644 Binary files a/scripts/qf__00e_nq06_freda_000725ba.pex and b/scripts/qf__00e_nq06_freda_000725ba.pex differ diff --git a/scripts/qf_fs_nq05_0101c82f.pex b/scripts/qf_fs_nq05_0101c82f.pex index 99b5d6b9..5887b9f4 100644 Binary files a/scripts/qf_fs_nq05_0101c82f.pex and b/scripts/qf_fs_nq05_0101c82f.pex differ diff --git a/scripts/qf_fs_nq10_0102e766.pex b/scripts/qf_fs_nq10_0102e766.pex index 1ca10e28..94b241c4 100644 Binary files a/scripts/qf_fs_nq10_0102e766.pex and b/scripts/qf_fs_nq10_0102e766.pex differ diff --git a/scripts/qf_lisharidialogue_0013eb7d.pex b/scripts/qf_lisharidialogue_0013eb7d.pex index 3ceed678..f933c061 100644 Binary files a/scripts/qf_lisharidialogue_0013eb7d.pex and b/scripts/qf_lisharidialogue_0013eb7d.pex differ diff --git a/scripts/qf_mq10a_0002eba8.pex b/scripts/qf_mq10a_0002eba8.pex index af5f6774..c6b8f6e5 100644 Binary files a/scripts/qf_mq10a_0002eba8.pex and b/scripts/qf_mq10a_0002eba8.pex differ diff --git a/scripts/qf_nq25_0013f536.pex b/scripts/qf_nq25_0013f536.pex index f3d77caa..2d41d469 100644 Binary files a/scripts/qf_nq25_0013f536.pex and b/scripts/qf_nq25_0013f536.pex differ diff --git a/scripts/qf_nq26_001469ed.pex b/scripts/qf_nq26_001469ed.pex index 465cc285..061c8648 100644 Binary files a/scripts/qf_nq26_001469ed.pex and b/scripts/qf_nq26_001469ed.pex differ diff --git a/scripts/qf_nq_bounty01_000c3f71.pex b/scripts/qf_nq_bounty01_000c3f71.pex index 83dffb18..9c6f9aed 100644 Binary files a/scripts/qf_nq_bounty01_000c3f71.pex and b/scripts/qf_nq_bounty01_000c3f71.pex differ diff --git a/scripts/qf_nq_bounty02_0011a491.pex b/scripts/qf_nq_bounty02_0011a491.pex index d11380ef..58372cbd 100644 Binary files a/scripts/qf_nq_bounty02_0011a491.pex and b/scripts/qf_nq_bounty02_0011a491.pex differ diff --git a/scripts/qf_nq_bounty03_0101c6a8.pex b/scripts/qf_nq_bounty03_0101c6a8.pex index 93985400..a00dc82c 100644 Binary files a/scripts/qf_nq_bounty03_0101c6a8.pex and b/scripts/qf_nq_bounty03_0101c6a8.pex differ diff --git a/scripts/qf_nq_g_06_0013cfb7.pex b/scripts/qf_nq_g_06_0013cfb7.pex index 9bf126a1..5b882067 100644 Binary files a/scripts/qf_nq_g_06_0013cfb7.pex and b/scripts/qf_nq_g_06_0013cfb7.pex differ diff --git a/scripts/sf_mq06_sc5_ritualscene_000fe207.pex b/scripts/sf_mq06_sc5_ritualscene_000fe207.pex index 395af4e6..91e096e7 100644 Binary files a/scripts/sf_mq06_sc5_ritualscene_000fe207.pex and b/scripts/sf_mq06_sc5_ritualscene_000fe207.pex differ diff --git a/scripts/sf_mq12c_sc03_dream_00134595.pex b/scripts/sf_mq12c_sc03_dream_00134595.pex index d45d6e44..cfcc08e0 100644 Binary files a/scripts/sf_mq12c_sc03_dream_00134595.pex and b/scripts/sf_mq12c_sc03_dream_00134595.pex differ diff --git a/scripts/tif__00096686.pex b/scripts/tif__00096686.pex index d5a66222..d7d1cfd7 100644 Binary files a/scripts/tif__00096686.pex and b/scripts/tif__00096686.pex differ diff --git a/scripts/tif__000ea93c.pex b/scripts/tif__000ea93c.pex index 6cc48d1c..24aab45c 100644 Binary files a/scripts/tif__000ea93c.pex and b/scripts/tif__000ea93c.pex differ diff --git a/scripts/tif__00136cec.pex b/scripts/tif__00136cec.pex index ced41a70..ee32c4c2 100644 Binary files a/scripts/tif__00136cec.pex and b/scripts/tif__00136cec.pex differ diff --git a/scripts/tif__0013cf8c.pex b/scripts/tif__0013cf8c.pex index 5aeaefdf..6a10af4e 100644 Binary files a/scripts/tif__0013cf8c.pex and b/scripts/tif__0013cf8c.pex differ diff --git a/scripts/tif__0013cf8d.pex b/scripts/tif__0013cf8d.pex index f06418f4..1fcfa2fb 100644 Binary files a/scripts/tif__0013cf8d.pex and b/scripts/tif__0013cf8d.pex differ diff --git a/scripts/tif__00146f1e.pex b/scripts/tif__00146f1e.pex index 31b66f55..60a8dc3a 100644 Binary files a/scripts/tif__00146f1e.pex and b/scripts/tif__00146f1e.pex differ diff --git a/scripts/tif__00146f36.pex b/scripts/tif__00146f36.pex index 94657dd8..81828b46 100644 Binary files a/scripts/tif__00146f36.pex and b/scripts/tif__00146f36.pex differ diff --git a/scripts/tif__00146f49.pex b/scripts/tif__00146f49.pex index f9c2a10f..af325afb 100644 Binary files a/scripts/tif__00146f49.pex and b/scripts/tif__00146f49.pex differ diff --git a/scripts/tif__0014caaf.pex b/scripts/tif__0014caaf.pex index 70efd877..8855e733 100644 Binary files a/scripts/tif__0014caaf.pex and b/scripts/tif__0014caaf.pex differ diff --git a/scripts/tif__0014cac8.pex b/scripts/tif__0014cac8.pex index 26bd3598..ec5f7f08 100644 Binary files a/scripts/tif__0014cac8.pex and b/scripts/tif__0014cac8.pex differ diff --git a/source/scripts/Game.psc b/source/scripts/Game.psc deleted file mode 100644 index 6e108001..00000000 --- a/source/scripts/Game.psc +++ /dev/null @@ -1,468 +0,0 @@ -Scriptname Game Hidden - -; Adds the specified achievement to the player's profile -Function AddAchievement(int aiAchievementID) native global - -; Add the specified number of perk points to the player -Function AddPerkPoints(int aiPerkPoints) native global - -; Advance the given skill on the player by the provided amount of skill usage -Function AdvanceSkill(string asSkillName, float afMagnitude) native global - -; Adds a ball-and-socket constraint between two rigid bodies, identified by their ref and node names -bool Function AddHavokBallAndSocketConstraint( ObjectReference arRefA, string arRefANode, ObjectReference arRefB, string arRefBNode, float afRefALocalOffsetX = 0.0, float afRefALocalOffsetY = 0.0, float afRefALocalOffsetZ = 0.0, float afRefBLocalOffsetX = 0.0, float afRefBLocalOffsetY = 0.0, float afRefBLocalOffsetZ = 0.0) native global - -; Removes any constraint between two rigid bodies -bool Function RemoveHavokConstraints(ObjectReference arFirstRef, string arFirstRefNodeName, ObjectReference arSecondRef, string arSecondRefNodeName) native global - -; Calculates how much a x point favor would cost the player -int Function CalculateFavorCost(int aiFavorPrice) native global - -; Clears the prison variables on the player -Function ClearPrison() native global - -; Clears temp effects from game -Function ClearTempEffects() native global - -; Disables the user's controls -Function DisablePlayerControls(bool abMovement = true, bool abFighting = true, bool abCamSwitch = false, bool abLooking = false, \ - bool abSneaking = false, bool abMenu = true, bool abActivate = true, bool abJournalTabs = false, int aiDisablePOVType = 0) native global - -; Enables the user's controls -Function EnablePlayerControls(bool abMovement = true, bool abFighting = true, bool abCamSwitch = true, bool abLooking = true, \ - bool abSneaking = true, bool abMenu = true, bool abActivate = true, bool abJournalTabs = true, int aiDisablePOVType = 0) native global - -; Enables or disables the ability to fast travel -Function EnableFastTravel(bool abEnable = true) native global - -; Fades out the game to black, or vice versa -Function FadeOutGame(bool abFadingOut, bool abBlackFade, float afSecsBeforeFade, float afFadeDuration) native global - -; Fast-travels the player to the specified object's location -Function FastTravel(ObjectReference akDestination) native global - -; Finds the closest reference of a given base object within a given radius of a location -ObjectReference Function FindClosestReferenceOfType(Form arBaseObject, float afX, float afY, float afZ, float afRadius) native global - -; Finds a random reference of a given base object within a given radius of a location -ObjectReference Function FindRandomReferenceOfType(Form arBaseObject, float afX, float afY, float afZ, float afRadius) native global - -; Finds the closest reference of any base object in the list within a given radius of a location -ObjectReference Function FindClosestReferenceOfAnyTypeInList(FormList arBaseObjects, float afX, float afY, float afZ, float afRadius) native global - -; Finds a random reference of a any base object in the list within a given radius of a location -ObjectReference Function FindRandomReferenceOfAnyTypeInList(FormList arBaseObjects, float afX, float afY, float afZ, float afRadius) native global - -; Finds the closest reference of a given base object within a given radius of a reference -ObjectReference Function FindClosestReferenceOfTypeFromRef(Form arBaseObject, ObjectReference arCenter, float afRadius) global - return FindClosestReferenceOfType(arBaseObject, arCenter.X, arCenter.Y, arCenter.Z, afRadius) -endFunction - -; Finds a random reference of a given base object within a given radius of a reference -ObjectReference Function FindRandomReferenceOfTypeFromRef(Form arBaseObject, ObjectReference arCenter, float afRadius) global - return FindRandomReferenceOfType(arBaseObject, arCenter.X, arCenter.Y, arCenter.Z, afRadius) -endFunction - -; Finds the closest reference of a given base object within a given radius of a reference -ObjectReference Function FindClosestReferenceOfAnyTypeInListFromRef(FormList arBaseObjects, ObjectReference arCenter, float afRadius) global - return FindClosestReferenceOfAnyTypeInList(arBaseObjects, arCenter.X, arCenter.Y, arCenter.Z, afRadius) -endFunction - -; Finds a random reference of a given base object within a given radius of a reference -ObjectReference Function FindRandomReferenceOfAnyTypeInListFromRef(FormList arBaseObjects, ObjectReference arCenter, float afRadius) global - return FindRandomReferenceOfAnyTypeInList(arBaseObjects, arCenter.X, arCenter.Y, arCenter.Z, afRadius) -endFunction - -; Finds the closest actor within a given radius of a location -Actor Function FindClosestActor(float afX, float afY, float afZ, float afRadius) native global - -; Finds a random actor within a given radius of a location -Actor Function FindRandomActor(float afX, float afY, float afZ, float afRadius) native global - -; Finds the closest actor within a given radius of a reference -Actor Function FindClosestActorFromRef(ObjectReference arCenter, float afRadius) global - return FindClosestActor(arCenter.X, arCenter.Y, arCenter.Z, afRadius) -endFunction - -; Finds a random actor within a given radius of a reference -Actor Function FindRandomActorFromRef(ObjectReference arCenter, float afRadius) global - return FindRandomActor(arCenter.X, arCenter.Y, arCenter.Z, afRadius) -endFunction - -; Make the player got to 3rd person camera mode -Function ForceThirdPerson() native global - -; Make the player got to 1st person camera mode -Function ForceFirstPerson() native global - -; Show the players first person geometry. -Function ShowFirstPersonGeometry( bool abShow = true ) native global - -; Returns the form specified by the ID -Form Function GetForm(int aiFormID) native global - -; Returns the form specified by the ID originating in the given file -Form Function GetFormFromFile(int aiFormID, string asFilename) native global - -; Obtains the value of a game setting - one for each type of game setting -float Function GetGameSettingFloat(string asGameSetting) native global -int Function GetGameSettingInt(string asGameSetting) native global -string Function GetGameSettingString(string asGameSetting) native global - -; Returns the player actor -Actor Function GetPlayer() native global - -; Returns the reference the player is currently grabbing -ObjectReference Function GetPlayerGrabbedRef() native global - -; Returns the horse last ridden by the player -Actor Function GetPlayersLastRiddenHorse() native global - -; Returns the X position of the Sun. -float Function GetSunPositionX() native global - -; Returns the Y position of the Sun. -float Function GetSunPositionY() native global - -; Returns the Z position of the Sun. -float Function GetSunPositionZ() native global - -; Returns the number of days spent in play -float Function GetRealHoursPassed() native global - -; Increment the given skill on the player by the one point -Function IncrementSkill(string asSkillName) native global - -; Increment the given skill on the player by the given number of points -Function IncrementSkillBy(string asSkillName, int aiCount) native global - -; Modifies the specified MiscStat by the given amount. -Function IncrementStat(string asStatName, int aiModAmount = 1) native global - -; Are the activation controls enabled? -bool Function IsActivateControlsEnabled() native global - -; Are the camera switch controls enabled? -bool Function IsCamSwitchControlsEnabled() native global - -; Is fast travel controls enabled? Returns false if EnableFastTravel(false) has been called -bool Function IsFastTravelControlsEnabled() native global - -; Is fast travel enabled? -bool Function IsFastTravelEnabled() native global - -; Are the fighting controls enabled? -bool Function IsFightingControlsEnabled() native global - -; Are the journal menu controls enabled? -bool Function IsJournalControlsEnabled() native global - -; Are the looking controls enabled? -bool Function IsLookingControlsEnabled() native global - -; Are the menu controls enabled? -bool Function IsMenuControlsEnabled() native global - -; Are the movement controls enabled? -bool Function IsMovementControlsEnabled() native global - -; Is the player looking at the sun? -bool Function IsPlayerSungazing() native global - -; Are the sneaking controls enabled? -bool Function IsSneakingControlsEnabled() native global - -; Is the specified Word of Power Unlocked? -bool Function IsWordUnlocked(WordOfPower akWord) native global - -; Plays a bink video - does not return until bink has finished, use with care! -Function PlayBink(string asFileName, bool abInterruptible = false, bool abMuteAudio = true, bool abMuteMusic = true, \ - bool abLetterbox = true ) native global - -; Precaches character gen data. -Function PrecacheCharGen() native global - -; Clears Precached character gen data. -Function PrecacheCharGenClear() native global - -; Queries the given stat and returns its value -int Function QueryStat(string asStat) native global - -; Forces the game back to the main menu -Function QuitToMainMenu() native global - -; Request that an auto-save be made -Function RequestAutoSave() native global - -; Requests the specified model -Function RequestModel(string asModelName) native global - -; Request that a normal save be made -Function RequestSave() native global - -; Has the player serve their prison time -Function ServeTime() native global - -; Finds an actor in high who can detect the player to call werewolf crime on the player -Function SendWereWolfTransformation() native global - -; Called as we enter/exit beast form -Function SetBeastForm(bool abEntering) native global - -; Sets the camera target actor -Function SetCameraTarget(Actor arTarget) native global - -; Sets or clears "cart mode" for the HUD -Function SetHudCartMode(bool abSetCartMode = true) native global - -; Informs the game whether we are in CharGen or not -Function SetInChargen(bool abDisableSaving, bool abDisableWaiting, bool abShowControlsDisabledMessage) native global - -; Enables or disables the AI driven flag on Player -Function SetPlayerAIDriven(bool abAIDriven = true) native global - -; Enables or disables crime reporting on Player -Function SetPlayerReportCrime(bool abReportCrime = true) native global - -; Set the players sitting camera rotation - in degrees, offset from the standard angle. -Function SetSittingRotation(float afValue) native global - -; Shakes the object from the location of the passed-in object. If none, it will shake the camera from the player's location. -; Strength is clamped from 0 to 1 -; Duration in seconds. By default (0.0) use the game setting. -Function ShakeCamera(ObjectReference akSource = None, float afStrength = 0.5, float afDuration = 0.0) native global - -; Shakes the controller for the specified length of time (in seconds). The strength values are clamped from 0 to 1 -Function ShakeController(float afSmallMotorStrength, float afBigMotorStreangth, float afDuration) native global - -; Displays the race/sex menu -Function ShowRaceMenu() native global -Function ShowLimitedRaceMenu() native global - -; Title Sequence menu functions -Function ShowTitleSequenceMenu() native global -Function HideTitleSequenceMenu() native global -Function StartTitleSequence(string asSequenceName) native global - -; Allow or disallow player requests to have a flying mount land. -Function SetAllowFlyingMountLandingRequests(bool abAllow) native global - -; Sets the Image Space Modifier that is triggered when the player gazes at the sun. -Function SetSunGazeImageSpaceModifier(ImageSpaceModifier apImod = NONE ) native global - -; Displays the training menu based on passed in trainer actor -Function ShowTrainingMenu(Actor aTrainer) native global - -; Teaches the specified word of power to the player -Function TeachWord(WordOfPower akWord) native global - -; Trigger screen blood with the given count -Function TriggerScreenBlood(int aiValue) native global - -; Unlocks the specified word of power so the player can use it -Function UnlockWord(WordOfPower akWord) native global - -; Returns true if we're using a gamepad -bool Function UsingGamepad() native global - - -; SKSE64 additions built 2019-11-21 05:06:53.443000 UTC -; Get/Set Perk Points -int Function GetPerkPoints() global native -Function SetPerkPoints(int perkPoints) global native -Function ModPerkPoints(int perkPoints) global native - -; returns the number of active mods -int Function GetModCount() native global - -; returns the index of the specified mod -int Function GetModByName(string name) native global - -; returns the name of the mod at the specified modIndex -string Function GetModName(int modIndex) native global - -; returns the author of the mod at the specified modIndex -string Function GetModAuthor(int modIndex) native global - -; returns the description of the mod at the specified modIndex -string Function GetModDescription(int modIndex) native global - -; gets the count of mods the specified mod depends upon -int Function GetModDependencyCount(int modIndex) native global - -; gets the index of the nth mod dependency of the specfied mod -; int Function GetNthModDependency(int modIndex, int n) native global - -bool Function IsPluginInstalled(string name) native global - -; light mod functions -int Function GetLightModCount() native global -int Function GetLightModByName(string name) native global -string Function GetLightModName(int idx) native global -string Function GetLightModAuthor(int idx) native global -string Function GetLightModDescription(int idx) native global -int Function GetLightModDependencyCount(int idx) native global -int Function GetNthLightModDependency(int modIdx, int idx) native global - -; GameSetting functions - SKSE 1.5.10 -Function SetGameSettingFloat(string setting, float value) global native -Function SetGameSettingInt(string setting, int value) global native -Function SetGameSettingBool(string setting, bool value) global native -Function SetGameSettingString(string setting, string value) global native - -; save/load game -Function SaveGame(string name) native global -Function LoadGame(string name) native global - -; TintMasks (AARRGGBB) - -; Returns the total number of tints for the player -int Function GetNumTintMasks() native global - -; Returns the color of the Nth tint mask -int Function GetNthTintMaskColor(int n) native global - -; Returns the type of the Nth tint mask -int Function GetNthTintMaskType(int n) native global - -; Sets the color of the Nth tint mask -Function SetNthTintMaskColor(int n, int color) native global - -; Returns the texture path of the Nth tint mask -string Function GetNthTintMaskTexturePath(int n) native global - -; Sets the texturepath of the Nth tint mask -Function SetNthTintMaskTexturePath(string path, int n) native global - -; Types -; 0 - Frekles -; 1 - Lips -; 2 - Cheeks -; 3 - Eyeliner -; 4 - Upper Eyesocket -; 5 - Lower Eyesocket -; 6 - SkinTone -; 7 - Warpaint -; 8 - Frownlines -; 9 - Lower Cheeks -; 10 - Nose -; 11 - Chin -; 12 - Neck -; 13 - Forehead -; 14 - Dirt - -; Returns how many indexes there are for this type -int Function GetNumTintsByType(int type) native global - -; Returns the color for the particular tintMask type and index -int Function GetTintMaskColor(int type, int index) global native - -; Sets the tintMask color for the particular type and index -Function SetTintMaskColor(int color, int type, int index) global native - -; Returns the texture path for the particular tintMask type and index -string Function GetTintMaskTexturePath(int type, int index) global native - -; Sets the tintMask texture for the particular type and index -Function SetTintMaskTexturePath(string path, int type, int index) global native - -; Updates tintMask colors without updating the entire model -Function UpdateTintMaskColors() global native - -; Updates the players hair color immediately -Function UpdateHairColor() global native - -; Returns the character's current camera state -; 0 - first person -; 1 - auto vanity -; 2 - VATS -; 3 - free -; 4 - iron sights -; 5 - furniture -; 6 - transition -; 7 - tweenmenu -; 8 - third person 1 -; 9 - third person 2 -; 10 - horse -; 11 - bleedout -; 12 - dragon -int Function GetCameraState() global - return Camera.GetCameraState() -EndFunction - -; set a misc stat value -; use QueryStat to read the value -Function SetMiscStat(string name, int value) global native - -; Sets the players last ridden horse, None will clear the lastRiddenHorse -Function SetPlayersLastRiddenHorse(Actor horse) global native - -; Returns the legendary level for the skill -; -1 indicates the particular skill cannot have a legendary level -; DEPRECATED -int Function GetSkillLegendaryLevel(string actorValue) global - return ActorValueInfo.GetActorValueInfoByName(actorValue).GetSkillLegendaryLevel() -EndFunction - -; Sets the legendary level for the skill -; DEPRECATED -Function SetSkillLegendaryLevel(string actorValue, int level) global - ActorValueInfo.GetActorValueInfoByName(actorValue).SetSkillLegendaryLevel(level) -EndFunction - -; Returns the players experience for this level (not total experience) -float Function GetPlayerExperience() global native - -; Sets the players experience, does not trigger level-up notification -Function SetPlayerExperience(float exp) global native - -; Calculates the experience required for to level-up -; (fXPLevelUpBase + currentLevel * fXPLevelUpMult) -float Function GetExperienceForLevel(int currentLevel) global native - -; Returns true if in run mode, false if in walk mode -; Does not reflect actual movement state, only the control mode -bool Function GetPlayerMovementMode() global native - -; Updates the camera when changing Shoulder positions -Function UpdateThirdPerson() global - Camera.UpdateThirdPerson() -EndFunction - -; Hotkeys 0-7 reflect keys 1-8 -; Unbinds a favorited item bound to the specified hotkey -Function UnbindObjectHotkey(int hotkey) global native - -; Returns the base form object that is bound to the specified hotkey -Form Function GetHotkeyBoundObject(int hotkey) global native - -; Returns if base form is favorited by the player -bool Function IsObjectFavorited(Form form) global native - -; Same as GetForm, but also works for formIds >= 0x80000000 -Form Function GetFormEx(int formId) global native - -; Returns the object reference the player is in dialogue with -ObjectReference Function GetDialogueTarget() global native - -; Returns the current crosshair ref -ObjectReference Function GetCurrentCrosshairRef() global native - -; Returns the currently selected ref in the console -ObjectReference Function GetCurrentConsoleRef() global native - -; Sets the player level -Function SetPlayerLevel(int level) global native - -; Added by Enderal - Forgotten Stories - -; DEPRECATED -; Initializes the Steam API for Enderal. After calling this function, Enderal is displayed as "In Game" in the -; Steam GUI and UnlockAchievement() can be used for Enderal achievements. Best call this function on game load. -; THIS FUNCTION IS NO LONGER NECESSARY, with the new FS.dll the registration will happen automatically when the -; main menu is loaded the first time. -Function SteamInit() global native - -bool Function UnlockAchievement(string name) global - return true -EndFunction \ No newline at end of file diff --git a/source/scripts/_00e_a0_banksystemquest.psc b/source/scripts/_00e_a0_banksystemquest.psc index ef50d588..8f169cba 100644 --- a/source/scripts/_00e_a0_banksystemquest.psc +++ b/source/scripts/_00e_a0_banksystemquest.psc @@ -202,7 +202,7 @@ Event OnUpdateGameTime() RegisterForSingleUpdateGameTime(24) If !bDoneAchievement && REFdepositBox.GetItemCount(Gold) >= 100000 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_BANKACCOUNT_01") + Steam.UnlockAchievement("END_BANKACCOUNT_01") bDoneAchievement = true EndIf else diff --git a/source/scripts/_00e_altiniathachievementsc.psc b/source/scripts/_00e_altiniathachievementsc.psc index 0ca0340e..247cad61 100644 --- a/source/scripts/_00e_altiniathachievementsc.psc +++ b/source/scripts/_00e_altiniathachievementsc.psc @@ -3,7 +3,7 @@ ScriptName _00E_AltIniathAchievementSC extends ObjectReference Event OnTriggerEnter(ObjectReference akActionRef) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_PEAK_01") + Steam.UnlockAchievement("END_PEAK_01") EndIf self.Disable() diff --git a/source/scripts/_00e_ark_specialbreadsc.psc b/source/scripts/_00e_ark_specialbreadsc.psc index c968c0be..327c49a1 100644 --- a/source/scripts/_00e_ark_specialbreadsc.psc +++ b/source/scripts/_00e_ark_specialbreadsc.psc @@ -4,7 +4,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) if akTarget == Game.GetPlayer() && _00E_Ark_SpecialBread_Achievement.GetValueInt() == 0 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_BREEEAD_01") + Steam.UnlockAchievement("END_BREEEAD_01") EndIf diff --git a/source/scripts/_00e_cqc05_functions.psc b/source/scripts/_00e_cqc05_functions.psc index 23c3dba3..20bd3cbb 100644 --- a/source/scripts/_00e_cqc05_functions.psc +++ b/source/scripts/_00e_cqc05_functions.psc @@ -261,7 +261,7 @@ Function CompleteAndGiveEP() SetObjectiveCompleted(5) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_COMPLETE_CALIA_01") + Steam.UnlockAchievement("END_COMPLETE_CALIA_01") EndIf EndFunction diff --git a/source/scripts/_00e_cqc06_functions.psc b/source/scripts/_00e_cqc06_functions.psc index efcdd9f8..a5f674f7 100644 --- a/source/scripts/_00e_cqc06_functions.psc +++ b/source/scripts/_00e_cqc06_functions.psc @@ -131,7 +131,7 @@ Function CompleteAndGiveEP() Utility.Wait(3) Levelsystem.GiveEP(__Config_iRewardEXP) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_ROMANCE_CALIA_01") + Steam.UnlockAchievement("END_ROMANCE_CALIA_01") EndIf EndFunction diff --git a/source/scripts/_00e_cqj05_functions.psc b/source/scripts/_00e_cqj05_functions.psc index a598bfd2..b73f0669 100644 --- a/source/scripts/_00e_cqj05_functions.psc +++ b/source/scripts/_00e_cqj05_functions.psc @@ -157,7 +157,7 @@ Function CompleteAndGiveEP() Levelsystem.GiveEP(__Config_iRewardEXP) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_COMPLETE_JESPAR_01") + Steam.UnlockAchievement("END_COMPLETE_JESPAR_01") EndIf EndFunction diff --git a/source/scripts/_00e_cqj06_functions.psc b/source/scripts/_00e_cqj06_functions.psc index cf95201a..b9664fe1 100644 --- a/source/scripts/_00e_cqj06_functions.psc +++ b/source/scripts/_00e_cqj06_functions.psc @@ -53,7 +53,7 @@ Function GiveEPAndCleanUp() Levelsystem.GiveEP(__Config_iRewardEXP) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_ROMANCE_JESPAR_01") + Steam.UnlockAchievement("END_ROMANCE_JESPAR_01") EndIf EndFunction diff --git a/source/scripts/_00e_diggershollowskywalkeractivatorsc.psc b/source/scripts/_00e_diggershollowskywalkeractivatorsc.psc index 4d137e74..2ce9d848 100644 --- a/source/scripts/_00e_diggershollowskywalkeractivatorsc.psc +++ b/source/scripts/_00e_diggershollowskywalkeractivatorsc.psc @@ -7,7 +7,7 @@ Event OnActivate(ObjectReference akActionRef) _00E_DiggersHollowSkywalkerMessage.Show() If !bUnlockedAchievement && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_LUKE_SKYWALKER_01") + Steam.UnlockAchievement("END_LUKE_SKYWALKER_01") bUnlockedAchievement = true EndIf EndIf diff --git a/source/scripts/_00e_dragonachievementsc.psc b/source/scripts/_00e_dragonachievementsc.psc index 6080b72f..64709b49 100644 --- a/source/scripts/_00e_dragonachievementsc.psc +++ b/source/scripts/_00e_dragonachievementsc.psc @@ -3,7 +3,7 @@ Scriptname _00E_DragonAchievementSC extends Actor Event OnDeath(Actor akKiller) If _00E_AchievementsEnabled.getValueInt() == 1 - Game.UnlockAchievement("END_DRAGON_01") + Steam.UnlockAchievement("END_DRAGON_01") EndIf EndEvent diff --git a/source/scripts/_00e_eponmagicalsymboldis.psc b/source/scripts/_00e_eponmagicalsymboldis.psc index 6eb90cee..356a8f36 100644 --- a/source/scripts/_00e_eponmagicalsymboldis.psc +++ b/source/scripts/_00e_eponmagicalsymboldis.psc @@ -26,7 +26,7 @@ Event OnActivate(ObjectReference akActionRef) Levelsystem.GiveEp(RewardExp+EXPBonus) If _00E_MagicalSymbolsGlobalCollected.GetValueInt() == 100 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_FETCHQUEST_01") + Steam.UnlockAchievement("END_FETCHQUEST_01") EndIf endIf diff --git a/source/scripts/_00e_epupdatefunctions.psc b/source/scripts/_00e_epupdatefunctions.psc index 0ce077ca..6b26339d 100644 --- a/source/scripts/_00e_epupdatefunctions.psc +++ b/source/scripts/_00e_epupdatefunctions.psc @@ -52,7 +52,7 @@ State RealPlayer If MapMarkersDiscoveredCounter >= 50 && !bMapMarkersAchievementUnlocked && _00E_AchievementsEnabled.GetValueInt() == 1 bMapMarkersAchievementUnlocked = True - Game.UnlockAchievement("END_LOCATIONS_01") + Steam.UnlockAchievement("END_LOCATIONS_01") EndIf EndIf @@ -120,7 +120,7 @@ State RealPlayer If _00E_OreVeinsMined.GetValueInt() >= 50 && !bOreAchievementUnlocked && _00E_AchievementsEnabled.GetValueInt() == 1 bOreAchievementUnlocked = true - Game.UnlockAchievement("END_ORE_01") + Steam.UnlockAchievement("END_ORE_01") EndIf delta = Game.QueryStat("Quests Completed") - QuestsCompletedCounter @@ -128,13 +128,13 @@ State RealPlayer QuestsCompletedCounter += delta If QuestsCompletedCounter >= 50 && !bDoneQuestCompleted && _00E_AchievementsEnabled.GetValueInt() == 1 bDoneQuestCompleted = true - Game.UnlockAchievement("END_QUESTS_01") + Steam.UnlockAchievement("END_QUESTS_01") EndIf EndIf If _00E_RhetorikCounter.GetValueInt() >= 15 && !bRhetoricAchievementUnlocked && _00E_AchievementsEnabled.GetValueInt() == 1 bRhetoricAchievementUnlocked = true - Game.UnlockAchievement("END_RHETORIC_01") + Steam.UnlockAchievement("END_RHETORIC_01") EndIf ; Arcane fever management @@ -146,7 +146,7 @@ State RealPlayer _00E_Player_sArcaneFever_Death.Show() If _00E_AchievementsEnabled.GetValueInt() == 1 && !bDoneArcanistsFever bDoneArcanistsFever = true - Game.UnlockAchievement("END_ARCANISTS_FEVER_01") + Steam.UnlockAchievement("END_ARCANISTS_FEVER_01") EndIf EndIf diff --git a/source/scripts/_00e_frozenmescript.psc b/source/scripts/_00e_frozenmescript.psc index 68975e30..b802f5cd 100644 --- a/source/scripts/_00e_frozenmescript.psc +++ b/source/scripts/_00e_frozenmescript.psc @@ -149,7 +149,7 @@ Function ShatterEnemy() FrozenActor.SetCriticalStage(FrozenActor.CritStage_DisintegrateEnd) If _00E_AchievementsEnabled.GetValueInt() == 1 && _00E_FrozenAchievementUnlocked.GetValueInt() == 0 - Game.UnlockAchievement("END_FROZEN_01") + Steam.UnlockAchievement("END_FROZEN_01") _00E_FrozenAchievementUnlocked.SetValueInt(1) EndIf diff --git a/source/scripts/_00e_fs_mq18c_dreamflowersc.psc b/source/scripts/_00e_fs_mq18c_dreamflowersc.psc index 970c574b..2466f046 100644 --- a/source/scripts/_00e_fs_mq18c_dreamflowersc.psc +++ b/source/scripts/_00e_fs_mq18c_dreamflowersc.psc @@ -25,7 +25,7 @@ Function AddDreamflowerEffect() _00E_FS_NQ01_EventualityShiftIMOD.Apply() If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_DREAMFLOWER_01") + Steam.UnlockAchievement("END_DREAMFLOWER_01") EndIf EndFunction diff --git a/source/scripts/_00e_fs_mq18c_functions.psc b/source/scripts/_00e_fs_mq18c_functions.psc index 34cf41cb..73de3308 100644 --- a/source/scripts/_00e_fs_mq18c_functions.psc +++ b/source/scripts/_00e_fs_mq18c_functions.psc @@ -185,7 +185,7 @@ Function ShowCredits() Debug.ToggleMenus() If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_COMPLETE_MQ18C_01") + Steam.UnlockAchievement("END_COMPLETE_MQ18C_01") EndIf FadeToBlackHoldIMOD.Apply() Utility.Wait(8) diff --git a/source/scripts/_00e_fs_mysticalspellbooksc.psc b/source/scripts/_00e_fs_mysticalspellbooksc.psc index 6630d995..e815ae9f 100644 --- a/source/scripts/_00e_fs_mysticalspellbooksc.psc +++ b/source/scripts/_00e_fs_mysticalspellbooksc.psc @@ -28,7 +28,7 @@ Event OnRead() UISpellLearnedM.Play(PlayerREF) If _00E_AchievementsEnabled.GetValueInt() == 1 && _00E_MysticalSpellAchievementUnlocked.GetValueInt() == 0 - Game.UnlockAchievement("END_MYTHICAL_SPELL_01") + Steam.UnlockAchievement("END_MYTHICAL_SPELL_01") _00E_MysticalSpellAchievementUnlocked.SetValueInt(1) EndIf diff --git a/source/scripts/_00e_fs_mysticalsymbolsc.psc b/source/scripts/_00e_fs_mysticalsymbolsc.psc index 64547dc6..b1a0aaea 100644 --- a/source/scripts/_00e_fs_mysticalsymbolsc.psc +++ b/source/scripts/_00e_fs_mysticalsymbolsc.psc @@ -25,7 +25,7 @@ Event OnActivate(ObjectReference akActionRef) Levelsystem.GiveEp(RewardExp+EXPBonus) If _00E_FS_MysticalSymbolsGlobalCollected.GetValueInt() == 15 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_FETCHQUEST_02") + Steam.UnlockAchievement("END_FETCHQUEST_02") EndIf endIf diff --git a/source/scripts/_00e_fs_nq01_functions.psc b/source/scripts/_00e_fs_nq01_functions.psc index ad304bf1..55eb4c1a 100644 --- a/source/scripts/_00e_fs_nq01_functions.psc +++ b/source/scripts/_00e_fs_nq01_functions.psc @@ -593,7 +593,7 @@ Function StartSC09() FS_NQ01_SC09_Qyra_02.ForceStart() If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_NAEA_01") + Steam.UnlockAchievement("END_NAEA_01") EndIf EndFunction diff --git a/source/scripts/_00e_fs_nq02_functions2.psc b/source/scripts/_00e_fs_nq02_functions2.psc index 077855b4..97671863 100644 --- a/source/scripts/_00e_fs_nq02_functions2.psc +++ b/source/scripts/_00e_fs_nq02_functions2.psc @@ -377,7 +377,7 @@ Function EndEpilog() Setstage(1030) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_ESME_01") + Steam.UnlockAchievement("END_ESME_01") EndIf EndFunction diff --git a/source/scripts/_00e_fs_nq07_functions.psc b/source/scripts/_00e_fs_nq07_functions.psc index 67cab2af..07a57307 100644 --- a/source/scripts/_00e_fs_nq07_functions.psc +++ b/source/scripts/_00e_fs_nq07_functions.psc @@ -233,7 +233,7 @@ Function SummonManfred() _00E_FS_NQ07_FoodCollision004.Disable() If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_MANFRED_01") + Steam.UnlockAchievement("END_MANFRED_01") EndIf EndFunction diff --git a/source/scripts/_00e_fs_nq09_functions.psc b/source/scripts/_00e_fs_nq09_functions.psc index 41413f17..fefcefc6 100644 --- a/source/scripts/_00e_fs_nq09_functions.psc +++ b/source/scripts/_00e_fs_nq09_functions.psc @@ -26,7 +26,7 @@ Function FinishUp() Levelsystem.GiveEP(iRewardEXP) Game.GetPlayer().AddItem(_00E_Phasmalist_Soul_Hidden_Tier6, 1) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_APPARITION_02") + Steam.UnlockAchievement("END_APPARITION_02") EndIf EndFunction diff --git a/source/scripts/_00e_fs_nqr02_functions.psc b/source/scripts/_00e_fs_nqr02_functions.psc index 44bcad5f..33da290b 100644 --- a/source/scripts/_00e_fs_nqr02_functions.psc +++ b/source/scripts/_00e_fs_nqr02_functions.psc @@ -201,9 +201,9 @@ Function FinishUp() If _00E_AchievementsEnabled.GetValueInt() == 1 If _00E_FS_NQR02_SparedQalian.GetValueInt() == 0 - Game.UnlockAchievement("END_QALIAN_01") + Steam.UnlockAchievement("END_QALIAN_01") Else - Game.UnlockAchievement("END_QALIAN_02") + Steam.UnlockAchievement("END_QALIAN_02") EndIf EndIf diff --git a/source/scripts/_00e_fs_nqr04_functions.psc b/source/scripts/_00e_fs_nqr04_functions.psc index b06cbd7d..95d82516 100644 --- a/source/scripts/_00e_fs_nqr04_functions.psc +++ b/source/scripts/_00e_fs_nqr04_functions.psc @@ -161,7 +161,7 @@ Function UpdateSlotsFound(int iFoundSlot) SetObjectiveCompleted(40) Levelsystem.GiveEP(iSecretSlotsRewardEXP) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_ORPHANAGE_01") + Steam.UnlockAchievement("END_ORPHANAGE_01") EndIf ElseIf CurrentCount < 3 diff --git a/source/scripts/_00e_fs_nqr05_functions.psc b/source/scripts/_00e_fs_nqr05_functions.psc index d39d0fad..e8fdb9be 100644 --- a/source/scripts/_00e_fs_nqr05_functions.psc +++ b/source/scripts/_00e_fs_nqr05_functions.psc @@ -1535,7 +1535,7 @@ Function AssumeOwnership() NQ06.SetFatherShadowName() If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_MOUNT_01") + Steam.UnlockAchievement("END_MOUNT_01") EndIf EndFunction @@ -1783,7 +1783,7 @@ Function TeleportToRefuge() EndIf If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_THARAEL_NO_SUICIDE_01") + Steam.UnlockAchievement("END_THARAEL_NO_SUICIDE_01") EndIf Endfunction diff --git a/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc b/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc index fe5095e2..22314eac 100644 --- a/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc +++ b/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc @@ -53,7 +53,7 @@ Function OpenHiddenSlot() Levelsystem.GiveEP(iRewardEXPBigSlot) If _00E_HiddenSlotAchievementUnlocked.GetValueInt() == 0 && _00E_AchievementsEnabled.GetValueInt() == 1 _00E_HiddenSlotAchievementUnlocked.SetValueInt(1) - Game.UnlockAchievement("END_HIDDEN_SLOT_01") + Steam.UnlockAchievement("END_HIDDEN_SLOT_01") EndIf EndIf diff --git a/source/scripts/_00e_game_skillmenusc.psc b/source/scripts/_00e_game_skillmenusc.psc index 9c63de52..a222c6f9 100644 --- a/source/scripts/_00e_game_skillmenusc.psc +++ b/source/scripts/_00e_game_skillmenusc.psc @@ -610,10 +610,10 @@ Function AddAchievementForAffinityUnlock(int nTotalUnlockedAffinityCount) If _00E_AchievementsEnabled.GetValueInt() == 1 If nTotalUnlockedAffinityCount >= 1 - Game.UnlockAchievement("END_AFFINITY_01") + Steam.UnlockAchievement("END_AFFINITY_01") EndIf If nTotalUnlockedAffinityCount >= 2 - Game.UnlockAchievement("END_AFFINITY_02") + Steam.UnlockAchievement("END_AFFINITY_02") EndIf EndIf @@ -624,7 +624,7 @@ Function AddAchievementForFullMemoryTree(Int[] PerkDistribution, Int[] MaxPerkDi Int Index = 1 While Index < PerkDistribution.Length If PerkDistribution[Index] == MaxPerkDistribution[Index] && !bMemoryTreeAchievementUnlocked - Game.UnlockAchievement("END_MEMORY_TREE_01") + Steam.UnlockAchievement("END_MEMORY_TREE_01") bMemoryTreeAchievementUnlocked = true EndIf Index += 1 diff --git a/source/scripts/_00e_mq02_functions.psc b/source/scripts/_00e_mq02_functions.psc index 1ce60019..2a2b1338 100644 --- a/source/scripts/_00e_mq02_functions.psc +++ b/source/scripts/_00e_mq02_functions.psc @@ -382,7 +382,7 @@ Function TryToInsertStick(ObjectReference ActivatorREF) SetStage(80) If _00E_MQ02_Riddle_IsThisTheFirstRun.GetValueInt() == 1 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_STARLING_PUZZLE_01") + Steam.UnlockAchievement("END_STARLING_PUZZLE_01") _00E_MQ02_Riddle_IsThisTheFirstRun.SetValueInt(0) EndIf diff --git a/source/scripts/_00e_mq07a_functions.psc b/source/scripts/_00e_mq07a_functions.psc index dc0fab36..6a0a0755 100644 --- a/source/scripts/_00e_mq07a_functions.psc +++ b/source/scripts/_00e_mq07a_functions.psc @@ -833,7 +833,7 @@ Function CompleteMQ07a() Self.CompleteQuest() If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_WORD_OF_THE_DEAD_01") + Steam.UnlockAchievement("END_WORD_OF_THE_DEAD_01") EndIf EndFunction diff --git a/source/scripts/_00e_mq07b_questfunctions.psc b/source/scripts/_00e_mq07b_questfunctions.psc index c5c84cc9..329d5c99 100644 --- a/source/scripts/_00e_mq07b_questfunctions.psc +++ b/source/scripts/_00e_mq07b_questfunctions.psc @@ -500,7 +500,7 @@ Function FinishQuest() EndIf If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_PROTO_BEACON_01") + Steam.UnlockAchievement("END_PROTO_BEACON_01") EndIf EndFunction diff --git a/source/scripts/_00e_mq11c_functions.psc b/source/scripts/_00e_mq11c_functions.psc index 19d92e64..4b7001c0 100644 --- a/source/scripts/_00e_mq11c_functions.psc +++ b/source/scripts/_00e_mq11c_functions.psc @@ -302,7 +302,7 @@ Function GiveEPForButterflies() Levelsystem.ModSympathyNG(Ryneus.GetActorReference(), iSympathyCount) If PlayerREF.GetItemCount(_00E_MQ11cSchmetterling) >= 15 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_BUTTERFLIES_01") + Steam.UnlockAchievement("END_BUTTERFLIES_01") EndIf EndIf @@ -483,7 +483,7 @@ Function SetUpRealSilvergrove() if (_00E_MQ11c_RyneusPeacefulSolution.GetValueInt() == 1) MQ11c.SetObjectiveDisplayed(105) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_RYNEUS_SILVERGROVE_01") + Steam.UnlockAchievement("END_RYNEUS_SILVERGROVE_01") EndIf Else MQ11c.SetObjectiveDisplayed(110) diff --git a/source/scripts/_00e_mq11c_minigameshootingsphere_hit.psc b/source/scripts/_00e_mq11c_minigameshootingsphere_hit.psc index 22885a09..c19d2ee0 100644 --- a/source/scripts/_00e_mq11c_minigameshootingsphere_hit.psc +++ b/source/scripts/_00e_mq11c_minigameshootingsphere_hit.psc @@ -32,7 +32,7 @@ if akAggressor == PlayerREF && akSource.HasKeyword(WeapTypeBow) && (GameRunning EndIf If _00E_MQ11c_Sphere_HitsLanded.GetValueInt() == 10 && !bDone && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_STARLINGSPHERE_01") + Steam.UnlockAchievement("END_STARLINGSPHERE_01") bDone = true EndIf Elseif (GameRunning == 0) diff --git a/source/scripts/_00e_mq12a_functions.psc b/source/scripts/_00e_mq12a_functions.psc index e829c977..08fd455b 100644 --- a/source/scripts/_00e_mq12a_functions.psc +++ b/source/scripts/_00e_mq12a_functions.psc @@ -164,7 +164,7 @@ Function FinishQuestAndStartMQ12b() _00E_MQ12a_BeaconMagicREF.EnableNoWait() If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_BLACK_STONES_01") + Steam.UnlockAchievement("END_BLACK_STONES_01") EndIf ;added in FS diff --git a/source/scripts/_00e_mq12b_functions.psc b/source/scripts/_00e_mq12b_functions.psc index d662cb35..aee3fef6 100644 --- a/source/scripts/_00e_mq12b_functions.psc +++ b/source/scripts/_00e_mq12b_functions.psc @@ -941,7 +941,7 @@ Function CompleteQuestAndStartMQ12c() RegisterForSingleUpdateGameTime(24) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_SIEGE_01") + Steam.UnlockAchievement("END_SIEGE_01") EndIf EndFunction diff --git a/source/scripts/_00e_mq17_functions.psc b/source/scripts/_00e_mq17_functions.psc index 61803f99..50a6981f 100644 --- a/source/scripts/_00e_mq17_functions.psc +++ b/source/scripts/_00e_mq17_functions.psc @@ -454,7 +454,7 @@ Function DestroyBlackGuardian() _00E_QuestFunctions.SetNPCAsCompanion(akCompanion, False) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_BLACK_GUARDIAN_01") + Steam.UnlockAchievement("END_BLACK_GUARDIAN_01") EndIf diff --git a/source/scripts/_00e_mq18a_functions.psc b/source/scripts/_00e_mq18a_functions.psc index 0cd07c60..7688ffce 100644 --- a/source/scripts/_00e_mq18a_functions.psc +++ b/source/scripts/_00e_mq18a_functions.psc @@ -108,7 +108,7 @@ Function ShowCredits() Debug.ToggleMenus() If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_COMPLETE_MQ18A_01") + Steam.UnlockAchievement("END_COMPLETE_MQ18A_01") EndIf FadeToBlackHoldIMOD.Apply() Wait(8) diff --git a/source/scripts/_00e_mq18b_functions.psc b/source/scripts/_00e_mq18b_functions.psc index dfe34ec6..3a9cab02 100644 --- a/source/scripts/_00e_mq18b_functions.psc +++ b/source/scripts/_00e_mq18b_functions.psc @@ -30,7 +30,7 @@ Function FadeOut() Utility.Wait(6) Debug.ToggleMenus() If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_COMPLETE_MQ18B_01") + Steam.UnlockAchievement("END_COMPLETE_MQ18B_01") EndIf Debug.ToggleCollisions() Game.PlayBink("Enderal_Credits.bik") diff --git a/source/scripts/_00e_mqp01_functions.psc b/source/scripts/_00e_mqp01_functions.psc index 6c7fc0ab..6639eb19 100644 --- a/source/scripts/_00e_mqp01_functions.psc +++ b/source/scripts/_00e_mqp01_functions.psc @@ -175,7 +175,7 @@ Function PlayIntroAndMovePlayerToShip() BFXFireImod.Remove() Wait(7.8) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_COMPLETE_MQP01_01") + Steam.UnlockAchievement("END_COMPLETE_MQP01_01") EndIf If _00E_VideoSkip.GetValueInt() == 0 Game.PlayBink("EnderalIntro.bik", true, true, true, true) diff --git a/source/scripts/_00e_myradsystem02.psc b/source/scripts/_00e_myradsystem02.psc index 977ba15b..c66c45c2 100644 --- a/source/scripts/_00e_myradsystem02.psc +++ b/source/scripts/_00e_myradsystem02.psc @@ -132,7 +132,7 @@ Function PortPlayer(ObjectReference Destination) MyradFligthCounter += 1 If _00E_AchievementsEnabled.GetValueInt() == 1 && MyradFligthCounter == 20 - Game.UnlockAchievement("END_MYRAD_01") + Steam.UnlockAchievement("END_MYRAD_01") EndIf _FS_Phasmalist_ControlQuest.MoveApparitionToPlayer() diff --git a/source/scripts/_00e_nq02_newhorizons_library.psc b/source/scripts/_00e_nq02_newhorizons_library.psc index a89fcccb..67612641 100644 --- a/source/scripts/_00e_nq02_newhorizons_library.psc +++ b/source/scripts/_00e_nq02_newhorizons_library.psc @@ -86,7 +86,7 @@ Function FinishUp() Levelsystem.GiveEP(1500) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_KNOWLEDGE_01") + Steam.UnlockAchievement("END_KNOWLEDGE_01") EndIf EndFunction diff --git a/source/scripts/_00e_nq03_skullspheresc.psc b/source/scripts/_00e_nq03_skullspheresc.psc index e9c26ee1..d8265346 100644 --- a/source/scripts/_00e_nq03_skullspheresc.psc +++ b/source/scripts/_00e_nq03_skullspheresc.psc @@ -20,7 +20,7 @@ Event OnActivate(ObjectReference akActionRef) Utility.Wait(2) AlchArmorMagickaFXS.Stop(PlayerREF) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_MASTER_SKULL_01") + Steam.UnlockAchievement("END_MASTER_SKULL_01") EndIf Self.Delete() EndIf diff --git a/source/scripts/_00e_nq24_playerhousing_functions.psc b/source/scripts/_00e_nq24_playerhousing_functions.psc index bebb4d92..af35c858 100644 --- a/source/scripts/_00e_nq24_playerhousing_functions.psc +++ b/source/scripts/_00e_nq24_playerhousing_functions.psc @@ -8,7 +8,7 @@ function FinishQuest() Levelsystem.GiveEp(__Config_RewardEXP) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_HOME_01") + Steam.UnlockAchievement("END_HOME_01") EndIf endFunction diff --git a/source/scripts/_00e_nq29_functions.psc b/source/scripts/_00e_nq29_functions.psc index 8088d660..f571f34d 100644 --- a/source/scripts/_00e_nq29_functions.psc +++ b/source/scripts/_00e_nq29_functions.psc @@ -63,7 +63,7 @@ Function Finish() Levelsystem.GiveEP(5000) If _00E_AchievementsEnabled.getValueInt() == 1 - Game.UnlockAchievement("END_MYTHS_01") + Steam.UnlockAchievement("END_MYTHS_01") EndIf EndFunction diff --git a/source/scripts/_00e_nq_g_04_functions.psc b/source/scripts/_00e_nq_g_04_functions.psc index c5b5269e..41cbfecc 100644 --- a/source/scripts/_00e_nq_g_04_functions.psc +++ b/source/scripts/_00e_nq_g_04_functions.psc @@ -21,7 +21,7 @@ Function RemoveContract() PlayerREF.RemoveItem(_00E_NQ_G_04_GoldenSickleContract) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_PROTECTOR_01") + Steam.UnlockAchievement("END_PROTECTOR_01") EndIf EndFunction diff --git a/source/scripts/_00e_nq_g_06_functions.psc b/source/scripts/_00e_nq_g_06_functions.psc index e0c308f4..b31eaf90 100644 --- a/source/scripts/_00e_nq_g_06_functions.psc +++ b/source/scripts/_00e_nq_g_06_functions.psc @@ -69,7 +69,7 @@ Function SideWithDijaam() _00E_NQ_G_SidedDijaam.SetValue(1) _00E_NQ_G_SidedMael.SetValue(0) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_SIDED_DIJAAM_01") + Steam.UnlockAchievement("END_SIDED_DIJAAM_01") EndIf EndFunction @@ -79,7 +79,7 @@ Function SideWithMael() _00E_NQ_G_SidedDijaam.SetValue(0) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_SIDED_MAEL_01") + Steam.UnlockAchievement("END_SIDED_MAEL_01") EndIf EndFunction diff --git a/source/scripts/_00e_placeablegrammophonplay.psc b/source/scripts/_00e_placeablegrammophonplay.psc index 4a428c87..650f9d82 100644 --- a/source/scripts/_00e_placeablegrammophonplay.psc +++ b/source/scripts/_00e_placeablegrammophonplay.psc @@ -88,7 +88,7 @@ Event OnActivate(ObjectReference triggerRef) If _00E_AchievementsEnabled.GetValueInt() == 1 && (bDone == False) bDone = True - Game.UnlockAchievement("END_KOPPOPHON_01") + Steam.UnlockAchievement("END_KOPPOPHON_01") EndIf ElseIf bOldSilenceUpdated == False diff --git a/source/scripts/_00e_princemithbooksc.psc b/source/scripts/_00e_princemithbooksc.psc index 13b06055..c5559e18 100644 --- a/source/scripts/_00e_princemithbooksc.psc +++ b/source/scripts/_00e_princemithbooksc.psc @@ -3,7 +3,7 @@ Scriptname _00E_PrinceMithBookSC extends ObjectReference Event OnRead() If _00E_AchievementsEnabled.getValueInt() == 1 && _00E_PrinzMithAchievement02Unlocked.GetValueInt() == 0 - Game.UnlockAchievement("END_PRINCE_MITH_02") + Steam.UnlockAchievement("END_PRINCE_MITH_02") _00E_PrinzMithAchievement02Unlocked.SetValueInt(1) EndIf diff --git a/source/scripts/_00e_questfunctions.psc b/source/scripts/_00e_questfunctions.psc index 7e989a5d..f6226446 100644 --- a/source/scripts/_00e_questfunctions.psc +++ b/source/scripts/_00e_questfunctions.psc @@ -452,7 +452,7 @@ Function ShowSynergyMessage() GiveEP(150) If _00E_AchievementsEnabled.GetValueInt() == 1 && !bUnlockedSynergyAchievement - Game.UnlockAchievement("END_SYNERGY_01") + Steam.UnlockAchievement("END_SYNERGY_01") bUnlockedSynergyAchievement = true EndIf @@ -1120,7 +1120,7 @@ Function TeachTalent(int iLevel, Shout TaughtTalent, Perk Perk01, Perk Perk02, P TalentPoints.Mod(-1) If _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_TALENT_BOOK_01") + Steam.UnlockAchievement("END_TALENT_BOOK_01") EndIf EndFunction @@ -1146,7 +1146,7 @@ Function OnArmorSetBonusAdded(Bool bFullSet) Sound.SetInstanceVolume(MAGIllusionCharm.Play(PlayerREF), 0.4) ; Play MAGIllusionCharm at lower volume If bFullSet && bSetAchievementUnlocked == False && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_SET_01") + Steam.UnlockAchievement("END_SET_01") bSetAchievementUnlocked = True EndIf EndFunction diff --git a/source/scripts/_00e_theriantrophist_playeraswerewolf.psc b/source/scripts/_00e_theriantrophist_playeraswerewolf.psc index e0ae283d..b0728c13 100644 --- a/source/scripts/_00e_theriantrophist_playeraswerewolf.psc +++ b/source/scripts/_00e_theriantrophist_playeraswerewolf.psc @@ -113,7 +113,7 @@ Function Transform(int duration) If !bTransformAchievementUnlocked && _00E_AchievementsEnabled.GetValueInt() == 1 bTransformAchievementUnlocked = true - Game.UnlockAchievement("END_WEREWOLF_01") + Steam.UnlockAchievement("END_WEREWOLF_01") EndIf If FS_NQ11.GetStage() == 15 || FS_NQ11.GetStage() == 17 diff --git a/source/scripts/_00e_wearesorrysc.psc b/source/scripts/_00e_wearesorrysc.psc index 0d9a3906..93ffddc4 100644 --- a/source/scripts/_00e_wearesorrysc.psc +++ b/source/scripts/_00e_wearesorrysc.psc @@ -3,7 +3,7 @@ Scriptname _00E_WeAreSorrySC extends ObjectReference Event OnRead() If _00E_AchievementsEnabled.getValueInt() == 1 && !bDone - Game.UnlockAchievement("END_ARROW_01") + Steam.UnlockAchievement("END_ARROW_01") bDone = true EndIf diff --git a/source/scripts/_00e_whatwedeserveachievementsc.psc b/source/scripts/_00e_whatwedeserveachievementsc.psc index 35bd210c..dc5f9b6d 100644 --- a/source/scripts/_00e_whatwedeserveachievementsc.psc +++ b/source/scripts/_00e_whatwedeserveachievementsc.psc @@ -3,7 +3,7 @@ Scriptname _00E_WhatWeDeserveAchievementSC extends Actor Event OnActivate(ObjectReference akActionRef) If akActionRef == PlayerREF && _00E_AchievementsEnabled.GetValueInt() == 1 && !bDone - Game.UnlockAchievement("END_ROCIO_01") + Steam.UnlockAchievement("END_ROCIO_01") bDone = true EndIf diff --git a/source/scripts/_fs_phasmalist_controlquest.psc b/source/scripts/_fs_phasmalist_controlquest.psc index 17aaadae..01067a5c 100644 --- a/source/scripts/_fs_phasmalist_controlquest.psc +++ b/source/scripts/_fs_phasmalist_controlquest.psc @@ -133,7 +133,7 @@ Function OnPlayerTrinketCreated() If _00E_AchievementsEnabled.GetValueInt() == 1 && _00E_PhasmalistAchievementUnlocked.GetValueInt() == 0 _00E_PhasmalistAchievementUnlocked.SetValueInt(1) - Game.UnlockAchievement("END_APPARITION_01") + Steam.UnlockAchievement("END_APPARITION_01") EndIf EndIf RemoveEnchantmentItem() diff --git a/source/scripts/_sag_activ_diceblackjackmainsscript.psc b/source/scripts/_sag_activ_diceblackjackmainsscript.psc index fad0f408..0ed88ef7 100644 --- a/source/scripts/_sag_activ_diceblackjackmainsscript.psc +++ b/source/scripts/_sag_activ_diceblackjackmainsscript.psc @@ -125,7 +125,7 @@ Function PlayerTurn() elseif PlayerScore == MaxScore _SAG_Activ_BJ_Victories.Value += 1 If _SAG_Activ_BJ_Victories.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_DICEGOD_01") + Steam.UnlockAchievement("END_DICEGOD_01") EndIf _SAG_Activ_BJ_GoldWon.Value += PLayerBet *2 PlayerPerfectDice.Show(MaxScore, PlayerBet*2) @@ -157,7 +157,7 @@ Function PlayerTurn() elseif OpponentScore < PlayerScore _SAG_Activ_BJ_Victories.Value += 1 If _SAG_Activ_BJ_Victories.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_DICEGOD_01") + Steam.UnlockAchievement("END_DICEGOD_01") EndIf _SAG_Activ_BJ_GoldWon.Value += PLayerBet PlayerWon.Show(PlayerScore, MaxScore, OpponentScore, PlayerBet) @@ -190,7 +190,7 @@ Function OpponentTurn() if OpponentScore > MaxScore _SAG_Activ_BJ_Victories.Value += 1 If _SAG_Activ_BJ_Victories.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_DICEGOD_01") + Steam.UnlockAchievement("END_DICEGOD_01") EndIf _SAG_Activ_BJ_GoldWon.Value += PlayerBet *2 OpponentDiceFail.Show(OpponentScore, MaxScore, PlayerBet*2) @@ -228,7 +228,7 @@ Function OpponentTurn() if PlayerPlayed && PlayerScore > OpponentScore _SAG_Activ_BJ_Victories.Value += 1 If _SAG_Activ_BJ_Victories.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_DICEGOD_01") + Steam.UnlockAchievement("END_DICEGOD_01") EndIf _SAG_Activ_BJ_GoldWon.Value += PlayerBet PlayerWon.Show(PlayerScore, MaxScore, OpponentScore, PlayerBet) diff --git a/source/scripts/_sag_dicesgame_mainscript.psc b/source/scripts/_sag_dicesgame_mainscript.psc index 2355fd4e..aeb39e89 100644 --- a/source/scripts/_sag_dicesgame_mainscript.psc +++ b/source/scripts/_sag_dicesgame_mainscript.psc @@ -141,7 +141,7 @@ Function PlayerWon() _SAG_ProphDiceWonGold.Value += playerbet If _SAG_ProphDiceWonGames.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_DICEGOD_01") + Steam.UnlockAchievement("END_DICEGOD_01") EndIf PlayAgain() diff --git a/source/scripts/_sag_playcards_mainscript.psc b/source/scripts/_sag_playcards_mainscript.psc index 26d241b2..487ede71 100644 --- a/source/scripts/_sag_playcards_mainscript.psc +++ b/source/scripts/_sag_playcards_mainscript.psc @@ -168,7 +168,7 @@ Function Step04() ; check who won Commentator.Say(GenericDialogue_Gambling_PlayerWonTopic) If Wongames.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 - Game.UnlockAchievement("END_CARDSHARK_01") + Steam.UnlockAchievement("END_CARDSHARK_01") EndIf Utility.Wait(4) diff --git a/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc b/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc index a1fbc6b8..e9c287f7 100644 --- a/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc +++ b/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc @@ -54,7 +54,7 @@ Function Fragment_0() ;BEGIN CODE CompleteAllObjectives() If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_EGGS_01") +Steam.UnlockAchievement("END_EGGS_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/qf__00e_nq06_freda_000725ba.psc b/source/scripts/qf__00e_nq06_freda_000725ba.psc index 36ab2b55..9d2119db 100644 --- a/source/scripts/qf__00e_nq06_freda_000725ba.psc +++ b/source/scripts/qf__00e_nq06_freda_000725ba.psc @@ -72,7 +72,7 @@ Alias_Bonni.GetActorRef().SetFactionOwner(PlayerFaction) kmyQuest.SetMuleName() kmyQuest.AddHorseFlute() If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_WHIRLWIND_01") +Steam.UnlockAchievement("END_WHIRLWIND_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/qf_fs_nq05_0101c82f.psc b/source/scripts/qf_fs_nq05_0101c82f.psc index 5e09b309..7df3279e 100644 --- a/source/scripts/qf_fs_nq05_0101c82f.psc +++ b/source/scripts/qf_fs_nq05_0101c82f.psc @@ -81,7 +81,7 @@ Function Fragment_37() SetObjectiveCompleted(90) ;hier ist Ende 2 (Tochter tot) If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_MIRELL_02") +Steam.UnlockAchievement("END_MIRELL_02") EndIf ;END CODE EndFunction @@ -93,7 +93,7 @@ Function Fragment_43() SetObjectiveCompleted(110) ;hier ist Ende 4 If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_MIRELL_01") +Steam.UnlockAchievement("END_MIRELL_01") EndIf ;END CODE EndFunction @@ -106,7 +106,7 @@ Quest __temp = self as Quest _00E_FS_NQ05_Functions kmyQuest = __temp as _00E_FS_NQ05_Functions ;END AUTOCAST ;BEGIN CODE -kmyQuest.TestFunction() +;kmyQuest.TestFunction() ;gibt dem Spieler alles, was er für den Trank braucht ;END CODE EndFunction @@ -200,7 +200,7 @@ _00E_FS_NQ05_Functions kmyQuest = __temp as _00E_FS_NQ05_Functions SetObjectiveCompleted(100) ;hier ist Ende 3 If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_MIRELL_03") +Steam.UnlockAchievement("END_MIRELL_03") EndIf ;END CODE EndFunction diff --git a/source/scripts/qf_fs_nq10_0102e766.psc b/source/scripts/qf_fs_nq10_0102e766.psc index e5badfe6..0ffb8f3a 100644 --- a/source/scripts/qf_fs_nq10_0102e766.psc +++ b/source/scripts/qf_fs_nq10_0102e766.psc @@ -57,7 +57,7 @@ Function Fragment_2() ;BEGIN CODE SetObjectiveCompleted(15) If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_VATYRA_01") +Steam.UnlockAchievement("END_VATYRA_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/qf_lisharidialogue_0013eb7d.psc b/source/scripts/qf_lisharidialogue_0013eb7d.psc index ae4e879c..30f94f1a 100644 --- a/source/scripts/qf_lisharidialogue_0013eb7d.psc +++ b/source/scripts/qf_lisharidialogue_0013eb7d.psc @@ -28,7 +28,7 @@ EndFunction Function Fragment_2() ;BEGIN CODE If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_LISHARI_TAVERN_01") +Steam.UnlockAchievement("END_LISHARI_TAVERN_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/qf_mq10a_0002eba8.psc b/source/scripts/qf_mq10a_0002eba8.psc index be82b66a..4f433663 100644 --- a/source/scripts/qf_mq10a_0002eba8.psc +++ b/source/scripts/qf_mq10a_0002eba8.psc @@ -43,7 +43,7 @@ _00E_MQ10a_Functions kmyQuest = __temp as _00E_MQ10a_Functions ;BEGIN CODE kmyQuest.CleanUp() If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_DREAM_02") +Steam.UnlockAchievement("END_DREAM_02") EndIf ;END CODE EndFunction diff --git a/source/scripts/qf_nq25_0013f536.psc b/source/scripts/qf_nq25_0013f536.psc index d620cbe0..3ba1560b 100644 --- a/source/scripts/qf_nq25_0013f536.psc +++ b/source/scripts/qf_nq25_0013f536.psc @@ -7,7 +7,7 @@ Function Fragment_0() ;BEGIN CODE Levelsystem.GiveEP(3500) If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_BUTCHER_01") +Steam.UnlockAchievement("END_BUTCHER_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/qf_nq26_001469ed.psc b/source/scripts/qf_nq26_001469ed.psc index 7657e65e..86cdd7d1 100644 --- a/source/scripts/qf_nq26_001469ed.psc +++ b/source/scripts/qf_nq26_001469ed.psc @@ -130,7 +130,7 @@ Levelsystem.GiveEP(3000) Game.GetPlayer().AddItem(_00E_NQ26YeraisSchlssel,1) CompleteAllObjectives() If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_HORST_01") +Steam.UnlockAchievement("END_HORST_01") EndIf kmyQuest.ClearPlayerAlias() ;END CODE diff --git a/source/scripts/qf_nq_bounty01_000c3f71.psc b/source/scripts/qf_nq_bounty01_000c3f71.psc index 1d9f88ff..e964f3d7 100644 --- a/source/scripts/qf_nq_bounty01_000c3f71.psc +++ b/source/scripts/qf_nq_bounty01_000c3f71.psc @@ -42,7 +42,7 @@ Levelsystem.GiveEP(250) _00E_BountyCounter.SetValueInt(_00E_BountyCounter.GetValueInt()+1) If _00E_BountyCounter.GetValueInt() == 3 && _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_BOUNTY_01") +Steam.UnlockAchievement("END_BOUNTY_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/qf_nq_bounty02_0011a491.psc b/source/scripts/qf_nq_bounty02_0011a491.psc index eed33cf2..925bdcd7 100644 --- a/source/scripts/qf_nq_bounty02_0011a491.psc +++ b/source/scripts/qf_nq_bounty02_0011a491.psc @@ -99,7 +99,7 @@ Levelsystem.GiveEp(1300) _00E_BountyCounter.SetValueInt(_00E_BountyCounter.GetValueInt()+1) If _00E_BountyCounter.GetValueInt() == 3 && _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_BOUNTY_01") +Steam.UnlockAchievement("END_BOUNTY_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/qf_nq_bounty03_0101c6a8.psc b/source/scripts/qf_nq_bounty03_0101c6a8.psc index 8f907b30..71ae8b24 100644 --- a/source/scripts/qf_nq_bounty03_0101c6a8.psc +++ b/source/scripts/qf_nq_bounty03_0101c6a8.psc @@ -29,7 +29,7 @@ Levelsystem.GiveEp(1300) _00E_BountyCounter.SetValueInt(_00E_BountyCounter.GetValueInt()+1) If _00E_BountyCounter.GetValueInt() == 3 && _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_BOUNTY_01") +Steam.UnlockAchievement("END_BOUNTY_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/qf_nq_g_06_0013cfb7.psc b/source/scripts/qf_nq_g_06_0013cfb7.psc index 048d15ff..01cc3c9c 100644 --- a/source/scripts/qf_nq_g_06_0013cfb7.psc +++ b/source/scripts/qf_nq_g_06_0013cfb7.psc @@ -134,7 +134,7 @@ EndFunction Function Fragment_9() ;BEGIN CODE If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_DIJAAM_NO_BLACKMAIL_01") +Steam.UnlockAchievement("END_DIJAAM_NO_BLACKMAIL_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc b/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc index 30aeb1a6..cb189690 100644 --- a/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc +++ b/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc @@ -74,7 +74,7 @@ EndFunction Function Fragment_29() ;BEGIN CODE If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_COMPLETE_MQ06_01") +Steam.UnlockAchievement("END_COMPLETE_MQ06_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/sf_mq12c_sc03_dream_00134595.psc b/source/scripts/sf_mq12c_sc03_dream_00134595.psc index 56cb757a..65524515 100644 --- a/source/scripts/sf_mq12c_sc03_dream_00134595.psc +++ b/source/scripts/sf_mq12c_sc03_dream_00134595.psc @@ -32,7 +32,7 @@ Function Fragment_2() ;BEGIN CODE GetOwningQuest().SetStage(35) If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_DREAM_03") +Steam.UnlockAchievement("END_DREAM_03") EndIf ;END CODE EndFunction diff --git a/source/scripts/tif__00096686.psc b/source/scripts/tif__00096686.psc index a01bc444..16b6486d 100644 --- a/source/scripts/tif__00096686.psc +++ b/source/scripts/tif__00096686.psc @@ -9,7 +9,7 @@ Actor akSpeaker = akSpeakerRef as Actor NQ02.AddKP(NQ02._00E_MQ11c_Generic_TaharaTopic011) NQ02._00E_MQ11c_Generic_TaharaTopic011 = True If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_SILVERGROVE_01") +Steam.UnlockAchievement("END_SILVERGROVE_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/tif__000ea93c.psc b/source/scripts/tif__000ea93c.psc index b86f578a..8f55f9d3 100644 --- a/source/scripts/tif__000ea93c.psc +++ b/source/scripts/tif__000ea93c.psc @@ -17,7 +17,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE Game.GetPlayer().AddItem(_00E_MQ09_Silverplate, 1) If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_HALFMOON_ISLAND_01") +Steam.UnlockAchievement("END_HALFMOON_ISLAND_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/tif__00136cec.psc b/source/scripts/tif__00136cec.psc index b30824f1..0ecd4626 100644 --- a/source/scripts/tif__00136cec.psc +++ b/source/scripts/tif__00136cec.psc @@ -9,7 +9,7 @@ Actor akSpeaker = akSpeakerRef as Actor GetOwningQuest().SetStage(45) GetOwningQuest().SetObjectiveCompleted(5) If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_STARSHIP_01") +Steam.UnlockAchievement("END_STARSHIP_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/tif__0013cf8c.psc b/source/scripts/tif__0013cf8c.psc index a69e8789..e1fdd7d2 100644 --- a/source/scripts/tif__0013cf8c.psc +++ b/source/scripts/tif__0013cf8c.psc @@ -16,7 +16,7 @@ Function Fragment_2(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_FINDERSKEEPERS_01") +Steam.UnlockAchievement("END_FINDERSKEEPERS_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/tif__0013cf8d.psc b/source/scripts/tif__0013cf8d.psc index ec9745a7..ca353fd0 100644 --- a/source/scripts/tif__0013cf8d.psc +++ b/source/scripts/tif__0013cf8d.psc @@ -16,7 +16,7 @@ Function Fragment_2(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_FINDERSKEEPERS_01") +Steam.UnlockAchievement("END_FINDERSKEEPERS_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/tif__00146f1e.psc b/source/scripts/tif__00146f1e.psc index 0b08088b..9ddc37fe 100644 --- a/source/scripts/tif__00146f1e.psc +++ b/source/scripts/tif__00146f1e.psc @@ -7,7 +7,7 @@ Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_DIJAAM_ESCAPE_01") +Steam.UnlockAchievement("END_DIJAAM_ESCAPE_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/tif__00146f36.psc b/source/scripts/tif__00146f36.psc index 70491651..9ec769e3 100644 --- a/source/scripts/tif__00146f36.psc +++ b/source/scripts/tif__00146f36.psc @@ -8,7 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE GetOwningQuest().SetStage(150) If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_DIJAAM_ESCAPE_01") +Steam.UnlockAchievement("END_DIJAAM_ESCAPE_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/tif__00146f49.psc b/source/scripts/tif__00146f49.psc index d23a64ce..61a6a573 100644 --- a/source/scripts/tif__00146f49.psc +++ b/source/scripts/tif__00146f49.psc @@ -7,7 +7,7 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_DIJAAM_ESCAPE_01") +Steam.UnlockAchievement("END_DIJAAM_ESCAPE_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/tif__0014caaf.psc b/source/scripts/tif__0014caaf.psc index d435dd26..395dd2d9 100644 --- a/source/scripts/tif__0014caaf.psc +++ b/source/scripts/tif__0014caaf.psc @@ -9,7 +9,7 @@ Actor akSpeaker = akSpeakerRef as Actor Levelsystem.GiveEP(250) ArkGenericDialogue.bPlayerHasHadMithConversation = True If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_PRINCE_MITH_01") +Steam.UnlockAchievement("END_PRINCE_MITH_01") EndIf ;END CODE EndFunction diff --git a/source/scripts/tif__0014cac8.psc b/source/scripts/tif__0014cac8.psc index 7fa4c33c..391594bc 100644 --- a/source/scripts/tif__0014cac8.psc +++ b/source/scripts/tif__0014cac8.psc @@ -9,7 +9,7 @@ Actor akSpeaker = akSpeakerRef as Actor Levelsystem.GiveEP(250) ArkGenericDialogue.bPlayerHasHadMithConversation = True If _00E_AchievementsEnabled.GetValueInt() == 1 -Game.UnlockAchievement("END_PRINCE_MITH_01") +Steam.UnlockAchievement("END_PRINCE_MITH_01") EndIf ;END CODE EndFunction