diff --git a/Enderal - Forgotten Stories.esm b/Enderal - Forgotten Stories.esm index b917fb0e..40efdb39 100644 Binary files a/Enderal - Forgotten Stories.esm and b/Enderal - Forgotten Stories.esm differ diff --git a/Skyrim.esm b/Skyrim.esm index 05a9966e..2e7012bb 100644 Binary files a/Skyrim.esm and b/Skyrim.esm differ diff --git a/scripts/_00E_AffinityControl.pex b/scripts/_00E_AffinityControl.pex index 6dc42543..9495cea2 100644 Binary files a/scripts/_00E_AffinityControl.pex and b/scripts/_00E_AffinityControl.pex differ diff --git a/scripts/_00E_SkillControl.pex b/scripts/_00E_SkillControl.pex index f0eaddd5..4af0aad8 100644 Binary files a/scripts/_00E_SkillControl.pex and b/scripts/_00E_SkillControl.pex differ diff --git a/scripts/_00e_a0_banksystemquest.pex b/scripts/_00e_a0_banksystemquest.pex index 64c5526c..d3f8bbbd 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 43179b40..21d4ae09 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 5bd99904..6e65ce8f 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 d8329b07..ab384fa1 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 d4537ed6..45bf66d5 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 e86f2219..a97508f9 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 3cf47d46..ab33289e 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 2ab07b05..8edcd9fd 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 8140574e..f7dd6ffc 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 5ac9f47e..ba64e2cc 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 080a42f8..3fa2ba77 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 776ddee4..29677f63 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 a92fb30c..b727117b 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 5e437558..4225a230 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 6856634a..1d7a281b 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 ee0bdabb..aa9e5e2f 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 f65400bc..b9578f01 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 2c3cc0df..8d16b74b 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 4ee75879..a66cc891 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 66e7ac53..d9dc1c60 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 300d2c05..86781311 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 eab6d90e..e087926b 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 09734119..7d0250b7 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 d947ed09..7f79c22d 100644 Binary files a/scripts/_00e_fs_sleightofhand_hiddenslotsc.pex and b/scripts/_00e_fs_sleightofhand_hiddenslotsc.pex differ diff --git a/scripts/_00e_mq02_functions.pex b/scripts/_00e_mq02_functions.pex index ded535d5..d02f025e 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 52d76c84..5acf0fe5 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 35d45960..38df601d 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 8bf48365..0ef6768f 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 cc359332..a6f1ce08 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 6839a70c..c299d125 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 d32eeaaf..79fb1140 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 8e761d65..e2836323 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 c965f329..3a85a96e 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 696e5f8c..e9fab4ad 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 cf94e693..3218a100 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 92220586..b1e9861e 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 8f4de240..2bcbcc99 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 255e3878..02032eff 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 d3b96a1e..b14f5377 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 221e35a0..3614daa4 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 a6bd1700..07c2112a 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 361c8ecd..adc278ef 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 3cc459e4..d2af6b19 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 c69622d7..229eecc8 100644 Binary files a/scripts/_00e_princemithbooksc.pex and b/scripts/_00e_princemithbooksc.pex differ diff --git a/scripts/_00e_theriantrophist_playeraswerewolf.pex b/scripts/_00e_theriantrophist_playeraswerewolf.pex index caf3107f..b95e1765 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 1ee0c9ff..180f4c4a 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 eaaedb0c..78fdd5bd 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 925cf72e..2d173908 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 5cad5a75..072f8648 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 f81e3699..503f3692 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 ef81a98c..4729fd2a 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 42025b6f..076369e5 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 da4e9794..b9ff18e4 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 5887b9f4..4b976702 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 94b241c4..375300bf 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 f933c061..222084aa 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 c6b8f6e5..ffe2e9a7 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 af76c3da..7adc2317 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 5f3befd0..ce6d508e 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 c848465f..f5637818 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 edf9c272..1b900445 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 dbcc7575..255f50df 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 5b882067..4e248c5e 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 212dd5ab..897dad30 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 4846cf48..bb295c60 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 d7d1cfd7..8b75e508 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 5547d8d1..a0648b79 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 ee32c4c2..22f6ccbd 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 9f956c3d..3eb08fdc 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 f4ce38d7..19e3a4a5 100644 Binary files a/scripts/tif__0013cf8d.pex and b/scripts/tif__0013cf8d.pex differ diff --git a/scripts/tif__0013cfa5.pex b/scripts/tif__0013cfa5.pex index 828cdb90..2d28f315 100644 Binary files a/scripts/tif__0013cfa5.pex and b/scripts/tif__0013cfa5.pex differ diff --git a/scripts/tif__0013cfb3.pex b/scripts/tif__0013cfb3.pex index ac24e6b8..756afd46 100644 Binary files a/scripts/tif__0013cfb3.pex and b/scripts/tif__0013cfb3.pex differ diff --git a/scripts/tif__00146f1e.pex b/scripts/tif__00146f1e.pex index 60a8dc3a..cd093e21 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 81828b46..6542428c 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 af325afb..30ed3725 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 f076a619..cf33bef0 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 e9644c27..5bc904bd 100644 Binary files a/scripts/tif__0014cac8.pex and b/scripts/tif__0014cac8.pex differ diff --git a/source/scripts/_00E_AffinityControl.psc b/source/scripts/_00E_AffinityControl.psc index a2676820..7548ce34 100644 --- a/source/scripts/_00E_AffinityControl.psc +++ b/source/scripts/_00E_AffinityControl.psc @@ -292,14 +292,12 @@ Endfunction Function AddAchievementForAffinityUnlock(int nTotalUnlockedAffinityCount) - If _00E_AchievementsEnabled.GetValueInt() == 1 - If nTotalUnlockedAffinityCount >= 1 - Steam.UnlockAchievement("END_AFFINITY_01") - EndIf - If nTotalUnlockedAffinityCount >= 2 - Steam.UnlockAchievement("END_AFFINITY_02") - EndIf - EndIf + If nTotalUnlockedAffinityCount >= 1 + Steam.UnlockAchievement("END_AFFINITY_01") + EndIf + If nTotalUnlockedAffinityCount >= 2 + Steam.UnlockAchievement("END_AFFINITY_02") + EndIf EndFunction @@ -327,7 +325,7 @@ Function GetPlayerClass() UpdateClassIndices(PerkDistribution) - If _00E_AchievementsEnabled.GetValueInt() == 1 && !bMemoryTreeAchievementUnlocked + If !bMemoryTreeAchievementUnlocked Int[] MaxPerkDistribution = GetMaxPerkDistribution() AddAchievementForFullMemoryTree(PerkDistribution, MaxPerkDistribution) EndIf @@ -569,8 +567,6 @@ Spell Property _00E_FS_Affinity_AbRavager Auto Spell Property _00E_FS_Affinity_AbScourge Auto Spell Property _00E_FS_Affinity_AbSoulcaller Auto -GlobalVariable Property _00E_AchievementsEnabled Auto - Sound Property UIQuestCompleteM Auto Quest Property NQ31 Auto diff --git a/source/scripts/_00E_SkillControl.psc b/source/scripts/_00E_SkillControl.psc index 98543391..2aaeb407 100644 --- a/source/scripts/_00E_SkillControl.psc +++ b/source/scripts/_00E_SkillControl.psc @@ -173,9 +173,7 @@ Function TeachTalent(int iLevel, Shout TaughtTalent, Perk Perk01, Perk Perk02, P TalentPoints.Mod(-1) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_TALENT_BOOK_01") - EndIf + Steam.UnlockAchievement("END_TALENT_BOOK_01") EndFunction @@ -198,7 +196,7 @@ Function ShowSynergyMessage() _00E_Levelsystem_sSynergyDiscovered.Show() _00E_EPHandler.GiveEP(150) - If _00E_AchievementsEnabled.GetValueInt() == 1 && !bUnlockedSynergyAchievement + If !bUnlockedSynergyAchievement Steam.UnlockAchievement("END_SYNERGY_01") bUnlockedSynergyAchievement = true EndIf @@ -243,7 +241,6 @@ FormList Property ManipulationPerks Auto GlobalVariable Property Handwerkspunkte Auto GlobalVariable Property Lernpunkte Auto GlobalVariable Property TalentPoints Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Message Property _00E_Levelsystem_sNoMoreCraftingPoints Auto Message Property _00E_Levelsystem_sNoMoreLearningPoints Auto diff --git a/source/scripts/_00e_a0_banksystemquest.psc b/source/scripts/_00e_a0_banksystemquest.psc index 8f169cba..786cbb32 100644 --- a/source/scripts/_00e_a0_banksystemquest.psc +++ b/source/scripts/_00e_a0_banksystemquest.psc @@ -201,7 +201,7 @@ Event OnUpdateGameTime() if REFdepositBox.GetItemCount(Gold) != 0 RegisterForSingleUpdateGameTime(24) - If !bDoneAchievement && REFdepositBox.GetItemCount(Gold) >= 100000 && _00E_AchievementsEnabled.GetValueInt() == 1 + If !bDoneAchievement && REFdepositBox.GetItemCount(Gold) >= 100000 Steam.UnlockAchievement("END_BANKACCOUNT_01") bDoneAchievement = true EndIf @@ -235,7 +235,6 @@ Sound Property SFXgoldWithdraw Auto GlobalVariable Property GLBcurrent Auto GlobalVariable Property _00E_BankSystem_Beteiligungen Auto -GlobalVariable Property _00E_AchievementsEnabled Auto MiscObject Property Gold Auto ReferenceAlias Property Bankier Auto diff --git a/source/scripts/_00e_altiniathachievementsc.psc b/source/scripts/_00e_altiniathachievementsc.psc index 247cad61..83083ac6 100644 --- a/source/scripts/_00e_altiniathachievementsc.psc +++ b/source/scripts/_00e_altiniathachievementsc.psc @@ -2,11 +2,7 @@ ScriptName _00E_AltIniathAchievementSC extends ObjectReference Event OnTriggerEnter(ObjectReference akActionRef) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_PEAK_01") - EndIf + Steam.UnlockAchievement("END_PEAK_01") self.Disable() EndEvent - -GlobalVariable Property _00E_AchievementsEnabled Auto \ No newline at end of file diff --git a/source/scripts/_00e_ark_specialbreadsc.psc b/source/scripts/_00e_ark_specialbreadsc.psc index 327c49a1..2a603650 100644 --- a/source/scripts/_00e_ark_specialbreadsc.psc +++ b/source/scripts/_00e_ark_specialbreadsc.psc @@ -2,7 +2,7 @@ Scriptname _00E_Ark_SpecialBreadSC extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - if akTarget == Game.GetPlayer() && _00E_Ark_SpecialBread_Achievement.GetValueInt() == 0 && _00E_AchievementsEnabled.GetValueInt() == 1 + if akTarget == Game.GetPlayer() && _00E_Ark_SpecialBread_Achievement.GetValueInt() == 0 Steam.UnlockAchievement("END_BREEEAD_01") @@ -11,4 +11,3 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) EndEvent GlobalVariable Property _00E_Ark_SpecialBread_Achievement Auto -GlobalVariable Property _00E_AchievementsEnabled Auto \ No newline at end of file diff --git a/source/scripts/_00e_cqc05_functions.psc b/source/scripts/_00e_cqc05_functions.psc index c9b29cac..8c32b970 100644 --- a/source/scripts/_00e_cqc05_functions.psc +++ b/source/scripts/_00e_cqc05_functions.psc @@ -258,9 +258,7 @@ Function CompleteAndGiveEP() _00E_EPHandler.GiveEP(__Config_iRewardEXP) SetObjectiveCompleted(5) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_COMPLETE_CALIA_01") - EndIf + Steam.UnlockAchievement("END_COMPLETE_CALIA_01") EndFunction @@ -299,7 +297,6 @@ SoundCategory Property AudioCategorySFX Auto GlobalVariable Property CaliaRomance Auto GlobalVariable Property CaliaFlirtCounter Auto GlobalVariable Property RomanceLockedCalia Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Weapon Property _01E_20Huetergrossschwert Auto diff --git a/source/scripts/_00e_cqc06_functions.psc b/source/scripts/_00e_cqc06_functions.psc index df6395e3..0fa20476 100644 --- a/source/scripts/_00e_cqc06_functions.psc +++ b/source/scripts/_00e_cqc06_functions.psc @@ -128,9 +128,7 @@ Function CompleteAndGiveEP() Utility.Wait(3) _00E_EPHandler.GiveEP(__Config_iRewardEXP) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_ROMANCE_CALIA_01") - EndIf + Steam.UnlockAchievement("END_ROMANCE_CALIA_01") EndFunction @@ -202,5 +200,3 @@ Outfit Property _00E_CQC06_CaliaDanceOutfit Auto ImageSpaceModifier Property FadeToBlackIMOD Auto ImageSpaceModifier Property FadeToBlackHoldIMOD Auto ImageSpaceModifier Property FadeToBlackBackIMOD Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto \ No newline at end of file diff --git a/source/scripts/_00e_cqj05_functions.psc b/source/scripts/_00e_cqj05_functions.psc index efff51ba..e89b1b22 100644 --- a/source/scripts/_00e_cqj05_functions.psc +++ b/source/scripts/_00e_cqj05_functions.psc @@ -156,9 +156,7 @@ Function CompleteAndGiveEP() _00E_EPHandler.GiveEP(__Config_iRewardEXP) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_COMPLETE_JESPAR_01") - EndIf + Steam.UnlockAchievement("END_COMPLETE_JESPAR_01") EndFunction ;===================================================================================== @@ -189,7 +187,6 @@ Idle Property pa_Idle_Kiss_MaleMale Auto Idle Property pa_Idle_Kiss_MaleFemale Auto GlobalVariable Property JesparRomance Auto -GlobalVariable Property _00E_AchievementsEnabled Auto SoundCategory Property AudioCategoryMAG Auto SoundCategory Property AudioCategorySFX Auto diff --git a/source/scripts/_00e_cqj06_functions.psc b/source/scripts/_00e_cqj06_functions.psc index d7ff7ea8..f2142655 100644 --- a/source/scripts/_00e_cqj06_functions.psc +++ b/source/scripts/_00e_cqj06_functions.psc @@ -52,9 +52,7 @@ EndFunction Function GiveEPAndCleanUp() _00E_EPHandler.GiveEP(__Config_iRewardEXP) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_ROMANCE_JESPAR_01") - EndIf + Steam.UnlockAchievement("END_ROMANCE_JESPAR_01") EndFunction @@ -102,5 +100,3 @@ Scene Property CQJ06_SC01_JesparTavernSC Auto ImageSpaceModifier Property FadeToBlackImod Auto ImageSpaceModifier Property FadeToBlackHoldImod Auto ImageSpaceModifier Property FadeToBlackBackImod Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto \ No newline at end of file diff --git a/source/scripts/_00e_diggershollowskywalkeractivatorsc.psc b/source/scripts/_00e_diggershollowskywalkeractivatorsc.psc index 2ce9d848..39d42012 100644 --- a/source/scripts/_00e_diggershollowskywalkeractivatorsc.psc +++ b/source/scripts/_00e_diggershollowskywalkeractivatorsc.psc @@ -6,7 +6,7 @@ Event OnActivate(ObjectReference akActionRef) _00E_DiggersHollowSkywalkerMessage.Show() - If !bUnlockedAchievement && _00E_AchievementsEnabled.GetValueInt() == 1 + If !bUnlockedAchievement Steam.UnlockAchievement("END_LUKE_SKYWALKER_01") bUnlockedAchievement = true EndIf @@ -17,5 +17,4 @@ EndEvent bool bUnlockedAchievement Actor Property PlayerREF Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Message Property _00E_DiggersHollowSkywalkerMessage Auto \ No newline at end of file diff --git a/source/scripts/_00e_dragonachievementsc.psc b/source/scripts/_00e_dragonachievementsc.psc index 64709b49..206900e9 100644 --- a/source/scripts/_00e_dragonachievementsc.psc +++ b/source/scripts/_00e_dragonachievementsc.psc @@ -2,10 +2,6 @@ Scriptname _00E_DragonAchievementSC extends Actor Event OnDeath(Actor akKiller) - If _00E_AchievementsEnabled.getValueInt() == 1 - Steam.UnlockAchievement("END_DRAGON_01") - EndIf + Steam.UnlockAchievement("END_DRAGON_01") EndEvent - -GlobalVariable Property _00E_AchievementsEnabled Auto \ No newline at end of file diff --git a/source/scripts/_00e_eponmagicalsymboldis.psc b/source/scripts/_00e_eponmagicalsymboldis.psc index b1caa06b..8fdcde5b 100644 --- a/source/scripts/_00e_eponmagicalsymboldis.psc +++ b/source/scripts/_00e_eponmagicalsymboldis.psc @@ -25,7 +25,7 @@ Event OnActivate(ObjectReference akActionRef) int EXPBonus = (_00E_MagicalSymbolsGlobalCollected.GetValueInt() * 2) _00E_EPHandler.GiveEp(RewardExp+EXPBonus) - If _00E_MagicalSymbolsGlobalCollected.GetValueInt() == 100 && _00E_AchievementsEnabled.GetValueInt() == 1 + If _00E_MagicalSymbolsGlobalCollected.GetValueInt() == 100 Steam.UnlockAchievement("END_FETCHQUEST_01") EndIf @@ -53,7 +53,6 @@ Int Property RewardExp auto Bool DoOnce = false GlobalVariable Property _00E_MagicalSymbolsGlobalCollected Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Sound Property _00E_MagicalSymbolSound Auto diff --git a/source/scripts/_00e_epupdatefunctions.psc b/source/scripts/_00e_epupdatefunctions.psc index bc70af88..ab40d924 100644 --- a/source/scripts/_00e_epupdatefunctions.psc +++ b/source/scripts/_00e_epupdatefunctions.psc @@ -48,7 +48,7 @@ State RealPlayer _00E_Player_sEPGained_Discovery.Show() receiveEP(40 * delta) - If MapMarkersDiscoveredCounter >= 50 && !bMapMarkersAchievementUnlocked && _00E_AchievementsEnabled.GetValueInt() == 1 + If MapMarkersDiscoveredCounter >= 50 && !bMapMarkersAchievementUnlocked bMapMarkersAchievementUnlocked = True Steam.UnlockAchievement("END_LOCATIONS_01") EndIf @@ -116,7 +116,7 @@ State RealPlayer _00E_Tutorial_EPSystem.ShowAsHelpMessage("Empty", 4.0, 3.0, 1) EndIf - If _00E_OreVeinsMined.GetValueInt() >= 50 && !bOreAchievementUnlocked && _00E_AchievementsEnabled.GetValueInt() == 1 + If _00E_OreVeinsMined.GetValueInt() >= 50 && !bOreAchievementUnlocked bOreAchievementUnlocked = true Steam.UnlockAchievement("END_ORE_01") EndIf @@ -124,13 +124,13 @@ State RealPlayer delta = Game.QueryStat("Quests Completed") - QuestsCompletedCounter if delta > 0 QuestsCompletedCounter += delta - If QuestsCompletedCounter >= 50 && !bDoneQuestCompleted && _00E_AchievementsEnabled.GetValueInt() == 1 + If QuestsCompletedCounter >= 50 && !bDoneQuestCompleted bDoneQuestCompleted = true Steam.UnlockAchievement("END_QUESTS_01") EndIf EndIf - If _00E_RhetorikCounter.GetValueInt() >= 15 && !bRhetoricAchievementUnlocked && _00E_AchievementsEnabled.GetValueInt() == 1 + If _00E_RhetorikCounter.GetValueInt() >= 15 && !bRhetoricAchievementUnlocked bRhetoricAchievementUnlocked = true Steam.UnlockAchievement("END_RHETORIC_01") EndIf @@ -142,7 +142,7 @@ State RealPlayer isdead = True Player.Kill() _00E_Player_sArcaneFever_Death.Show() - If _00E_AchievementsEnabled.GetValueInt() == 1 && !bDoneArcanistsFever + If !bDoneArcanistsFever bDoneArcanistsFever = true Steam.UnlockAchievement("END_ARCANISTS_FEVER_01") EndIf @@ -352,7 +352,6 @@ GlobalVariable Property EXPMultSlope auto GlobalVariable Property SoulsCaught Auto GlobalVariable Property _00E_DisableMenuTutorials Auto GlobalVariable Property _00E_DisableQuestTutorials Auto -GlobalVariable Property _00E_AchievementsEnabled Auto GlobalVariable Property _00E_OreVeinsMined Auto GlobalVariable Property _00E_RhetorikCounter Auto GlobalVariable Property TalentPoints Auto diff --git a/source/scripts/_00e_frozenmescript.psc b/source/scripts/_00e_frozenmescript.psc index 20e89733..e0005a35 100644 --- a/source/scripts/_00e_frozenmescript.psc +++ b/source/scripts/_00e_frozenmescript.psc @@ -152,7 +152,7 @@ Function ShatterEnemy() Utility.Wait(0.5) FrozenActor.SetCriticalStage(FrozenActor.CritStage_DisintegrateEnd) - If _00E_AchievementsEnabled.GetValueInt() == 1 && _00E_FrozenAchievementUnlocked.GetValueInt() == 0 + If _00E_FrozenAchievementUnlocked.GetValueInt() == 0 Steam.UnlockAchievement("END_FROZEN_01") _00E_FrozenAchievementUnlocked.SetValueInt(1) EndIf @@ -198,7 +198,6 @@ Float Property __Config_ShatterChanceOnslaughtSpellBonus = 0.04 AutoReadOnly GlobalVariable Property _00E_Synergy_ArcticWindOnslaught Auto GlobalVariable Property _00E_FrozenAchievementUnlocked Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Spell Property _00E_A1_OnslaughtCloakDMG Auto diff --git a/source/scripts/_00e_fs_mq18c_dreamflowersc.psc b/source/scripts/_00e_fs_mq18c_dreamflowersc.psc index 2466f046..bce5cbbc 100644 --- a/source/scripts/_00e_fs_mq18c_dreamflowersc.psc +++ b/source/scripts/_00e_fs_mq18c_dreamflowersc.psc @@ -24,9 +24,7 @@ Function AddDreamflowerEffect() MAGPowerRacialHitskinM.Play(PlayerREF) _00E_FS_NQ01_EventualityShiftIMOD.Apply() - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_DREAMFLOWER_01") - EndIf + Steam.UnlockAchievement("END_DREAMFLOWER_01") EndFunction @@ -39,7 +37,6 @@ bool Property bCleaned Auto Actor Property PlayerREF Auto GlobalVariable Property _00E_FS_DreamflowerConsumed Auto -GlobalVariable Property _00E_AchievementsEnabled Auto ImageSpaceModifier Property _00E_FS_NQ01_EventualityShiftIMOD Auto diff --git a/source/scripts/_00e_fs_mq18c_functions.psc b/source/scripts/_00e_fs_mq18c_functions.psc index ff9642f3..c16f9d98 100644 --- a/source/scripts/_00e_fs_mq18c_functions.psc +++ b/source/scripts/_00e_fs_mq18c_functions.psc @@ -184,9 +184,7 @@ EndFunction Function ShowCredits() Debug.ToggleMenus() - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_COMPLETE_MQ18C_01") - EndIf + Steam.UnlockAchievement("END_COMPLETE_MQ18C_01") FadeToBlackHoldIMOD.Apply() Utility.Wait(8) Game.PlayBink("Enderal_Credits.bik") @@ -265,7 +263,6 @@ EffectShader Property FireFXShader Auto GlobalVariable Property Timescale Auto GlobalVariable Property MQ17_JesparFinalCompanion Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Scene Property FS_MQ18c_SC01_QyraSC Auto Scene Property FS_MQ18c_SC00_CorpseSC Auto diff --git a/source/scripts/_00e_fs_mysticalspellbooksc.psc b/source/scripts/_00e_fs_mysticalspellbooksc.psc index e815ae9f..ce992643 100644 --- a/source/scripts/_00e_fs_mysticalspellbooksc.psc +++ b/source/scripts/_00e_fs_mysticalspellbooksc.psc @@ -27,7 +27,7 @@ Event OnRead() PlayerREF.AddSpell(spellToTeach, true) UISpellLearnedM.Play(PlayerREF) - If _00E_AchievementsEnabled.GetValueInt() == 1 && _00E_MysticalSpellAchievementUnlocked.GetValueInt() == 0 + If _00E_MysticalSpellAchievementUnlocked.GetValueInt() == 0 Steam.UnlockAchievement("END_MYTHICAL_SPELL_01") _00E_MysticalSpellAchievementUnlocked.SetValueInt(1) EndIf @@ -51,5 +51,4 @@ Message Property _00E_FS_AlreadyKnowMysticalSpellMSG Auto Sound Property UISpellLearnedM Auto Book Property selfRef Auto ;needs property because the objectreference can't be obtained and removed in the inventory Spell Property spellToTeach Auto -GlobalVariable Property _00E_AchievementsEnabled Auto GlobalVariable Property _00E_MysticalSpellAchievementUnlocked Auto \ No newline at end of file diff --git a/source/scripts/_00e_fs_mysticalsymbolsc.psc b/source/scripts/_00e_fs_mysticalsymbolsc.psc index 2a461c84..39ffb6a1 100644 --- a/source/scripts/_00e_fs_mysticalsymbolsc.psc +++ b/source/scripts/_00e_fs_mysticalsymbolsc.psc @@ -24,7 +24,7 @@ Event OnActivate(ObjectReference akActionRef) int EXPBonus = (_00E_FS_MysticalSymbolsGlobalCollected.GetValueInt() * 2) _00E_EPHandler.GiveEp(RewardExp+EXPBonus) - If _00E_FS_MysticalSymbolsGlobalCollected.GetValueInt() == 15 && _00E_AchievementsEnabled.GetValueInt() == 1 + If _00E_FS_MysticalSymbolsGlobalCollected.GetValueInt() == 15 Steam.UnlockAchievement("END_FETCHQUEST_02") EndIf @@ -55,7 +55,6 @@ Bool DoOnce = false GlobalVariable Property _00E_FS_MysticalSymbolsGlobalCollected Auto GlobalVariable Property _00E_FS_MysticalSymbolsGlobalTotal Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Light Property _00E_FS_MysticalSymbolLight Auto diff --git a/source/scripts/_00e_fs_nq01_functions.psc b/source/scripts/_00e_fs_nq01_functions.psc index 7d9ba18f..572d9cea 100644 --- a/source/scripts/_00e_fs_nq01_functions.psc +++ b/source/scripts/_00e_fs_nq01_functions.psc @@ -590,9 +590,7 @@ Function StartSC09() FS_NQ01_SC09_Qyra_02.ForceStart() - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_NAEA_01") - EndIf + Steam.UnlockAchievement("END_NAEA_01") EndFunction @@ -963,7 +961,6 @@ GlobalVariable Property _00E_TeleportGlobal Auto GlobalVariable Property Timescale Auto GlobalVariable Property _00E_FS_NQ01_RespectedYuslansWish Auto GlobalVariable Property _00E_FS_NQ01_YuslanSecretEnding Auto -GlobalVariable Property _00E_AchievementsEnabled Auto ImageSpaceModifier Property FadeToBlackHoldIMOD Auto ImageSpaceModifier Property FadeToBlackIMOD Auto diff --git a/source/scripts/_00e_fs_nq02_functions2.psc b/source/scripts/_00e_fs_nq02_functions2.psc index 9c928977..d3207ed6 100644 --- a/source/scripts/_00e_fs_nq02_functions2.psc +++ b/source/scripts/_00e_fs_nq02_functions2.psc @@ -380,9 +380,7 @@ Function EndEpilog() _00E_EPHandler.GiveEP(3500) Setstage(1030) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_ESME_01") - EndIf + Steam.UnlockAchievement("END_ESME_01") EndFunction @@ -446,7 +444,6 @@ GlobalVariable Property _00E_FS_NQ02_TravelState Auto GlobalVariable Property GameDaysPassed Auto GlobalVariable Property SympathyEsme Auto GlobalVariable Property _00E_FS_NQ02_EsmeMiscTalkVar Auto -GlobalVariable Property _00E_AchievementsEnabled Auto MusicType Property _00E_SilenceLongTransitionHighPriority Auto MusicType Property _00E_FS_NQ02_Music_Theme Auto diff --git a/source/scripts/_00e_fs_nq07_functions.psc b/source/scripts/_00e_fs_nq07_functions.psc index 95a22b6a..5efa766a 100644 --- a/source/scripts/_00e_fs_nq07_functions.psc +++ b/source/scripts/_00e_fs_nq07_functions.psc @@ -231,9 +231,7 @@ Function SummonManfred() _00E_FS_NQ07_FoodCollision003.Disable() _00E_FS_NQ07_FoodCollision004.Disable() - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_MANFRED_01") - EndIf + Steam.UnlockAchievement("END_MANFRED_01") EndFunction Function StartSC04() @@ -590,7 +588,6 @@ Potion Property FoodSweetroll Auto GlobalVariable Property FS_NQ07_HoneyWineBought Auto GlobalVariable Property FS_NQ07_ChickenCooked Auto GlobalVariable Property FS_NQ07_SoupBrewed Auto -GlobalVariable Property _00E_AchievementsEnabled Auto GlobalVariable Property _00E_TeleportGlobal Auto Message Property _00E_FS_NQ07_Thoughts Auto diff --git a/source/scripts/_00e_fs_nq09_functions.psc b/source/scripts/_00e_fs_nq09_functions.psc index 63ca0a04..b8578001 100644 --- a/source/scripts/_00e_fs_nq09_functions.psc +++ b/source/scripts/_00e_fs_nq09_functions.psc @@ -25,9 +25,7 @@ Function FinishUp() _00E_EPHandler.GiveEP(iRewardEXP) Game.GetPlayer().AddItem(_00E_Phasmalist_Soul_Hidden_Tier6, 1) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_APPARITION_02") - EndIf + Steam.UnlockAchievement("END_APPARITION_02") EndFunction @@ -40,4 +38,3 @@ int iRewardEXP = 1000 MiscObject Property _00E_Phasmalist_Soul_Hidden_Tier6 Auto GlobalVariable Property FS_NQ09_SoulsCollected Auto -GlobalVariable Property _00E_AchievementsEnabled Auto \ No newline at end of file diff --git a/source/scripts/_00e_fs_nqr02_functions.psc b/source/scripts/_00e_fs_nqr02_functions.psc index f66e2d31..67de79d6 100644 --- a/source/scripts/_00e_fs_nqr02_functions.psc +++ b/source/scripts/_00e_fs_nqr02_functions.psc @@ -197,12 +197,10 @@ Function FinishUp() FS_TharaelDialogue.SetStage(5) FS_EnvironmentScene04.SetStage(5) - If _00E_AchievementsEnabled.GetValueInt() == 1 - If _00E_FS_NQR02_SparedQalian.GetValueInt() == 0 - Steam.UnlockAchievement("END_QALIAN_01") - Else - Steam.UnlockAchievement("END_QALIAN_02") - EndIf + If _00E_FS_NQR02_SparedQalian.GetValueInt() == 0 + Steam.UnlockAchievement("END_QALIAN_01") + Else + Steam.UnlockAchievement("END_QALIAN_02") EndIf EndFunction @@ -274,4 +272,3 @@ Weapon Property _00E_FS_NQR_TharaelsBow Auto Ammo Property _00E_FS_NQR_TharaelsArrows Auto GlobalVariable Property _00E_FS_NQR02_SparedQalian Auto -GlobalVariable Property _00E_AchievementsEnabled Auto \ No newline at end of file diff --git a/source/scripts/_00e_fs_nqr04_functions.psc b/source/scripts/_00e_fs_nqr04_functions.psc index 1006a221..76dc115b 100644 --- a/source/scripts/_00e_fs_nqr04_functions.psc +++ b/source/scripts/_00e_fs_nqr04_functions.psc @@ -159,9 +159,7 @@ Function UpdateSlotsFound(int iFoundSlot) If CurrentCount >= 3 SetObjectiveCompleted(40) _00E_EPHandler.GiveEP(iSecretSlotsRewardEXP) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_ORPHANAGE_01") - EndIf + Steam.UnlockAchievement("END_ORPHANAGE_01") ElseIf CurrentCount < 3 SetObjectiveCompleted(40,0) @@ -369,7 +367,6 @@ ImageSpaceModifier Property FadeToBlackHoldIMOD Auto ImageSpaceModifier Property FadeToBlackBackIMOD Auto GlobalVariable Property FS_NQR04_SecretSlotsFound Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Outfit Property _00E_FeinlederrstungCowl Auto Outfit Property _00E_FS_NQR_Rhalata_Voice_OutfitMask Auto diff --git a/source/scripts/_00e_fs_nqr05_functions.psc b/source/scripts/_00e_fs_nqr05_functions.psc index 99197280..7db24212 100644 --- a/source/scripts/_00e_fs_nqr05_functions.psc +++ b/source/scripts/_00e_fs_nqr05_functions.psc @@ -1533,9 +1533,7 @@ Function AssumeOwnership() NQ06.SetFatherShadowName() - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_MOUNT_01") - EndIf + Steam.UnlockAchievement("END_MOUNT_01") EndFunction @@ -1781,9 +1779,7 @@ Function TeleportToRefuge() EndIf EndIf - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_THARAEL_NO_SUICIDE_01") - EndIf + Steam.UnlockAchievement("END_THARAEL_NO_SUICIDE_01") Endfunction Function GiveSecretReward() @@ -1952,7 +1948,6 @@ GlobalVariable Property _00E_FS_NQR05_SecretRewardTaken Auto GlobalVariable Property _00E_FS_NQR05_TharaelTrickedByFather Auto GlobalVariable Property _00E_FS_NQR05_TharaelInFrostCliff Auto GlobalVariable Property FS_NQR05_SC19_LethoKilled Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Explosion Property FXDragonPriestSmallExplosion Auto Explosion Property TG08BShockwaveExplosion Auto diff --git a/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc b/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc index 8f32ed01..0c84c6f7 100644 --- a/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc +++ b/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc @@ -51,7 +51,7 @@ Function OpenHiddenSlot() UIEnchantingLearnEffectM.Play(PlayerREF) _00E_EPHandler.GiveEP(iRewardEXPBigSlot) - If _00E_HiddenSlotAchievementUnlocked.GetValueInt() == 0 && _00E_AchievementsEnabled.GetValueInt() == 1 + If _00E_HiddenSlotAchievementUnlocked.GetValueInt() == 0 _00E_HiddenSlotAchievementUnlocked.SetValueInt(1) Steam.UnlockAchievement("END_HIDDEN_SLOT_01") EndIf @@ -256,7 +256,6 @@ Actor Property PlayerREF Auto GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto GlobalVariable Property PlayerLevel Auto -GlobalVariable Property _00E_AchievementsEnabled Auto GlobalVariable Property _00E_HiddenSlotAchievementUnlocked Auto ; These REFs simply provide the containers that will be filled when finding a secret slot diff --git a/source/scripts/_00e_mq02_functions.psc b/source/scripts/_00e_mq02_functions.psc index ac5e7e09..a1cd219b 100644 --- a/source/scripts/_00e_mq02_functions.psc +++ b/source/scripts/_00e_mq02_functions.psc @@ -380,7 +380,7 @@ Function TryToInsertStick(ObjectReference ActivatorREF) MQ02_Puzzle_DoorREF.Activate(ActivatorREF as objectReference) SetStage(80) - If _00E_MQ02_Riddle_IsThisTheFirstRun.GetValueInt() == 1 && _00E_AchievementsEnabled.GetValueInt() == 1 + If _00E_MQ02_Riddle_IsThisTheFirstRun.GetValueInt() == 1 Steam.UnlockAchievement("END_STARLING_PUZZLE_01") _00E_MQ02_Riddle_IsThisTheFirstRun.SetValueInt(0) EndIf @@ -528,7 +528,6 @@ GlobalVariable Property GameHour Auto GlobalVariable Property _00E_DisableQuestTutorials Auto GlobalVariable Property _00E_MQ02Riddle Auto GlobalVariable Property _00E_MQ02_Riddle_IsThisTheFirstRun Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Topic Property MQ02_SC2_JesparDoItAgainTopic Auto diff --git a/source/scripts/_00e_mq07a_functions.psc b/source/scripts/_00e_mq07a_functions.psc index de883e41..44c08349 100644 --- a/source/scripts/_00e_mq07a_functions.psc +++ b/source/scripts/_00e_mq07a_functions.psc @@ -831,9 +831,7 @@ Function CompleteMQ07a() MQ07.SetObjectiveCompleted(10) Self.CompleteQuest() - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_WORD_OF_THE_DEAD_01") - EndIf + Steam.UnlockAchievement("END_WORD_OF_THE_DEAD_01") EndFunction @@ -1139,7 +1137,6 @@ GlobalVariable Property MQ07a_EnemiesLeft Auto GlobalVariable Property MQ07a_CurrentWave Auto GlobalVariable Property _00E_TeleportGlobal Auto GlobalVariable Property CompanionIsTalking Auto -GlobalVariable Property _00E_AchievementsEnabled Auto GlobalVariable Property _00E_FS_Theriantrophist_AllowTemporaryTransform Auto Formlist Property MQ07a_SC14_FurnitureToDisable Auto \ No newline at end of file diff --git a/source/scripts/_00e_mq07b_questfunctions.psc b/source/scripts/_00e_mq07b_questfunctions.psc index d0fb3315..ffc3b700 100644 --- a/source/scripts/_00e_mq07b_questfunctions.psc +++ b/source/scripts/_00e_mq07b_questfunctions.psc @@ -498,9 +498,7 @@ Function FinishQuest() CQC02.SetStage(5) EndIf - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_PROTO_BEACON_01") - EndIf + Steam.UnlockAchievement("END_PROTO_BEACON_01") EndFunction @@ -616,7 +614,6 @@ GlobalVariable Property Counter Auto GlobalVariable Property _00E_TeleportGlobal Auto GlobalVariable Property _00E_MQ07b_HallysFree Auto GlobalVariable Property CompanionIsTalking Auto -GlobalVariable Property _00E_AchievementsEnabled Auto EffectShader Property _00E_QuestshaderRed Auto EffectShader Property _00E_MC_CaliaItFXS Auto diff --git a/source/scripts/_00e_mq11c_functions.psc b/source/scripts/_00e_mq11c_functions.psc index 0df49274..7da1acc9 100644 --- a/source/scripts/_00e_mq11c_functions.psc +++ b/source/scripts/_00e_mq11c_functions.psc @@ -299,7 +299,7 @@ Function GiveEPForButterflies() _00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(Ryneus.GetActorReference(), iSympathyCount) - If PlayerREF.GetItemCount(_00E_MQ11cSchmetterling) >= 15 && _00E_AchievementsEnabled.GetValueInt() == 1 + If PlayerREF.GetItemCount(_00E_MQ11cSchmetterling) >= 15 Steam.UnlockAchievement("END_BUTTERFLIES_01") EndIf @@ -480,9 +480,7 @@ Function SetUpRealSilvergrove() if (_00E_MQ11c_RyneusPeacefulSolution.GetValueInt() == 1) MQ11c.SetObjectiveDisplayed(105) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_RYNEUS_SILVERGROVE_01") - EndIf + Steam.UnlockAchievement("END_RYNEUS_SILVERGROVE_01") Else MQ11c.SetObjectiveDisplayed(110) EndIf @@ -821,7 +819,6 @@ GlobalVariable Property _00E_MQ11c_Sphere_HitsLandedEOTS Auto GlobalVariable Property _00E_MQ11c_RyneusPeacefulSolution Auto GlobalVariable Property _00E_MQ11c_SilberhainDeadWeather Auto GlobalVariable Property _00E_MQ11c_RyneusBuried Auto -GlobalVariable Property _00E_AchievementsEnabled Auto GlobalVariable Property GameHour Auto GLobalVariable Property Timescale Auto float TimescaleDefault = 10.0 diff --git a/source/scripts/_00e_mq11c_minigameshootingsphere_hit.psc b/source/scripts/_00e_mq11c_minigameshootingsphere_hit.psc index c19d2ee0..901df5e8 100644 --- a/source/scripts/_00e_mq11c_minigameshootingsphere_hit.psc +++ b/source/scripts/_00e_mq11c_minigameshootingsphere_hit.psc @@ -31,7 +31,7 @@ if akAggressor == PlayerREF && akSource.HasKeyword(WeapTypeBow) && (GameRunning Ryneus.GetActorReference().Say(MQ11c_D8_MinigameDialoguesHit) EndIf - If _00E_MQ11c_Sphere_HitsLanded.GetValueInt() == 10 && !bDone && _00E_AchievementsEnabled.GetValueInt() == 1 + If _00E_MQ11c_Sphere_HitsLanded.GetValueInt() == 10 && !bDone Steam.UnlockAchievement("END_STARLINGSPHERE_01") bDone = true EndIf @@ -64,7 +64,6 @@ Message Property _00E_MQ11c_sMinigameShootingSphereHit Auto GlobalVariable Property _00E_MQ11c_Sphere_GameRunning Auto GlobalVariable Property _00E_MQ11c_Sphere_HitsLanded Auto GlobalVariable Property _00E_MQ11c_Sphere_HitsLandedEOTS Auto -GlobalVariable Property _00E_AchievementsEnabled Auto ImpactDataSet Property PHYGenericMetalMediumImpactSet Auto ; Extra global for the special ability "Eye of the storm" that slows down time and would thus enable to exploit the EXP mechanic diff --git a/source/scripts/_00e_mq12a_functions.psc b/source/scripts/_00e_mq12a_functions.psc index a22c7226..7be14952 100644 --- a/source/scripts/_00e_mq12a_functions.psc +++ b/source/scripts/_00e_mq12a_functions.psc @@ -161,9 +161,7 @@ Function FinishQuestAndStartMQ12b() MQ12a_SC3_BlackStone03.EnableNoWait() _00E_MQ12a_BeaconMagicREF.EnableNoWait() - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_BLACK_STONES_01") - EndIf + Steam.UnlockAchievement("END_BLACK_STONES_01") ;added in FS If FS_NQ03 == NONE @@ -234,7 +232,6 @@ ImageSpaceModifier Property _00E_MQ12a_ActivateBeaconIMOD Auto GlobalVariable Property MQ12a_BlackStonesInserted Auto GlobalVariable Property _00E_TeleportGlobal Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Spell Property _00E_Ability_StaggerSelfSpell Auto diff --git a/source/scripts/_00e_mq12b_functions.psc b/source/scripts/_00e_mq12b_functions.psc index f11fa272..ce1b23c2 100644 --- a/source/scripts/_00e_mq12b_functions.psc +++ b/source/scripts/_00e_mq12b_functions.psc @@ -939,9 +939,7 @@ Function CompleteQuestAndStartMQ12c() GoToState("Aftermath") RegisterForSingleUpdateGameTime(24) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_SIEGE_01") - EndIf + Steam.UnlockAchievement("END_SIEGE_01") EndFunction @@ -1141,7 +1139,6 @@ GlobalVariable Property _00E_TeleportGlobal Auto GlobalVariable Property MQ12b_ArkUnderAttack Auto GlobalVariable Property GameHour Auto GlobalVariable Property TimeScale Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Outfit Property _25E_HolyOrder_WardenOutfit Auto diff --git a/source/scripts/_00e_mq17_functions.psc b/source/scripts/_00e_mq17_functions.psc index 0346cddd..04f508a9 100644 --- a/source/scripts/_00e_mq17_functions.psc +++ b/source/scripts/_00e_mq17_functions.psc @@ -452,10 +452,7 @@ Function DestroyBlackGuardian() SetObjectiveDisplayed(18) _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanion, False) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_BLACK_GUARDIAN_01") - EndIf - + Steam.UnlockAchievement("END_BLACK_GUARDIAN_01") EndFunction @@ -1070,7 +1067,6 @@ GlobalVariable Property MQ17_BlackGuardianIsTalking Auto GlobalVariable Property _00E_FS_DreamflowerConsumed Auto GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto GlobalVariable Property _00E_VideoSkip Auto -GlobalVariable Property _00E_AchievementsEnabled Auto ImageSpaceModifier Property _00E_MQ16_VisionIMOD Auto ImageSpaceModifier Property _00E_MQ17_SC06_TransformConsciousnessIMOD Auto diff --git a/source/scripts/_00e_mq18a_functions.psc b/source/scripts/_00e_mq18a_functions.psc index bff70007..78fa769a 100644 --- a/source/scripts/_00e_mq18a_functions.psc +++ b/source/scripts/_00e_mq18a_functions.psc @@ -107,9 +107,7 @@ EndFunction Function ShowCredits() Debug.ToggleMenus() - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_COMPLETE_MQ18A_01") - EndIf + Steam.UnlockAchievement("END_COMPLETE_MQ18A_01") FadeToBlackHoldIMOD.Apply() Wait(8) Game.PlayBink("Enderal_Credits.bik") @@ -145,8 +143,6 @@ Sound Property MAGConjurePortalClose Auto Message Property _00E_Game_PostCreditsMessage Auto -GlobalVariable Property _00E_AchievementsEnabled Auto - ReferenceAlias Property Companion Auto Idle Property TG05_Knockout Auto diff --git a/source/scripts/_00e_mq18b_functions.psc b/source/scripts/_00e_mq18b_functions.psc index 34f9e617..8adfbe42 100644 --- a/source/scripts/_00e_mq18b_functions.psc +++ b/source/scripts/_00e_mq18b_functions.psc @@ -29,9 +29,7 @@ Function FadeOut() FadeToWhiteHoldIMOD.ApplyCrossFade(afFadeDuration = 3) Utility.Wait(6) Debug.ToggleMenus() - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_COMPLETE_MQ18B_01") - EndIf + Steam.UnlockAchievement("END_COMPLETE_MQ18B_01") Debug.ToggleCollisions() Game.PlayBink("Enderal_Credits.bik") FadeToWhiteHoldIMOD.Remove() @@ -130,8 +128,6 @@ Actor Property _00E_MC_JesparREF Auto Message Property _00E_Game_PostCreditsMessage Auto -GlobalVariable Property _00E_AchievementsEnabled Auto - ReferenceAlias Property Companion Auto ImageSpaceModifier Property FadeToWhiteBackIMOD Auto diff --git a/source/scripts/_00e_mqp01_functions.psc b/source/scripts/_00e_mqp01_functions.psc index 3dc2b4cf..f4e06b16 100644 --- a/source/scripts/_00e_mqp01_functions.psc +++ b/source/scripts/_00e_mqp01_functions.psc @@ -191,9 +191,7 @@ Function PlayIntroAndMovePlayerToShip() Sound.StopInstance(FireSound) BFXFireImod.Remove() Wait(7.8) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_COMPLETE_MQP01_01") - EndIf + Steam.UnlockAchievement("END_COMPLETE_MQP01_01") If _00E_VideoSkip.GetValueInt() == 0 Game.PlayBink("EnderalIntro.bik", true, true, true, true) EndIf @@ -305,7 +303,6 @@ Quest Property MQP02 Auto GlobalVariable Property Timescale Auto GlobalVariable Property GameHour Auto GlobalVariable Property _00E_VideoSkip Auto -GlobalVariable Property _00E_AchievementsEnabled Auto ImageSpaceModifier Property FadeToBlackHoldIMOD Auto ImageSpaceModifier Property FadeToBlackBackImod Auto diff --git a/source/scripts/_00e_myradsystem02.psc b/source/scripts/_00e_myradsystem02.psc index 9bf9f47b..7548d6a1 100644 --- a/source/scripts/_00e_myradsystem02.psc +++ b/source/scripts/_00e_myradsystem02.psc @@ -131,7 +131,7 @@ Function PortPlayer(ObjectReference Destination) MyradFligthCounter += 1 - If _00E_AchievementsEnabled.GetValueInt() == 1 && MyradFligthCounter == 20 + If MyradFligthCounter == 20 Steam.UnlockAchievement("END_MYRAD_01") EndIf @@ -145,7 +145,6 @@ bool bDone int MyradFligthCounter = 0 GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Quest Property MQ04 Auto diff --git a/source/scripts/_00e_nq02_newhorizons_library.psc b/source/scripts/_00e_nq02_newhorizons_library.psc index ea7c311f..e0273eae 100644 --- a/source/scripts/_00e_nq02_newhorizons_library.psc +++ b/source/scripts/_00e_nq02_newhorizons_library.psc @@ -85,9 +85,7 @@ Function FinishUp() _00E_EPHandler.GiveEP(1500) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_KNOWLEDGE_01") - EndIf + Steam.UnlockAchievement("END_KNOWLEDGE_01") EndFunction @@ -103,7 +101,6 @@ EndFunction Actor Property PlayerREF Auto GlobalVariable Property _00E_NQ02_KnowledgeGathered Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Message Property _00E_NQ02_sKnowledgeBuffGained Auto diff --git a/source/scripts/_00e_nq03_skullspheresc.psc b/source/scripts/_00e_nq03_skullspheresc.psc index 9d63f5d8..ca638c19 100644 --- a/source/scripts/_00e_nq03_skullspheresc.psc +++ b/source/scripts/_00e_nq03_skullspheresc.psc @@ -19,9 +19,7 @@ Event OnActivate(ObjectReference akActionRef) _00E_MQP03_sLearningPointGained.Show(2) Utility.Wait(2) AlchArmorMagickaFXS.Stop(PlayerREF) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_MASTER_SKULL_01") - EndIf + Steam.UnlockAchievement("END_MASTER_SKULL_01") Self.Delete() EndIf Else @@ -51,6 +49,5 @@ Message Property _00E_MQ07_sWaitUntilNightfall Auto GlobalVariable Property GameHour Auto GlobalVariable Property Lernpunkte Auto -GlobalVariable Property _00E_AchievementsEnabled Auto ImageSpaceModifier Property FadeToBlackAndBackIMOD Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq24_playerhousing_functions.psc b/source/scripts/_00e_nq24_playerhousing_functions.psc index f95239a4..30e03c6d 100644 --- a/source/scripts/_00e_nq24_playerhousing_functions.psc +++ b/source/scripts/_00e_nq24_playerhousing_functions.psc @@ -7,9 +7,7 @@ scriptName _00E_NQ24_Playerhousing_Functions extends Quest function FinishQuest() _00E_EPHandler.GiveEP(__Config_RewardEXP) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_HOME_01") - EndIf + Steam.UnlockAchievement("END_HOME_01") endFunction @@ -24,5 +22,3 @@ EndFunction ;===================================================================================== Int property __Config_RewardEXP = 250 auto - -GlobalVariable Property _00E_AchievementsEnabled Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq29_functions.psc b/source/scripts/_00e_nq29_functions.psc index c78c6713..ab2046fc 100644 --- a/source/scripts/_00e_nq29_functions.psc +++ b/source/scripts/_00e_nq29_functions.psc @@ -62,9 +62,7 @@ EndEvent Function Finish() _00E_EPHandler.GiveEP(5000) - If _00E_AchievementsEnabled.getValueInt() == 1 - Steam.UnlockAchievement("END_MYTHS_01") - EndIf + Steam.UnlockAchievement("END_MYTHS_01") EndFunction @@ -78,8 +76,6 @@ Actor Property NQ29_Boss_AshWidow_REF Auto Explosion Property FireballStormAlduinDeathExplosion Auto Explosion Property FireStormExplosion02 Auto -GlobalVariable Property _00E_AchievementsEnabled Auto - Sound Property _00E_MQ11a_MagicAnomalyScreamAM Auto Weather Property SkyrimDA02Weather Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq_g_04_functions.psc b/source/scripts/_00e_nq_g_04_functions.psc index ec2e16da..fffa1fb2 100644 --- a/source/scripts/_00e_nq_g_04_functions.psc +++ b/source/scripts/_00e_nq_g_04_functions.psc @@ -16,11 +16,8 @@ Function DuulToggleGhost() EndFunction Function RemoveContract() - PlayerREF.RemoveItem(_00E_NQ_G_04_GoldenSickleContract) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_PROTECTOR_01") - EndIf + Steam.UnlockAchievement("END_PROTECTOR_01") EndFunction Function GiveLetter() @@ -181,5 +178,3 @@ ObjectReference Property _00E_NQ_G_04_DijaamTeleportToTavernMarker Auto ;for guild rank, called by TIF__00139D66 Faction Property ArkHaendlergilde Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq_g_06_functions.psc b/source/scripts/_00e_nq_g_06_functions.psc index 33518966..c5e2460b 100644 --- a/source/scripts/_00e_nq_g_06_functions.psc +++ b/source/scripts/_00e_nq_g_06_functions.psc @@ -67,9 +67,7 @@ Function SideWithDijaam() _00E_NQ_G_SidedDijaam.SetValue(1) _00E_NQ_G_SidedMael.SetValue(0) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_SIDED_DIJAAM_01") - EndIf + Steam.UnlockAchievement("END_SIDED_DIJAAM_01") EndFunction Function SideWithMael() @@ -77,9 +75,7 @@ Function SideWithMael() _00E_NQ_G_SidedMael.SetValue(1) _00E_NQ_G_SidedDijaam.SetValue(0) - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_SIDED_MAEL_01") - EndIf + Steam.UnlockAchievement("END_SIDED_MAEL_01") EndFunction @@ -311,7 +307,6 @@ Static Property XMarkerHeading Auto GlobalVariable Property _00E_NQ_G_SidedDijaam Auto GlobalVariable Property _00E_NQ_G_SidedMael Auto GlobalVariable Property NQG06_ReadyToSpawn Auto -GlobalVariable Property _00E_AchievementsEnabled Auto ;marker ObjectReference Property _00E_NQ_G_06_ProtektorStandMarker Auto diff --git a/source/scripts/_00e_placeablegrammophonplay.psc b/source/scripts/_00e_placeablegrammophonplay.psc index 1b2dec26..c0c7c826 100644 --- a/source/scripts/_00e_placeablegrammophonplay.psc +++ b/source/scripts/_00e_placeablegrammophonplay.psc @@ -3,7 +3,6 @@ Scriptname _00E_PlaceableGrammophonPlay extends ObjectReference Sound Property _00E_MUS_Placeable_Koppophon Auto MusicType Property _00E_SilenceTransitionHighPriority Auto ; OBSOLETE. Left for version update on older saves. MusicType Property _00E_SilenceKoppophon Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Message Property _00E_PlayerhousingKoppophonVolume Auto Actor Property PlayerREF Auto @@ -86,7 +85,7 @@ Event OnActivate(ObjectReference triggerRef) _00E_PlayerhousingKoppophonVolume.Show(volume * 100.0) - If _00E_AchievementsEnabled.GetValueInt() == 1 && (bDone == False) + If bDone == False bDone = True Steam.UnlockAchievement("END_KOPPOPHON_01") EndIf diff --git a/source/scripts/_00e_princemithbooksc.psc b/source/scripts/_00e_princemithbooksc.psc index c5559e18..2053a6cf 100644 --- a/source/scripts/_00e_princemithbooksc.psc +++ b/source/scripts/_00e_princemithbooksc.psc @@ -2,12 +2,11 @@ Scriptname _00E_PrinceMithBookSC extends ObjectReference Event OnRead() - If _00E_AchievementsEnabled.getValueInt() == 1 && _00E_PrinzMithAchievement02Unlocked.GetValueInt() == 0 + If _00E_PrinzMithAchievement02Unlocked.GetValueInt() == 0 Steam.UnlockAchievement("END_PRINCE_MITH_02") _00E_PrinzMithAchievement02Unlocked.SetValueInt(1) EndIf EndEvent -GlobalVariable Property _00E_AchievementsEnabled Auto -GlobalVariable Property _00E_PrinzMithAchievement02Unlocked Auto \ No newline at end of file +GlobalVariable Property _00E_PrinzMithAchievement02Unlocked Auto diff --git a/source/scripts/_00e_theriantrophist_playeraswerewolf.psc b/source/scripts/_00e_theriantrophist_playeraswerewolf.psc index 739f4657..fbf8a312 100644 --- a/source/scripts/_00e_theriantrophist_playeraswerewolf.psc +++ b/source/scripts/_00e_theriantrophist_playeraswerewolf.psc @@ -59,7 +59,6 @@ Quest Property FS_NQ11 Auto float fPlayerScale = 1.0 ; Achievement -GlobalVariable Property _00E_AchievementsEnabled Auto bool bTransformAchievementUnlocked = false ; Balancing data @@ -111,7 +110,7 @@ Function Transform(int duration) gotoState("Transfomed") _TeachTransformBackTalent() - If !bTransformAchievementUnlocked && _00E_AchievementsEnabled.GetValueInt() == 1 + If !bTransformAchievementUnlocked bTransformAchievementUnlocked = true Steam.UnlockAchievement("END_WEREWOLF_01") EndIf diff --git a/source/scripts/_00e_wearesorrysc.psc b/source/scripts/_00e_wearesorrysc.psc index 93ffddc4..b35ce480 100644 --- a/source/scripts/_00e_wearesorrysc.psc +++ b/source/scripts/_00e_wearesorrysc.psc @@ -2,7 +2,7 @@ Scriptname _00E_WeAreSorrySC extends ObjectReference Event OnRead() - If _00E_AchievementsEnabled.getValueInt() == 1 && !bDone + If !bDone Steam.UnlockAchievement("END_ARROW_01") bDone = true EndIf @@ -10,4 +10,3 @@ Event OnRead() EndEvent bool bDone = false -GlobalVariable Property _00E_AchievementsEnabled Auto \ No newline at end of file diff --git a/source/scripts/_00e_whatwedeserveachievementsc.psc b/source/scripts/_00e_whatwedeserveachievementsc.psc index dc5f9b6d..4dbebd46 100644 --- a/source/scripts/_00e_whatwedeserveachievementsc.psc +++ b/source/scripts/_00e_whatwedeserveachievementsc.psc @@ -2,7 +2,7 @@ Scriptname _00E_WhatWeDeserveAchievementSC extends Actor Event OnActivate(ObjectReference akActionRef) - If akActionRef == PlayerREF && _00E_AchievementsEnabled.GetValueInt() == 1 && !bDone + If akActionRef == PlayerREF && !bDone Steam.UnlockAchievement("END_ROCIO_01") bDone = true EndIf @@ -10,5 +10,4 @@ Event OnActivate(ObjectReference akActionRef) EndEvent Actor Property PlayerREF Auto -GlobalVariable Property _00E_AchievementsEnabled Auto -bool bDone = false \ No newline at end of file +bool bDone = false diff --git a/source/scripts/_fs_phasmalist_controlquest.psc b/source/scripts/_fs_phasmalist_controlquest.psc index 0db8dab2..717f1ca4 100644 --- a/source/scripts/_fs_phasmalist_controlquest.psc +++ b/source/scripts/_fs_phasmalist_controlquest.psc @@ -15,7 +15,6 @@ WordofPower Property _00E_A3_Phasmalist_MoveApparationToPlayer1 Auto MiscObject Property _00E_UpdateInventoryItem auto MiscObject Property _00E_Phasmalist_Invis_EnchantmentRequirement Auto -GlobalVariable Property _00E_AchievementsEnabled Auto GlobalVariable Property _00E_PhasmalistAchievementUnlocked Auto GlobalVariable Property _00E_Phasmalist_TankMode Auto @@ -107,7 +106,7 @@ Function OnPlayerTrinketCreated() FS_NQ08.setStage(15) EndIf - If _00E_AchievementsEnabled.GetValueInt() == 1 && _00E_PhasmalistAchievementUnlocked.GetValueInt() == 0 + If _00E_PhasmalistAchievementUnlocked.GetValueInt() == 0 _00E_PhasmalistAchievementUnlocked.SetValueInt(1) Steam.UnlockAchievement("END_APPARITION_01") EndIf diff --git a/source/scripts/_sag_activ_diceblackjackmainsscript.psc b/source/scripts/_sag_activ_diceblackjackmainsscript.psc index 0ed88ef7..380084dc 100644 --- a/source/scripts/_sag_activ_diceblackjackmainsscript.psc +++ b/source/scripts/_sag_activ_diceblackjackmainsscript.psc @@ -124,7 +124,7 @@ Function PlayerTurn() PlayAgain() elseif PlayerScore == MaxScore _SAG_Activ_BJ_Victories.Value += 1 - If _SAG_Activ_BJ_Victories.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 + If _SAG_Activ_BJ_Victories.GetValueInt() == 10 Steam.UnlockAchievement("END_DICEGOD_01") EndIf _SAG_Activ_BJ_GoldWon.Value += PLayerBet *2 @@ -156,7 +156,7 @@ Function PlayerTurn() PlayAgain() elseif OpponentScore < PlayerScore _SAG_Activ_BJ_Victories.Value += 1 - If _SAG_Activ_BJ_Victories.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 + If _SAG_Activ_BJ_Victories.GetValueInt() == 10 Steam.UnlockAchievement("END_DICEGOD_01") EndIf _SAG_Activ_BJ_GoldWon.Value += PLayerBet @@ -189,7 +189,7 @@ Function OpponentTurn() if OpponentScore > MaxScore _SAG_Activ_BJ_Victories.Value += 1 - If _SAG_Activ_BJ_Victories.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 + If _SAG_Activ_BJ_Victories.GetValueInt() == 10 Steam.UnlockAchievement("END_DICEGOD_01") EndIf _SAG_Activ_BJ_GoldWon.Value += PlayerBet *2 @@ -227,7 +227,7 @@ Function OpponentTurn() else if PlayerPlayed && PlayerScore > OpponentScore _SAG_Activ_BJ_Victories.Value += 1 - If _SAG_Activ_BJ_Victories.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 + If _SAG_Activ_BJ_Victories.GetValueInt() == 10 Steam.UnlockAchievement("END_DICEGOD_01") EndIf _SAG_Activ_BJ_GoldWon.Value += PlayerBet @@ -327,7 +327,6 @@ GlobalVariable Property _SAG_Activ_BJ_Fails Auto GlobalVariable Property _SAG_Activ_BJ_GoldLost Auto GlobalVariable Property _SAG_Activ_BJ_GoldWon Auto GlobalVariable Property _SAG_Activ_BJ_Victories Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Message Property PlaceYourBet Auto String s_chargeninitialtext diff --git a/source/scripts/_sag_dicesgame_mainscript.psc b/source/scripts/_sag_dicesgame_mainscript.psc index aeb39e89..2c4403c2 100644 --- a/source/scripts/_sag_dicesgame_mainscript.psc +++ b/source/scripts/_sag_dicesgame_mainscript.psc @@ -6,7 +6,6 @@ GlobalVariable Property _SAG_ProphDiceLostGames Auto GlobalVariable Property _SAG_ProphDiceWonGames Auto GlobalVariable Property _SAG_ProphDiceLostGold Auto GlobalVariable Property _SAG_ProphDiceWonGold Auto -GlobalVariable Property _00E_AchievementsEnabled Auto Actor Property Commentator Auto ReferenceAlias Property Opponent Auto @@ -140,7 +139,7 @@ Function PlayerWon() _SAG_ProphDiceWonGames.Value += 1 _SAG_ProphDiceWonGold.Value += playerbet - If _SAG_ProphDiceWonGames.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 + If _SAG_ProphDiceWonGames.GetValueInt() == 10 Steam.UnlockAchievement("END_DICEGOD_01") EndIf diff --git a/source/scripts/_sag_playcards_mainscript.psc b/source/scripts/_sag_playcards_mainscript.psc index 487ede71..8ae847ba 100644 --- a/source/scripts/_sag_playcards_mainscript.psc +++ b/source/scripts/_sag_playcards_mainscript.psc @@ -167,7 +167,7 @@ Function Step04() ; check who won WonBets.Value += GlobalBet Commentator.Say(GenericDialogue_Gambling_PlayerWonTopic) - If Wongames.GetValueInt() == 10 && _00E_AchievementsEnabled.GetValueInt() == 1 + If Wongames.GetValueInt() == 10 Steam.UnlockAchievement("END_CARDSHARK_01") EndIf @@ -476,7 +476,6 @@ GlobalVariable Property WonGames Auto GlobalVariable Property LostGames Auto GlobalVariable Property LostBets Auto GlobalVariable Property WonBets Auto -GlobalVariable Property _00E_AchievementsEnabled Auto ReferenceAlias Property OpponentShoutThief Auto ReferenceAlias Property Opponent Auto diff --git a/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc b/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc index d04e3a03..6bd2ea93 100644 --- a/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc +++ b/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc @@ -53,9 +53,7 @@ EndFunction Function Fragment_0() ;BEGIN CODE CompleteAllObjectives() -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_EGGS_01") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -92,5 +90,3 @@ EndFunction MiscObject Property Gold Auto Ingredient Property Raubvogelei Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf__00e_nq06_freda_000725ba.psc b/source/scripts/qf__00e_nq06_freda_000725ba.psc index 757e057c..96de1eaa 100644 --- a/source/scripts/qf__00e_nq06_freda_000725ba.psc +++ b/source/scripts/qf__00e_nq06_freda_000725ba.psc @@ -71,9 +71,7 @@ Alias_Bonni.GetActorReference().SetFactionRank(PlayerHorseFaction, 1) Alias_Bonni.GetActorReference().SetFactionOwner(PlayerFaction) kmyQuest.SetMuleName() kmyQuest.AddHorseFlute() -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_WHIRLWIND_01") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -131,5 +129,3 @@ Faction Property PlayerHorseFaction Auto Scene Property NQ06_SC1 Auto Scene Property NQ06_SC2 Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf_fs_nq05_0101c82f.psc b/source/scripts/qf_fs_nq05_0101c82f.psc index 7df3279e..66d4e992 100644 --- a/source/scripts/qf_fs_nq05_0101c82f.psc +++ b/source/scripts/qf_fs_nq05_0101c82f.psc @@ -80,9 +80,7 @@ Function Fragment_37() ;BEGIN CODE SetObjectiveCompleted(90) ;hier ist Ende 2 (Tochter tot) -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_MIRELL_02") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -92,9 +90,7 @@ Function Fragment_43() ;BEGIN CODE SetObjectiveCompleted(110) ;hier ist Ende 4 -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_MIRELL_01") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -199,9 +195,7 @@ _00E_FS_NQ05_Functions kmyQuest = __temp as _00E_FS_NQ05_Functions ;BEGIN CODE SetObjectiveCompleted(100) ;hier ist Ende 3 -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_MIRELL_03") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -370,5 +364,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -GlobalVariable Property _00E_AchievementsEnabled Auto Perk Property _00E_FS_NQ05_CraftPotionPerk Auto diff --git a/source/scripts/qf_fs_nq10_0102e766.psc b/source/scripts/qf_fs_nq10_0102e766.psc index 0ffb8f3a..0a6f449c 100644 --- a/source/scripts/qf_fs_nq10_0102e766.psc +++ b/source/scripts/qf_fs_nq10_0102e766.psc @@ -56,9 +56,7 @@ ReferenceAlias Property Alias_Ring Auto Function Fragment_2() ;BEGIN CODE SetObjectiveCompleted(15) -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_VATYRA_01") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -77,5 +75,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf_lisharidialogue_0013eb7d.psc b/source/scripts/qf_lisharidialogue_0013eb7d.psc index 30f94f1a..428e91c9 100644 --- a/source/scripts/qf_lisharidialogue_0013eb7d.psc +++ b/source/scripts/qf_lisharidialogue_0013eb7d.psc @@ -27,9 +27,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_LISHARI_TAVERN_01") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -47,5 +45,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf_mq10a_0002eba8.psc b/source/scripts/qf_mq10a_0002eba8.psc index 4f433663..5cd927d0 100644 --- a/source/scripts/qf_mq10a_0002eba8.psc +++ b/source/scripts/qf_mq10a_0002eba8.psc @@ -42,13 +42,9 @@ _00E_MQ10a_Functions kmyQuest = __temp as _00E_MQ10a_Functions ;END AUTOCAST ;BEGIN CODE kmyQuest.CleanUp() -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_DREAM_02") -EndIf ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf_nq25_0013f536.psc b/source/scripts/qf_nq25_0013f536.psc index 9772c4b3..91fdb770 100644 --- a/source/scripts/qf_nq25_0013f536.psc +++ b/source/scripts/qf_nq25_0013f536.psc @@ -6,13 +6,9 @@ Scriptname QF_NQ25_0013F536 Extends Quest Hidden Function Fragment_0() ;BEGIN CODE _00E_EPHandler.GiveEP(3500) -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_BUTCHER_01") -EndIf ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf_nq26_001469ed.psc b/source/scripts/qf_nq26_001469ed.psc index 5355ce4c..239cea48 100644 --- a/source/scripts/qf_nq26_001469ed.psc +++ b/source/scripts/qf_nq26_001469ed.psc @@ -129,9 +129,7 @@ _00E_NQ26_Questfunctions kmyQuest = __temp as _00E_NQ26_Questfunctions _00E_EPHandler.GiveEP(3000) Game.GetPlayer().AddItem(_00E_NQ26YeraisSchlssel,1) CompleteAllObjectives() -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_HORST_01") -EndIf kmyQuest.ClearPlayerAlias() ;END CODE EndFunction @@ -199,5 +197,3 @@ EndFunction Scene Property NQ26_SC1 Auto Key Property _00E_NQ26YeraisSchlssel Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf_nq_bounty01_000c3f71.psc b/source/scripts/qf_nq_bounty01_000c3f71.psc index 07d8677d..8f04a701 100644 --- a/source/scripts/qf_nq_bounty01_000c3f71.psc +++ b/source/scripts/qf_nq_bounty01_000c3f71.psc @@ -41,7 +41,7 @@ Function Fragment_2() _00E_EPHandler.GiveEP(250) _00E_BountyCounter.SetValueInt(_00E_BountyCounter.GetValueInt()+1) -If _00E_BountyCounter.GetValueInt() == 3 && _00E_AchievementsEnabled.GetValueInt() == 1 +If _00E_BountyCounter.GetValueInt() == 3 Steam.UnlockAchievement("END_BOUNTY_01") EndIf ;END CODE @@ -58,6 +58,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -GlobalVariable Property _00E_AchievementsEnabled Auto - GlobalVariable Property _00E_BountyCounter Auto diff --git a/source/scripts/qf_nq_bounty02_0011a491.psc b/source/scripts/qf_nq_bounty02_0011a491.psc index 430dbae1..0fe62f1f 100644 --- a/source/scripts/qf_nq_bounty02_0011a491.psc +++ b/source/scripts/qf_nq_bounty02_0011a491.psc @@ -98,7 +98,7 @@ Function Fragment_13() _00E_EPHandler.GiveEP(1300) _00E_BountyCounter.SetValueInt(_00E_BountyCounter.GetValueInt()+1) -If _00E_BountyCounter.GetValueInt() == 3 && _00E_AchievementsEnabled.GetValueInt() == 1 +If _00E_BountyCounter.GetValueInt() == 3 Steam.UnlockAchievement("END_BOUNTY_01") EndIf ;END CODE @@ -132,5 +132,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment GlobalVariable Property _00E_BountyCounter Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf_nq_bounty03_0101c6a8.psc b/source/scripts/qf_nq_bounty03_0101c6a8.psc index 4b2575bc..3b821591 100644 --- a/source/scripts/qf_nq_bounty03_0101c6a8.psc +++ b/source/scripts/qf_nq_bounty03_0101c6a8.psc @@ -28,7 +28,7 @@ Function Fragment_0() _00E_EPHandler.GiveEP(1300) _00E_BountyCounter.SetValueInt(_00E_BountyCounter.GetValueInt()+1) -If _00E_BountyCounter.GetValueInt() == 3 && _00E_AchievementsEnabled.GetValueInt() == 1 +If _00E_BountyCounter.GetValueInt() == 3 Steam.UnlockAchievement("END_BOUNTY_01") EndIf ;END CODE @@ -54,5 +54,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment GlobalVariable Property _00E_BountyCounter Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf_nq_g_06_0013cfb7.psc b/source/scripts/qf_nq_g_06_0013cfb7.psc index 01cc3c9c..d4ac7c75 100644 --- a/source/scripts/qf_nq_g_06_0013cfb7.psc +++ b/source/scripts/qf_nq_g_06_0013cfb7.psc @@ -133,9 +133,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_9 Function Fragment_9() ;BEGIN CODE -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_DIJAAM_NO_BLACKMAIL_01") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -174,5 +172,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc b/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc index 39f33ab7..e3358416 100644 --- a/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc +++ b/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc @@ -73,9 +73,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_29 Function Fragment_29() ;BEGIN CODE -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_COMPLETE_MQ06_01") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -85,5 +83,3 @@ EndFunction _00E_MQ06_Functions Property MQ06 Auto Idle Property IdleStop_Loose Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/sf_mq12c_sc03_dream_00134595.psc b/source/scripts/sf_mq12c_sc03_dream_00134595.psc index 9681a900..5972efe4 100644 --- a/source/scripts/sf_mq12c_sc03_dream_00134595.psc +++ b/source/scripts/sf_mq12c_sc03_dream_00134595.psc @@ -31,9 +31,7 @@ EndFunction Function Fragment_2() ;BEGIN CODE GetOwningQuest().SetStage(35) -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_DREAM_03") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -41,5 +39,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ12c_Functions Property MQ12c Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__00096686.psc b/source/scripts/tif__00096686.psc index 16b6486d..125bc43c 100644 --- a/source/scripts/tif__00096686.psc +++ b/source/scripts/tif__00096686.psc @@ -8,9 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE NQ02.AddKP(NQ02._00E_MQ11c_Generic_TaharaTopic011) NQ02._00E_MQ11c_Generic_TaharaTopic011 = True -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_SILVERGROVE_01") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -18,4 +16,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_NQ02_NewHorizons_Library Property NQ02 Auto -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__000ea93c.psc b/source/scripts/tif__000ea93c.psc index 22453a31..2c002f71 100644 --- a/source/scripts/tif__000ea93c.psc +++ b/source/scripts/tif__000ea93c.psc @@ -16,9 +16,7 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE Game.GetPlayer().AddItem(_00E_MQ09_Silverplate, 1) -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_HALFMOON_ISLAND_01") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -26,5 +24,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment MiscObject Property _00E_MQ09_Silverplate Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__00136cec.psc b/source/scripts/tif__00136cec.psc index 0ecd4626..4d9b3992 100644 --- a/source/scripts/tif__00136cec.psc +++ b/source/scripts/tif__00136cec.psc @@ -8,13 +8,9 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE GetOwningQuest().SetStage(45) GetOwningQuest().SetObjectiveCompleted(5) -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_STARSHIP_01") -EndIf ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__0013cf8c.psc b/source/scripts/tif__0013cf8c.psc index d22470a1..621d5e7b 100644 --- a/source/scripts/tif__0013cf8c.psc +++ b/source/scripts/tif__0013cf8c.psc @@ -15,13 +15,9 @@ EndFunction Function Fragment_2(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_FINDERSKEEPERS_01") -EndIf ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__0013cf8d.psc b/source/scripts/tif__0013cf8d.psc index 86a88314..36c8be14 100644 --- a/source/scripts/tif__0013cf8d.psc +++ b/source/scripts/tif__0013cf8d.psc @@ -15,13 +15,9 @@ EndFunction Function Fragment_2(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_FINDERSKEEPERS_01") -EndIf ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__0013cfa5.psc b/source/scripts/tif__0013cfa5.psc index 6d8c610b..78644f18 100644 --- a/source/scripts/tif__0013cfa5.psc +++ b/source/scripts/tif__0013cfa5.psc @@ -20,5 +20,3 @@ EndFunction Actor Property PlayerRef Auto Faction Property ArkHaendlergilde Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__0013cfb3.psc b/source/scripts/tif__0013cfb3.psc index a28cb1cb..789f1d78 100644 --- a/source/scripts/tif__0013cfb3.psc +++ b/source/scripts/tif__0013cfb3.psc @@ -14,5 +14,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_NQ_G_05_Functions Property NQ_G_05 Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__00146f1e.psc b/source/scripts/tif__00146f1e.psc index 9ddc37fe..0c7e06b2 100644 --- a/source/scripts/tif__00146f1e.psc +++ b/source/scripts/tif__00146f1e.psc @@ -6,13 +6,9 @@ Scriptname TIF__00146F1E Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_DIJAAM_ESCAPE_01") -EndIf ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__00146f36.psc b/source/scripts/tif__00146f36.psc index 9ec769e3..fd80539f 100644 --- a/source/scripts/tif__00146f36.psc +++ b/source/scripts/tif__00146f36.psc @@ -7,13 +7,9 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE GetOwningQuest().SetStage(150) -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_DIJAAM_ESCAPE_01") -EndIf ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__00146f49.psc b/source/scripts/tif__00146f49.psc index 61a6a573..3d4df43d 100644 --- a/source/scripts/tif__00146f49.psc +++ b/source/scripts/tif__00146f49.psc @@ -6,13 +6,9 @@ Scriptname TIF__00146F49 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_DIJAAM_ESCAPE_01") -EndIf ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__0014caaf.psc b/source/scripts/tif__0014caaf.psc index ca8bb16c..54a4ec97 100644 --- a/source/scripts/tif__0014caaf.psc +++ b/source/scripts/tif__0014caaf.psc @@ -8,9 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE _00E_EPHandler.GiveEP(250) ArkGenericDialogue.bPlayerHasHadMithConversation = True -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_PRINCE_MITH_01") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -18,5 +16,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_Ark_GenericDialogueFunctions Property ArkGenericDialogue Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__0014cac8.psc b/source/scripts/tif__0014cac8.psc index 7f25d02b..74f9808a 100644 --- a/source/scripts/tif__0014cac8.psc +++ b/source/scripts/tif__0014cac8.psc @@ -8,9 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE _00E_EPHandler.GiveEP(250) ArkGenericDialogue.bPlayerHasHadMithConversation = True -If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_PRINCE_MITH_01") -EndIf ;END CODE EndFunction ;END FRAGMENT @@ -18,5 +16,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_Ark_GenericDialogueFunctions Property ArkGenericDialogue Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto