diff --git a/Enderal - Forgotten Stories.esm b/Enderal - Forgotten Stories.esm index 9ff45167..b917fb0e 100644 Binary files a/Enderal - Forgotten Stories.esm and b/Enderal - Forgotten Stories.esm differ diff --git a/SKSE/Plugins/EnderalSE.dll b/SKSE/Plugins/EnderalSE.dll index f23149c5..b2b89cd1 100644 --- a/SKSE/Plugins/EnderalSE.dll +++ b/SKSE/Plugins/EnderalSE.dll @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3a5e81937a9e0b16b51b715425bf77bea55e320aa9985ef8ec61bed02eaa6f3e +oid sha256:4c9deb25824e1a2f8e0ed301d522f5778dcced112a9a5650e1278138b5fda889 size 751616 diff --git a/SKSE/Plugins/EnderalVersion.ini b/SKSE/Plugins/EnderalVersion.ini index af9fd81b..ece8edc3 100644 --- a/SKSE/Plugins/EnderalVersion.ini +++ b/SKSE/Plugins/EnderalVersion.ini @@ -1 +1 @@ -version = 2.0.13 +version = 2.1 diff --git a/Skyrim.esm b/Skyrim.esm index e5e55660..05a9966e 100644 Binary files a/Skyrim.esm and b/Skyrim.esm differ diff --git a/scripts/_00E_AffinityControl.pex b/scripts/_00E_AffinityControl.pex index 24b984e1..6dc42543 100644 Binary files a/scripts/_00E_AffinityControl.pex and b/scripts/_00E_AffinityControl.pex differ diff --git a/scripts/_00E_BrawlControl.pex b/scripts/_00E_BrawlControl.pex new file mode 100644 index 00000000..016a8e27 Binary files /dev/null and b/scripts/_00E_BrawlControl.pex differ diff --git a/scripts/_00E_CameraControl.pex b/scripts/_00E_CameraControl.pex new file mode 100644 index 00000000..500cf3d3 Binary files /dev/null and b/scripts/_00E_CameraControl.pex differ diff --git a/scripts/_00E_CombatMusicControl.pex b/scripts/_00E_CombatMusicControl.pex new file mode 100644 index 00000000..6bdafae2 Binary files /dev/null and b/scripts/_00E_CombatMusicControl.pex differ diff --git a/scripts/_00E_Debug.pex b/scripts/_00E_Debug.pex new file mode 100644 index 00000000..877062a5 Binary files /dev/null and b/scripts/_00E_Debug.pex differ diff --git a/scripts/_00E_EnderalControls.pex b/scripts/_00E_EnderalControls.pex new file mode 100644 index 00000000..62cab17c Binary files /dev/null and b/scripts/_00E_EnderalControls.pex differ diff --git a/scripts/_00E_FadeToBlackControl.pex b/scripts/_00E_FadeToBlackControl.pex new file mode 100644 index 00000000..37ff2359 Binary files /dev/null and b/scripts/_00E_FadeToBlackControl.pex differ diff --git a/scripts/_00E_Func_AIWalk.pex b/scripts/_00E_Func_AIWalk.pex new file mode 100644 index 00000000..29d9e984 Binary files /dev/null and b/scripts/_00E_Func_AIWalk.pex differ diff --git a/scripts/_00E_Func_ReferenceFormList.pex b/scripts/_00E_Func_ReferenceFormList.pex new file mode 100644 index 00000000..c1380a0d Binary files /dev/null and b/scripts/_00E_Func_ReferenceFormList.pex differ diff --git a/scripts/_00E_Func_RefreshFace.pex b/scripts/_00E_Func_RefreshFace.pex new file mode 100644 index 00000000..2282ab81 Binary files /dev/null and b/scripts/_00E_Func_RefreshFace.pex differ diff --git a/scripts/_00E_Func_SafeMove.pex b/scripts/_00E_Func_SafeMove.pex new file mode 100644 index 00000000..d8df61c3 Binary files /dev/null and b/scripts/_00E_Func_SafeMove.pex differ diff --git a/scripts/_00E_Func_SetNPCAsCompanion.pex b/scripts/_00E_Func_SetNPCAsCompanion.pex new file mode 100644 index 00000000..58bdef6b Binary files /dev/null and b/scripts/_00E_Func_SetNPCAsCompanion.pex differ diff --git a/scripts/_00E_Func_WaitForRef.pex b/scripts/_00E_Func_WaitForRef.pex new file mode 100644 index 00000000..8c09c966 Binary files /dev/null and b/scripts/_00E_Func_WaitForRef.pex differ diff --git a/scripts/_00E_SafeItemRemove.pex b/scripts/_00E_SafeItemRemove.pex new file mode 100644 index 00000000..e631a9db Binary files /dev/null and b/scripts/_00E_SafeItemRemove.pex differ diff --git a/scripts/_00E_SkillControl.pex b/scripts/_00E_SkillControl.pex new file mode 100644 index 00000000..f0eaddd5 Binary files /dev/null and b/scripts/_00E_SkillControl.pex differ diff --git a/scripts/_00E_SoundControl.pex b/scripts/_00E_SoundControl.pex new file mode 100644 index 00000000..b4472d68 Binary files /dev/null and b/scripts/_00E_SoundControl.pex differ diff --git a/scripts/_00E_SympathyControl.pex b/scripts/_00E_SympathyControl.pex new file mode 100644 index 00000000..7b0d6d4a Binary files /dev/null and b/scripts/_00E_SympathyControl.pex differ diff --git a/scripts/_00E_TeleportControl.pex b/scripts/_00E_TeleportControl.pex new file mode 100644 index 00000000..35595f7c Binary files /dev/null and b/scripts/_00E_TeleportControl.pex differ diff --git a/scripts/_00E_TeleportPlayer.pex b/scripts/_00E_TeleportPlayer.pex new file mode 100644 index 00000000..441c8989 Binary files /dev/null and b/scripts/_00E_TeleportPlayer.pex differ diff --git a/scripts/_00E_VisionControl.pex b/scripts/_00E_VisionControl.pex new file mode 100644 index 00000000..bc2ab3d6 Binary files /dev/null and b/scripts/_00E_VisionControl.pex differ diff --git a/scripts/_00e_a0_banksystemdevactivator.pex b/scripts/_00e_a0_banksystemdevactivator.pex deleted file mode 100644 index 2b126525..00000000 Binary files a/scripts/_00e_a0_banksystemdevactivator.pex and /dev/null differ diff --git a/scripts/_00e_a1_arcticwindsc.pex b/scripts/_00e_a1_arcticwindsc.pex index 3e5fc09c..883acea0 100644 Binary files a/scripts/_00e_a1_arcticwindsc.pex and b/scripts/_00e_a1_arcticwindsc.pex differ diff --git a/scripts/_00e_a1_devoursoulsc.pex b/scripts/_00e_a1_devoursoulsc.pex index 19298048..4011ad64 100644 Binary files a/scripts/_00e_a1_devoursoulsc.pex and b/scripts/_00e_a1_devoursoulsc.pex differ diff --git a/scripts/_00e_a1_qyraistancesc.pex b/scripts/_00e_a1_qyraistancesc.pex index c3fc031a..6c56064f 100644 Binary files a/scripts/_00e_a1_qyraistancesc.pex and b/scripts/_00e_a1_qyraistancesc.pex differ diff --git a/scripts/_00e_a1_shadowtongueoilpoolsc.pex b/scripts/_00e_a1_shadowtongueoilpoolsc.pex index 853891d1..de46313f 100644 Binary files a/scripts/_00e_a1_shadowtongueoilpoolsc.pex and b/scripts/_00e_a1_shadowtongueoilpoolsc.pex differ diff --git a/scripts/_00e_a1_skaraggstancesc.pex b/scripts/_00e_a1_skaraggstancesc.pex index e78c50b0..c73c1aed 100644 Binary files a/scripts/_00e_a1_skaraggstancesc.pex and b/scripts/_00e_a1_skaraggstancesc.pex differ diff --git a/scripts/_00e_a2_eldritchbloodplayersc.pex b/scripts/_00e_a2_eldritchbloodplayersc.pex index 00bd6d27..7ac9514e 100644 Binary files a/scripts/_00e_a2_eldritchbloodplayersc.pex and b/scripts/_00e_a2_eldritchbloodplayersc.pex differ diff --git a/scripts/_00e_a2_eldritchbloodsc.pex b/scripts/_00e_a2_eldritchbloodsc.pex index cea6197b..fb7f8fc8 100644 Binary files a/scripts/_00e_a2_eldritchbloodsc.pex and b/scripts/_00e_a2_eldritchbloodsc.pex differ diff --git a/scripts/_00e_a2_eyeofthestormsc.pex b/scripts/_00e_a2_eyeofthestormsc.pex index 5bdb499b..3b21b37b 100644 Binary files a/scripts/_00e_a2_eyeofthestormsc.pex and b/scripts/_00e_a2_eyeofthestormsc.pex differ diff --git a/scripts/_00e_a2_ghostwalksc.pex b/scripts/_00e_a2_ghostwalksc.pex index 47006165..f9a8ec0d 100644 Binary files a/scripts/_00e_a2_ghostwalksc.pex and b/scripts/_00e_a2_ghostwalksc.pex differ diff --git a/scripts/_00e_a2_primalforcesc.pex b/scripts/_00e_a2_primalforcesc.pex index c078d217..1b63058c 100644 Binary files a/scripts/_00e_a2_primalforcesc.pex and b/scripts/_00e_a2_primalforcesc.pex differ diff --git a/scripts/_00e_a2_riftsc.pex b/scripts/_00e_a2_riftsc.pex index eca46511..df8bfd30 100644 Binary files a/scripts/_00e_a2_riftsc.pex and b/scripts/_00e_a2_riftsc.pex differ diff --git a/scripts/_00e_a2_skyfallboltmesc.pex b/scripts/_00e_a2_skyfallboltmesc.pex index 688f75ac..24725f13 100644 Binary files a/scripts/_00e_a2_skyfallboltmesc.pex and b/scripts/_00e_a2_skyfallboltmesc.pex differ diff --git a/scripts/_00e_a2_skyfallplayersc.pex b/scripts/_00e_a2_skyfallplayersc.pex index e586e293..a5651f84 100644 Binary files a/scripts/_00e_a2_skyfallplayersc.pex and b/scripts/_00e_a2_skyfallplayersc.pex differ diff --git a/scripts/_00e_a3_mage_firespheresc.pex b/scripts/_00e_a3_mage_firespheresc.pex deleted file mode 100644 index 70fabd0f..00000000 Binary files a/scripts/_00e_a3_mage_firespheresc.pex and /dev/null differ diff --git a/scripts/_00e_addingperk.pex b/scripts/_00e_addingperk.pex index 67b5b54d..97861ffb 100644 Binary files a/scripts/_00e_addingperk.pex and b/scripts/_00e_addingperk.pex differ diff --git a/scripts/_00e_addmusicscript.pex b/scripts/_00e_addmusicscript.pex index 3e7afce2..1a0a476b 100644 Binary files a/scripts/_00e_addmusicscript.pex and b/scripts/_00e_addmusicscript.pex differ diff --git a/scripts/_00e_ark_genericdialoguefunctions.pex b/scripts/_00e_ark_genericdialoguefunctions.pex index 4a42b33c..11ef8326 100644 Binary files a/scripts/_00e_ark_genericdialoguefunctions.pex and b/scripts/_00e_ark_genericdialoguefunctions.pex differ diff --git a/scripts/_00e_ark_travelcrossroadssc.pex b/scripts/_00e_ark_travelcrossroadssc.pex index 1ac3d289..68be6a68 100644 Binary files a/scripts/_00e_ark_travelcrossroadssc.pex and b/scripts/_00e_ark_travelcrossroadssc.pex differ diff --git a/scripts/_00e_bardsongtriggerscript.pex b/scripts/_00e_bardsongtriggerscript.pex index ef212f86..fbae63fe 100644 Binary files a/scripts/_00e_bardsongtriggerscript.pex and b/scripts/_00e_bardsongtriggerscript.pex differ diff --git a/scripts/_00e_combatsoundtrackscript.pex b/scripts/_00e_combatsoundtrackscript.pex index 1b6cae2e..88e42847 100644 Binary files a/scripts/_00e_combatsoundtrackscript.pex and b/scripts/_00e_combatsoundtrackscript.pex differ diff --git a/scripts/_00e_complex_blockidlechattersc.pex b/scripts/_00e_complex_blockidlechattersc.pex index 585de793..c8655ca3 100644 Binary files a/scripts/_00e_complex_blockidlechattersc.pex and b/scripts/_00e_complex_blockidlechattersc.pex differ diff --git a/scripts/_00e_cq_d_01_functions.pex b/scripts/_00e_cq_d_01_functions.pex index ddc0fdf8..618412b3 100644 Binary files a/scripts/_00e_cq_d_01_functions.pex and b/scripts/_00e_cq_d_01_functions.pex differ diff --git a/scripts/_00e_cqc01_functions.pex b/scripts/_00e_cqc01_functions.pex index 403336d2..7e117e36 100644 Binary files a/scripts/_00e_cqc01_functions.pex and b/scripts/_00e_cqc01_functions.pex differ diff --git a/scripts/_00e_cqc02_functions.pex b/scripts/_00e_cqc02_functions.pex index ec15f24e..3b0cbf04 100644 Binary files a/scripts/_00e_cqc02_functions.pex and b/scripts/_00e_cqc02_functions.pex differ diff --git a/scripts/_00e_cqc03_functions.pex b/scripts/_00e_cqc03_functions.pex index f9f720d2..d029847e 100644 Binary files a/scripts/_00e_cqc03_functions.pex and b/scripts/_00e_cqc03_functions.pex differ diff --git a/scripts/_00e_cqc04_addsilencesc.pex b/scripts/_00e_cqc04_addsilencesc.pex index 420da7fa..83436b0a 100644 Binary files a/scripts/_00e_cqc04_addsilencesc.pex and b/scripts/_00e_cqc04_addsilencesc.pex differ diff --git a/scripts/_00e_cqc04_functions.pex b/scripts/_00e_cqc04_functions.pex index 0aed44c3..42ede8eb 100644 Binary files a/scripts/_00e_cqc04_functions.pex and b/scripts/_00e_cqc04_functions.pex differ diff --git a/scripts/_00e_cqc05_functions.pex b/scripts/_00e_cqc05_functions.pex index b92f5d6e..d8329b07 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 b9dc4bb1..d4537ed6 100644 Binary files a/scripts/_00e_cqc06_functions.pex and b/scripts/_00e_cqc06_functions.pex differ diff --git a/scripts/_00e_cqj01_functions.pex b/scripts/_00e_cqj01_functions.pex index 8875d640..636b1b9f 100644 Binary files a/scripts/_00e_cqj01_functions.pex and b/scripts/_00e_cqj01_functions.pex differ diff --git a/scripts/_00e_cqj02_functions.pex b/scripts/_00e_cqj02_functions.pex index 1abae04e..72ab5d11 100644 Binary files a/scripts/_00e_cqj02_functions.pex and b/scripts/_00e_cqj02_functions.pex differ diff --git a/scripts/_00e_cqj04_functions.pex b/scripts/_00e_cqj04_functions.pex index ec1510b1..b794b9d3 100644 Binary files a/scripts/_00e_cqj04_functions.pex and b/scripts/_00e_cqj04_functions.pex differ diff --git a/scripts/_00e_cqj05_functions.pex b/scripts/_00e_cqj05_functions.pex index 9b69ad9b..e86f2219 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 b55f2713..3cf47d46 100644 Binary files a/scripts/_00e_cqj06_functions.pex and b/scripts/_00e_cqj06_functions.pex differ diff --git a/scripts/_00e_crimequest_functions.pex b/scripts/_00e_crimequest_functions.pex index 8cdcd789..ef3d1dc1 100644 Binary files a/scripts/_00e_crimequest_functions.pex and b/scripts/_00e_crimequest_functions.pex differ diff --git a/scripts/_00e_debug_ontranslationprint.pex b/scripts/_00e_debug_ontranslationprint.pex index ae5eec85..7dd0c03f 100644 Binary files a/scripts/_00e_debug_ontranslationprint.pex and b/scripts/_00e_debug_ontranslationprint.pex differ diff --git a/scripts/_00e_epupdatefunctions.pex b/scripts/_00e_epupdatefunctions.pex index bd591fff..080a42f8 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 19111b7d..776ddee4 100644 Binary files a/scripts/_00e_frozenmescript.pex and b/scripts/_00e_frozenmescript.pex differ diff --git a/scripts/_00e_fs_a3_mage_thaumaturgicshieldsc.pex b/scripts/_00e_fs_a3_mage_thaumaturgicshieldsc.pex index c3e8fb72..ec919c28 100644 Binary files a/scripts/_00e_fs_a3_mage_thaumaturgicshieldsc.pex and b/scripts/_00e_fs_a3_mage_thaumaturgicshieldsc.pex differ diff --git a/scripts/_00e_fs_a3_magepsioniccastsc.pex b/scripts/_00e_fs_a3_magepsioniccastsc.pex deleted file mode 100644 index 9a3dba92..00000000 Binary files a/scripts/_00e_fs_a3_magepsioniccastsc.pex and /dev/null differ diff --git a/scripts/_00e_fs_a3_talentbooksc.pex b/scripts/_00e_fs_a3_talentbooksc.pex index 3e745d48..b486beb6 100644 Binary files a/scripts/_00e_fs_a3_talentbooksc.pex and b/scripts/_00e_fs_a3_talentbooksc.pex differ diff --git a/scripts/_00e_fs_cqt01_functions.pex b/scripts/_00e_fs_cqt01_functions.pex index a5b1de19..0811ad92 100644 Binary files a/scripts/_00e_fs_cqt01_functions.pex and b/scripts/_00e_fs_cqt01_functions.pex differ diff --git a/scripts/_00e_fs_environmentscene02trigger.pex b/scripts/_00e_fs_environmentscene02trigger.pex index 16e71b82..ef66d590 100644 Binary files a/scripts/_00e_fs_environmentscene02trigger.pex and b/scripts/_00e_fs_environmentscene02trigger.pex differ diff --git a/scripts/_00e_fs_mq18c_functions.pex b/scripts/_00e_fs_mq18c_functions.pex index 40ef1c3c..5e437558 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_mysticalsymbolsc.pex b/scripts/_00e_fs_mysticalsymbolsc.pex index 99932ce8..ee0bdabb 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 f14dd041..f65400bc 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_functions.pex b/scripts/_00e_fs_nq02_functions.pex index 2bd7c0a3..d1d6b3f6 100644 Binary files a/scripts/_00e_fs_nq02_functions.pex and b/scripts/_00e_fs_nq02_functions.pex differ diff --git a/scripts/_00e_fs_nq02_functions2.pex b/scripts/_00e_fs_nq02_functions2.pex index 23e62ac2..2c3cc0df 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_nq02_lagerfeuerscript.pex b/scripts/_00e_fs_nq02_lagerfeuerscript.pex index 4671202e..bdf23ac4 100644 Binary files a/scripts/_00e_fs_nq02_lagerfeuerscript.pex and b/scripts/_00e_fs_nq02_lagerfeuerscript.pex differ diff --git a/scripts/_00e_fs_nq03_functions.pex b/scripts/_00e_fs_nq03_functions.pex index dd0bfdcd..822e93d2 100644 Binary files a/scripts/_00e_fs_nq03_functions.pex and b/scripts/_00e_fs_nq03_functions.pex differ diff --git a/scripts/_00e_fs_nq05_functions.pex b/scripts/_00e_fs_nq05_functions.pex index f8530147..95254fab 100644 Binary files a/scripts/_00e_fs_nq05_functions.pex and b/scripts/_00e_fs_nq05_functions.pex differ diff --git a/scripts/_00e_fs_nq06_functions.pex b/scripts/_00e_fs_nq06_functions.pex index 8bcb9ea9..a65161ee 100644 Binary files a/scripts/_00e_fs_nq06_functions.pex and b/scripts/_00e_fs_nq06_functions.pex differ diff --git a/scripts/_00e_fs_nq07_doorrepairscript.pex b/scripts/_00e_fs_nq07_doorrepairscript.pex index b61501c7..58d51685 100644 Binary files a/scripts/_00e_fs_nq07_doorrepairscript.pex and b/scripts/_00e_fs_nq07_doorrepairscript.pex differ diff --git a/scripts/_00e_fs_nq07_functions.pex b/scripts/_00e_fs_nq07_functions.pex index 7bad4ddd..4ee75879 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 4cc6f1cd..66e7ac53 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_nqr01_pitfightersc.pex b/scripts/_00e_fs_nqr01_pitfightersc.pex index 3224fd1a..a0c62d16 100644 Binary files a/scripts/_00e_fs_nqr01_pitfightersc.pex and b/scripts/_00e_fs_nqr01_pitfightersc.pex differ diff --git a/scripts/_00e_fs_nqr02_functions.pex b/scripts/_00e_fs_nqr02_functions.pex index 2ea076fe..300d2c05 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_nqr03_functions.pex b/scripts/_00e_fs_nqr03_functions.pex index f1808ded..1645bd1a 100644 Binary files a/scripts/_00e_fs_nqr03_functions.pex and b/scripts/_00e_fs_nqr03_functions.pex differ diff --git a/scripts/_00e_fs_nqr04_functions.pex b/scripts/_00e_fs_nqr04_functions.pex index 6cac4191..eab6d90e 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_nqr04_tharaelaitrigger.pex b/scripts/_00e_fs_nqr04_tharaelaitrigger.pex index ef2fdcbb..fe9c3017 100644 Binary files a/scripts/_00e_fs_nqr04_tharaelaitrigger.pex and b/scripts/_00e_fs_nqr04_tharaelaitrigger.pex differ diff --git a/scripts/_00e_fs_nqr05_bossfight_fathersc.pex b/scripts/_00e_fs_nqr05_bossfight_fathersc.pex index 6ccfe3fa..4caff0d1 100644 Binary files a/scripts/_00e_fs_nqr05_bossfight_fathersc.pex and b/scripts/_00e_fs_nqr05_bossfight_fathersc.pex differ diff --git a/scripts/_00e_fs_nqr05_bossfight_tharaelsc.pex b/scripts/_00e_fs_nqr05_bossfight_tharaelsc.pex index d011c511..52f699a9 100644 Binary files a/scripts/_00e_fs_nqr05_bossfight_tharaelsc.pex and b/scripts/_00e_fs_nqr05_bossfight_tharaelsc.pex differ diff --git a/scripts/_00e_fs_nqr05_functions.pex b/scripts/_00e_fs_nqr05_functions.pex index ca25fc57..09734119 100644 Binary files a/scripts/_00e_fs_nqr05_functions.pex and b/scripts/_00e_fs_nqr05_functions.pex differ diff --git a/scripts/_00e_gaboff_grammophonesc.pex b/scripts/_00e_gaboff_grammophonesc.pex index 1160c5a9..be5b9aa2 100644 Binary files a/scripts/_00e_gaboff_grammophonesc.pex and b/scripts/_00e_gaboff_grammophonesc.pex differ diff --git a/scripts/_00e_game_failsaveactorsc.pex b/scripts/_00e_game_failsaveactorsc.pex index 3878c334..cb6030ac 100644 Binary files a/scripts/_00e_game_failsaveactorsc.pex and b/scripts/_00e_game_failsaveactorsc.pex differ diff --git a/scripts/_00e_game_oorbayaspawnsc.pex b/scripts/_00e_game_oorbayaspawnsc.pex index 2dfa827b..eb79caf3 100644 Binary files a/scripts/_00e_game_oorbayaspawnsc.pex and b/scripts/_00e_game_oorbayaspawnsc.pex differ diff --git a/scripts/_00e_game_skillmenusc.pex b/scripts/_00e_game_skillmenusc.pex index 1cd53e3a..5264b10c 100644 Binary files a/scripts/_00e_game_skillmenusc.pex and b/scripts/_00e_game_skillmenusc.pex differ diff --git a/scripts/_00e_gypsyminstrelscontrolscript.pex b/scripts/_00e_gypsyminstrelscontrolscript.pex index 6b8e52b1..a89b88f4 100644 Binary files a/scripts/_00e_gypsyminstrelscontrolscript.pex and b/scripts/_00e_gypsyminstrelscontrolscript.pex differ diff --git a/scripts/_00e_handwerksbuchalchemy100.pex b/scripts/_00e_handwerksbuchalchemy100.pex index 8622a638..100ece58 100644 Binary files a/scripts/_00e_handwerksbuchalchemy100.pex and b/scripts/_00e_handwerksbuchalchemy100.pex differ diff --git a/scripts/_00e_handwerksbuchalchemy25.pex b/scripts/_00e_handwerksbuchalchemy25.pex index f9f582ed..c2506d31 100644 Binary files a/scripts/_00e_handwerksbuchalchemy25.pex and b/scripts/_00e_handwerksbuchalchemy25.pex differ diff --git a/scripts/_00e_handwerksbuchalchemy50.pex b/scripts/_00e_handwerksbuchalchemy50.pex index d5f665a2..9cdd726c 100644 Binary files a/scripts/_00e_handwerksbuchalchemy50.pex and b/scripts/_00e_handwerksbuchalchemy50.pex differ diff --git a/scripts/_00e_handwerksbuchalchemy75.pex b/scripts/_00e_handwerksbuchalchemy75.pex index 0a5dbe4b..448cd2c0 100644 Binary files a/scripts/_00e_handwerksbuchalchemy75.pex and b/scripts/_00e_handwerksbuchalchemy75.pex differ diff --git a/scripts/_00e_handwerksbuchenchanting100.pex b/scripts/_00e_handwerksbuchenchanting100.pex index 0c0a14c1..92d10673 100644 Binary files a/scripts/_00e_handwerksbuchenchanting100.pex and b/scripts/_00e_handwerksbuchenchanting100.pex differ diff --git a/scripts/_00e_handwerksbuchenchanting25.pex b/scripts/_00e_handwerksbuchenchanting25.pex index 82c549a9..bacf70df 100644 Binary files a/scripts/_00e_handwerksbuchenchanting25.pex and b/scripts/_00e_handwerksbuchenchanting25.pex differ diff --git a/scripts/_00e_handwerksbuchenchanting50.pex b/scripts/_00e_handwerksbuchenchanting50.pex index 7b46efa0..a2758ee8 100644 Binary files a/scripts/_00e_handwerksbuchenchanting50.pex and b/scripts/_00e_handwerksbuchenchanting50.pex differ diff --git a/scripts/_00e_handwerksbuchenchanting75.pex b/scripts/_00e_handwerksbuchenchanting75.pex index 5671ff08..3e8a2fac 100644 Binary files a/scripts/_00e_handwerksbuchenchanting75.pex and b/scripts/_00e_handwerksbuchenchanting75.pex differ diff --git a/scripts/_00e_handwerksbuchlockpicking100.pex b/scripts/_00e_handwerksbuchlockpicking100.pex index f6cc2c4c..2a135f7d 100644 Binary files a/scripts/_00e_handwerksbuchlockpicking100.pex and b/scripts/_00e_handwerksbuchlockpicking100.pex differ diff --git a/scripts/_00e_handwerksbuchlockpicking25.pex b/scripts/_00e_handwerksbuchlockpicking25.pex index a0cb7631..54140f13 100644 Binary files a/scripts/_00e_handwerksbuchlockpicking25.pex and b/scripts/_00e_handwerksbuchlockpicking25.pex differ diff --git a/scripts/_00e_handwerksbuchlockpicking50.pex b/scripts/_00e_handwerksbuchlockpicking50.pex index 0d0c0dbf..53c32fe6 100644 Binary files a/scripts/_00e_handwerksbuchlockpicking50.pex and b/scripts/_00e_handwerksbuchlockpicking50.pex differ diff --git a/scripts/_00e_handwerksbuchlockpicking75.pex b/scripts/_00e_handwerksbuchlockpicking75.pex index 3a86312b..e67b3c97 100644 Binary files a/scripts/_00e_handwerksbuchlockpicking75.pex and b/scripts/_00e_handwerksbuchlockpicking75.pex differ diff --git a/scripts/_00e_handwerksbuchpickpocket100.pex b/scripts/_00e_handwerksbuchpickpocket100.pex index de61b8ce..7c771526 100644 Binary files a/scripts/_00e_handwerksbuchpickpocket100.pex and b/scripts/_00e_handwerksbuchpickpocket100.pex differ diff --git a/scripts/_00e_handwerksbuchpickpocket25.pex b/scripts/_00e_handwerksbuchpickpocket25.pex index 7d2a0ed6..2bb7e934 100644 Binary files a/scripts/_00e_handwerksbuchpickpocket25.pex and b/scripts/_00e_handwerksbuchpickpocket25.pex differ diff --git a/scripts/_00e_handwerksbuchpickpocket50.pex b/scripts/_00e_handwerksbuchpickpocket50.pex index ad139400..7dc66bcc 100644 Binary files a/scripts/_00e_handwerksbuchpickpocket50.pex and b/scripts/_00e_handwerksbuchpickpocket50.pex differ diff --git a/scripts/_00e_handwerksbuchpickpocket75.pex b/scripts/_00e_handwerksbuchpickpocket75.pex index a682e7d1..b4bb7567 100644 Binary files a/scripts/_00e_handwerksbuchpickpocket75.pex and b/scripts/_00e_handwerksbuchpickpocket75.pex differ diff --git a/scripts/_00e_handwerksbuchsmithing100.pex b/scripts/_00e_handwerksbuchsmithing100.pex index a2c0a2c6..bf68f555 100644 Binary files a/scripts/_00e_handwerksbuchsmithing100.pex and b/scripts/_00e_handwerksbuchsmithing100.pex differ diff --git a/scripts/_00e_handwerksbuchsmithing25.pex b/scripts/_00e_handwerksbuchsmithing25.pex index b9bb1168..129588e6 100644 Binary files a/scripts/_00e_handwerksbuchsmithing25.pex and b/scripts/_00e_handwerksbuchsmithing25.pex differ diff --git a/scripts/_00e_handwerksbuchsmithing50.pex b/scripts/_00e_handwerksbuchsmithing50.pex index 304ee9f6..084f8dab 100644 Binary files a/scripts/_00e_handwerksbuchsmithing50.pex and b/scripts/_00e_handwerksbuchsmithing50.pex differ diff --git a/scripts/_00e_handwerksbuchsmithing75.pex b/scripts/_00e_handwerksbuchsmithing75.pex index dbd34f1d..5d0f2b63 100644 Binary files a/scripts/_00e_handwerksbuchsmithing75.pex and b/scripts/_00e_handwerksbuchsmithing75.pex differ diff --git a/scripts/_00e_handwerksbuchspeechcraft100.pex b/scripts/_00e_handwerksbuchspeechcraft100.pex index 559cd26c..693d2c32 100644 Binary files a/scripts/_00e_handwerksbuchspeechcraft100.pex and b/scripts/_00e_handwerksbuchspeechcraft100.pex differ diff --git a/scripts/_00e_handwerksbuchspeechcraft25.pex b/scripts/_00e_handwerksbuchspeechcraft25.pex index e9e1d910..317917a6 100644 Binary files a/scripts/_00e_handwerksbuchspeechcraft25.pex and b/scripts/_00e_handwerksbuchspeechcraft25.pex differ diff --git a/scripts/_00e_handwerksbuchspeechcraft50.pex b/scripts/_00e_handwerksbuchspeechcraft50.pex index d11b7c0f..9b357d30 100644 Binary files a/scripts/_00e_handwerksbuchspeechcraft50.pex and b/scripts/_00e_handwerksbuchspeechcraft50.pex differ diff --git a/scripts/_00e_handwerksbuchspeechcraft75.pex b/scripts/_00e_handwerksbuchspeechcraft75.pex index e6df7e5a..01b0df85 100644 Binary files a/scripts/_00e_handwerksbuchspeechcraft75.pex and b/scripts/_00e_handwerksbuchspeechcraft75.pex differ diff --git a/scripts/_00e_kontorworker2killmercenary.pex b/scripts/_00e_kontorworker2killmercenary.pex index 712b0685..7a2ab65b 100644 Binary files a/scripts/_00e_kontorworker2killmercenary.pex and b/scripts/_00e_kontorworker2killmercenary.pex differ diff --git a/scripts/_00e_kontorworkerkillmercenary.pex b/scripts/_00e_kontorworkerkillmercenary.pex index 57b120f2..e590470b 100644 Binary files a/scripts/_00e_kontorworkerkillmercenary.pex and b/scripts/_00e_kontorworkerkillmercenary.pex differ diff --git a/scripts/_00e_lehrbochblock100.pex b/scripts/_00e_lehrbochblock100.pex index 18072e53..ded6d79b 100644 Binary files a/scripts/_00e_lehrbochblock100.pex and b/scripts/_00e_lehrbochblock100.pex differ diff --git a/scripts/_00e_lehrbochblock25.pex b/scripts/_00e_lehrbochblock25.pex index 646c92e5..fe7f9c2f 100644 Binary files a/scripts/_00e_lehrbochblock25.pex and b/scripts/_00e_lehrbochblock25.pex differ diff --git a/scripts/_00e_lehrbochblock50.pex b/scripts/_00e_lehrbochblock50.pex index c2f409b8..6a6b4b4b 100644 Binary files a/scripts/_00e_lehrbochblock50.pex and b/scripts/_00e_lehrbochblock50.pex differ diff --git a/scripts/_00e_lehrbochblock75.pex b/scripts/_00e_lehrbochblock75.pex index 2b024913..61ecc63b 100644 Binary files a/scripts/_00e_lehrbochblock75.pex and b/scripts/_00e_lehrbochblock75.pex differ diff --git a/scripts/_00e_lehrbuchalteration100.pex b/scripts/_00e_lehrbuchalteration100.pex index 4c229ce4..784c627b 100644 Binary files a/scripts/_00e_lehrbuchalteration100.pex and b/scripts/_00e_lehrbuchalteration100.pex differ diff --git a/scripts/_00e_lehrbuchalteration25.pex b/scripts/_00e_lehrbuchalteration25.pex index f74c0347..acf5ce25 100644 Binary files a/scripts/_00e_lehrbuchalteration25.pex and b/scripts/_00e_lehrbuchalteration25.pex differ diff --git a/scripts/_00e_lehrbuchalteration50.pex b/scripts/_00e_lehrbuchalteration50.pex index e4649381..fc29fbd9 100644 Binary files a/scripts/_00e_lehrbuchalteration50.pex and b/scripts/_00e_lehrbuchalteration50.pex differ diff --git a/scripts/_00e_lehrbuchalteration75.pex b/scripts/_00e_lehrbuchalteration75.pex index f4b1abed..30a667ef 100644 Binary files a/scripts/_00e_lehrbuchalteration75.pex and b/scripts/_00e_lehrbuchalteration75.pex differ diff --git a/scripts/_00e_lehrbuchconjuration100.pex b/scripts/_00e_lehrbuchconjuration100.pex index 7b7f6afe..00dfc7da 100644 Binary files a/scripts/_00e_lehrbuchconjuration100.pex and b/scripts/_00e_lehrbuchconjuration100.pex differ diff --git a/scripts/_00e_lehrbuchconjuration25.pex b/scripts/_00e_lehrbuchconjuration25.pex index b23fe8a0..a25b0d9d 100644 Binary files a/scripts/_00e_lehrbuchconjuration25.pex and b/scripts/_00e_lehrbuchconjuration25.pex differ diff --git a/scripts/_00e_lehrbuchconjuration50.pex b/scripts/_00e_lehrbuchconjuration50.pex index d559ed93..388be2a2 100644 Binary files a/scripts/_00e_lehrbuchconjuration50.pex and b/scripts/_00e_lehrbuchconjuration50.pex differ diff --git a/scripts/_00e_lehrbuchconjuration75.pex b/scripts/_00e_lehrbuchconjuration75.pex index cb6a5013..0b198705 100644 Binary files a/scripts/_00e_lehrbuchconjuration75.pex and b/scripts/_00e_lehrbuchconjuration75.pex differ diff --git a/scripts/_00e_lehrbuchdestruction100.pex b/scripts/_00e_lehrbuchdestruction100.pex index ece7677c..7e14bfc2 100644 Binary files a/scripts/_00e_lehrbuchdestruction100.pex and b/scripts/_00e_lehrbuchdestruction100.pex differ diff --git a/scripts/_00e_lehrbuchdestruction25.pex b/scripts/_00e_lehrbuchdestruction25.pex index 17952781..2c4ee550 100644 Binary files a/scripts/_00e_lehrbuchdestruction25.pex and b/scripts/_00e_lehrbuchdestruction25.pex differ diff --git a/scripts/_00e_lehrbuchdestruction50.pex b/scripts/_00e_lehrbuchdestruction50.pex index 9ad7ef9a..46dde095 100644 Binary files a/scripts/_00e_lehrbuchdestruction50.pex and b/scripts/_00e_lehrbuchdestruction50.pex differ diff --git a/scripts/_00e_lehrbuchdestruction75.pex b/scripts/_00e_lehrbuchdestruction75.pex index ab7aeeae..b8b20c60 100644 Binary files a/scripts/_00e_lehrbuchdestruction75.pex and b/scripts/_00e_lehrbuchdestruction75.pex differ diff --git a/scripts/_00e_lehrbuchheavyarmor100.pex b/scripts/_00e_lehrbuchheavyarmor100.pex index ff97e35d..2fc6c7ad 100644 Binary files a/scripts/_00e_lehrbuchheavyarmor100.pex and b/scripts/_00e_lehrbuchheavyarmor100.pex differ diff --git a/scripts/_00e_lehrbuchheavyarmor25.pex b/scripts/_00e_lehrbuchheavyarmor25.pex index 963551a7..0c1a7b9c 100644 Binary files a/scripts/_00e_lehrbuchheavyarmor25.pex and b/scripts/_00e_lehrbuchheavyarmor25.pex differ diff --git a/scripts/_00e_lehrbuchheavyarmor50.pex b/scripts/_00e_lehrbuchheavyarmor50.pex index d4077655..991cae6f 100644 Binary files a/scripts/_00e_lehrbuchheavyarmor50.pex and b/scripts/_00e_lehrbuchheavyarmor50.pex differ diff --git a/scripts/_00e_lehrbuchheavyarmor75.pex b/scripts/_00e_lehrbuchheavyarmor75.pex index 3f9aa07c..15f30e4f 100644 Binary files a/scripts/_00e_lehrbuchheavyarmor75.pex and b/scripts/_00e_lehrbuchheavyarmor75.pex differ diff --git a/scripts/_00e_lehrbuchillusion100.pex b/scripts/_00e_lehrbuchillusion100.pex index 173be6ef..9e168e4b 100644 Binary files a/scripts/_00e_lehrbuchillusion100.pex and b/scripts/_00e_lehrbuchillusion100.pex differ diff --git a/scripts/_00e_lehrbuchillusion25.pex b/scripts/_00e_lehrbuchillusion25.pex index 0cccadbd..5dfbc2f8 100644 Binary files a/scripts/_00e_lehrbuchillusion25.pex and b/scripts/_00e_lehrbuchillusion25.pex differ diff --git a/scripts/_00e_lehrbuchillusion50.pex b/scripts/_00e_lehrbuchillusion50.pex index 7fd5c973..bab62069 100644 Binary files a/scripts/_00e_lehrbuchillusion50.pex and b/scripts/_00e_lehrbuchillusion50.pex differ diff --git a/scripts/_00e_lehrbuchillusion75.pex b/scripts/_00e_lehrbuchillusion75.pex index cf25eebe..f36e2be1 100644 Binary files a/scripts/_00e_lehrbuchillusion75.pex and b/scripts/_00e_lehrbuchillusion75.pex differ diff --git a/scripts/_00e_lehrbuchlightarmor100.pex b/scripts/_00e_lehrbuchlightarmor100.pex index fa69c6a1..6198771f 100644 Binary files a/scripts/_00e_lehrbuchlightarmor100.pex and b/scripts/_00e_lehrbuchlightarmor100.pex differ diff --git a/scripts/_00e_lehrbuchlightarmor25.pex b/scripts/_00e_lehrbuchlightarmor25.pex index e4caca33..539c4a22 100644 Binary files a/scripts/_00e_lehrbuchlightarmor25.pex and b/scripts/_00e_lehrbuchlightarmor25.pex differ diff --git a/scripts/_00e_lehrbuchlightarmor50.pex b/scripts/_00e_lehrbuchlightarmor50.pex index 0eb4c442..1a48f94a 100644 Binary files a/scripts/_00e_lehrbuchlightarmor50.pex and b/scripts/_00e_lehrbuchlightarmor50.pex differ diff --git a/scripts/_00e_lehrbuchlightarmor75.pex b/scripts/_00e_lehrbuchlightarmor75.pex index e732d2af..eefc9b25 100644 Binary files a/scripts/_00e_lehrbuchlightarmor75.pex and b/scripts/_00e_lehrbuchlightarmor75.pex differ diff --git a/scripts/_00e_lehrbuchmarksman100.pex b/scripts/_00e_lehrbuchmarksman100.pex index 7e693eef..f447feba 100644 Binary files a/scripts/_00e_lehrbuchmarksman100.pex and b/scripts/_00e_lehrbuchmarksman100.pex differ diff --git a/scripts/_00e_lehrbuchmarksman25.pex b/scripts/_00e_lehrbuchmarksman25.pex index 75117b1d..8dc6e06b 100644 Binary files a/scripts/_00e_lehrbuchmarksman25.pex and b/scripts/_00e_lehrbuchmarksman25.pex differ diff --git a/scripts/_00e_lehrbuchmarksman50.pex b/scripts/_00e_lehrbuchmarksman50.pex index 4c7e5de6..46bd06d8 100644 Binary files a/scripts/_00e_lehrbuchmarksman50.pex and b/scripts/_00e_lehrbuchmarksman50.pex differ diff --git a/scripts/_00e_lehrbuchmarksman75.pex b/scripts/_00e_lehrbuchmarksman75.pex index 16b9438b..155a3b81 100644 Binary files a/scripts/_00e_lehrbuchmarksman75.pex and b/scripts/_00e_lehrbuchmarksman75.pex differ diff --git a/scripts/_00e_lehrbuchonehanded100.pex b/scripts/_00e_lehrbuchonehanded100.pex index 0198f6c9..ea63001b 100644 Binary files a/scripts/_00e_lehrbuchonehanded100.pex and b/scripts/_00e_lehrbuchonehanded100.pex differ diff --git a/scripts/_00e_lehrbuchonehanded25.pex b/scripts/_00e_lehrbuchonehanded25.pex index 39c9426e..6bcadb67 100644 Binary files a/scripts/_00e_lehrbuchonehanded25.pex and b/scripts/_00e_lehrbuchonehanded25.pex differ diff --git a/scripts/_00e_lehrbuchonehanded50.pex b/scripts/_00e_lehrbuchonehanded50.pex index 2489d25e..55c02c99 100644 Binary files a/scripts/_00e_lehrbuchonehanded50.pex and b/scripts/_00e_lehrbuchonehanded50.pex differ diff --git a/scripts/_00e_lehrbuchonehanded75.pex b/scripts/_00e_lehrbuchonehanded75.pex index 0e6a970c..0134a597 100644 Binary files a/scripts/_00e_lehrbuchonehanded75.pex and b/scripts/_00e_lehrbuchonehanded75.pex differ diff --git a/scripts/_00e_lehrbuchrestoration100.pex b/scripts/_00e_lehrbuchrestoration100.pex index 3d398504..a76ce5fe 100644 Binary files a/scripts/_00e_lehrbuchrestoration100.pex and b/scripts/_00e_lehrbuchrestoration100.pex differ diff --git a/scripts/_00e_lehrbuchrestoration25.pex b/scripts/_00e_lehrbuchrestoration25.pex index 488a99f6..6a1884a9 100644 Binary files a/scripts/_00e_lehrbuchrestoration25.pex and b/scripts/_00e_lehrbuchrestoration25.pex differ diff --git a/scripts/_00e_lehrbuchrestoration50.pex b/scripts/_00e_lehrbuchrestoration50.pex index 7d6e70bd..a8a0771e 100644 Binary files a/scripts/_00e_lehrbuchrestoration50.pex and b/scripts/_00e_lehrbuchrestoration50.pex differ diff --git a/scripts/_00e_lehrbuchrestoration75.pex b/scripts/_00e_lehrbuchrestoration75.pex index 56f59b68..f4ec4263 100644 Binary files a/scripts/_00e_lehrbuchrestoration75.pex and b/scripts/_00e_lehrbuchrestoration75.pex differ diff --git a/scripts/_00e_lehrbuchsneak100.pex b/scripts/_00e_lehrbuchsneak100.pex index cbbfe56a..4a59a6bb 100644 Binary files a/scripts/_00e_lehrbuchsneak100.pex and b/scripts/_00e_lehrbuchsneak100.pex differ diff --git a/scripts/_00e_lehrbuchsneak25.pex b/scripts/_00e_lehrbuchsneak25.pex index f5cda07f..d4a844ec 100644 Binary files a/scripts/_00e_lehrbuchsneak25.pex and b/scripts/_00e_lehrbuchsneak25.pex differ diff --git a/scripts/_00e_lehrbuchsneak50.pex b/scripts/_00e_lehrbuchsneak50.pex index 4c969645..ecd1e2b7 100644 Binary files a/scripts/_00e_lehrbuchsneak50.pex and b/scripts/_00e_lehrbuchsneak50.pex differ diff --git a/scripts/_00e_lehrbuchsneak75.pex b/scripts/_00e_lehrbuchsneak75.pex index 03a55d71..ea6a9df8 100644 Binary files a/scripts/_00e_lehrbuchsneak75.pex and b/scripts/_00e_lehrbuchsneak75.pex differ diff --git a/scripts/_00e_lehrbuchtwohanded100.pex b/scripts/_00e_lehrbuchtwohanded100.pex index 4433c617..0aa64f32 100644 Binary files a/scripts/_00e_lehrbuchtwohanded100.pex and b/scripts/_00e_lehrbuchtwohanded100.pex differ diff --git a/scripts/_00e_lehrbuchtwohanded25.pex b/scripts/_00e_lehrbuchtwohanded25.pex index 89770bc1..d6f77071 100644 Binary files a/scripts/_00e_lehrbuchtwohanded25.pex and b/scripts/_00e_lehrbuchtwohanded25.pex differ diff --git a/scripts/_00e_lehrbuchtwohanded50.pex b/scripts/_00e_lehrbuchtwohanded50.pex index 515d69e5..b00bc404 100644 Binary files a/scripts/_00e_lehrbuchtwohanded50.pex and b/scripts/_00e_lehrbuchtwohanded50.pex differ diff --git a/scripts/_00e_lehrbuchtwohanded75.pex b/scripts/_00e_lehrbuchtwohanded75.pex index 97b690a0..74e9cf26 100644 Binary files a/scripts/_00e_lehrbuchtwohanded75.pex and b/scripts/_00e_lehrbuchtwohanded75.pex differ diff --git a/scripts/_00e_mq01_functions.pex b/scripts/_00e_mq01_functions.pex index 0596f4e6..c6e692f4 100644 Binary files a/scripts/_00e_mq01_functions.pex and b/scripts/_00e_mq01_functions.pex differ diff --git a/scripts/_00e_mq01_gourdsscript.pex b/scripts/_00e_mq01_gourdsscript.pex index f989295a..df192e70 100644 Binary files a/scripts/_00e_mq01_gourdsscript.pex and b/scripts/_00e_mq01_gourdsscript.pex differ diff --git a/scripts/_00e_mq01_mushroomsfound.pex b/scripts/_00e_mq01_mushroomsfound.pex index ab9534a4..eea307c1 100644 Binary files a/scripts/_00e_mq01_mushroomsfound.pex and b/scripts/_00e_mq01_mushroomsfound.pex differ diff --git a/scripts/_00e_mq01_nomusiccampboxsc.pex b/scripts/_00e_mq01_nomusiccampboxsc.pex index ae605601..82fd63af 100644 Binary files a/scripts/_00e_mq01_nomusiccampboxsc.pex and b/scripts/_00e_mq01_nomusiccampboxsc.pex differ diff --git a/scripts/_00e_mq01_wolfstopcombatfailsavesc.pex b/scripts/_00e_mq01_wolfstopcombatfailsavesc.pex index c1fada01..8aea8aba 100644 Binary files a/scripts/_00e_mq01_wolfstopcombatfailsavesc.pex and b/scripts/_00e_mq01_wolfstopcombatfailsavesc.pex differ diff --git a/scripts/_00e_mq02_functions.pex b/scripts/_00e_mq02_functions.pex index 79381ad9..ded535d5 100644 Binary files a/scripts/_00e_mq02_functions.pex and b/scripts/_00e_mq02_functions.pex differ diff --git a/scripts/_00e_mq03_functions.pex b/scripts/_00e_mq03_functions.pex index a589183c..d18affbd 100644 Binary files a/scripts/_00e_mq03_functions.pex and b/scripts/_00e_mq03_functions.pex differ diff --git a/scripts/_00e_mq03_konstantindisablefireme.pex b/scripts/_00e_mq03_konstantindisablefireme.pex index 0a11d784..1d2a8c4a 100644 Binary files a/scripts/_00e_mq03_konstantindisablefireme.pex and b/scripts/_00e_mq03_konstantindisablefireme.pex differ diff --git a/scripts/_00e_mq05_functions.pex b/scripts/_00e_mq05_functions.pex index 0f86f267..fc62d8f5 100644 Binary files a/scripts/_00e_mq05_functions.pex and b/scripts/_00e_mq05_functions.pex differ diff --git a/scripts/_00e_mq06_functions.pex b/scripts/_00e_mq06_functions.pex index e8fc8248..4d551474 100644 Binary files a/scripts/_00e_mq06_functions.pex and b/scripts/_00e_mq06_functions.pex differ diff --git a/scripts/_00e_mq07_functions.pex b/scripts/_00e_mq07_functions.pex index c96d7cb2..183ecfe9 100644 Binary files a/scripts/_00e_mq07_functions.pex and b/scripts/_00e_mq07_functions.pex differ diff --git a/scripts/_00e_mq07a_functions.pex b/scripts/_00e_mq07a_functions.pex index 62531e35..52d76c84 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 f4b7fb29..35d45960 100644 Binary files a/scripts/_00e_mq07b_questfunctions.pex and b/scripts/_00e_mq07b_questfunctions.pex differ diff --git a/scripts/_00e_mq07b_sc02_failsave02sc.pex b/scripts/_00e_mq07b_sc02_failsave02sc.pex index 970583f6..54262bd9 100644 Binary files a/scripts/_00e_mq07b_sc02_failsave02sc.pex and b/scripts/_00e_mq07b_sc02_failsave02sc.pex differ diff --git a/scripts/_00e_mq07b_sc02_failsavesc.pex b/scripts/_00e_mq07b_sc02_failsavesc.pex index 30d65620..9271b673 100644 Binary files a/scripts/_00e_mq07b_sc02_failsavesc.pex and b/scripts/_00e_mq07b_sc02_failsavesc.pex differ diff --git a/scripts/_00e_mq07baftermath_function.pex b/scripts/_00e_mq07baftermath_function.pex index 7ae74a99..6bd2e576 100644 Binary files a/scripts/_00e_mq07baftermath_function.pex and b/scripts/_00e_mq07baftermath_function.pex differ diff --git a/scripts/_00e_mq08_questfunctions.pex b/scripts/_00e_mq08_questfunctions.pex index 92e4efa3..79971d92 100644 Binary files a/scripts/_00e_mq08_questfunctions.pex and b/scripts/_00e_mq08_questfunctions.pex differ diff --git a/scripts/_00e_mq08aprologue_functions.pex b/scripts/_00e_mq08aprologue_functions.pex index 34121a61..9c063427 100644 Binary files a/scripts/_00e_mq08aprologue_functions.pex and b/scripts/_00e_mq08aprologue_functions.pex differ diff --git a/scripts/_00e_mq09_questfunctions.pex b/scripts/_00e_mq09_questfunctions.pex index f9a331d0..468471a1 100644 Binary files a/scripts/_00e_mq09_questfunctions.pex and b/scripts/_00e_mq09_questfunctions.pex differ diff --git a/scripts/_00e_mq10a_functions.pex b/scripts/_00e_mq10a_functions.pex index 8db627ec..6276ac9b 100644 Binary files a/scripts/_00e_mq10a_functions.pex and b/scripts/_00e_mq10a_functions.pex differ diff --git a/scripts/_00e_mq10b_questfunctions.pex b/scripts/_00e_mq10b_questfunctions.pex index 07f8482e..58456832 100644 Binary files a/scripts/_00e_mq10b_questfunctions.pex and b/scripts/_00e_mq10b_questfunctions.pex differ diff --git a/scripts/_00e_mq11a_functions.pex b/scripts/_00e_mq11a_functions.pex index 871cd81a..ed3bce14 100644 Binary files a/scripts/_00e_mq11a_functions.pex and b/scripts/_00e_mq11a_functions.pex differ diff --git a/scripts/_00e_mq11b_questfunctions.pex b/scripts/_00e_mq11b_questfunctions.pex index 3f74b918..ec9bea69 100644 Binary files a/scripts/_00e_mq11b_questfunctions.pex and b/scripts/_00e_mq11b_questfunctions.pex differ diff --git a/scripts/_00e_mq11c_functions.pex b/scripts/_00e_mq11c_functions.pex index 2ac0a3f5..8bf48365 100644 Binary files a/scripts/_00e_mq11c_functions.pex and b/scripts/_00e_mq11c_functions.pex differ diff --git a/scripts/_00e_mq11c_gatefailsavesc.pex b/scripts/_00e_mq11c_gatefailsavesc.pex deleted file mode 100644 index a1dd0513..00000000 Binary files a/scripts/_00e_mq11c_gatefailsavesc.pex and /dev/null differ diff --git a/scripts/_00e_mq11c_ryneusentryheadachesc.pex b/scripts/_00e_mq11c_ryneusentryheadachesc.pex index 3ce9945b..fe622387 100644 Binary files a/scripts/_00e_mq11c_ryneusentryheadachesc.pex and b/scripts/_00e_mq11c_ryneusentryheadachesc.pex differ diff --git a/scripts/_00e_mq12a_functions.pex b/scripts/_00e_mq12a_functions.pex index a06bb0f7..6839a70c 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 2825591f..d32eeaaf 100644 Binary files a/scripts/_00e_mq12b_functions.pex and b/scripts/_00e_mq12b_functions.pex differ diff --git a/scripts/_00e_mq12b_samaelkillritualsc.pex b/scripts/_00e_mq12b_samaelkillritualsc.pex index 2209f49e..50d7d5ff 100644 Binary files a/scripts/_00e_mq12b_samaelkillritualsc.pex and b/scripts/_00e_mq12b_samaelkillritualsc.pex differ diff --git a/scripts/_00e_mq12b_sc12_killtriggersc.pex b/scripts/_00e_mq12b_sc12_killtriggersc.pex index f1ba5d3d..d168b09e 100644 Binary files a/scripts/_00e_mq12b_sc12_killtriggersc.pex and b/scripts/_00e_mq12b_sc12_killtriggersc.pex differ diff --git a/scripts/_00e_mq12b_sc12_yuslanritualsc.pex b/scripts/_00e_mq12b_sc12_yuslanritualsc.pex index e7609f56..318e1b4f 100644 Binary files a/scripts/_00e_mq12b_sc12_yuslanritualsc.pex and b/scripts/_00e_mq12b_sc12_yuslanritualsc.pex differ diff --git a/scripts/_00e_mq12c_functions.pex b/scripts/_00e_mq12c_functions.pex index a4076906..d0a55043 100644 Binary files a/scripts/_00e_mq12c_functions.pex and b/scripts/_00e_mq12c_functions.pex differ diff --git a/scripts/_00e_mq13a_functions.pex b/scripts/_00e_mq13a_functions.pex index d3294e98..97daeafe 100644 Binary files a/scripts/_00e_mq13a_functions.pex and b/scripts/_00e_mq13a_functions.pex differ diff --git a/scripts/_00e_mq13a_grammophonesc.pex b/scripts/_00e_mq13a_grammophonesc.pex index b3e8e1bf..0d568dad 100644 Binary files a/scripts/_00e_mq13a_grammophonesc.pex and b/scripts/_00e_mq13a_grammophonesc.pex differ diff --git a/scripts/_00e_mq13b_functions.pex b/scripts/_00e_mq13b_functions.pex index cf77b1b8..cd65414f 100644 Binary files a/scripts/_00e_mq13b_functions.pex and b/scripts/_00e_mq13b_functions.pex differ diff --git a/scripts/_00e_mq13b_sc10_reliefrotationsc.pex b/scripts/_00e_mq13b_sc10_reliefrotationsc.pex index bd2bc003..1ecefd7b 100644 Binary files a/scripts/_00e_mq13b_sc10_reliefrotationsc.pex and b/scripts/_00e_mq13b_sc10_reliefrotationsc.pex differ diff --git a/scripts/_00e_mq13c_functions.pex b/scripts/_00e_mq13c_functions.pex index 0a19c790..4a4e05e6 100644 Binary files a/scripts/_00e_mq13c_functions.pex and b/scripts/_00e_mq13c_functions.pex differ diff --git a/scripts/_00e_mq14_functions.pex b/scripts/_00e_mq14_functions.pex index 6da72f3e..e4afb6f9 100644 Binary files a/scripts/_00e_mq14_functions.pex and b/scripts/_00e_mq14_functions.pex differ diff --git a/scripts/_00e_mq15_functions.pex b/scripts/_00e_mq15_functions.pex index 3bf2062d..81d2e51f 100644 Binary files a/scripts/_00e_mq15_functions.pex and b/scripts/_00e_mq15_functions.pex differ diff --git a/scripts/_00e_mq16_functions.pex b/scripts/_00e_mq16_functions.pex index 54bacbd6..bf19e793 100644 Binary files a/scripts/_00e_mq16_functions.pex and b/scripts/_00e_mq16_functions.pex differ diff --git a/scripts/_00e_mq17_functions.pex b/scripts/_00e_mq17_functions.pex index a879629d..8e761d65 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 60dce360..c965f329 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 d6ef54c7..696e5f8c 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 c0ca6640..cf94e693 100644 Binary files a/scripts/_00e_mqp01_functions.pex and b/scripts/_00e_mqp01_functions.pex differ diff --git a/scripts/_00e_mqp02_functions.pex b/scripts/_00e_mqp02_functions.pex index c39a98f2..dc9b50d1 100644 Binary files a/scripts/_00e_mqp02_functions.pex and b/scripts/_00e_mqp02_functions.pex differ diff --git a/scripts/_00e_mqp02_siriusriqdeathscript.pex b/scripts/_00e_mqp02_siriusriqdeathscript.pex index 7ac51764..2cdacdc1 100644 Binary files a/scripts/_00e_mqp02_siriusriqdeathscript.pex and b/scripts/_00e_mqp02_siriusriqdeathscript.pex differ diff --git a/scripts/_00e_mqp03_functions.pex b/scripts/_00e_mqp03_functions.pex index 62f382cc..c18bcc26 100644 Binary files a/scripts/_00e_mqp03_functions.pex and b/scripts/_00e_mqp03_functions.pex differ diff --git a/scripts/_00e_myradsystem02.pex b/scripts/_00e_myradsystem02.pex index 714c5879..92220586 100644 Binary files a/scripts/_00e_myradsystem02.pex and b/scripts/_00e_myradsystem02.pex differ diff --git a/scripts/_00e_nicodebugscript.pex b/scripts/_00e_nicodebugscript.pex index 71f5df1e..222e2951 100644 Binary files a/scripts/_00e_nicodebugscript.pex and b/scripts/_00e_nicodebugscript.pex differ diff --git a/scripts/_00e_nq02_newhorizons_library.pex b/scripts/_00e_nq02_newhorizons_library.pex index 3f24b431..8f4de240 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_functions.pex b/scripts/_00e_nq03_functions.pex index 7cac16af..89517be1 100644 Binary files a/scripts/_00e_nq03_functions.pex and b/scripts/_00e_nq03_functions.pex differ diff --git a/scripts/_00e_nq03_skullspheresc.pex b/scripts/_00e_nq03_skullspheresc.pex index 96a48198..255e3878 100644 Binary files a/scripts/_00e_nq03_skullspheresc.pex and b/scripts/_00e_nq03_skullspheresc.pex differ diff --git a/scripts/_00e_nq05_functions.pex b/scripts/_00e_nq05_functions.pex index 7d5f965a..8f4ff727 100644 Binary files a/scripts/_00e_nq05_functions.pex and b/scripts/_00e_nq05_functions.pex differ diff --git a/scripts/_00e_nq07_bustsc.pex b/scripts/_00e_nq07_bustsc.pex index 5afa38a3..5df7aac9 100644 Binary files a/scripts/_00e_nq07_bustsc.pex and b/scripts/_00e_nq07_bustsc.pex differ diff --git a/scripts/_00e_nq07_functions.pex b/scripts/_00e_nq07_functions.pex index a6803744..1958c290 100644 Binary files a/scripts/_00e_nq07_functions.pex and b/scripts/_00e_nq07_functions.pex differ diff --git a/scripts/_00e_nq09_functions.pex b/scripts/_00e_nq09_functions.pex index 7ea9f1a5..ee2c9e7e 100644 Binary files a/scripts/_00e_nq09_functions.pex and b/scripts/_00e_nq09_functions.pex differ diff --git a/scripts/_00e_nq09_tombriddleactivatorscript.pex b/scripts/_00e_nq09_tombriddleactivatorscript.pex deleted file mode 100644 index 8dd07d51..00000000 Binary files a/scripts/_00e_nq09_tombriddleactivatorscript.pex and /dev/null differ diff --git a/scripts/_00e_nq10_functions.pex b/scripts/_00e_nq10_functions.pex index 0ee5dedf..c4aa0be7 100644 Binary files a/scripts/_00e_nq10_functions.pex and b/scripts/_00e_nq10_functions.pex differ diff --git a/scripts/_00e_nq11_functions.pex b/scripts/_00e_nq11_functions.pex index 875ecbe7..250c9007 100644 Binary files a/scripts/_00e_nq11_functions.pex and b/scripts/_00e_nq11_functions.pex differ diff --git a/scripts/_00e_nq13functions.pex b/scripts/_00e_nq13functions.pex index b9c4aebd..242478cd 100644 Binary files a/scripts/_00e_nq13functions.pex and b/scripts/_00e_nq13functions.pex differ diff --git a/scripts/_00e_nq14_functions.pex b/scripts/_00e_nq14_functions.pex index c735eebf..113c5c38 100644 Binary files a/scripts/_00e_nq14_functions.pex and b/scripts/_00e_nq14_functions.pex differ diff --git a/scripts/_00e_nq15functions.pex b/scripts/_00e_nq15functions.pex index a301f30a..e2fba743 100644 Binary files a/scripts/_00e_nq15functions.pex and b/scripts/_00e_nq15functions.pex differ diff --git a/scripts/_00e_nq17functions.pex b/scripts/_00e_nq17functions.pex index 6861beea..9cbb80d0 100644 Binary files a/scripts/_00e_nq17functions.pex and b/scripts/_00e_nq17functions.pex differ diff --git a/scripts/_00e_nq19_functions.pex b/scripts/_00e_nq19_functions.pex index 0af37020..3051bb1d 100644 Binary files a/scripts/_00e_nq19_functions.pex and b/scripts/_00e_nq19_functions.pex differ diff --git a/scripts/_00e_nq21_questfunctions.pex b/scripts/_00e_nq21_questfunctions.pex index 79df6eea..73f65300 100644 Binary files a/scripts/_00e_nq21_questfunctions.pex and b/scripts/_00e_nq21_questfunctions.pex differ diff --git a/scripts/_00e_nq22_functions.pex b/scripts/_00e_nq22_functions.pex index 5a1815af..cb150c50 100644 Binary files a/scripts/_00e_nq22_functions.pex and b/scripts/_00e_nq22_functions.pex differ diff --git a/scripts/_00e_nq23_functions.pex b/scripts/_00e_nq23_functions.pex index d3a53128..b0800a5b 100644 Binary files a/scripts/_00e_nq23_functions.pex and b/scripts/_00e_nq23_functions.pex differ diff --git a/scripts/_00e_nq24_playerhousing_functions.pex b/scripts/_00e_nq24_playerhousing_functions.pex index af6de542..d3b96a1e 100644 Binary files a/scripts/_00e_nq24_playerhousing_functions.pex and b/scripts/_00e_nq24_playerhousing_functions.pex differ diff --git a/scripts/_00e_nq26_questfunctions.pex b/scripts/_00e_nq26_questfunctions.pex index e3a22c19..87950ae8 100644 Binary files a/scripts/_00e_nq26_questfunctions.pex and b/scripts/_00e_nq26_questfunctions.pex differ diff --git a/scripts/_00e_nq27_functions.pex b/scripts/_00e_nq27_functions.pex index eac4915a..4d1dedb4 100644 Binary files a/scripts/_00e_nq27_functions.pex and b/scripts/_00e_nq27_functions.pex differ diff --git a/scripts/_00e_nq29_functions.pex b/scripts/_00e_nq29_functions.pex index 8d33bb3e..221e35a0 100644 Binary files a/scripts/_00e_nq29_functions.pex and b/scripts/_00e_nq29_functions.pex differ diff --git a/scripts/_00e_nq33_functions.pex b/scripts/_00e_nq33_functions.pex index 46d53fb7..3a86543e 100644 Binary files a/scripts/_00e_nq33_functions.pex and b/scripts/_00e_nq33_functions.pex differ diff --git a/scripts/_00e_nq34_functions.pex b/scripts/_00e_nq34_functions.pex index 19038b36..e37a1568 100644 Binary files a/scripts/_00e_nq34_functions.pex and b/scripts/_00e_nq34_functions.pex differ diff --git a/scripts/_00e_nq36_functions.pex b/scripts/_00e_nq36_functions.pex index d8a44de3..11a0884d 100644 Binary files a/scripts/_00e_nq36_functions.pex and b/scripts/_00e_nq36_functions.pex differ diff --git a/scripts/_00e_nq_g_01_functions.pex b/scripts/_00e_nq_g_01_functions.pex index 231c95c3..48e982a2 100644 Binary files a/scripts/_00e_nq_g_01_functions.pex and b/scripts/_00e_nq_g_01_functions.pex differ diff --git a/scripts/_00e_nq_g_02_functions.pex b/scripts/_00e_nq_g_02_functions.pex index b075bce2..2dd68d53 100644 Binary files a/scripts/_00e_nq_g_02_functions.pex and b/scripts/_00e_nq_g_02_functions.pex differ diff --git a/scripts/_00e_nq_g_02_mushroomonhit.pex b/scripts/_00e_nq_g_02_mushroomonhit.pex index cc21fe2e..13fb888d 100644 Binary files a/scripts/_00e_nq_g_02_mushroomonhit.pex and b/scripts/_00e_nq_g_02_mushroomonhit.pex differ diff --git a/scripts/_00e_nq_g_03_functions.pex b/scripts/_00e_nq_g_03_functions.pex index 5b16c8d3..77d0b65e 100644 Binary files a/scripts/_00e_nq_g_03_functions.pex and b/scripts/_00e_nq_g_03_functions.pex differ diff --git a/scripts/_00e_nq_g_04_functions.pex b/scripts/_00e_nq_g_04_functions.pex index 7b9a616c..a6bd1700 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_05_functions.pex b/scripts/_00e_nq_g_05_functions.pex index 09fad1e7..868a1745 100644 Binary files a/scripts/_00e_nq_g_05_functions.pex and b/scripts/_00e_nq_g_05_functions.pex differ diff --git a/scripts/_00e_nq_g_06_functions.pex b/scripts/_00e_nq_g_06_functions.pex index a837940d..361c8ecd 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_nq_g_07_faintonhit.pex b/scripts/_00e_nq_g_07_faintonhit.pex deleted file mode 100644 index 00089204..00000000 Binary files a/scripts/_00e_nq_g_07_faintonhit.pex and /dev/null differ diff --git a/scripts/_00e_nq_g_07_functions.pex b/scripts/_00e_nq_g_07_functions.pex index 36d90a2f..0edef744 100644 Binary files a/scripts/_00e_nq_g_07_functions.pex and b/scripts/_00e_nq_g_07_functions.pex differ diff --git a/scripts/_00e_nqr01_functions.pex b/scripts/_00e_nqr01_functions.pex index 03f6bda6..8c90d609 100644 Binary files a/scripts/_00e_nqr01_functions.pex and b/scripts/_00e_nqr01_functions.pex differ diff --git a/scripts/_00e_peaceweedplayeraliasscript.pex b/scripts/_00e_peaceweedplayeraliasscript.pex index d127d976..896d8a32 100644 Binary files a/scripts/_00e_peaceweedplayeraliasscript.pex and b/scripts/_00e_peaceweedplayeraliasscript.pex differ diff --git a/scripts/_00e_phasmalist_playeraliasscript.pex b/scripts/_00e_phasmalist_playeraliasscript.pex index 31d560f7..42260a8d 100644 Binary files a/scripts/_00e_phasmalist_playeraliasscript.pex and b/scripts/_00e_phasmalist_playeraliasscript.pex differ diff --git a/scripts/_00e_phasmalist_transmute.pex b/scripts/_00e_phasmalist_transmute.pex index 6d8ec173..c7a4844c 100644 Binary files a/scripts/_00e_phasmalist_transmute.pex and b/scripts/_00e_phasmalist_transmute.pex differ diff --git a/scripts/_00e_phasmalist_workbench.pex b/scripts/_00e_phasmalist_workbench.pex index 97ccf8a9..d07a7458 100644 Binary files a/scripts/_00e_phasmalist_workbench.pex and b/scripts/_00e_phasmalist_workbench.pex differ diff --git a/scripts/_00e_placeablegrammophonplay.pex b/scripts/_00e_placeablegrammophonplay.pex index 0b72ffd6..3cc459e4 100644 Binary files a/scripts/_00e_placeablegrammophonplay.pex and b/scripts/_00e_placeablegrammophonplay.pex differ diff --git a/scripts/_00e_playerfunctions.pex b/scripts/_00e_playerfunctions.pex index 9d82a9e3..28c64dc0 100644 Binary files a/scripts/_00e_playerfunctions.pex and b/scripts/_00e_playerfunctions.pex differ diff --git a/scripts/_00e_playerhousing_mannequincontrol.pex b/scripts/_00e_playerhousing_mannequincontrol.pex index 8729aeb1..0f9dcb13 100644 Binary files a/scripts/_00e_playerhousing_mannequincontrol.pex and b/scripts/_00e_playerhousing_mannequincontrol.pex differ diff --git a/scripts/_00e_posessionfxscript.pex b/scripts/_00e_posessionfxscript.pex index 990afd50..76ebd948 100644 Binary files a/scripts/_00e_posessionfxscript.pex and b/scripts/_00e_posessionfxscript.pex differ diff --git a/scripts/_00e_questfunctions.pex b/scripts/_00e_questfunctions.pex deleted file mode 100644 index 38b5b507..00000000 Binary files a/scripts/_00e_questfunctions.pex and /dev/null differ diff --git a/scripts/_00e_removesilenceandcombatsoundtrack.pex b/scripts/_00e_removesilenceandcombatsoundtrack.pex index 27b85116..68ceb0af 100644 Binary files a/scripts/_00e_removesilenceandcombatsoundtrack.pex and b/scripts/_00e_removesilenceandcombatsoundtrack.pex differ diff --git a/scripts/_00e_scenestartscript.pex b/scripts/_00e_scenestartscript.pex index d1b3c728..d3c36f3f 100644 Binary files a/scripts/_00e_scenestartscript.pex and b/scripts/_00e_scenestartscript.pex differ diff --git a/scripts/_00e_sermontriggerboxscript.pex b/scripts/_00e_sermontriggerboxscript.pex index fe0b3ed9..97927f6b 100644 Binary files a/scripts/_00e_sermontriggerboxscript.pex and b/scripts/_00e_sermontriggerboxscript.pex differ diff --git a/scripts/_00e_setgamehourontriggerenter.pex b/scripts/_00e_setgamehourontriggerenter.pex index 60c8f836..6eb003e7 100644 Binary files a/scripts/_00e_setgamehourontriggerenter.pex and b/scripts/_00e_setgamehourontriggerenter.pex differ diff --git a/scripts/_00e_slowselfmesc.pex b/scripts/_00e_slowselfmesc.pex index 83bf37e3..062cf8dd 100644 Binary files a/scripts/_00e_slowselfmesc.pex and b/scripts/_00e_slowselfmesc.pex differ diff --git a/scripts/_00e_smokepipe_wall_sc.pex b/scripts/_00e_smokepipe_wall_sc.pex index e79b1a90..1bbc5cd6 100644 Binary files a/scripts/_00e_smokepipe_wall_sc.pex and b/scripts/_00e_smokepipe_wall_sc.pex differ diff --git a/scripts/_00e_smoking_absmokingsc.pex b/scripts/_00e_smoking_absmokingsc.pex index 6341c4c6..23434313 100644 Binary files a/scripts/_00e_smoking_absmokingsc.pex and b/scripts/_00e_smoking_absmokingsc.pex differ diff --git a/scripts/_00e_smoking_absmokingsittingsc.pex b/scripts/_00e_smoking_absmokingsittingsc.pex index 42c63b84..324e3e87 100644 Binary files a/scripts/_00e_smoking_absmokingsittingsc.pex and b/scripts/_00e_smoking_absmokingsittingsc.pex differ diff --git a/scripts/_00e_stanceloadfailsafesc.pex b/scripts/_00e_stanceloadfailsafesc.pex index 1cf50a30..6dc68b11 100644 Binary files a/scripts/_00e_stanceloadfailsafesc.pex and b/scripts/_00e_stanceloadfailsafesc.pex differ diff --git a/scripts/_00e_suntemple_weathercontrolsc.pex b/scripts/_00e_suntemple_weathercontrolsc.pex index 943e301b..00bf01f8 100644 Binary files a/scripts/_00e_suntemple_weathercontrolsc.pex and b/scripts/_00e_suntemple_weathercontrolsc.pex differ diff --git a/scripts/_00e_taverngames_gamlingtablesc.pex b/scripts/_00e_taverngames_gamlingtablesc.pex index eea74ad7..8ca9c3a6 100644 Binary files a/scripts/_00e_taverngames_gamlingtablesc.pex and b/scripts/_00e_taverngames_gamlingtablesc.pex differ diff --git a/scripts/_00e_teleport_suntempleme.pex b/scripts/_00e_teleport_suntempleme.pex index 7424c45f..3c6b91da 100644 Binary files a/scripts/_00e_teleport_suntempleme.pex and b/scripts/_00e_teleport_suntempleme.pex differ diff --git a/scripts/_00e_teleportationmescript.pex b/scripts/_00e_teleportationmescript.pex index d70a8d91..344930ad 100644 Binary files a/scripts/_00e_teleportationmescript.pex and b/scripts/_00e_teleportationmescript.pex differ diff --git a/scripts/_00e_test_companionpanelsc.pex b/scripts/_00e_test_companionpanelsc.pex deleted file mode 100644 index 96d2d161..00000000 Binary files a/scripts/_00e_test_companionpanelsc.pex and /dev/null differ diff --git a/scripts/_00e_test_script01.pex b/scripts/_00e_test_script01.pex deleted file mode 100644 index ca07ec60..00000000 Binary files a/scripts/_00e_test_script01.pex and /dev/null differ diff --git a/scripts/_00e_testbossfightsc.pex b/scripts/_00e_testbossfightsc.pex index 0ebe734f..325dc978 100644 Binary files a/scripts/_00e_testbossfightsc.pex and b/scripts/_00e_testbossfightsc.pex differ diff --git a/scripts/_00e_testmagiceffect.pex b/scripts/_00e_testmagiceffect.pex deleted file mode 100644 index 22bd78ea..00000000 Binary files a/scripts/_00e_testmagiceffect.pex and /dev/null differ diff --git a/scripts/_00e_timecontrol.pex b/scripts/_00e_timecontrol.pex new file mode 100644 index 00000000..43307f24 Binary files /dev/null and b/scripts/_00e_timecontrol.pex differ diff --git a/scripts/critterperch.pex b/scripts/critterperch.pex new file mode 100644 index 00000000..77f41582 Binary files /dev/null and b/scripts/critterperch.pex differ diff --git a/scripts/custom.pex b/scripts/custom.pex new file mode 100644 index 00000000..ad2ab0f5 Binary files /dev/null and b/scripts/custom.pex differ diff --git a/scripts/mq03_functions.pex b/scripts/mq03_functions.pex index 7c1efffa..f192f400 100644 Binary files a/scripts/mq03_functions.pex and b/scripts/mq03_functions.pex differ diff --git a/scripts/pf__00e_capitalcity_merrolbu_00147ea9.pex b/scripts/pf__00e_capitalcity_merrolbu_00147ea9.pex index f7a403ce..edb9182a 100644 Binary files a/scripts/pf__00e_capitalcity_merrolbu_00147ea9.pex and b/scripts/pf__00e_capitalcity_merrolbu_00147ea9.pex differ diff --git a/scripts/pf__00e_cq_d_01_dijaamforceg_00139df5.pex b/scripts/pf__00e_cq_d_01_dijaamforceg_00139df5.pex index 2c27c4ad..949208c2 100644 Binary files a/scripts/pf__00e_cq_d_01_dijaamforceg_00139df5.pex and b/scripts/pf__00e_cq_d_01_dijaamforceg_00139df5.pex differ diff --git a/scripts/pf__00e_mq14_sc04_ignorecomb_00141d5b.pex b/scripts/pf__00e_mq14_sc04_ignorecomb_00141d5b.pex index 117a6553..1193c192 100644 Binary files a/scripts/pf__00e_mq14_sc04_ignorecomb_00141d5b.pex and b/scripts/pf__00e_mq14_sc04_ignorecomb_00141d5b.pex differ diff --git a/scripts/pf__00e_nq_g_04_dijaamforceg_00139dfc.pex b/scripts/pf__00e_nq_g_04_dijaamforceg_00139dfc.pex index d3a9d6cc..0a340d89 100644 Binary files a/scripts/pf__00e_nq_g_04_dijaamforceg_00139dfc.pex and b/scripts/pf__00e_nq_g_04_dijaamforceg_00139dfc.pex differ diff --git a/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fc5.pex b/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fc5.pex index 0646745c..5c497b87 100644 Binary files a/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fc5.pex and b/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fc5.pex differ diff --git a/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fdd.pex b/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fdd.pex index b3e7840d..facbedd8 100644 Binary files a/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fdd.pex and b/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fdd.pex differ diff --git a/scripts/pf__00e_nq_g_07mael_dijamwal_0013f9ce.pex b/scripts/pf__00e_nq_g_07mael_dijamwal_0013f9ce.pex index 2033e188..80e3e1ee 100644 Binary files a/scripts/pf__00e_nq_g_07mael_dijamwal_0013f9ce.pex and b/scripts/pf__00e_nq_g_07mael_dijamwal_0013f9ce.pex differ diff --git a/scripts/pf__00e_nq_g_07mael_wuulasca_0013f727.pex b/scripts/pf__00e_nq_g_07mael_wuulasca_0013f727.pex index 39ede7a8..f0bd2f69 100644 Binary files a/scripts/pf__00e_nq_g_07mael_wuulasca_0013f727.pex and b/scripts/pf__00e_nq_g_07mael_wuulasca_0013f727.pex differ diff --git a/scripts/pf__00e_nq_g_maelsitandtalk__0013c40e.pex b/scripts/pf__00e_nq_g_maelsitandtalk__0013c40e.pex index 4868430b..ac07c8f1 100644 Binary files a/scripts/pf__00e_nq_g_maelsitandtalk__0013c40e.pex and b/scripts/pf__00e_nq_g_maelsitandtalk__0013c40e.pex differ diff --git a/scripts/pf__00e_nq_g_maelsitandwrite_00139da6.pex b/scripts/pf__00e_nq_g_maelsitandwrite_00139da6.pex index 1c7082c4..efa1a36f 100644 Binary files a/scripts/pf__00e_nq_g_maelsitandwrite_00139da6.pex and b/scripts/pf__00e_nq_g_maelsitandwrite_00139da6.pex differ diff --git a/scripts/pf__00e_testquest_perchpkg_0013a21c.pex b/scripts/pf__00e_testquest_perchpkg_0013a21c.pex index 1c06dd88..0062a47a 100644 Binary files a/scripts/pf__00e_testquest_perchpkg_0013a21c.pex and b/scripts/pf__00e_testquest_perchpkg_0013a21c.pex differ diff --git a/scripts/pf__15e_flusshaim_huntertizi_00147e84.pex b/scripts/pf__15e_flusshaim_huntertizi_00147e84.pex index 90887f4e..a51244d5 100644 Binary files a/scripts/pf__15e_flusshaim_huntertizi_00147e84.pex and b/scripts/pf__15e_flusshaim_huntertizi_00147e84.pex differ diff --git a/scripts/pf_a2_eldritchblood_followpa_000eef92.pex b/scripts/pf_a2_eldritchblood_followpa_000eef92.pex index f6d2426d..69baef4d 100644 Binary files a/scripts/pf_a2_eldritchblood_followpa_000eef92.pex and b/scripts/pf_a2_eldritchblood_followpa_000eef92.pex differ diff --git a/scripts/pf_capitalcityheroldspeak8x1_000c2e26.pex b/scripts/pf_capitalcityheroldspeak8x1_000c2e26.pex index ff75a7f6..67d76837 100644 Binary files a/scripts/pf_capitalcityheroldspeak8x1_000c2e26.pex and b/scripts/pf_capitalcityheroldspeak8x1_000c2e26.pex differ diff --git a/scripts/pf_cqj05_sc01_playergetintop_0013fb3a.pex b/scripts/pf_cqj05_sc01_playergetintop_0013fb3a.pex index 478515a7..795f4be2 100644 Binary files a/scripts/pf_cqj05_sc01_playergetintop_0013fb3a.pex and b/scripts/pf_cqj05_sc01_playergetintop_0013fb3a.pex differ diff --git a/scripts/pf_fs_nq01_sc08_yuslantravel_0101c6a4.pex b/scripts/pf_fs_nq01_sc08_yuslantravel_0101c6a4.pex index 84e405ac..2a8a86ba 100644 Binary files a/scripts/pf_fs_nq01_sc08_yuslantravel_0101c6a4.pex and b/scripts/pf_fs_nq01_sc08_yuslantravel_0101c6a4.pex differ diff --git a/scripts/pf_mq03_sc1_jesparpackageesc_0003193d.pex b/scripts/pf_mq03_sc1_jesparpackageesc_0003193d.pex index 2a87efd5..e0674d20 100644 Binary files a/scripts/pf_mq03_sc1_jesparpackageesc_0003193d.pex and b/scripts/pf_mq03_sc1_jesparpackageesc_0003193d.pex differ diff --git a/scripts/pf_mq06_sc02_caliaforcegreet_0014f9d9.pex b/scripts/pf_mq06_sc02_caliaforcegreet_0014f9d9.pex index 9d95979a..dfab56c8 100644 Binary files a/scripts/pf_mq06_sc02_caliaforcegreet_0014f9d9.pex and b/scripts/pf_mq06_sc02_caliaforcegreet_0014f9d9.pex differ diff --git a/scripts/pf_mq06_sc2_forcegreet_000d8ea7.pex b/scripts/pf_mq06_sc2_forcegreet_000d8ea7.pex index 904e257c..02bcaec3 100644 Binary files a/scripts/pf_mq06_sc2_forcegreet_000d8ea7.pex and b/scripts/pf_mq06_sc2_forcegreet_000d8ea7.pex differ diff --git a/scripts/pf_mq09_sc06_samaelgotoplate_00152859.pex b/scripts/pf_mq09_sc06_samaelgotoplate_00152859.pex index fb6ed141..1f98c03d 100644 Binary files a/scripts/pf_mq09_sc06_samaelgotoplate_00152859.pex and b/scripts/pf_mq09_sc06_samaelgotoplate_00152859.pex differ diff --git a/scripts/pf_mq10a_fathersitdown_00118471.pex b/scripts/pf_mq10a_fathersitdown_00118471.pex deleted file mode 100644 index 36a83eee..00000000 Binary files a/scripts/pf_mq10a_fathersitdown_00118471.pex and /dev/null differ diff --git a/scripts/pf_mq10a_sc1_eat_00119acf.pex b/scripts/pf_mq10a_sc1_eat_00119acf.pex index 917245da..1cfa7e60 100644 Binary files a/scripts/pf_mq10a_sc1_eat_00119acf.pex and b/scripts/pf_mq10a_sc1_eat_00119acf.pex differ diff --git a/scripts/pf_mq11b_sc02_prisonersit_00117940.pex b/scripts/pf_mq11b_sc02_prisonersit_00117940.pex index c0ba8111..ec157923 100644 Binary files a/scripts/pf_mq11b_sc02_prisonersit_00117940.pex and b/scripts/pf_mq11b_sc02_prisonersit_00117940.pex differ diff --git a/scripts/pf_mq11b_sc05_jesparrevival_0014590d.pex b/scripts/pf_mq11b_sc05_jesparrevival_0014590d.pex index 7741cc6e..14fdd6b7 100644 Binary files a/scripts/pf_mq11b_sc05_jesparrevival_0014590d.pex and b/scripts/pf_mq11b_sc05_jesparrevival_0014590d.pex differ diff --git a/scripts/pf_mq12b_sc11_samaelkillnara_00133910.pex b/scripts/pf_mq12b_sc11_samaelkillnara_00133910.pex index 0ed1b258..841b4a62 100644 Binary files a/scripts/pf_mq12b_sc11_samaelkillnara_00133910.pex and b/scripts/pf_mq12b_sc11_samaelkillnara_00133910.pex differ diff --git a/scripts/pf_mq12b_sc1_forcegreet_0011b0a5.pex b/scripts/pf_mq12b_sc1_forcegreet_0011b0a5.pex index 4e388f42..7a6eb2aa 100644 Binary files a/scripts/pf_mq12b_sc1_forcegreet_0011b0a5.pex and b/scripts/pf_mq12b_sc1_forcegreet_0011b0a5.pex differ diff --git a/scripts/pf_mq12b_sc4_tealortraveltol_0011b10f.pex b/scripts/pf_mq12b_sc4_tealortraveltol_0011b10f.pex index b356e029..fc26af10 100644 Binary files a/scripts/pf_mq12b_sc4_tealortraveltol_0011b10f.pex and b/scripts/pf_mq12b_sc4_tealortraveltol_0011b10f.pex differ diff --git a/scripts/pf_mq12b_sc6_test_001294c2.pex b/scripts/pf_mq12b_sc6_test_001294c2.pex index 2cc6ea66..b4afe769 100644 Binary files a/scripts/pf_mq12b_sc6_test_001294c2.pex and b/scripts/pf_mq12b_sc6_test_001294c2.pex differ diff --git a/scripts/pf_mq12b_sc6_usecrank_001294ca.pex b/scripts/pf_mq12b_sc6_usecrank_001294ca.pex index 98c48e23..e1c4408b 100644 Binary files a/scripts/pf_mq12b_sc6_usecrank_001294ca.pex and b/scripts/pf_mq12b_sc6_usecrank_001294ca.pex differ diff --git a/scripts/pf_mq12b_sc8_traveltowallint_00129488.pex b/scripts/pf_mq12b_sc8_traveltowallint_00129488.pex index 9a41587d..d6529192 100644 Binary files a/scripts/pf_mq12b_sc8_traveltowallint_00129488.pex and b/scripts/pf_mq12b_sc8_traveltowallint_00129488.pex differ diff --git a/scripts/pf_mq13a_sc01_forcegreet_00136d19.pex b/scripts/pf_mq13a_sc01_forcegreet_00136d19.pex index 68863573..1df606e3 100644 Binary files a/scripts/pf_mq13a_sc01_forcegreet_00136d19.pex and b/scripts/pf_mq13a_sc01_forcegreet_00136d19.pex differ diff --git a/scripts/pf_mq13b_sc04_caliaapproachk_00137fdd.pex b/scripts/pf_mq13b_sc04_caliaapproachk_00137fdd.pex index 671b919a..4ec926c0 100644 Binary files a/scripts/pf_mq13b_sc04_caliaapproachk_00137fdd.pex and b/scripts/pf_mq13b_sc04_caliaapproachk_00137fdd.pex differ diff --git a/scripts/pf_mq13b_sc07_traveltoroom_00138014.pex b/scripts/pf_mq13b_sc07_traveltoroom_00138014.pex index a018819b..41e5a205 100644 Binary files a/scripts/pf_mq13b_sc07_traveltoroom_00138014.pex and b/scripts/pf_mq13b_sc07_traveltoroom_00138014.pex differ diff --git a/scripts/pf_mq13c_sc04_activatestairs_0013a208.pex b/scripts/pf_mq13c_sc04_activatestairs_0013a208.pex index afd76fdc..5e5dac40 100644 Binary files a/scripts/pf_mq13c_sc04_activatestairs_0013a208.pex and b/scripts/pf_mq13c_sc04_activatestairs_0013a208.pex differ diff --git a/scripts/pf_mq13c_sc09_steelbirdcast_0013a1e9.pex b/scripts/pf_mq13c_sc09_steelbirdcast_0013a1e9.pex index 15952dc6..001a735e 100644 Binary files a/scripts/pf_mq13c_sc09_steelbirdcast_0013a1e9.pex and b/scripts/pf_mq13c_sc09_steelbirdcast_0013a1e9.pex differ diff --git a/scripts/pf_mq14_sc04_traveltobeacon_00141d87.pex b/scripts/pf_mq14_sc04_traveltobeacon_00141d87.pex index 147391fe..b38b10fc 100644 Binary files a/scripts/pf_mq14_sc04_traveltobeacon_00141d87.pex and b/scripts/pf_mq14_sc04_traveltobeacon_00141d87.pex differ diff --git a/scripts/pf_mq15_sc04_tealorescort_02_00145880.pex b/scripts/pf_mq15_sc04_tealorescort_02_00145880.pex index f039fd4d..9b9fa9da 100644 Binary files a/scripts/pf_mq15_sc04_tealorescort_02_00145880.pex and b/scripts/pf_mq15_sc04_tealorescort_02_00145880.pex differ diff --git a/scripts/pf_mq15_sc05_useweaponondaug_001458b2.pex b/scripts/pf_mq15_sc05_useweaponondaug_001458b2.pex index 57f490cc..593c2c0a 100644 Binary files a/scripts/pf_mq15_sc05_useweaponondaug_001458b2.pex and b/scripts/pf_mq15_sc05_useweaponondaug_001458b2.pex differ diff --git a/scripts/pf_mq16_sc01_travelto_00147132.pex b/scripts/pf_mq16_sc01_travelto_00147132.pex index f06d9861..c006e05a 100644 Binary files a/scripts/pf_mq16_sc01_travelto_00147132.pex and b/scripts/pf_mq16_sc01_travelto_00147132.pex differ diff --git a/scripts/pf_mq16_sc11_tealorruntobeac_0014869d.pex b/scripts/pf_mq16_sc11_tealorruntobeac_0014869d.pex index 1815d8e9..303c74bc 100644 Binary files a/scripts/pf_mq16_sc11_tealorruntobeac_0014869d.pex and b/scripts/pf_mq16_sc11_tealorruntobeac_0014869d.pex differ diff --git a/scripts/pf_mq17_sc03_forcegreet_01_001496a6.pex b/scripts/pf_mq17_sc03_forcegreet_01_001496a6.pex index 635f0f8a..fcd07f94 100644 Binary files a/scripts/pf_mq17_sc03_forcegreet_01_001496a6.pex and b/scripts/pf_mq17_sc03_forcegreet_01_001496a6.pex differ diff --git a/scripts/pf_mq17_sc06_companionrunfor_001496ca.pex b/scripts/pf_mq17_sc06_companionrunfor_001496ca.pex index e10ca6cc..c4308880 100644 Binary files a/scripts/pf_mq17_sc06_companionrunfor_001496ca.pex and b/scripts/pf_mq17_sc06_companionrunfor_001496ca.pex differ diff --git a/scripts/pf_mq17_sc06_companionshootb_001496c3.pex b/scripts/pf_mq17_sc06_companionshootb_001496c3.pex index 263aa28b..45842c91 100644 Binary files a/scripts/pf_mq17_sc06_companionshootb_001496c3.pex and b/scripts/pf_mq17_sc06_companionshootb_001496c3.pex differ diff --git a/scripts/pf_mqp02_sc3_siriuswalkdown_00112e24.pex b/scripts/pf_mqp02_sc3_siriuswalkdown_00112e24.pex index 4993d74c..456c18f0 100644 Binary files a/scripts/pf_mqp02_sc3_siriuswalkdown_00112e24.pex and b/scripts/pf_mqp02_sc3_siriuswalkdown_00112e24.pex differ diff --git a/scripts/pf_nq17_sc4_anomalytraveltor_0003bd30.pex b/scripts/pf_nq17_sc4_anomalytraveltor_0003bd30.pex index 2921df15..eaf9c885 100644 Binary files a/scripts/pf_nq17_sc4_anomalytraveltor_0003bd30.pex and b/scripts/pf_nq17_sc4_anomalytraveltor_0003bd30.pex differ diff --git a/scripts/pf_nq_g_02_hafnerprison_pkg_001371b4.pex b/scripts/pf_nq_g_02_hafnerprison_pkg_001371b4.pex index cfcda821..20c4e0c5 100644 Binary files a/scripts/pf_nq_g_02_hafnerprison_pkg_001371b4.pex and b/scripts/pf_nq_g_02_hafnerprison_pkg_001371b4.pex differ diff --git a/scripts/pf_nq_g_02_mendelusreturnhom_0013c3f6.pex b/scripts/pf_nq_g_02_mendelusreturnhom_0013c3f6.pex index d94aabe8..05f42934 100644 Binary files a/scripts/pf_nq_g_02_mendelusreturnhom_0013c3f6.pex and b/scripts/pf_nq_g_02_mendelusreturnhom_0013c3f6.pex differ diff --git a/scripts/pf_nq_g_02_sc04_guardfollow__001371af.pex b/scripts/pf_nq_g_02_sc04_guardfollow__001371af.pex index 0197dcd8..afcf0430 100644 Binary files a/scripts/pf_nq_g_02_sc04_guardfollow__001371af.pex and b/scripts/pf_nq_g_02_sc04_guardfollow__001371af.pex differ diff --git a/scripts/pf_nq_g_02_walkoff_pkg_001371ad.pex b/scripts/pf_nq_g_02_walkoff_pkg_001371ad.pex index 19dcf3df..fa1ef48b 100644 Binary files a/scripts/pf_nq_g_02_walkoff_pkg_001371ad.pex and b/scripts/pf_nq_g_02_walkoff_pkg_001371ad.pex differ diff --git a/scripts/pf_nq_g_03_sc01_petrifiedtel_001380fb.pex b/scripts/pf_nq_g_03_sc01_petrifiedtel_001380fb.pex index a62d33aa..6b1b4c27 100644 Binary files a/scripts/pf_nq_g_03_sc01_petrifiedtel_001380fb.pex and b/scripts/pf_nq_g_03_sc01_petrifiedtel_001380fb.pex differ diff --git a/scripts/pf_nqg07_sc04_dijaamfollowpl_0003bd70.pex b/scripts/pf_nqg07_sc04_dijaamfollowpl_0003bd70.pex index 5bf30c1f..1fc9bdb6 100644 Binary files a/scripts/pf_nqg07_sc04_dijaamfollowpl_0003bd70.pex and b/scripts/pf_nqg07_sc04_dijaamfollowpl_0003bd70.pex differ diff --git a/scripts/qf__00e_mq02_thevoid_0002eba1.pex b/scripts/qf__00e_mq02_thevoid_0002eba1.pex index c924b69f..bb4a1b27 100644 Binary files a/scripts/qf__00e_mq02_thevoid_0002eba1.pex and b/scripts/qf__00e_mq02_thevoid_0002eba1.pex differ diff --git a/scripts/qf__00e_nq01_largesteggsfind_00027d2d.pex b/scripts/qf__00e_nq01_largesteggsfind_00027d2d.pex index 9796573b..42025b6f 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_nq40_001518a6.pex b/scripts/qf__00e_nq40_001518a6.pex index d872efb2..45be33fe 100644 Binary files a/scripts/qf__00e_nq40_001518a6.pex and b/scripts/qf__00e_nq40_001518a6.pex differ diff --git a/scripts/qf_ark_nq_isleofkor_0006a0ee.pex b/scripts/qf_ark_nq_isleofkor_0006a0ee.pex index db651070..dee1a76a 100644 Binary files a/scripts/qf_ark_nq_isleofkor_0006a0ee.pex and b/scripts/qf_ark_nq_isleofkor_0006a0ee.pex differ diff --git a/scripts/qf_cqc01_0013d0d6.pex b/scripts/qf_cqc01_0013d0d6.pex index 8d4f1328..4dec7ce7 100644 Binary files a/scripts/qf_cqc01_0013d0d6.pex and b/scripts/qf_cqc01_0013d0d6.pex differ diff --git a/scripts/qf_cqc02_0013e8b8.pex b/scripts/qf_cqc02_0013e8b8.pex index cbd57506..9e3efac8 100644 Binary files a/scripts/qf_cqc02_0013e8b8.pex and b/scripts/qf_cqc02_0013e8b8.pex differ diff --git a/scripts/qf_cqc03_0013e943.pex b/scripts/qf_cqc03_0013e943.pex index ee234207..cf75e678 100644 Binary files a/scripts/qf_cqc03_0013e943.pex and b/scripts/qf_cqc03_0013e943.pex differ diff --git a/scripts/qf_cqc04_001344ec.pex b/scripts/qf_cqc04_001344ec.pex index 17d8536b..3d498b0f 100644 Binary files a/scripts/qf_cqc04_001344ec.pex and b/scripts/qf_cqc04_001344ec.pex differ diff --git a/scripts/qf_cqc05_00137084.pex b/scripts/qf_cqc05_00137084.pex index 52d59b53..bcfa115f 100644 Binary files a/scripts/qf_cqc05_00137084.pex and b/scripts/qf_cqc05_00137084.pex differ diff --git a/scripts/qf_cqj02_0013c942.pex b/scripts/qf_cqj02_0013c942.pex index 17eb3696..adfb2a44 100644 Binary files a/scripts/qf_cqj02_0013c942.pex and b/scripts/qf_cqj02_0013c942.pex differ diff --git a/scripts/qf_cqj03_00141c09.pex b/scripts/qf_cqj03_00141c09.pex index 28e8aed4..816d1147 100644 Binary files a/scripts/qf_cqj03_00141c09.pex and b/scripts/qf_cqj03_00141c09.pex differ diff --git a/scripts/qf_cqj04_001344ed.pex b/scripts/qf_cqj04_001344ed.pex index 8677ecf8..e02cc334 100644 Binary files a/scripts/qf_cqj04_001344ed.pex and b/scripts/qf_cqj04_001344ed.pex differ diff --git a/scripts/qf_cqj05_00137085.pex b/scripts/qf_cqj05_00137085.pex index a0444fb3..2900db1d 100644 Binary files a/scripts/qf_cqj05_00137085.pex and b/scripts/qf_cqj05_00137085.pex differ diff --git a/scripts/qf_environmentscene01_001296f6.pex b/scripts/qf_environmentscene01_001296f6.pex index f0e9a447..fe188a27 100644 Binary files a/scripts/qf_environmentscene01_001296f6.pex and b/scripts/qf_environmentscene01_001296f6.pex differ diff --git a/scripts/qf_fs_nq04_00043e0b.pex b/scripts/qf_fs_nq04_00043e0b.pex index 0d562355..cc91ccc5 100644 Binary files a/scripts/qf_fs_nq04_00043e0b.pex and b/scripts/qf_fs_nq04_00043e0b.pex differ diff --git a/scripts/qf_fs_nq11_0102e8d0.pex b/scripts/qf_fs_nq11_0102e8d0.pex index 35c435b9..95556684 100644 Binary files a/scripts/qf_fs_nq11_0102e8d0.pex and b/scripts/qf_fs_nq11_0102e8d0.pex differ diff --git a/scripts/qf_mq11c_asonginthesilence_0002ebaa.pex b/scripts/qf_mq11c_asonginthesilence_0002ebaa.pex index 14e89564..a66c6477 100644 Binary files a/scripts/qf_mq11c_asonginthesilence_0002ebaa.pex and b/scripts/qf_mq11c_asonginthesilence_0002ebaa.pex differ diff --git a/scripts/qf_mqp03_0007b1e5.pex b/scripts/qf_mqp03_0007b1e5.pex index c81b078e..db8d69fd 100644 Binary files a/scripts/qf_mqp03_0007b1e5.pex and b/scripts/qf_mqp03_0007b1e5.pex differ diff --git a/scripts/qf_nq03_0006a2af.pex b/scripts/qf_nq03_0006a2af.pex index 9c2ae43e..e4a48e78 100644 Binary files a/scripts/qf_nq03_0006a2af.pex and b/scripts/qf_nq03_0006a2af.pex differ diff --git a/scripts/qf_nq10_elfride_000f7763.pex b/scripts/qf_nq10_elfride_000f7763.pex index d65ba68d..4dd836cd 100644 Binary files a/scripts/qf_nq10_elfride_000f7763.pex and b/scripts/qf_nq10_elfride_000f7763.pex differ diff --git a/scripts/qf_nq12_0011a492.pex b/scripts/qf_nq12_0011a492.pex index 6ca67f30..54b25e49 100644 Binary files a/scripts/qf_nq12_0011a492.pex and b/scripts/qf_nq12_0011a492.pex differ diff --git a/scripts/qf_nq15_00125367.pex b/scripts/qf_nq15_00125367.pex index c0c94333..24d1cc97 100644 Binary files a/scripts/qf_nq15_00125367.pex and b/scripts/qf_nq15_00125367.pex differ diff --git a/scripts/qf_nq16_001278b4.pex b/scripts/qf_nq16_001278b4.pex index 8197ccdd..68383ded 100644 Binary files a/scripts/qf_nq16_001278b4.pex and b/scripts/qf_nq16_001278b4.pex differ diff --git a/scripts/qf_nq17_00127b2e.pex b/scripts/qf_nq17_00127b2e.pex index 7452d27e..37845578 100644 Binary files a/scripts/qf_nq17_00127b2e.pex and b/scripts/qf_nq17_00127b2e.pex differ diff --git a/scripts/qf_nq18_0012e193.pex b/scripts/qf_nq18_0012e193.pex index 9845c4a5..2c58dac1 100644 Binary files a/scripts/qf_nq18_0012e193.pex and b/scripts/qf_nq18_0012e193.pex differ diff --git a/scripts/qf_nq19_0012e1fb.pex b/scripts/qf_nq19_0012e1fb.pex index 3aae07c4..a246bb70 100644 Binary files a/scripts/qf_nq19_0012e1fb.pex and b/scripts/qf_nq19_0012e1fb.pex differ diff --git a/scripts/qf_nq21_0014b7dc.pex b/scripts/qf_nq21_0014b7dc.pex index 4554a26f..2d1f0f52 100644 Binary files a/scripts/qf_nq21_0014b7dc.pex and b/scripts/qf_nq21_0014b7dc.pex differ diff --git a/scripts/qf_nq25_0013f536.pex b/scripts/qf_nq25_0013f536.pex index 2d41d469..af76c3da 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 061c8648..5f3befd0 100644 Binary files a/scripts/qf_nq26_001469ed.pex and b/scripts/qf_nq26_001469ed.pex differ diff --git a/scripts/qf_nq31_0014bfeb.pex b/scripts/qf_nq31_0014bfeb.pex index 382fb6c9..495d0bc0 100644 Binary files a/scripts/qf_nq31_0014bfeb.pex and b/scripts/qf_nq31_0014bfeb.pex differ diff --git a/scripts/qf_nq_bounty01_000c3f71.pex b/scripts/qf_nq_bounty01_000c3f71.pex index 9c6f9aed..c848465f 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 58372cbd..edf9c272 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 a00dc82c..dbcc7575 100644 Binary files a/scripts/qf_nq_bounty03_0101c6a8.pex and b/scripts/qf_nq_bounty03_0101c6a8.pex differ diff --git a/scripts/resourceobjectscript.pex b/scripts/resourceobjectscript.pex index e7107c29..f13aa02a 100644 Binary files a/scripts/resourceobjectscript.pex and b/scripts/resourceobjectscript.pex differ diff --git a/scripts/sf__00e_ark_nq01_theisleofko_00075802.pex b/scripts/sf__00e_ark_nq01_theisleofko_00075802.pex index 76d53d98..960c87ed 100644 Binary files a/scripts/sf__00e_ark_nq01_theisleofko_00075802.pex and b/scripts/sf__00e_ark_nq01_theisleofko_00075802.pex differ diff --git a/scripts/sf__00e_genericdialogues_pri_0006ff3a.pex b/scripts/sf__00e_genericdialogues_pri_0006ff3a.pex index 3ed86794..75044821 100644 Binary files a/scripts/sf__00e_genericdialogues_pri_0006ff3a.pex and b/scripts/sf__00e_genericdialogues_pri_0006ff3a.pex differ diff --git a/scripts/sf_banditdialogue_nehrimesea_0013fb23.pex b/scripts/sf_banditdialogue_nehrimesea_0013fb23.pex index e07b5b4c..8341cfe5 100644 Binary files a/scripts/sf_banditdialogue_nehrimesea_0013fb23.pex and b/scripts/sf_banditdialogue_nehrimesea_0013fb23.pex differ diff --git a/scripts/sf_barddialogue_thelastsunse_000ce2db.pex b/scripts/sf_barddialogue_thelastsunse_000ce2db.pex deleted file mode 100644 index 7fe3537a..00000000 Binary files a/scripts/sf_barddialogue_thelastsunse_000ce2db.pex and /dev/null differ diff --git a/scripts/sf_cqc02_sc01_caliatowerscen_0013e8bb.pex b/scripts/sf_cqc02_sc01_caliatowerscen_0013e8bb.pex index db4139ed..e310771c 100644 Binary files a/scripts/sf_cqc02_sc01_caliatowerscen_0013e8bb.pex and b/scripts/sf_cqc02_sc01_caliatowerscen_0013e8bb.pex differ diff --git a/scripts/sf_cqc05_sc02_caliaromance02_00140074.pex b/scripts/sf_cqc05_sc02_caliaromance02_00140074.pex index 483ea62f..15383d24 100644 Binary files a/scripts/sf_cqc05_sc02_caliaromance02_00140074.pex and b/scripts/sf_cqc05_sc02_caliaromance02_00140074.pex differ diff --git a/scripts/sf_cqc05_sc03_romance_001400b1.pex b/scripts/sf_cqc05_sc03_romance_001400b1.pex index 7988810f..498f2d7e 100644 Binary files a/scripts/sf_cqc05_sc03_romance_001400b1.pex and b/scripts/sf_cqc05_sc03_romance_001400b1.pex differ diff --git a/scripts/sf_cqc06_sc01_caliagototaver_0014175b.pex b/scripts/sf_cqc06_sc01_caliagototaver_0014175b.pex index 50e11244..f8f7f6cf 100644 Binary files a/scripts/sf_cqc06_sc01_caliagototaver_0014175b.pex and b/scripts/sf_cqc06_sc01_caliagototaver_0014175b.pex differ diff --git a/scripts/sf_cqc06_sc02_room_001417b9.pex b/scripts/sf_cqc06_sc02_room_001417b9.pex index 89316b8b..d21289c3 100644 Binary files a/scripts/sf_cqc06_sc02_room_001417b9.pex and b/scripts/sf_cqc06_sc02_room_001417b9.pex differ diff --git a/scripts/sf_cqj04_sc01_jesparinredlan_0013cf2e.pex b/scripts/sf_cqj04_sc01_jesparinredlan_0013cf2e.pex index 187717c9..79c69c2b 100644 Binary files a/scripts/sf_cqj04_sc01_jesparinredlan_0013cf2e.pex and b/scripts/sf_cqj04_sc01_jesparinredlan_0013cf2e.pex differ diff --git a/scripts/sf_cqj05_sc01_wakeupsc_0013fa96.pex b/scripts/sf_cqj05_sc01_wakeupsc_0013fa96.pex index 25966438..2c5dc068 100644 Binary files a/scripts/sf_cqj05_sc01_wakeupsc_0013fa96.pex and b/scripts/sf_cqj05_sc01_wakeupsc_0013fa96.pex differ diff --git a/scripts/sf_cqj06_sc01_jespartavernsc_00141803.pex b/scripts/sf_cqj06_sc01_jespartavernsc_00141803.pex index 3524bb0c..1e332a5d 100644 Binary files a/scripts/sf_cqj06_sc01_jespartavernsc_00141803.pex and b/scripts/sf_cqj06_sc01_jespartavernsc_00141803.pex differ diff --git a/scripts/sf_fs_cqt01_sc01_tharaelmemo_0200f75c.pex b/scripts/sf_fs_cqt01_sc01_tharaelmemo_0200f75c.pex index 68b7b86a..2d5bec71 100644 Binary files a/scripts/sf_fs_cqt01_sc01_tharaelmemo_0200f75c.pex and b/scripts/sf_fs_cqt01_sc01_tharaelmemo_0200f75c.pex differ diff --git a/scripts/sf_fs_environmentscene02_sce_0202e311.pex b/scripts/sf_fs_environmentscene02_sce_0202e311.pex index b652d73e..f7be14e4 100644 Binary files a/scripts/sf_fs_environmentscene02_sce_0202e311.pex and b/scripts/sf_fs_environmentscene02_sce_0202e311.pex differ diff --git a/scripts/sf_fs_nqr05_sc17_afterbossfi_01029a2d.pex b/scripts/sf_fs_nqr05_sc17_afterbossfi_01029a2d.pex index a9aaa948..83b5f086 100644 Binary files a/scripts/sf_fs_nqr05_sc17_afterbossfi_01029a2d.pex and b/scripts/sf_fs_nqr05_sc17_afterbossfi_01029a2d.pex differ diff --git a/scripts/sf_fs_nqr05_sc19_fatherstory_0102a070.pex b/scripts/sf_fs_nqr05_sc19_fatherstory_0102a070.pex index d1aa8bf4..63122027 100644 Binary files a/scripts/sf_fs_nqr05_sc19_fatherstory_0102a070.pex and b/scripts/sf_fs_nqr05_sc19_fatherstory_0102a070.pex differ diff --git a/scripts/sf_fs_nqr05_sc21_tharaelatch_0102b45f.pex b/scripts/sf_fs_nqr05_sc21_tharaelatch_0102b45f.pex index 55a01250..23e83954 100644 Binary files a/scripts/sf_fs_nqr05_sc21_tharaelatch_0102b45f.pex and b/scripts/sf_fs_nqr05_sc21_tharaelatch_0102b45f.pex differ diff --git a/scripts/sf_lisharidialogue_sc01_lish_0013eb83.pex b/scripts/sf_lisharidialogue_sc01_lish_0013eb83.pex index 5b11fdb0..53338876 100644 Binary files a/scripts/sf_lisharidialogue_sc01_lish_0013eb83.pex and b/scripts/sf_lisharidialogue_sc01_lish_0013eb83.pex differ diff --git a/scripts/sf_mq02_sc4_jesparpanoramasc_000c6639.pex b/scripts/sf_mq02_sc4_jesparpanoramasc_000c6639.pex index 122e7c8b..994d8704 100644 Binary files a/scripts/sf_mq02_sc4_jesparpanoramasc_000c6639.pex and b/scripts/sf_mq02_sc4_jesparpanoramasc_000c6639.pex differ diff --git a/scripts/sf_mq02_sc6_alfriedtraveltob_00133cd3.pex b/scripts/sf_mq02_sc6_alfriedtraveltob_00133cd3.pex index 18cec4c2..052cc2f8 100644 Binary files a/scripts/sf_mq02_sc6_alfriedtraveltob_00133cd3.pex and b/scripts/sf_mq02_sc6_alfriedtraveltob_00133cd3.pex differ diff --git a/scripts/sf_mq03_sc3_playermeetskonst_000cc957.pex b/scripts/sf_mq03_sc3_playermeetskonst_000cc957.pex index 1ecb2642..206af77b 100644 Binary files a/scripts/sf_mq03_sc3_playermeetskonst_000cc957.pex and b/scripts/sf_mq03_sc3_playermeetskonst_000cc957.pex differ diff --git a/scripts/sf_mq04_sc3_deadbodycomment_000a2a36.pex b/scripts/sf_mq04_sc3_deadbodycomment_000a2a36.pex index c1579985..24269829 100644 Binary files a/scripts/sf_mq04_sc3_deadbodycomment_000a2a36.pex and b/scripts/sf_mq04_sc3_deadbodycomment_000a2a36.pex differ diff --git a/scripts/sf_mq05_sc1_jorrekintroduces_01008a47.pex b/scripts/sf_mq05_sc1_jorrekintroduces_01008a47.pex deleted file mode 100644 index 9eff81c9..00000000 Binary files a/scripts/sf_mq05_sc1_jorrekintroduces_01008a47.pex and /dev/null differ diff --git a/scripts/sf_mq05_sc9_discussionandrit_00098543.pex b/scripts/sf_mq05_sc9_discussionandrit_00098543.pex index d798799b..7ea62e20 100644 Binary files a/scripts/sf_mq05_sc9_discussionandrit_00098543.pex and b/scripts/sf_mq05_sc9_discussionandrit_00098543.pex differ diff --git a/scripts/sf_mq05prologue_sc1_000ce2da.pex b/scripts/sf_mq05prologue_sc1_000ce2da.pex index 1b5528b1..2e62ea6a 100644 Binary files a/scripts/sf_mq05prologue_sc1_000ce2da.pex and b/scripts/sf_mq05prologue_sc1_000ce2da.pex differ diff --git a/scripts/sf_mq06_sc1_playerencounters_000d24b7.pex b/scripts/sf_mq06_sc1_playerencounters_000d24b7.pex index 53baaaad..9d022985 100644 Binary files a/scripts/sf_mq06_sc1_playerencounters_000d24b7.pex and b/scripts/sf_mq06_sc1_playerencounters_000d24b7.pex differ diff --git a/scripts/sf_mq06_sc2_playerwakesupdup_000d8e9e.pex b/scripts/sf_mq06_sc2_playerwakesupdup_000d8e9e.pex index a99d2fe1..2a719b4a 100644 Binary files a/scripts/sf_mq06_sc2_playerwakesupdup_000d8e9e.pex and b/scripts/sf_mq06_sc2_playerwakesupdup_000d8e9e.pex differ diff --git a/scripts/sf_mq06_sc4_tealorscene_000fe1fc.pex b/scripts/sf_mq06_sc4_tealorscene_000fe1fc.pex index a0e101b2..1f1800a4 100644 Binary files a/scripts/sf_mq06_sc4_tealorscene_000fe1fc.pex and b/scripts/sf_mq06_sc4_tealorscene_000fe1fc.pex differ diff --git a/scripts/sf_mq06_sc5_ritualscene_000fe207.pex b/scripts/sf_mq06_sc5_ritualscene_000fe207.pex index 91e096e7..212dd5ab 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_mq07a_sc12_jesparfinaldia_0010a751.pex b/scripts/sf_mq07a_sc12_jesparfinaldia_0010a751.pex index 4e581107..f12d6fdd 100644 Binary files a/scripts/sf_mq07a_sc12_jesparfinaldia_0010a751.pex and b/scripts/sf_mq07a_sc12_jesparfinaldia_0010a751.pex differ diff --git a/scripts/sf_mq07a_sc14_sigilstoneacti_0010a76f.pex b/scripts/sf_mq07a_sc14_sigilstoneacti_0010a76f.pex index 850a7077..c04a7f54 100644 Binary files a/scripts/sf_mq07a_sc14_sigilstoneacti_0010a76f.pex and b/scripts/sf_mq07a_sc14_sigilstoneacti_0010a76f.pex differ diff --git a/scripts/sf_mq07a_sc1_explanationinch_001065b8.pex b/scripts/sf_mq07a_sc1_explanationinch_001065b8.pex index b5320e57..3ece447e 100644 Binary files a/scripts/sf_mq07a_sc1_explanationinch_001065b8.pex and b/scripts/sf_mq07a_sc1_explanationinch_001065b8.pex differ diff --git a/scripts/sf_mq07a_sc7_kitchenscene_001067e3.pex b/scripts/sf_mq07a_sc7_kitchenscene_001067e3.pex index d9601761..17be94b1 100644 Binary files a/scripts/sf_mq07a_sc7_kitchenscene_001067e3.pex and b/scripts/sf_mq07a_sc7_kitchenscene_001067e3.pex differ diff --git a/scripts/sf_mq07b_deusexmachina_scene_000a9aba.pex b/scripts/sf_mq07b_deusexmachina_scene_000a9aba.pex index de51379c..875c2700 100644 Binary files a/scripts/sf_mq07b_deusexmachina_scene_000a9aba.pex and b/scripts/sf_mq07b_deusexmachina_scene_000a9aba.pex differ diff --git a/scripts/sf_mq07b_s7_abgabe_00102dec.pex b/scripts/sf_mq07b_s7_abgabe_00102dec.pex index d30b6b8f..b13c3204 100644 Binary files a/scripts/sf_mq07b_s7_abgabe_00102dec.pex and b/scripts/sf_mq07b_s7_abgabe_00102dec.pex differ diff --git a/scripts/sf_mq08_intothedeep_gototrai_000e1a26.pex b/scripts/sf_mq08_intothedeep_gototrai_000e1a26.pex index 91195477..42f40397 100644 Binary files a/scripts/sf_mq08_intothedeep_gototrai_000e1a26.pex and b/scripts/sf_mq08_intothedeep_gototrai_000e1a26.pex differ diff --git a/scripts/sf_mq08_intothedeep_gototrai_000ea944.pex b/scripts/sf_mq08_intothedeep_gototrai_000ea944.pex index c2dbee51..90593360 100644 Binary files a/scripts/sf_mq08_intothedeep_gototrai_000ea944.pex and b/scripts/sf_mq08_intothedeep_gototrai_000ea944.pex differ diff --git a/scripts/sf_mq08_intothedeep_scenetem_000c673e.pex b/scripts/sf_mq08_intothedeep_scenetem_000c673e.pex index d9e8f651..37e3a83b 100644 Binary files a/scripts/sf_mq08_intothedeep_scenetem_000c673e.pex and b/scripts/sf_mq08_intothedeep_scenetem_000c673e.pex differ diff --git a/scripts/sf_mq08_intothedeep_scenetem_000d0eaa.pex b/scripts/sf_mq08_intothedeep_scenetem_000d0eaa.pex index fadbd4ed..942e0ecc 100644 Binary files a/scripts/sf_mq08_intothedeep_scenetem_000d0eaa.pex and b/scripts/sf_mq08_intothedeep_scenetem_000d0eaa.pex differ diff --git a/scripts/sf_mq08prologue_sc1_discussi_0010d1a1.pex b/scripts/sf_mq08prologue_sc1_discussi_0010d1a1.pex index f461f940..69abaccd 100644 Binary files a/scripts/sf_mq08prologue_sc1_discussi_0010d1a1.pex and b/scripts/sf_mq08prologue_sc1_discussi_0010d1a1.pex differ diff --git a/scripts/sf_mq09_d1_sceneisle_000ea957.pex b/scripts/sf_mq09_d1_sceneisle_000ea957.pex index 6e283967..4778db82 100644 Binary files a/scripts/sf_mq09_d1_sceneisle_000ea957.pex and b/scripts/sf_mq09_d1_sceneisle_000ea957.pex differ diff --git a/scripts/sf_mq09_d3_hohescene_000eaa5f.pex b/scripts/sf_mq09_d3_hohescene_000eaa5f.pex index 9b579806..550b1f2d 100644 Binary files a/scripts/sf_mq09_d3_hohescene_000eaa5f.pex and b/scripts/sf_mq09_d3_hohescene_000eaa5f.pex differ diff --git a/scripts/sf_mq09_d4_taranorscene_000eac86.pex b/scripts/sf_mq09_d4_taranorscene_000eac86.pex index 393c4d46..0c13ab11 100644 Binary files a/scripts/sf_mq09_d4_taranorscene_000eac86.pex and b/scripts/sf_mq09_d4_taranorscene_000eac86.pex differ diff --git a/scripts/sf_mq09_d5_repeatforcegreets_000eac9a.pex b/scripts/sf_mq09_d5_repeatforcegreets_000eac9a.pex index 81fe823d..1d96463f 100644 Binary files a/scripts/sf_mq09_d5_repeatforcegreets_000eac9a.pex and b/scripts/sf_mq09_d5_repeatforcegreets_000eac9a.pex differ diff --git a/scripts/sf_mq09_d6_scene_000eac9d.pex b/scripts/sf_mq09_d6_scene_000eac9d.pex index fbbdc3e0..2c225c3d 100644 Binary files a/scripts/sf_mq09_d6_scene_000eac9d.pex and b/scripts/sf_mq09_d6_scene_000eac9d.pex differ diff --git a/scripts/sf_mq10a_sc1_dreamsequencepa_0011846c.pex b/scripts/sf_mq10a_sc1_dreamsequencepa_0011846c.pex index 6db9214d..c4422bca 100644 Binary files a/scripts/sf_mq10a_sc1_dreamsequencepa_0011846c.pex and b/scripts/sf_mq10a_sc1_dreamsequencepa_0011846c.pex differ diff --git a/scripts/sf_mq10b_sc2_temple_001080c3.pex b/scripts/sf_mq10b_sc2_temple_001080c3.pex index 7ab80457..f937838a 100644 Binary files a/scripts/sf_mq10b_sc2_temple_001080c3.pex and b/scripts/sf_mq10b_sc2_temple_001080c3.pex differ diff --git a/scripts/sf_mq10b_sc3_lisharidead_0010bbbb.pex b/scripts/sf_mq10b_sc3_lisharidead_0010bbbb.pex index 7a4eb84a..890fe400 100644 Binary files a/scripts/sf_mq10b_sc3_lisharidead_0010bbbb.pex and b/scripts/sf_mq10b_sc3_lisharidead_0010bbbb.pex differ diff --git a/scripts/sf_mq10b_sc4_tealor_0010bbba.pex b/scripts/sf_mq10b_sc4_tealor_0010bbba.pex index 90ae4e24..857ad5e4 100644 Binary files a/scripts/sf_mq10b_sc4_tealor_0010bbba.pex and b/scripts/sf_mq10b_sc4_tealor_0010bbba.pex differ diff --git a/scripts/sf_mq11a_sc14_lefttowervisio_000ea818.pex b/scripts/sf_mq11a_sc14_lefttowervisio_000ea818.pex index e826210f..cfac2be2 100644 Binary files a/scripts/sf_mq11a_sc14_lefttowervisio_000ea818.pex and b/scripts/sf_mq11a_sc14_lefttowervisio_000ea818.pex differ diff --git a/scripts/sf_mq11a_sc26_lastconversati_000eaeb3.pex b/scripts/sf_mq11a_sc26_lastconversati_000eaeb3.pex index 9a0afaf4..843c4343 100644 Binary files a/scripts/sf_mq11a_sc26_lastconversati_000eaeb3.pex and b/scripts/sf_mq11a_sc26_lastconversati_000eaeb3.pex differ diff --git a/scripts/sf_mq11a_sc2_caliafrostcliff_000dd756.pex b/scripts/sf_mq11a_sc2_caliafrostcliff_000dd756.pex index 70fc8280..4ed27e25 100644 Binary files a/scripts/sf_mq11a_sc2_caliafrostcliff_000dd756.pex and b/scripts/sf_mq11a_sc2_caliafrostcliff_000dd756.pex differ diff --git a/scripts/sf_mq11b_sc03_interrupt_00145912.pex b/scripts/sf_mq11b_sc03_interrupt_00145912.pex index b9d6b42c..b982435d 100644 Binary files a/scripts/sf_mq11b_sc03_interrupt_00145912.pex and b/scripts/sf_mq11b_sc03_interrupt_00145912.pex differ diff --git a/scripts/sf_mq11b_sc2_00117933.pex b/scripts/sf_mq11b_sc2_00117933.pex index 63bf0dbb..5cdd273d 100644 Binary files a/scripts/sf_mq11b_sc2_00117933.pex and b/scripts/sf_mq11b_sc2_00117933.pex differ diff --git a/scripts/sf_mq12a_sc1_insert1ststone_0011b08a.pex b/scripts/sf_mq12a_sc1_insert1ststone_0011b08a.pex index d5d5bb2d..d18590b6 100644 Binary files a/scripts/sf_mq12a_sc1_insert1ststone_0011b08a.pex and b/scripts/sf_mq12a_sc1_insert1ststone_0011b08a.pex differ diff --git a/scripts/sf_mq12a_sc2_insert2ndstone_0011b08b.pex b/scripts/sf_mq12a_sc2_insert2ndstone_0011b08b.pex index acba7626..e259f2a1 100644 Binary files a/scripts/sf_mq12a_sc2_insert2ndstone_0011b08b.pex and b/scripts/sf_mq12a_sc2_insert2ndstone_0011b08b.pex differ diff --git a/scripts/sf_mq12a_sc3_insert3rdstone_0011b08c.pex b/scripts/sf_mq12a_sc3_insert3rdstone_0011b08c.pex index 1866ed9a..bb758e7b 100644 Binary files a/scripts/sf_mq12a_sc3_insert3rdstone_0011b08c.pex and b/scripts/sf_mq12a_sc3_insert3rdstone_0011b08c.pex differ diff --git a/scripts/sf_mq12b_sc14_templescene02_00133d31.pex b/scripts/sf_mq12b_sc14_templescene02_00133d31.pex index 83aa09b2..ecf24d3d 100644 Binary files a/scripts/sf_mq12b_sc14_templescene02_00133d31.pex and b/scripts/sf_mq12b_sc14_templescene02_00133d31.pex differ diff --git a/scripts/sf_mq12b_sc15_templescene03_00133d5d.pex b/scripts/sf_mq12b_sc15_templescene03_00133d5d.pex index 0187558d..a925842f 100644 Binary files a/scripts/sf_mq12b_sc15_templescene03_00133d5d.pex and b/scripts/sf_mq12b_sc15_templescene03_00133d5d.pex differ diff --git a/scripts/sf_mq12b_sc16_flavor_0014cea3.pex b/scripts/sf_mq12b_sc16_flavor_0014cea3.pex index 0bd888e3..062d5cdb 100644 Binary files a/scripts/sf_mq12b_sc16_flavor_0014cea3.pex and b/scripts/sf_mq12b_sc16_flavor_0014cea3.pex differ diff --git a/scripts/sf_mq12b_sc1_lexilexplains_0011b0a2.pex b/scripts/sf_mq12b_sc1_lexilexplains_0011b0a2.pex index cf633f1b..fbd1d036 100644 Binary files a/scripts/sf_mq12b_sc1_lexilexplains_0011b0a2.pex and b/scripts/sf_mq12b_sc1_lexilexplains_0011b0a2.pex differ diff --git a/scripts/sf_mq12b_sc2_attack_0011b0ab.pex b/scripts/sf_mq12b_sc2_attack_0011b0ab.pex index 1237da38..baf37e96 100644 Binary files a/scripts/sf_mq12b_sc2_attack_0011b0ab.pex and b/scripts/sf_mq12b_sc2_attack_0011b0ab.pex differ diff --git a/scripts/sf_mq12c_sc03_dream_00134595.pex b/scripts/sf_mq12c_sc03_dream_00134595.pex index cfcc08e0..4846cf48 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/sf_mq13a_sc01_lexyuslan_00136d17.pex b/scripts/sf_mq13a_sc01_lexyuslan_00136d17.pex index e26b4bc9..bec04972 100644 Binary files a/scripts/sf_mq13a_sc01_lexyuslan_00136d17.pex and b/scripts/sf_mq13a_sc01_lexyuslan_00136d17.pex differ diff --git a/scripts/sf_mq13c_sc01_moveelevatorup_0013b5e5.pex b/scripts/sf_mq13c_sc01_moveelevatorup_0013b5e5.pex index 49cf3c6c..7453e145 100644 Binary files a/scripts/sf_mq13c_sc01_moveelevatorup_0013b5e5.pex and b/scripts/sf_mq13c_sc01_moveelevatorup_0013b5e5.pex differ diff --git a/scripts/sf_mq13c_sc09_killscene_0013b5dd.pex b/scripts/sf_mq13c_sc09_killscene_0013b5dd.pex index 221ecb52..8a7905df 100644 Binary files a/scripts/sf_mq13c_sc09_killscene_0013b5dd.pex and b/scripts/sf_mq13c_sc09_killscene_0013b5dd.pex differ diff --git a/scripts/sf_mq14_sc01_funeral_00141c5a.pex b/scripts/sf_mq14_sc01_funeral_00141c5a.pex index 2a9b7573..eff5a8ca 100644 Binary files a/scripts/sf_mq14_sc01_funeral_00141c5a.pex and b/scripts/sf_mq14_sc01_funeral_00141c5a.pex differ diff --git a/scripts/sf_mq14_sc06_interrogation_001433e1.pex b/scripts/sf_mq14_sc06_interrogation_001433e1.pex index 885886e8..44ca12f6 100644 Binary files a/scripts/sf_mq14_sc06_interrogation_001433e1.pex and b/scripts/sf_mq14_sc06_interrogation_001433e1.pex differ diff --git a/scripts/sf_mq14_sc07_planning_0014342f.pex b/scripts/sf_mq14_sc07_planning_0014342f.pex index 457d5582..8230d557 100644 Binary files a/scripts/sf_mq14_sc07_planning_0014342f.pex and b/scripts/sf_mq14_sc07_planning_0014342f.pex differ diff --git a/scripts/sf_mq14_sc08_lastspeech_0014344c.pex b/scripts/sf_mq14_sc08_lastspeech_0014344c.pex index bd590371..007fec06 100644 Binary files a/scripts/sf_mq14_sc08_lastspeech_0014344c.pex and b/scripts/sf_mq14_sc08_lastspeech_0014344c.pex differ diff --git a/scripts/sf_mq14_sc09_tealor_00144738.pex b/scripts/sf_mq14_sc09_tealor_00144738.pex index 6d5266d0..5191bd30 100644 Binary files a/scripts/sf_mq14_sc09_tealor_00144738.pex and b/scripts/sf_mq14_sc09_tealor_00144738.pex differ diff --git a/scripts/sf_mq16_sc06_assault_001484d8.pex b/scripts/sf_mq16_sc06_assault_001484d8.pex index 8bd733ac..35af094f 100644 Binary files a/scripts/sf_mq16_sc06_assault_001484d8.pex and b/scripts/sf_mq16_sc06_assault_001484d8.pex differ diff --git a/scripts/sf_mq16_sc10_temple_03_001485f2.pex b/scripts/sf_mq16_sc10_temple_03_001485f2.pex index 5fe571d6..2c35af6a 100644 Binary files a/scripts/sf_mq16_sc10_temple_03_001485f2.pex and b/scripts/sf_mq16_sc10_temple_03_001485f2.pex differ diff --git a/scripts/sf_mq17_sc10_launchsequence_0014bebe.pex b/scripts/sf_mq17_sc10_launchsequence_0014bebe.pex index 14ede8fa..3c107670 100644 Binary files a/scripts/sf_mq17_sc10_launchsequence_0014bebe.pex and b/scripts/sf_mq17_sc10_launchsequence_0014bebe.pex differ diff --git a/scripts/sf_mq18a_sc01_dreamsequence_0014bf1e.pex b/scripts/sf_mq18a_sc01_dreamsequence_0014bf1e.pex index af964855..b1e25d83 100644 Binary files a/scripts/sf_mq18a_sc01_dreamsequence_0014bf1e.pex and b/scripts/sf_mq18a_sc01_dreamsequence_0014bf1e.pex differ diff --git a/scripts/sf_mq18a_sc02_starcity_0014bfdc.pex b/scripts/sf_mq18a_sc02_starcity_0014bfdc.pex index 8c940621..6587f2ad 100644 Binary files a/scripts/sf_mq18a_sc02_starcity_0014bfdc.pex and b/scripts/sf_mq18a_sc02_starcity_0014bfdc.pex differ diff --git a/scripts/sf_mq_p02_anewlife_veiledwom_01006ca7.pex b/scripts/sf_mq_p02_anewlife_veiledwom_01006ca7.pex index 29c60931..e0b92f8b 100644 Binary files a/scripts/sf_mq_p02_anewlife_veiledwom_01006ca7.pex and b/scripts/sf_mq_p02_anewlife_veiledwom_01006ca7.pex differ diff --git a/scripts/sf_mqp02_sc4_veiledwomanappe_0007bbcf.pex b/scripts/sf_mqp02_sc4_veiledwomanappe_0007bbcf.pex index 8b986913..166dff66 100644 Binary files a/scripts/sf_mqp02_sc4_veiledwomanappe_0007bbcf.pex and b/scripts/sf_mqp02_sc4_veiledwomanappe_0007bbcf.pex differ diff --git a/scripts/sf_nq15_sc5_001276fb.pex b/scripts/sf_nq15_sc5_001276fb.pex index 9c5225ed..fd5fa5cb 100644 Binary files a/scripts/sf_nq15_sc5_001276fb.pex and b/scripts/sf_nq15_sc5_001276fb.pex differ diff --git a/scripts/sf_nq_g_04_sc01_maelwrite_00139da8.pex b/scripts/sf_nq_g_04_sc01_maelwrite_00139da8.pex index a3356dc0..e908fac8 100644 Binary files a/scripts/sf_nq_g_04_sc01_maelwrite_00139da8.pex and b/scripts/sf_nq_g_04_sc01_maelwrite_00139da8.pex differ diff --git a/scripts/sf_nq_g_04_sc03_dijaamencoun_00139dc2.pex b/scripts/sf_nq_g_04_sc03_dijaamencoun_00139dc2.pex index 063fb2be..589dcdc3 100644 Binary files a/scripts/sf_nq_g_04_sc03_dijaamencoun_00139dc2.pex and b/scripts/sf_nq_g_04_sc03_dijaamencoun_00139dc2.pex differ diff --git a/scripts/sf_nq_g_05_sc03_dijaamtalk_0013c3f8.pex b/scripts/sf_nq_g_05_sc03_dijaamtalk_0013c3f8.pex index 3b265a03..3ec4e90a 100644 Binary files a/scripts/sf_nq_g_05_sc03_dijaamtalk_0013c3f8.pex and b/scripts/sf_nq_g_05_sc03_dijaamtalk_0013c3f8.pex differ diff --git a/scripts/sf_nq_g_06_sc02_dijaamtalkat_0013cfc1.pex b/scripts/sf_nq_g_06_sc02_dijaamtalkat_0013cfc1.pex index 8308646e..25d91faf 100644 Binary files a/scripts/sf_nq_g_06_sc02_dijaamtalkat_0013cfc1.pex and b/scripts/sf_nq_g_06_sc02_dijaamtalkat_0013cfc1.pex differ diff --git a/scripts/sf_nq_g_07dijaam_sc05_theate_0013fa43.pex b/scripts/sf_nq_g_07dijaam_sc05_theate_0013fa43.pex index 0c6cfd97..8475cd42 100644 Binary files a/scripts/sf_nq_g_07dijaam_sc05_theate_0013fa43.pex and b/scripts/sf_nq_g_07dijaam_sc05_theate_0013fa43.pex differ diff --git a/scripts/sf_nq_g_07dijaam_sc07_dijaam_00147066.pex b/scripts/sf_nq_g_07dijaam_sc07_dijaam_00147066.pex index cefea82c..ea2dea5b 100644 Binary files a/scripts/sf_nq_g_07dijaam_sc07_dijaam_00147066.pex and b/scripts/sf_nq_g_07dijaam_sc07_dijaam_00147066.pex differ diff --git a/scripts/sf_nq_g_07mael_sc01_maelmiss_0013f6f3.pex b/scripts/sf_nq_g_07mael_sc01_maelmiss_0013f6f3.pex index 038cfe80..9ee50921 100644 Binary files a/scripts/sf_nq_g_07mael_sc01_maelmiss_0013f6f3.pex and b/scripts/sf_nq_g_07mael_sc01_maelmiss_0013f6f3.pex differ diff --git a/scripts/sf_testquest_testscene_0013fa9e.pex b/scripts/sf_testquest_testscene_0013fa9e.pex deleted file mode 100644 index aa9ee37d..00000000 Binary files a/scripts/sf_testquest_testscene_0013fa9e.pex and /dev/null differ diff --git a/scripts/sf_z_conversations_tealorand_001489a4.pex b/scripts/sf_z_conversations_tealorand_001489a4.pex index c90260ad..ab0050c2 100644 Binary files a/scripts/sf_z_conversations_tealorand_001489a4.pex and b/scripts/sf_z_conversations_tealorand_001489a4.pex differ diff --git a/scripts/tif__0003341f.pex b/scripts/tif__0003341f.pex index 24e3740e..d76ba4c6 100644 Binary files a/scripts/tif__0003341f.pex and b/scripts/tif__0003341f.pex differ diff --git a/scripts/tif__00033432.pex b/scripts/tif__00033432.pex index e8a1ce2c..29204009 100644 Binary files a/scripts/tif__00033432.pex and b/scripts/tif__00033432.pex differ diff --git a/scripts/tif__00043b25.pex b/scripts/tif__00043b25.pex index bab9f0df..23e4f5c7 100644 Binary files a/scripts/tif__00043b25.pex and b/scripts/tif__00043b25.pex differ diff --git a/scripts/tif__00043b30.pex b/scripts/tif__00043b30.pex index d3db1723..3d6230de 100644 Binary files a/scripts/tif__00043b30.pex and b/scripts/tif__00043b30.pex differ diff --git a/scripts/tif__00043b44.pex b/scripts/tif__00043b44.pex index c9413827..15e4e5f2 100644 Binary files a/scripts/tif__00043b44.pex and b/scripts/tif__00043b44.pex differ diff --git a/scripts/tif__0004416b.pex b/scripts/tif__0004416b.pex index 1552d5e5..451bbafd 100644 Binary files a/scripts/tif__0004416b.pex and b/scripts/tif__0004416b.pex differ diff --git a/scripts/tif__00047c12.pex b/scripts/tif__00047c12.pex index 11b974b2..edbd1811 100644 Binary files a/scripts/tif__00047c12.pex and b/scripts/tif__00047c12.pex differ diff --git a/scripts/tif__000707ab.pex b/scripts/tif__000707ab.pex index 78350ba8..928ec29c 100644 Binary files a/scripts/tif__000707ab.pex and b/scripts/tif__000707ab.pex differ diff --git a/scripts/tif__00074ad1.pex b/scripts/tif__00074ad1.pex index 7a5ecf69..60a778c5 100644 Binary files a/scripts/tif__00074ad1.pex and b/scripts/tif__00074ad1.pex differ diff --git a/scripts/tif__00074ae2.pex b/scripts/tif__00074ae2.pex index 58554475..28e819e3 100644 Binary files a/scripts/tif__00074ae2.pex and b/scripts/tif__00074ae2.pex differ diff --git a/scripts/tif__000753c4.pex b/scripts/tif__000753c4.pex index c124900f..203591b5 100644 Binary files a/scripts/tif__000753c4.pex and b/scripts/tif__000753c4.pex differ diff --git a/scripts/tif__0007a7f9.pex b/scripts/tif__0007a7f9.pex index 6e5cd1d6..3202ffff 100644 Binary files a/scripts/tif__0007a7f9.pex and b/scripts/tif__0007a7f9.pex differ diff --git a/scripts/tif__00090903.pex b/scripts/tif__00090903.pex index 11867317..604a0d9f 100644 Binary files a/scripts/tif__00090903.pex and b/scripts/tif__00090903.pex differ diff --git a/scripts/tif__00090907.pex b/scripts/tif__00090907.pex index 2319f81f..0e8ab618 100644 Binary files a/scripts/tif__00090907.pex and b/scripts/tif__00090907.pex differ diff --git a/scripts/tif__00090909.pex b/scripts/tif__00090909.pex index 6b6df0a9..3bff2fab 100644 Binary files a/scripts/tif__00090909.pex and b/scripts/tif__00090909.pex differ diff --git a/scripts/tif__0009090c.pex b/scripts/tif__0009090c.pex index 0a81dfd0..e41b0f5e 100644 Binary files a/scripts/tif__0009090c.pex and b/scripts/tif__0009090c.pex differ diff --git a/scripts/tif__0009090e.pex b/scripts/tif__0009090e.pex index e0c37bff..ee0b805e 100644 Binary files a/scripts/tif__0009090e.pex and b/scripts/tif__0009090e.pex differ diff --git a/scripts/tif__00092a25.pex b/scripts/tif__00092a25.pex index 975a91a1..925d3918 100644 Binary files a/scripts/tif__00092a25.pex and b/scripts/tif__00092a25.pex differ diff --git a/scripts/tif__00092a26.pex b/scripts/tif__00092a26.pex index e11d9e24..43e38bf1 100644 Binary files a/scripts/tif__00092a26.pex and b/scripts/tif__00092a26.pex differ diff --git a/scripts/tif__00092a29.pex b/scripts/tif__00092a29.pex index 515b0785..c116b668 100644 Binary files a/scripts/tif__00092a29.pex and b/scripts/tif__00092a29.pex differ diff --git a/scripts/tif__00092a2d.pex b/scripts/tif__00092a2d.pex index 4e2f0e74..033c5bc6 100644 Binary files a/scripts/tif__00092a2d.pex and b/scripts/tif__00092a2d.pex differ diff --git a/scripts/tif__00095190.pex b/scripts/tif__00095190.pex index 5b0e2b3b..80ec95ca 100644 Binary files a/scripts/tif__00095190.pex and b/scripts/tif__00095190.pex differ diff --git a/scripts/tif__00095192.pex b/scripts/tif__00095192.pex index f673639d..1466ec08 100644 Binary files a/scripts/tif__00095192.pex and b/scripts/tif__00095192.pex differ diff --git a/scripts/tif__0009519a.pex b/scripts/tif__0009519a.pex index 8507a4bc..89b161f9 100644 Binary files a/scripts/tif__0009519a.pex and b/scripts/tif__0009519a.pex differ diff --git a/scripts/tif__000951a8.pex b/scripts/tif__000951a8.pex index 5906e724..c086ebfb 100644 Binary files a/scripts/tif__000951a8.pex and b/scripts/tif__000951a8.pex differ diff --git a/scripts/tif__000951b5.pex b/scripts/tif__000951b5.pex index 38a92c35..5b20a681 100644 Binary files a/scripts/tif__000951b5.pex and b/scripts/tif__000951b5.pex differ diff --git a/scripts/tif__000951ba.pex b/scripts/tif__000951ba.pex index 8b2a1a35..23e49a8f 100644 Binary files a/scripts/tif__000951ba.pex and b/scripts/tif__000951ba.pex differ diff --git a/scripts/tif__000a8370.pex b/scripts/tif__000a8370.pex index 0b634462..e1bcf702 100644 Binary files a/scripts/tif__000a8370.pex and b/scripts/tif__000a8370.pex differ diff --git a/scripts/tif__000a8378.pex b/scripts/tif__000a8378.pex index a874d335..48ea695c 100644 Binary files a/scripts/tif__000a8378.pex and b/scripts/tif__000a8378.pex differ diff --git a/scripts/tif__000a8385.pex b/scripts/tif__000a8385.pex index 88c1a620..b8cd907d 100644 Binary files a/scripts/tif__000a8385.pex and b/scripts/tif__000a8385.pex differ diff --git a/scripts/tif__000a8398.pex b/scripts/tif__000a8398.pex index 8b6af6d3..5dfc660f 100644 Binary files a/scripts/tif__000a8398.pex and b/scripts/tif__000a8398.pex differ diff --git a/scripts/tif__000c3fe6.pex b/scripts/tif__000c3fe6.pex index 4e0b20dc..fdb85c9b 100644 Binary files a/scripts/tif__000c3fe6.pex and b/scripts/tif__000c3fe6.pex differ diff --git a/scripts/tif__000c55d5.pex b/scripts/tif__000c55d5.pex index 0b203799..49888c22 100644 Binary files a/scripts/tif__000c55d5.pex and b/scripts/tif__000c55d5.pex differ diff --git a/scripts/tif__000c55d9.pex b/scripts/tif__000c55d9.pex index 98e5ecc0..624ac491 100644 Binary files a/scripts/tif__000c55d9.pex and b/scripts/tif__000c55d9.pex differ diff --git a/scripts/tif__000c656c.pex b/scripts/tif__000c656c.pex index bfcae568..9f5a7837 100644 Binary files a/scripts/tif__000c656c.pex and b/scripts/tif__000c656c.pex differ diff --git a/scripts/tif__000c6589.pex b/scripts/tif__000c6589.pex index c91f3a59..c9714821 100644 Binary files a/scripts/tif__000c6589.pex and b/scripts/tif__000c6589.pex differ diff --git a/scripts/tif__000cad6c.pex b/scripts/tif__000cad6c.pex index 6ff22cf1..6cc63dfc 100644 Binary files a/scripts/tif__000cad6c.pex and b/scripts/tif__000cad6c.pex differ diff --git a/scripts/tif__000ce0e4.pex b/scripts/tif__000ce0e4.pex index b4ebd07f..c5fe6533 100644 Binary files a/scripts/tif__000ce0e4.pex and b/scripts/tif__000ce0e4.pex differ diff --git a/scripts/tif__000ce11f.pex b/scripts/tif__000ce11f.pex index cfff9bb0..aee3e7c0 100644 Binary files a/scripts/tif__000ce11f.pex and b/scripts/tif__000ce11f.pex differ diff --git a/scripts/tif__000d03fe.pex b/scripts/tif__000d03fe.pex index adbdb9a5..1f87c721 100644 Binary files a/scripts/tif__000d03fe.pex and b/scripts/tif__000d03fe.pex differ diff --git a/scripts/tif__000d0405.pex b/scripts/tif__000d0405.pex index b8145d61..49cfe0e9 100644 Binary files a/scripts/tif__000d0405.pex and b/scripts/tif__000d0405.pex differ diff --git a/scripts/tif__000d8e52.pex b/scripts/tif__000d8e52.pex index 7743ef58..7ec4bea3 100644 Binary files a/scripts/tif__000d8e52.pex and b/scripts/tif__000d8e52.pex differ diff --git a/scripts/tif__000d8e66.pex b/scripts/tif__000d8e66.pex index 761e52c3..08c7633e 100644 Binary files a/scripts/tif__000d8e66.pex and b/scripts/tif__000d8e66.pex differ diff --git a/scripts/tif__000d8e6c.pex b/scripts/tif__000d8e6c.pex index bbb558a9..6e81a237 100644 Binary files a/scripts/tif__000d8e6c.pex and b/scripts/tif__000d8e6c.pex differ diff --git a/scripts/tif__000d9b3a.pex b/scripts/tif__000d9b3a.pex index f63b0dc7..66439215 100644 Binary files a/scripts/tif__000d9b3a.pex and b/scripts/tif__000d9b3a.pex differ diff --git a/scripts/tif__000d9b3e.pex b/scripts/tif__000d9b3e.pex index bde5c1f1..25e3f10f 100644 Binary files a/scripts/tif__000d9b3e.pex and b/scripts/tif__000d9b3e.pex differ diff --git a/scripts/tif__000d9b47.pex b/scripts/tif__000d9b47.pex index 91891a87..c29a19a0 100644 Binary files a/scripts/tif__000d9b47.pex and b/scripts/tif__000d9b47.pex differ diff --git a/scripts/tif__000e03ca.pex b/scripts/tif__000e03ca.pex index 2764e237..42f4a972 100644 Binary files a/scripts/tif__000e03ca.pex and b/scripts/tif__000e03ca.pex differ diff --git a/scripts/tif__000e0422.pex b/scripts/tif__000e0422.pex index 758a4662..ecb34edf 100644 Binary files a/scripts/tif__000e0422.pex and b/scripts/tif__000e0422.pex differ diff --git a/scripts/tif__000e486d.pex b/scripts/tif__000e486d.pex index b25862bd..6c6d1000 100644 Binary files a/scripts/tif__000e486d.pex and b/scripts/tif__000e486d.pex differ diff --git a/scripts/tif__000e486e.pex b/scripts/tif__000e486e.pex index 1375523e..eb6b48e0 100644 Binary files a/scripts/tif__000e486e.pex and b/scripts/tif__000e486e.pex differ diff --git a/scripts/tif__000e99f0.pex b/scripts/tif__000e99f0.pex index dcbdd2d9..5f41259c 100644 Binary files a/scripts/tif__000e99f0.pex and b/scripts/tif__000e99f0.pex differ diff --git a/scripts/tif__000e99f1.pex b/scripts/tif__000e99f1.pex index 015b8953..c3ab39b0 100644 Binary files a/scripts/tif__000e99f1.pex and b/scripts/tif__000e99f1.pex differ diff --git a/scripts/tif__000e99f7.pex b/scripts/tif__000e99f7.pex index f27d6bc8..50685ad0 100644 Binary files a/scripts/tif__000e99f7.pex and b/scripts/tif__000e99f7.pex differ diff --git a/scripts/tif__000e99f8.pex b/scripts/tif__000e99f8.pex index 73525094..18f9b840 100644 Binary files a/scripts/tif__000e99f8.pex and b/scripts/tif__000e99f8.pex differ diff --git a/scripts/tif__000e99ff.pex b/scripts/tif__000e99ff.pex index e002b621..f291fe92 100644 Binary files a/scripts/tif__000e99ff.pex and b/scripts/tif__000e99ff.pex differ diff --git a/scripts/tif__000ea7a9.pex b/scripts/tif__000ea7a9.pex index d11c0a91..bee1840d 100644 Binary files a/scripts/tif__000ea7a9.pex and b/scripts/tif__000ea7a9.pex differ diff --git a/scripts/tif__000eacf8.pex b/scripts/tif__000eacf8.pex index 9825c2e3..19f45348 100644 Binary files a/scripts/tif__000eacf8.pex and b/scripts/tif__000eacf8.pex differ diff --git a/scripts/tif__000ead42.pex b/scripts/tif__000ead42.pex index e57a024d..ecba742e 100644 Binary files a/scripts/tif__000ead42.pex and b/scripts/tif__000ead42.pex differ diff --git a/scripts/tif__00107f5a.pex b/scripts/tif__00107f5a.pex index 4d09f0aa..6c57bbec 100644 Binary files a/scripts/tif__00107f5a.pex and b/scripts/tif__00107f5a.pex differ diff --git a/scripts/tif__0010a65e.pex b/scripts/tif__0010a65e.pex index 99969e83..d43006d0 100644 Binary files a/scripts/tif__0010a65e.pex and b/scripts/tif__0010a65e.pex differ diff --git a/scripts/tif__0010a65f.pex b/scripts/tif__0010a65f.pex index b240ef63..70e938e2 100644 Binary files a/scripts/tif__0010a65f.pex and b/scripts/tif__0010a65f.pex differ diff --git a/scripts/tif__0010a82c.pex b/scripts/tif__0010a82c.pex index 12e88c62..00d5d1f6 100644 Binary files a/scripts/tif__0010a82c.pex and b/scripts/tif__0010a82c.pex differ diff --git a/scripts/tif__0010a82e.pex b/scripts/tif__0010a82e.pex index efdf9608..18f31145 100644 Binary files a/scripts/tif__0010a82e.pex and b/scripts/tif__0010a82e.pex differ diff --git a/scripts/tif__0010a850.pex b/scripts/tif__0010a850.pex index 9a516557..eb13e366 100644 Binary files a/scripts/tif__0010a850.pex and b/scripts/tif__0010a850.pex differ diff --git a/scripts/tif__0010a851.pex b/scripts/tif__0010a851.pex index 865dd590..5e2e64ec 100644 Binary files a/scripts/tif__0010a851.pex and b/scripts/tif__0010a851.pex differ diff --git a/scripts/tif__0010a85c.pex b/scripts/tif__0010a85c.pex index c28ae595..0beed254 100644 Binary files a/scripts/tif__0010a85c.pex and b/scripts/tif__0010a85c.pex differ diff --git a/scripts/tif__00119bb3.pex b/scripts/tif__00119bb3.pex index bb0bb1d0..acee47e4 100644 Binary files a/scripts/tif__00119bb3.pex and b/scripts/tif__00119bb3.pex differ diff --git a/scripts/tif__0011b021.pex b/scripts/tif__0011b021.pex index 3c3c1f5a..613a1e75 100644 Binary files a/scripts/tif__0011b021.pex and b/scripts/tif__0011b021.pex differ diff --git a/scripts/tif__0011b1fb.pex b/scripts/tif__0011b1fb.pex index 6ae00987..ac3e22b6 100644 Binary files a/scripts/tif__0011b1fb.pex and b/scripts/tif__0011b1fb.pex differ diff --git a/scripts/tif__0013454f.pex b/scripts/tif__0013454f.pex index 1614beac..c466456c 100644 Binary files a/scripts/tif__0013454f.pex and b/scripts/tif__0013454f.pex differ diff --git a/scripts/tif__00134550.pex b/scripts/tif__00134550.pex index 60acdd7c..9c71e13e 100644 Binary files a/scripts/tif__00134550.pex and b/scripts/tif__00134550.pex differ diff --git a/scripts/tif__00134551.pex b/scripts/tif__00134551.pex index e1dc0fd7..d64fe711 100644 Binary files a/scripts/tif__00134551.pex and b/scripts/tif__00134551.pex differ diff --git a/scripts/tif__00134555.pex b/scripts/tif__00134555.pex index 6a19d7c4..c53b3f16 100644 Binary files a/scripts/tif__00134555.pex and b/scripts/tif__00134555.pex differ diff --git a/scripts/tif__00134561.pex b/scripts/tif__00134561.pex index c428554f..3908c87f 100644 Binary files a/scripts/tif__00134561.pex and b/scripts/tif__00134561.pex differ diff --git a/scripts/tif__00134562.pex b/scripts/tif__00134562.pex index 8ab5e517..ba60bce1 100644 Binary files a/scripts/tif__00134562.pex and b/scripts/tif__00134562.pex differ diff --git a/scripts/tif__00134563.pex b/scripts/tif__00134563.pex index 1129fb6c..fcf32bf7 100644 Binary files a/scripts/tif__00134563.pex and b/scripts/tif__00134563.pex differ diff --git a/scripts/tif__001346e0.pex b/scripts/tif__001346e0.pex index 4ceafa8c..d91ddfe1 100644 Binary files a/scripts/tif__001346e0.pex and b/scripts/tif__001346e0.pex differ diff --git a/scripts/tif__001346e3.pex b/scripts/tif__001346e3.pex index 05e54c44..3fc7a856 100644 Binary files a/scripts/tif__001346e3.pex and b/scripts/tif__001346e3.pex differ diff --git a/scripts/tif__001346e7.pex b/scripts/tif__001346e7.pex index 04379324..7ce1342c 100644 Binary files a/scripts/tif__001346e7.pex and b/scripts/tif__001346e7.pex differ diff --git a/scripts/tif__00137134.pex b/scripts/tif__00137134.pex index 2177d122..01c695ac 100644 Binary files a/scripts/tif__00137134.pex and b/scripts/tif__00137134.pex differ diff --git a/scripts/tif__001378ed.pex b/scripts/tif__001378ed.pex index a2a2d028..53dff156 100644 Binary files a/scripts/tif__001378ed.pex and b/scripts/tif__001378ed.pex differ diff --git a/scripts/tif__001378ef.pex b/scripts/tif__001378ef.pex index 7da67c1c..ac8dfc69 100644 Binary files a/scripts/tif__001378ef.pex and b/scripts/tif__001378ef.pex differ diff --git a/scripts/tif__001380d2.pex b/scripts/tif__001380d2.pex index 8d996ffb..da4b876f 100644 Binary files a/scripts/tif__001380d2.pex and b/scripts/tif__001380d2.pex differ diff --git a/scripts/tif__0013999e.pex b/scripts/tif__0013999e.pex index ad826e33..b8bdb4f8 100644 Binary files a/scripts/tif__0013999e.pex and b/scripts/tif__0013999e.pex differ diff --git a/scripts/tif__00139cfa.pex b/scripts/tif__00139cfa.pex index ea118fa7..57a2f952 100644 Binary files a/scripts/tif__00139cfa.pex and b/scripts/tif__00139cfa.pex differ diff --git a/scripts/tif__00139d0a.pex b/scripts/tif__00139d0a.pex index 3850e556..28e967b5 100644 Binary files a/scripts/tif__00139d0a.pex and b/scripts/tif__00139d0a.pex differ diff --git a/scripts/tif__00139d13.pex b/scripts/tif__00139d13.pex index 633f6800..64ac0d62 100644 Binary files a/scripts/tif__00139d13.pex and b/scripts/tif__00139d13.pex differ diff --git a/scripts/tif__00139d18.pex b/scripts/tif__00139d18.pex index 917ee88b..d10ec730 100644 Binary files a/scripts/tif__00139d18.pex and b/scripts/tif__00139d18.pex differ diff --git a/scripts/tif__00139d1a.pex b/scripts/tif__00139d1a.pex index 5354a2dd..ef047c51 100644 Binary files a/scripts/tif__00139d1a.pex and b/scripts/tif__00139d1a.pex differ diff --git a/scripts/tif__00139d33.pex b/scripts/tif__00139d33.pex index 61375de9..f7ff2ffe 100644 Binary files a/scripts/tif__00139d33.pex and b/scripts/tif__00139d33.pex differ diff --git a/scripts/tif__00139d37.pex b/scripts/tif__00139d37.pex index 1c9b0d8e..a58c9a4e 100644 Binary files a/scripts/tif__00139d37.pex and b/scripts/tif__00139d37.pex differ diff --git a/scripts/tif__00139d3e.pex b/scripts/tif__00139d3e.pex index 5a8f0824..71dacfd4 100644 Binary files a/scripts/tif__00139d3e.pex and b/scripts/tif__00139d3e.pex differ diff --git a/scripts/tif__00139d4b.pex b/scripts/tif__00139d4b.pex index ba1f449a..8bfd57c6 100644 Binary files a/scripts/tif__00139d4b.pex and b/scripts/tif__00139d4b.pex differ diff --git a/scripts/tif__00139d4d.pex b/scripts/tif__00139d4d.pex index d508d2cb..23eddbb7 100644 Binary files a/scripts/tif__00139d4d.pex and b/scripts/tif__00139d4d.pex differ diff --git a/scripts/tif__00139d50.pex b/scripts/tif__00139d50.pex index 6d1b2314..07700527 100644 Binary files a/scripts/tif__00139d50.pex and b/scripts/tif__00139d50.pex differ diff --git a/scripts/tif__00139d61.pex b/scripts/tif__00139d61.pex index 10ac37a5..d15a1f2f 100644 Binary files a/scripts/tif__00139d61.pex and b/scripts/tif__00139d61.pex differ diff --git a/scripts/tif__00139d64.pex b/scripts/tif__00139d64.pex index cb7ecab3..1ba764f7 100644 Binary files a/scripts/tif__00139d64.pex and b/scripts/tif__00139d64.pex differ diff --git a/scripts/tif__00139d6e.pex b/scripts/tif__00139d6e.pex index 64bc9b08..e94940a6 100644 Binary files a/scripts/tif__00139d6e.pex and b/scripts/tif__00139d6e.pex differ diff --git a/scripts/tif__00139d70.pex b/scripts/tif__00139d70.pex index f059e78e..40350c8b 100644 Binary files a/scripts/tif__00139d70.pex and b/scripts/tif__00139d70.pex differ diff --git a/scripts/tif__00139d7a.pex b/scripts/tif__00139d7a.pex index 9b236565..df89ee78 100644 Binary files a/scripts/tif__00139d7a.pex and b/scripts/tif__00139d7a.pex differ diff --git a/scripts/tif__00139d80.pex b/scripts/tif__00139d80.pex index 568ed859..8bc7f5d2 100644 Binary files a/scripts/tif__00139d80.pex and b/scripts/tif__00139d80.pex differ diff --git a/scripts/tif__00139efc.pex b/scripts/tif__00139efc.pex index ca398e16..97aa63fc 100644 Binary files a/scripts/tif__00139efc.pex and b/scripts/tif__00139efc.pex differ diff --git a/scripts/tif__00139f89.pex b/scripts/tif__00139f89.pex index 516f994a..f1efb79e 100644 Binary files a/scripts/tif__00139f89.pex and b/scripts/tif__00139f89.pex differ diff --git a/scripts/tif__0013c24d.pex b/scripts/tif__0013c24d.pex index 0b312090..46b50f2b 100644 Binary files a/scripts/tif__0013c24d.pex and b/scripts/tif__0013c24d.pex differ diff --git a/scripts/tif__0013c255.pex b/scripts/tif__0013c255.pex index 7b6efd7f..49954f47 100644 Binary files a/scripts/tif__0013c255.pex and b/scripts/tif__0013c255.pex differ diff --git a/scripts/tif__0013c25a.pex b/scripts/tif__0013c25a.pex index d9460612..1e8fe7c1 100644 Binary files a/scripts/tif__0013c25a.pex and b/scripts/tif__0013c25a.pex differ diff --git a/scripts/tif__0013c25b.pex b/scripts/tif__0013c25b.pex index d73be5b4..723aa288 100644 Binary files a/scripts/tif__0013c25b.pex and b/scripts/tif__0013c25b.pex differ diff --git a/scripts/tif__0013c25f.pex b/scripts/tif__0013c25f.pex index 4b60b733..d9da2d6c 100644 Binary files a/scripts/tif__0013c25f.pex and b/scripts/tif__0013c25f.pex differ diff --git a/scripts/tif__0013c265.pex b/scripts/tif__0013c265.pex index 0f23a4d4..6c365762 100644 Binary files a/scripts/tif__0013c265.pex and b/scripts/tif__0013c265.pex differ diff --git a/scripts/tif__0013c26a.pex b/scripts/tif__0013c26a.pex index 0e16574a..7e6ab99e 100644 Binary files a/scripts/tif__0013c26a.pex and b/scripts/tif__0013c26a.pex differ diff --git a/scripts/tif__0013c26b.pex b/scripts/tif__0013c26b.pex deleted file mode 100644 index 64d94f17..00000000 Binary files a/scripts/tif__0013c26b.pex and /dev/null differ diff --git a/scripts/tif__0013c3a3.pex b/scripts/tif__0013c3a3.pex index 162ab4a6..ae82f00a 100644 Binary files a/scripts/tif__0013c3a3.pex and b/scripts/tif__0013c3a3.pex differ diff --git a/scripts/tif__0013c3ab.pex b/scripts/tif__0013c3ab.pex index 3315c9db..e2df65f5 100644 Binary files a/scripts/tif__0013c3ab.pex and b/scripts/tif__0013c3ab.pex differ diff --git a/scripts/tif__0013c3ba.pex b/scripts/tif__0013c3ba.pex index d568b0ce..0b6caf65 100644 Binary files a/scripts/tif__0013c3ba.pex and b/scripts/tif__0013c3ba.pex differ diff --git a/scripts/tif__0013c3be.pex b/scripts/tif__0013c3be.pex index f12d131e..c6bd6a3e 100644 Binary files a/scripts/tif__0013c3be.pex and b/scripts/tif__0013c3be.pex differ diff --git a/scripts/tif__0013c3bf.pex b/scripts/tif__0013c3bf.pex index ef2028ed..3eac695a 100644 Binary files a/scripts/tif__0013c3bf.pex and b/scripts/tif__0013c3bf.pex differ diff --git a/scripts/tif__0013c3c1.pex b/scripts/tif__0013c3c1.pex index b7e3ed7e..baaf0604 100644 Binary files a/scripts/tif__0013c3c1.pex and b/scripts/tif__0013c3c1.pex differ diff --git a/scripts/tif__0013c3c4.pex b/scripts/tif__0013c3c4.pex index 3e57d281..10614095 100644 Binary files a/scripts/tif__0013c3c4.pex and b/scripts/tif__0013c3c4.pex differ diff --git a/scripts/tif__0013c3c9.pex b/scripts/tif__0013c3c9.pex index 4fba8a17..0bb40539 100644 Binary files a/scripts/tif__0013c3c9.pex and b/scripts/tif__0013c3c9.pex differ diff --git a/scripts/tif__0013c3cf.pex b/scripts/tif__0013c3cf.pex index 0ccc69ce..e611b57e 100644 Binary files a/scripts/tif__0013c3cf.pex and b/scripts/tif__0013c3cf.pex differ diff --git a/scripts/tif__0013c3e0.pex b/scripts/tif__0013c3e0.pex index be5f1a35..175c7656 100644 Binary files a/scripts/tif__0013c3e0.pex and b/scripts/tif__0013c3e0.pex differ diff --git a/scripts/tif__0013c8ee.pex b/scripts/tif__0013c8ee.pex index 75bb7992..c53a844f 100644 Binary files a/scripts/tif__0013c8ee.pex and b/scripts/tif__0013c8ee.pex differ diff --git a/scripts/tif__0013c8f2.pex b/scripts/tif__0013c8f2.pex index 9a13d0f7..776c4edf 100644 Binary files a/scripts/tif__0013c8f2.pex and b/scripts/tif__0013c8f2.pex differ diff --git a/scripts/tif__0013c906.pex b/scripts/tif__0013c906.pex index 91dc3208..632f21f1 100644 Binary files a/scripts/tif__0013c906.pex and b/scripts/tif__0013c906.pex differ diff --git a/scripts/tif__0013c90b.pex b/scripts/tif__0013c90b.pex index 74c02ab8..ba874fca 100644 Binary files a/scripts/tif__0013c90b.pex and b/scripts/tif__0013c90b.pex differ diff --git a/scripts/tif__0013c90c.pex b/scripts/tif__0013c90c.pex index f35d5c63..2ce3adab 100644 Binary files a/scripts/tif__0013c90c.pex and b/scripts/tif__0013c90c.pex differ diff --git a/scripts/tif__0013c92b.pex b/scripts/tif__0013c92b.pex index ca370ab1..5e7194f2 100644 Binary files a/scripts/tif__0013c92b.pex and b/scripts/tif__0013c92b.pex differ diff --git a/scripts/tif__0013c93a.pex b/scripts/tif__0013c93a.pex index 97d0aa0f..b014cbfd 100644 Binary files a/scripts/tif__0013c93a.pex and b/scripts/tif__0013c93a.pex differ diff --git a/scripts/tif__0013c93b.pex b/scripts/tif__0013c93b.pex index d9389a3d..d49f40ed 100644 Binary files a/scripts/tif__0013c93b.pex and b/scripts/tif__0013c93b.pex differ diff --git a/scripts/tif__0013cec7.pex b/scripts/tif__0013cec7.pex index ad54908e..f12fad70 100644 Binary files a/scripts/tif__0013cec7.pex and b/scripts/tif__0013cec7.pex differ diff --git a/scripts/tif__0013ceca.pex b/scripts/tif__0013ceca.pex index 46358432..71db93e6 100644 Binary files a/scripts/tif__0013ceca.pex and b/scripts/tif__0013ceca.pex differ diff --git a/scripts/tif__0013cecf.pex b/scripts/tif__0013cecf.pex index 408ab8d4..af672e25 100644 Binary files a/scripts/tif__0013cecf.pex and b/scripts/tif__0013cecf.pex differ diff --git a/scripts/tif__0013ced4.pex b/scripts/tif__0013ced4.pex index aa3fa48f..add0966a 100644 Binary files a/scripts/tif__0013ced4.pex and b/scripts/tif__0013ced4.pex differ diff --git a/scripts/tif__0013ced8.pex b/scripts/tif__0013ced8.pex index 09afad0a..b95fd546 100644 Binary files a/scripts/tif__0013ced8.pex and b/scripts/tif__0013ced8.pex differ diff --git a/scripts/tif__0013cedc.pex b/scripts/tif__0013cedc.pex index 0316f113..9129ac05 100644 Binary files a/scripts/tif__0013cedc.pex and b/scripts/tif__0013cedc.pex differ diff --git a/scripts/tif__0013cee0.pex b/scripts/tif__0013cee0.pex index b6aeb8b6..041d6879 100644 Binary files a/scripts/tif__0013cee0.pex and b/scripts/tif__0013cee0.pex differ diff --git a/scripts/tif__0013cee9.pex b/scripts/tif__0013cee9.pex index 74a54606..05f2528e 100644 Binary files a/scripts/tif__0013cee9.pex and b/scripts/tif__0013cee9.pex differ diff --git a/scripts/tif__0013cf78.pex b/scripts/tif__0013cf78.pex index 0010bd03..0189333d 100644 Binary files a/scripts/tif__0013cf78.pex and b/scripts/tif__0013cf78.pex differ diff --git a/scripts/tif__0013cf79.pex b/scripts/tif__0013cf79.pex index 7faafd35..365eaae1 100644 Binary files a/scripts/tif__0013cf79.pex and b/scripts/tif__0013cf79.pex differ diff --git a/scripts/tif__0013cf7d.pex b/scripts/tif__0013cf7d.pex index b8f91d4c..b3d8399e 100644 Binary files a/scripts/tif__0013cf7d.pex and b/scripts/tif__0013cf7d.pex differ diff --git a/scripts/tif__0013cf84.pex b/scripts/tif__0013cf84.pex index df87b5fb..166c25f2 100644 Binary files a/scripts/tif__0013cf84.pex and b/scripts/tif__0013cf84.pex differ diff --git a/scripts/tif__0013cf8c.pex b/scripts/tif__0013cf8c.pex index 6a10af4e..9f956c3d 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 1fcfa2fb..f4ce38d7 100644 Binary files a/scripts/tif__0013cf8d.pex and b/scripts/tif__0013cf8d.pex differ diff --git a/scripts/tif__0013cf9a.pex b/scripts/tif__0013cf9a.pex index 921f1cd1..b1130980 100644 Binary files a/scripts/tif__0013cf9a.pex and b/scripts/tif__0013cf9a.pex differ diff --git a/scripts/tif__0013cfa1.pex b/scripts/tif__0013cfa1.pex index 4b019c7c..289003cd 100644 Binary files a/scripts/tif__0013cfa1.pex and b/scripts/tif__0013cfa1.pex differ diff --git a/scripts/tif__0013cfa2.pex b/scripts/tif__0013cfa2.pex index 91aa8345..6c9a75a1 100644 Binary files a/scripts/tif__0013cfa2.pex and b/scripts/tif__0013cfa2.pex differ diff --git a/scripts/tif__0013cfb4.pex b/scripts/tif__0013cfb4.pex index b91316c3..bcbfe204 100644 Binary files a/scripts/tif__0013cfb4.pex and b/scripts/tif__0013cfb4.pex differ diff --git a/scripts/tif__0013d03d.pex b/scripts/tif__0013d03d.pex index 6e103c8b..02166be6 100644 Binary files a/scripts/tif__0013d03d.pex and b/scripts/tif__0013d03d.pex differ diff --git a/scripts/tif__0013d049.pex b/scripts/tif__0013d049.pex index ad9f7acb..e9da2ce5 100644 Binary files a/scripts/tif__0013d049.pex and b/scripts/tif__0013d049.pex differ diff --git a/scripts/tif__0013d04d.pex b/scripts/tif__0013d04d.pex index 96d75afd..2bbd4882 100644 Binary files a/scripts/tif__0013d04d.pex and b/scripts/tif__0013d04d.pex differ diff --git a/scripts/tif__0013d04e.pex b/scripts/tif__0013d04e.pex index eea933c7..bd24a5d3 100644 Binary files a/scripts/tif__0013d04e.pex and b/scripts/tif__0013d04e.pex differ diff --git a/scripts/tif__0013d054.pex b/scripts/tif__0013d054.pex index dea1cb07..29043eb1 100644 Binary files a/scripts/tif__0013d054.pex and b/scripts/tif__0013d054.pex differ diff --git a/scripts/tif__0013d05a.pex b/scripts/tif__0013d05a.pex index 3471ea8a..43b862ec 100644 Binary files a/scripts/tif__0013d05a.pex and b/scripts/tif__0013d05a.pex differ diff --git a/scripts/tif__0013d061.pex b/scripts/tif__0013d061.pex index 4961ca8a..94d8842d 100644 Binary files a/scripts/tif__0013d061.pex and b/scripts/tif__0013d061.pex differ diff --git a/scripts/tif__0013d06d.pex b/scripts/tif__0013d06d.pex index 1afa1185..c9d31de8 100644 Binary files a/scripts/tif__0013d06d.pex and b/scripts/tif__0013d06d.pex differ diff --git a/scripts/tif__0013e857.pex b/scripts/tif__0013e857.pex index 32294fe8..9de0f6c0 100644 Binary files a/scripts/tif__0013e857.pex and b/scripts/tif__0013e857.pex differ diff --git a/scripts/tif__0013e859.pex b/scripts/tif__0013e859.pex index aa59a0f4..04c84536 100644 Binary files a/scripts/tif__0013e859.pex and b/scripts/tif__0013e859.pex differ diff --git a/scripts/tif__0013e85c.pex b/scripts/tif__0013e85c.pex index cd6d8034..15798827 100644 Binary files a/scripts/tif__0013e85c.pex and b/scripts/tif__0013e85c.pex differ diff --git a/scripts/tif__0013e85d.pex b/scripts/tif__0013e85d.pex index 364bb48f..6dab0390 100644 Binary files a/scripts/tif__0013e85d.pex and b/scripts/tif__0013e85d.pex differ diff --git a/scripts/tif__0013e861.pex b/scripts/tif__0013e861.pex index bd8f2bc4..77be8044 100644 Binary files a/scripts/tif__0013e861.pex and b/scripts/tif__0013e861.pex differ diff --git a/scripts/tif__0013e865.pex b/scripts/tif__0013e865.pex index 74c3d9ff..e1544d2c 100644 Binary files a/scripts/tif__0013e865.pex and b/scripts/tif__0013e865.pex differ diff --git a/scripts/tif__0013e87d.pex b/scripts/tif__0013e87d.pex index 44411443..f0711d48 100644 Binary files a/scripts/tif__0013e87d.pex and b/scripts/tif__0013e87d.pex differ diff --git a/scripts/tif__0013e87e.pex b/scripts/tif__0013e87e.pex index 5251a5f9..9766bfbd 100644 Binary files a/scripts/tif__0013e87e.pex and b/scripts/tif__0013e87e.pex differ diff --git a/scripts/tif__0013e87f.pex b/scripts/tif__0013e87f.pex index 5cb29933..9c2d77d9 100644 Binary files a/scripts/tif__0013e87f.pex and b/scripts/tif__0013e87f.pex differ diff --git a/scripts/tif__0013e881.pex b/scripts/tif__0013e881.pex index b2ec081c..ff5e858c 100644 Binary files a/scripts/tif__0013e881.pex and b/scripts/tif__0013e881.pex differ diff --git a/scripts/tif__0013e883.pex b/scripts/tif__0013e883.pex index 438f6f8e..40103350 100644 Binary files a/scripts/tif__0013e883.pex and b/scripts/tif__0013e883.pex differ diff --git a/scripts/tif__0013e88a.pex b/scripts/tif__0013e88a.pex index aff23b34..bc9cd523 100644 Binary files a/scripts/tif__0013e88a.pex and b/scripts/tif__0013e88a.pex differ diff --git a/scripts/tif__0013e901.pex b/scripts/tif__0013e901.pex index a39ae3da..a3050193 100644 Binary files a/scripts/tif__0013e901.pex and b/scripts/tif__0013e901.pex differ diff --git a/scripts/tif__0013e902.pex b/scripts/tif__0013e902.pex index a6264af4..d3931414 100644 Binary files a/scripts/tif__0013e902.pex and b/scripts/tif__0013e902.pex differ diff --git a/scripts/tif__0013e904.pex b/scripts/tif__0013e904.pex index 6fa8285f..77115081 100644 Binary files a/scripts/tif__0013e904.pex and b/scripts/tif__0013e904.pex differ diff --git a/scripts/tif__0013e905.pex b/scripts/tif__0013e905.pex index 7b5bfd8c..253a5199 100644 Binary files a/scripts/tif__0013e905.pex and b/scripts/tif__0013e905.pex differ diff --git a/scripts/tif__0013e907.pex b/scripts/tif__0013e907.pex index 63af82fd..a3500ffe 100644 Binary files a/scripts/tif__0013e907.pex and b/scripts/tif__0013e907.pex differ diff --git a/scripts/tif__0013e90c.pex b/scripts/tif__0013e90c.pex index 4f8b7b3a..6b1f3379 100644 Binary files a/scripts/tif__0013e90c.pex and b/scripts/tif__0013e90c.pex differ diff --git a/scripts/tif__0013e90e.pex b/scripts/tif__0013e90e.pex index 4e6377fd..dc0b9673 100644 Binary files a/scripts/tif__0013e90e.pex and b/scripts/tif__0013e90e.pex differ diff --git a/scripts/tif__0013e90f.pex b/scripts/tif__0013e90f.pex index 852da1e8..dd6b8819 100644 Binary files a/scripts/tif__0013e90f.pex and b/scripts/tif__0013e90f.pex differ diff --git a/scripts/tif__0013e912.pex b/scripts/tif__0013e912.pex index 14bc9298..786d8465 100644 Binary files a/scripts/tif__0013e912.pex and b/scripts/tif__0013e912.pex differ diff --git a/scripts/tif__0013e91b.pex b/scripts/tif__0013e91b.pex index 8cc683b9..e3e13fb8 100644 Binary files a/scripts/tif__0013e91b.pex and b/scripts/tif__0013e91b.pex differ diff --git a/scripts/tif__0013e983.pex b/scripts/tif__0013e983.pex index 7971de1c..8d5cdc1b 100644 Binary files a/scripts/tif__0013e983.pex and b/scripts/tif__0013e983.pex differ diff --git a/scripts/tif__0013e995.pex b/scripts/tif__0013e995.pex index fb867efc..266d550e 100644 Binary files a/scripts/tif__0013e995.pex and b/scripts/tif__0013e995.pex differ diff --git a/scripts/tif__0013e998.pex b/scripts/tif__0013e998.pex index 6bdeee89..a05ad173 100644 Binary files a/scripts/tif__0013e998.pex and b/scripts/tif__0013e998.pex differ diff --git a/scripts/tif__0013e99d.pex b/scripts/tif__0013e99d.pex index eedbcbdd..fec2a790 100644 Binary files a/scripts/tif__0013e99d.pex and b/scripts/tif__0013e99d.pex differ diff --git a/scripts/tif__0013e99e.pex b/scripts/tif__0013e99e.pex index 930ddafe..bf759c87 100644 Binary files a/scripts/tif__0013e99e.pex and b/scripts/tif__0013e99e.pex differ diff --git a/scripts/tif__0013e9a4.pex b/scripts/tif__0013e9a4.pex index c1443f5c..e6d0208b 100644 Binary files a/scripts/tif__0013e9a4.pex and b/scripts/tif__0013e9a4.pex differ diff --git a/scripts/tif__0013e9ae.pex b/scripts/tif__0013e9ae.pex index 2f0b6e41..33740fdb 100644 Binary files a/scripts/tif__0013e9ae.pex and b/scripts/tif__0013e9ae.pex differ diff --git a/scripts/tif__0013e9b2.pex b/scripts/tif__0013e9b2.pex index 87db1715..d15cfbdd 100644 Binary files a/scripts/tif__0013e9b2.pex and b/scripts/tif__0013e9b2.pex differ diff --git a/scripts/tif__0013eaa3.pex b/scripts/tif__0013eaa3.pex index badbe559..f6c2fffd 100644 Binary files a/scripts/tif__0013eaa3.pex and b/scripts/tif__0013eaa3.pex differ diff --git a/scripts/tif__0013f5a5.pex b/scripts/tif__0013f5a5.pex index 99e50d3a..c0114240 100644 Binary files a/scripts/tif__0013f5a5.pex and b/scripts/tif__0013f5a5.pex differ diff --git a/scripts/tif__0013f69a.pex b/scripts/tif__0013f69a.pex index 8a30b11e..d7f3fe0d 100644 Binary files a/scripts/tif__0013f69a.pex and b/scripts/tif__0013f69a.pex differ diff --git a/scripts/tif__0013fa6a.pex b/scripts/tif__0013fa6a.pex index 2ad745ba..4e325f8e 100644 Binary files a/scripts/tif__0013fa6a.pex and b/scripts/tif__0013fa6a.pex differ diff --git a/scripts/tif__0013fa89.pex b/scripts/tif__0013fa89.pex index 042e38cd..29c22f62 100644 Binary files a/scripts/tif__0013fa89.pex and b/scripts/tif__0013fa89.pex differ diff --git a/scripts/tif__0014004a.pex b/scripts/tif__0014004a.pex index dadbbe36..6c0e5287 100644 Binary files a/scripts/tif__0014004a.pex and b/scripts/tif__0014004a.pex differ diff --git a/scripts/tif__00141739.pex b/scripts/tif__00141739.pex index b063652a..a9510587 100644 Binary files a/scripts/tif__00141739.pex and b/scripts/tif__00141739.pex differ diff --git a/scripts/tif__00141745.pex b/scripts/tif__00141745.pex index f2e2dec8..1ca2dfa4 100644 Binary files a/scripts/tif__00141745.pex and b/scripts/tif__00141745.pex differ diff --git a/scripts/tif__0014174b.pex b/scripts/tif__0014174b.pex index 498077b8..1820ac07 100644 Binary files a/scripts/tif__0014174b.pex and b/scripts/tif__0014174b.pex differ diff --git a/scripts/tif__00141bfd.pex b/scripts/tif__00141bfd.pex index 632e67b5..4a9a36d5 100644 Binary files a/scripts/tif__00141bfd.pex and b/scripts/tif__00141bfd.pex differ diff --git a/scripts/tif__00141bff.pex b/scripts/tif__00141bff.pex index b644e99d..8ef9a405 100644 Binary files a/scripts/tif__00141bff.pex and b/scripts/tif__00141bff.pex differ diff --git a/scripts/tif__00141c00.pex b/scripts/tif__00141c00.pex index 5a8cf67e..82a84595 100644 Binary files a/scripts/tif__00141c00.pex and b/scripts/tif__00141c00.pex differ diff --git a/scripts/tif__00141c03.pex b/scripts/tif__00141c03.pex index 682a4b24..73ff15fb 100644 Binary files a/scripts/tif__00141c03.pex and b/scripts/tif__00141c03.pex differ diff --git a/scripts/tif__00141c05.pex b/scripts/tif__00141c05.pex index 4d460493..92c96458 100644 Binary files a/scripts/tif__00141c05.pex and b/scripts/tif__00141c05.pex differ diff --git a/scripts/tif__00141c06.pex b/scripts/tif__00141c06.pex index fa207b87..9f5c7ebc 100644 Binary files a/scripts/tif__00141c06.pex and b/scripts/tif__00141c06.pex differ diff --git a/scripts/tif__00141cfd.pex b/scripts/tif__00141cfd.pex deleted file mode 100644 index ca245f53..00000000 Binary files a/scripts/tif__00141cfd.pex and /dev/null differ diff --git a/scripts/tif__00146f01.pex b/scripts/tif__00146f01.pex index 87be12ea..e42a7128 100644 Binary files a/scripts/tif__00146f01.pex and b/scripts/tif__00146f01.pex differ diff --git a/scripts/tif__00146f09.pex b/scripts/tif__00146f09.pex index cf8e1e6e..9ceeb75b 100644 Binary files a/scripts/tif__00146f09.pex and b/scripts/tif__00146f09.pex differ diff --git a/scripts/tif__00146f29.pex b/scripts/tif__00146f29.pex index 516a473c..cf7098fa 100644 Binary files a/scripts/tif__00146f29.pex and b/scripts/tif__00146f29.pex differ diff --git a/scripts/tif__00146f6f.pex b/scripts/tif__00146f6f.pex index affbdbf9..eaecd89c 100644 Binary files a/scripts/tif__00146f6f.pex and b/scripts/tif__00146f6f.pex differ diff --git a/scripts/tif__00146f8d.pex b/scripts/tif__00146f8d.pex index 571fb6a5..2b3234ec 100644 Binary files a/scripts/tif__00146f8d.pex and b/scripts/tif__00146f8d.pex differ diff --git a/scripts/tif__00146f8e.pex b/scripts/tif__00146f8e.pex index 14f4757e..45bd851e 100644 Binary files a/scripts/tif__00146f8e.pex and b/scripts/tif__00146f8e.pex differ diff --git a/scripts/tif__00146fac.pex b/scripts/tif__00146fac.pex index b8b7ec83..dd643432 100644 Binary files a/scripts/tif__00146fac.pex and b/scripts/tif__00146fac.pex differ diff --git a/scripts/tif__00148480.pex b/scripts/tif__00148480.pex index a1a2748c..beb76209 100644 Binary files a/scripts/tif__00148480.pex and b/scripts/tif__00148480.pex differ diff --git a/scripts/tif__00148481.pex b/scripts/tif__00148481.pex index f3e75069..5c6aecd7 100644 Binary files a/scripts/tif__00148481.pex and b/scripts/tif__00148481.pex differ diff --git a/scripts/tif__00148482.pex b/scripts/tif__00148482.pex index 669968f2..f578b6aa 100644 Binary files a/scripts/tif__00148482.pex and b/scripts/tif__00148482.pex differ diff --git a/scripts/tif__00148483.pex b/scripts/tif__00148483.pex index 0ef96287..c836d6d3 100644 Binary files a/scripts/tif__00148483.pex and b/scripts/tif__00148483.pex differ diff --git a/scripts/tif__00148484.pex b/scripts/tif__00148484.pex index a30d9562..6e344731 100644 Binary files a/scripts/tif__00148484.pex and b/scripts/tif__00148484.pex differ diff --git a/scripts/tif__001494eb.pex b/scripts/tif__001494eb.pex index a468a931..f2079c16 100644 Binary files a/scripts/tif__001494eb.pex and b/scripts/tif__001494eb.pex differ diff --git a/scripts/tif__0014bc90.pex b/scripts/tif__0014bc90.pex index 25f84d6c..dc19c336 100644 Binary files a/scripts/tif__0014bc90.pex and b/scripts/tif__0014bc90.pex differ diff --git a/scripts/tif__0014caaf.pex b/scripts/tif__0014caaf.pex index 8855e733..f076a619 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 ec5f7f08..e9644c27 100644 Binary files a/scripts/tif__0014cac8.pex and b/scripts/tif__0014cac8.pex differ diff --git a/scripts/tif__0014cad8.pex b/scripts/tif__0014cad8.pex index 3efb1735..3a0c64c5 100644 Binary files a/scripts/tif__0014cad8.pex and b/scripts/tif__0014cad8.pex differ diff --git a/scripts/tif__0014f502.pex b/scripts/tif__0014f502.pex index 88935d68..15a80e79 100644 Binary files a/scripts/tif__0014f502.pex and b/scripts/tif__0014f502.pex differ diff --git a/scripts/tif__0014f508.pex b/scripts/tif__0014f508.pex index 69c7a8ff..ae973e1c 100644 Binary files a/scripts/tif__0014f508.pex and b/scripts/tif__0014f508.pex differ diff --git a/scripts/tif__0014f50a.pex b/scripts/tif__0014f50a.pex index 2ad69c4e..532442ff 100644 Binary files a/scripts/tif__0014f50a.pex and b/scripts/tif__0014f50a.pex differ diff --git a/scripts/tif__0014f989.pex b/scripts/tif__0014f989.pex index 2a77e70c..324c9ef7 100644 Binary files a/scripts/tif__0014f989.pex and b/scripts/tif__0014f989.pex differ diff --git a/scripts/tif__0014f993.pex b/scripts/tif__0014f993.pex index 4b471b76..fe51e5bd 100644 Binary files a/scripts/tif__0014f993.pex and b/scripts/tif__0014f993.pex differ diff --git a/scripts/tif__00150004.pex b/scripts/tif__00150004.pex index 78cc5836..1c071116 100644 Binary files a/scripts/tif__00150004.pex and b/scripts/tif__00150004.pex differ diff --git a/scripts/tif__00150005.pex b/scripts/tif__00150005.pex index f5fe2051..0a53b7ec 100644 Binary files a/scripts/tif__00150005.pex and b/scripts/tif__00150005.pex differ diff --git a/scripts/tif__00150006.pex b/scripts/tif__00150006.pex index 3dc3aeb2..5f467453 100644 Binary files a/scripts/tif__00150006.pex and b/scripts/tif__00150006.pex differ diff --git a/scripts/tif__0015000c.pex b/scripts/tif__0015000c.pex index 02eacd70..be7c98ba 100644 Binary files a/scripts/tif__0015000c.pex and b/scripts/tif__0015000c.pex differ diff --git a/scripts/tif__00153b40.pex b/scripts/tif__00153b40.pex index dbc0db0b..517da293 100644 Binary files a/scripts/tif__00153b40.pex and b/scripts/tif__00153b40.pex differ diff --git a/scripts/tif__0100435e.pex b/scripts/tif__0100435e.pex index 4af5a495..3d1d4662 100644 Binary files a/scripts/tif__0100435e.pex and b/scripts/tif__0100435e.pex differ diff --git a/scripts/tif__0100e33d.pex b/scripts/tif__0100e33d.pex index aa8fb20d..56ee8a0c 100644 Binary files a/scripts/tif__0100e33d.pex and b/scripts/tif__0100e33d.pex differ diff --git a/scripts/tif__0100e356.pex b/scripts/tif__0100e356.pex index 751abf83..b426caf0 100644 Binary files a/scripts/tif__0100e356.pex and b/scripts/tif__0100e356.pex differ diff --git a/scripts/tif__0100e35b.pex b/scripts/tif__0100e35b.pex index 6a433647..fcdee378 100644 Binary files a/scripts/tif__0100e35b.pex and b/scripts/tif__0100e35b.pex differ diff --git a/scripts/tif__0100e35e.pex b/scripts/tif__0100e35e.pex index e25f2127..8fa73b2b 100644 Binary files a/scripts/tif__0100e35e.pex and b/scripts/tif__0100e35e.pex differ diff --git a/scripts/tif__010132f1.pex b/scripts/tif__010132f1.pex index 139036b2..12e0bd15 100644 Binary files a/scripts/tif__010132f1.pex and b/scripts/tif__010132f1.pex differ diff --git a/scripts/tif__0101c5a3.pex b/scripts/tif__0101c5a3.pex index 1b5429e0..c99304ef 100644 Binary files a/scripts/tif__0101c5a3.pex and b/scripts/tif__0101c5a3.pex differ diff --git a/scripts/tif__0101c5a8.pex b/scripts/tif__0101c5a8.pex index b7e27a4a..970fd3e3 100644 Binary files a/scripts/tif__0101c5a8.pex and b/scripts/tif__0101c5a8.pex differ diff --git a/scripts/tif__0101c5b4.pex b/scripts/tif__0101c5b4.pex index ccccf1b5..c32243fe 100644 Binary files a/scripts/tif__0101c5b4.pex and b/scripts/tif__0101c5b4.pex differ diff --git a/scripts/tif__0101c5e4.pex b/scripts/tif__0101c5e4.pex index ef385dfd..9318f1f6 100644 Binary files a/scripts/tif__0101c5e4.pex and b/scripts/tif__0101c5e4.pex differ diff --git a/scripts/tif__0101c5eb.pex b/scripts/tif__0101c5eb.pex index d01b1dcb..51ee4f6a 100644 Binary files a/scripts/tif__0101c5eb.pex and b/scripts/tif__0101c5eb.pex differ diff --git a/scripts/tif__0101c5f2.pex b/scripts/tif__0101c5f2.pex index 9b8eaaf7..1e7b0422 100644 Binary files a/scripts/tif__0101c5f2.pex and b/scripts/tif__0101c5f2.pex differ diff --git a/scripts/tif__0101c602.pex b/scripts/tif__0101c602.pex index f2bd0b67..e1511ba6 100644 Binary files a/scripts/tif__0101c602.pex and b/scripts/tif__0101c602.pex differ diff --git a/scripts/tif__0101c608.pex b/scripts/tif__0101c608.pex index 9588805d..57dbf836 100644 Binary files a/scripts/tif__0101c608.pex and b/scripts/tif__0101c608.pex differ diff --git a/scripts/tif__0101c60a.pex b/scripts/tif__0101c60a.pex index 8b44de16..a9ac8952 100644 Binary files a/scripts/tif__0101c60a.pex and b/scripts/tif__0101c60a.pex differ diff --git a/scripts/tif__0101c614.pex b/scripts/tif__0101c614.pex index 03895299..9f90f987 100644 Binary files a/scripts/tif__0101c614.pex and b/scripts/tif__0101c614.pex differ diff --git a/scripts/tif__0101c61b.pex b/scripts/tif__0101c61b.pex index 35916f85..6ee4a3ab 100644 Binary files a/scripts/tif__0101c61b.pex and b/scripts/tif__0101c61b.pex differ diff --git a/scripts/tif__0101c61c.pex b/scripts/tif__0101c61c.pex index 7feea8cc..e2ab31d7 100644 Binary files a/scripts/tif__0101c61c.pex and b/scripts/tif__0101c61c.pex differ diff --git a/scripts/tif__0101c61d.pex b/scripts/tif__0101c61d.pex index a703e929..ed19c384 100644 Binary files a/scripts/tif__0101c61d.pex and b/scripts/tif__0101c61d.pex differ diff --git a/scripts/tif__0101c621.pex b/scripts/tif__0101c621.pex index c0e204ba..a31ecf07 100644 Binary files a/scripts/tif__0101c621.pex and b/scripts/tif__0101c621.pex differ diff --git a/scripts/tif__0101c638.pex b/scripts/tif__0101c638.pex index 0fc91177..40e9979d 100644 Binary files a/scripts/tif__0101c638.pex and b/scripts/tif__0101c638.pex differ diff --git a/scripts/tif__0101c7ae.pex b/scripts/tif__0101c7ae.pex index 7a0a4142..13a349ba 100644 Binary files a/scripts/tif__0101c7ae.pex and b/scripts/tif__0101c7ae.pex differ diff --git a/scripts/tif__0101c8e7.pex b/scripts/tif__0101c8e7.pex index e6f9a5e5..acd530ba 100644 Binary files a/scripts/tif__0101c8e7.pex and b/scripts/tif__0101c8e7.pex differ diff --git a/scripts/tif__0101e84c.pex b/scripts/tif__0101e84c.pex index 4a9784bf..f4844665 100644 Binary files a/scripts/tif__0101e84c.pex and b/scripts/tif__0101e84c.pex differ diff --git a/scripts/tif__0101e84f.pex b/scripts/tif__0101e84f.pex index 390b1893..eb12a51e 100644 Binary files a/scripts/tif__0101e84f.pex and b/scripts/tif__0101e84f.pex differ diff --git a/scripts/tif__0101e854.pex b/scripts/tif__0101e854.pex index e664f03a..d0bb703a 100644 Binary files a/scripts/tif__0101e854.pex and b/scripts/tif__0101e854.pex differ diff --git a/scripts/tif__0101eac9.pex b/scripts/tif__0101eac9.pex index 55f77de8..743ecbfc 100644 Binary files a/scripts/tif__0101eac9.pex and b/scripts/tif__0101eac9.pex differ diff --git a/scripts/tif__0101eacf.pex b/scripts/tif__0101eacf.pex index 1a66f9ff..1ee9573c 100644 Binary files a/scripts/tif__0101eacf.pex and b/scripts/tif__0101eacf.pex differ diff --git a/scripts/tif__0101ead7.pex b/scripts/tif__0101ead7.pex index 1fe02b41..fa2a7d53 100644 Binary files a/scripts/tif__0101ead7.pex and b/scripts/tif__0101ead7.pex differ diff --git a/scripts/tif__0101eae0.pex b/scripts/tif__0101eae0.pex index 4c7118ae..dcc197d9 100644 Binary files a/scripts/tif__0101eae0.pex and b/scripts/tif__0101eae0.pex differ diff --git a/scripts/tif__0101eae7.pex b/scripts/tif__0101eae7.pex index d0f7bd4e..bb41e057 100644 Binary files a/scripts/tif__0101eae7.pex and b/scripts/tif__0101eae7.pex differ diff --git a/scripts/tif__0101eae9.pex b/scripts/tif__0101eae9.pex index 83205594..eecdd54d 100644 Binary files a/scripts/tif__0101eae9.pex and b/scripts/tif__0101eae9.pex differ diff --git a/scripts/tif__0101eaf8.pex b/scripts/tif__0101eaf8.pex index 40d9c5c1..9a5f3eb0 100644 Binary files a/scripts/tif__0101eaf8.pex and b/scripts/tif__0101eaf8.pex differ diff --git a/scripts/tif__0101ed9d.pex b/scripts/tif__0101ed9d.pex index 738c4c0f..d361b4b5 100644 Binary files a/scripts/tif__0101ed9d.pex and b/scripts/tif__0101ed9d.pex differ diff --git a/scripts/tif__0101f1fb.pex b/scripts/tif__0101f1fb.pex index 141b06dc..1f2d686b 100644 Binary files a/scripts/tif__0101f1fb.pex and b/scripts/tif__0101f1fb.pex differ diff --git a/scripts/tif__01024ba1.pex b/scripts/tif__01024ba1.pex index 58cd65c0..049fd57e 100644 Binary files a/scripts/tif__01024ba1.pex and b/scripts/tif__01024ba1.pex differ diff --git a/scripts/tif__01024ba8.pex b/scripts/tif__01024ba8.pex index dd6a468d..5b82e71e 100644 Binary files a/scripts/tif__01024ba8.pex and b/scripts/tif__01024ba8.pex differ diff --git a/scripts/tif__0102524c.pex b/scripts/tif__0102524c.pex index 985955a2..8a2accd6 100644 Binary files a/scripts/tif__0102524c.pex and b/scripts/tif__0102524c.pex differ diff --git a/scripts/tif__01025258.pex b/scripts/tif__01025258.pex index 5fb60e35..2c89f030 100644 Binary files a/scripts/tif__01025258.pex and b/scripts/tif__01025258.pex differ diff --git a/scripts/tif__01025259.pex b/scripts/tif__01025259.pex index 60d20dbd..b0d96664 100644 Binary files a/scripts/tif__01025259.pex and b/scripts/tif__01025259.pex differ diff --git a/scripts/tif__0102526d.pex b/scripts/tif__0102526d.pex index a27971a4..0cce13f8 100644 Binary files a/scripts/tif__0102526d.pex and b/scripts/tif__0102526d.pex differ diff --git a/scripts/tif__01025277.pex b/scripts/tif__01025277.pex index 94e77a73..24b844fb 100644 Binary files a/scripts/tif__01025277.pex and b/scripts/tif__01025277.pex differ diff --git a/scripts/tif__01025289.pex b/scripts/tif__01025289.pex index 328f73d7..53e1899f 100644 Binary files a/scripts/tif__01025289.pex and b/scripts/tif__01025289.pex differ diff --git a/scripts/tif__01025299.pex b/scripts/tif__01025299.pex index 3bbfe65b..12a41780 100644 Binary files a/scripts/tif__01025299.pex and b/scripts/tif__01025299.pex differ diff --git a/scripts/tif__01028e51.pex b/scripts/tif__01028e51.pex index 8c383b3e..0295ac33 100644 Binary files a/scripts/tif__01028e51.pex and b/scripts/tif__01028e51.pex differ diff --git a/scripts/tif__01028e52.pex b/scripts/tif__01028e52.pex index a0a61d74..c49b5308 100644 Binary files a/scripts/tif__01028e52.pex and b/scripts/tif__01028e52.pex differ diff --git a/scripts/tif__01028e61.pex b/scripts/tif__01028e61.pex index 6a263ab3..60884fbe 100644 Binary files a/scripts/tif__01028e61.pex and b/scripts/tif__01028e61.pex differ diff --git a/scripts/tif__01028e66.pex b/scripts/tif__01028e66.pex index 82d4d64f..1a0f2666 100644 Binary files a/scripts/tif__01028e66.pex and b/scripts/tif__01028e66.pex differ diff --git a/scripts/tif__01028f05.pex b/scripts/tif__01028f05.pex index fd1ee6b8..a20f81a4 100644 Binary files a/scripts/tif__01028f05.pex and b/scripts/tif__01028f05.pex differ diff --git a/scripts/tif__01028f06.pex b/scripts/tif__01028f06.pex index dfb54e1f..647385b2 100644 Binary files a/scripts/tif__01028f06.pex and b/scripts/tif__01028f06.pex differ diff --git a/scripts/tif__01028f15.pex b/scripts/tif__01028f15.pex index fc17785b..01e20e8f 100644 Binary files a/scripts/tif__01028f15.pex and b/scripts/tif__01028f15.pex differ diff --git a/scripts/tif__01028f16.pex b/scripts/tif__01028f16.pex index 7fb0207d..dbecb2af 100644 Binary files a/scripts/tif__01028f16.pex and b/scripts/tif__01028f16.pex differ diff --git a/scripts/tif__01028f39.pex b/scripts/tif__01028f39.pex index 050b9c5b..f1b9189f 100644 Binary files a/scripts/tif__01028f39.pex and b/scripts/tif__01028f39.pex differ diff --git a/scripts/tif__01028f44.pex b/scripts/tif__01028f44.pex index d5b119e9..73bfdb58 100644 Binary files a/scripts/tif__01028f44.pex and b/scripts/tif__01028f44.pex differ diff --git a/scripts/tif__01028f6b.pex b/scripts/tif__01028f6b.pex index 05f64fd2..0262e137 100644 Binary files a/scripts/tif__01028f6b.pex and b/scripts/tif__01028f6b.pex differ diff --git a/scripts/tif__0102988a.pex b/scripts/tif__0102988a.pex index 25bf76a0..a5ec373c 100644 Binary files a/scripts/tif__0102988a.pex and b/scripts/tif__0102988a.pex differ diff --git a/scripts/tif__0102988e.pex b/scripts/tif__0102988e.pex index b2a0494c..106e30f3 100644 Binary files a/scripts/tif__0102988e.pex and b/scripts/tif__0102988e.pex differ diff --git a/scripts/tif__01029890.pex b/scripts/tif__01029890.pex index 0e5cbd43..3ba1512b 100644 Binary files a/scripts/tif__01029890.pex and b/scripts/tif__01029890.pex differ diff --git a/scripts/tif__010298ba.pex b/scripts/tif__010298ba.pex index b1651f2b..51e9bf25 100644 Binary files a/scripts/tif__010298ba.pex and b/scripts/tif__010298ba.pex differ diff --git a/scripts/tif__010298c3.pex b/scripts/tif__010298c3.pex index e99ebdc7..946d913a 100644 Binary files a/scripts/tif__010298c3.pex and b/scripts/tif__010298c3.pex differ diff --git a/scripts/tif__010298cc.pex b/scripts/tif__010298cc.pex index c6b40231..d7ad369f 100644 Binary files a/scripts/tif__010298cc.pex and b/scripts/tif__010298cc.pex differ diff --git a/scripts/tif__01029a92.pex b/scripts/tif__01029a92.pex index 54942b66..82e21daa 100644 Binary files a/scripts/tif__01029a92.pex and b/scripts/tif__01029a92.pex differ diff --git a/scripts/tif__01029a9a.pex b/scripts/tif__01029a9a.pex index c1667d96..92a1dde9 100644 Binary files a/scripts/tif__01029a9a.pex and b/scripts/tif__01029a9a.pex differ diff --git a/scripts/tif__01029aad.pex b/scripts/tif__01029aad.pex index fe96aba2..24ba1168 100644 Binary files a/scripts/tif__01029aad.pex and b/scripts/tif__01029aad.pex differ diff --git a/scripts/tif__01029ab1.pex b/scripts/tif__01029ab1.pex index e20401d3..7e1b0a5d 100644 Binary files a/scripts/tif__01029ab1.pex and b/scripts/tif__01029ab1.pex differ diff --git a/scripts/tif__01029ac0.pex b/scripts/tif__01029ac0.pex index 4cd2b4b4..bb915341 100644 Binary files a/scripts/tif__01029ac0.pex and b/scripts/tif__01029ac0.pex differ diff --git a/scripts/tif__01029ad5.pex b/scripts/tif__01029ad5.pex index 396a1b47..08d624a5 100644 Binary files a/scripts/tif__01029ad5.pex and b/scripts/tif__01029ad5.pex differ diff --git a/scripts/tif__01029adf.pex b/scripts/tif__01029adf.pex index 3157dccb..e0c06c9f 100644 Binary files a/scripts/tif__01029adf.pex and b/scripts/tif__01029adf.pex differ diff --git a/scripts/tif__0102a005.pex b/scripts/tif__0102a005.pex index b964eb01..26c1d176 100644 Binary files a/scripts/tif__0102a005.pex and b/scripts/tif__0102a005.pex differ diff --git a/scripts/tif__0102a00d.pex b/scripts/tif__0102a00d.pex index 72436a62..1c98d10c 100644 Binary files a/scripts/tif__0102a00d.pex and b/scripts/tif__0102a00d.pex differ diff --git a/scripts/tif__0102a033.pex b/scripts/tif__0102a033.pex index 0896c12b..99da38a2 100644 Binary files a/scripts/tif__0102a033.pex and b/scripts/tif__0102a033.pex differ diff --git a/scripts/tif__0102a464.pex b/scripts/tif__0102a464.pex index f0f838f2..a9332988 100644 Binary files a/scripts/tif__0102a464.pex and b/scripts/tif__0102a464.pex differ diff --git a/scripts/tif__0102a90e.pex b/scripts/tif__0102a90e.pex index 3f45b9b0..2314ab87 100644 Binary files a/scripts/tif__0102a90e.pex and b/scripts/tif__0102a90e.pex differ diff --git a/scripts/tif__0102b428.pex b/scripts/tif__0102b428.pex index 4ae54ef8..2b4e707f 100644 Binary files a/scripts/tif__0102b428.pex and b/scripts/tif__0102b428.pex differ diff --git a/scripts/tif__0102b42f.pex b/scripts/tif__0102b42f.pex index 796790e5..d87f0a98 100644 Binary files a/scripts/tif__0102b42f.pex and b/scripts/tif__0102b42f.pex differ diff --git a/scripts/tif__0102c5bc.pex b/scripts/tif__0102c5bc.pex index eb76d03c..ae34ef06 100644 Binary files a/scripts/tif__0102c5bc.pex and b/scripts/tif__0102c5bc.pex differ diff --git a/scripts/tif__0102e04b.pex b/scripts/tif__0102e04b.pex index 114155b4..d717f0ed 100644 Binary files a/scripts/tif__0102e04b.pex and b/scripts/tif__0102e04b.pex differ diff --git a/scripts/tif__0102e369.pex b/scripts/tif__0102e369.pex index e56b070a..90514a2d 100644 Binary files a/scripts/tif__0102e369.pex and b/scripts/tif__0102e369.pex differ diff --git a/scripts/tif__0102e373.pex b/scripts/tif__0102e373.pex index e21e319a..afd82b12 100644 Binary files a/scripts/tif__0102e373.pex and b/scripts/tif__0102e373.pex differ diff --git a/scripts/tif__0102e646.pex b/scripts/tif__0102e646.pex index 1f416d28..b801689b 100644 Binary files a/scripts/tif__0102e646.pex and b/scripts/tif__0102e646.pex differ diff --git a/scripts/tif__0102e658.pex b/scripts/tif__0102e658.pex index a39e559c..30954756 100644 Binary files a/scripts/tif__0102e658.pex and b/scripts/tif__0102e658.pex differ diff --git a/scripts/tif__0102ee99.pex b/scripts/tif__0102ee99.pex index a11ae52c..d2a4db23 100644 Binary files a/scripts/tif__0102ee99.pex and b/scripts/tif__0102ee99.pex differ diff --git a/scripts/tif__02001bef.pex b/scripts/tif__02001bef.pex index ad953c2f..e0b6a347 100644 Binary files a/scripts/tif__02001bef.pex and b/scripts/tif__02001bef.pex differ diff --git a/scripts/tif__02006be5.pex b/scripts/tif__02006be5.pex index 677ec519..b02d566e 100644 Binary files a/scripts/tif__02006be5.pex and b/scripts/tif__02006be5.pex differ diff --git a/scripts/tif__0200a724.pex b/scripts/tif__0200a724.pex deleted file mode 100644 index af6c3c52..00000000 Binary files a/scripts/tif__0200a724.pex and /dev/null differ diff --git a/scripts/tif__0200f6bd.pex b/scripts/tif__0200f6bd.pex index a4930dbf..ebb14bba 100644 Binary files a/scripts/tif__0200f6bd.pex and b/scripts/tif__0200f6bd.pex differ diff --git a/scripts/tif__0200f731.pex b/scripts/tif__0200f731.pex index b93a58b7..cd3f4294 100644 Binary files a/scripts/tif__0200f731.pex and b/scripts/tif__0200f731.pex differ diff --git a/scripts/tif__0200f738.pex b/scripts/tif__0200f738.pex index b222b51c..dfbe6360 100644 Binary files a/scripts/tif__0200f738.pex and b/scripts/tif__0200f738.pex differ diff --git a/scripts/tif__0200f757.pex b/scripts/tif__0200f757.pex index b48859c8..4bfb1383 100644 Binary files a/scripts/tif__0200f757.pex and b/scripts/tif__0200f757.pex differ diff --git a/scripts/tif__0200f78c.pex b/scripts/tif__0200f78c.pex index 121fe058..0428a4f9 100644 Binary files a/scripts/tif__0200f78c.pex and b/scripts/tif__0200f78c.pex differ diff --git a/scripts/tif__0200f7ad.pex b/scripts/tif__0200f7ad.pex index 270fa650..8a0eed2e 100644 Binary files a/scripts/tif__0200f7ad.pex and b/scripts/tif__0200f7ad.pex differ diff --git a/scripts/tif__0200f7bf.pex b/scripts/tif__0200f7bf.pex index 340e999f..fea0ea37 100644 Binary files a/scripts/tif__0200f7bf.pex and b/scripts/tif__0200f7bf.pex differ diff --git a/scripts/tif__0200f7c5.pex b/scripts/tif__0200f7c5.pex index 3f5598e3..ba779e5f 100644 Binary files a/scripts/tif__0200f7c5.pex and b/scripts/tif__0200f7c5.pex differ diff --git a/scripts/tif__02011ec1.pex b/scripts/tif__02011ec1.pex index a6b68937..0bcc868a 100644 Binary files a/scripts/tif__02011ec1.pex and b/scripts/tif__02011ec1.pex differ diff --git a/scripts/weaponrackactivatescript.pex b/scripts/weaponrackactivatescript.pex index f9918748..2d5aef74 100644 Binary files a/scripts/weaponrackactivatescript.pex and b/scripts/weaponrackactivatescript.pex differ diff --git a/scripts/weaponracktriggerscript.pex b/scripts/weaponracktriggerscript.pex index c796ba91..d3ebf14e 100644 Binary files a/scripts/weaponracktriggerscript.pex and b/scripts/weaponracktriggerscript.pex differ diff --git a/source/Enderal DLL/src/Util.h b/source/Enderal DLL/src/Util.h index c852df8d..8d526efd 100644 --- a/source/Enderal DLL/src/Util.h +++ b/source/Enderal DLL/src/Util.h @@ -107,9 +107,6 @@ inline void CheckScriptVersions() RE::BSTSmartPointer{ new ScriptVersionCallback("_00E_PlayerSetUpScript", 1) }; - RE::BSTSmartPointer{ - new ScriptVersionCallback("_00E_QuestFunctions", 1) - }; RE::BSTSmartPointer{ new ScriptVersionCallback("_00E_Theriantrophist_AlchemyControl", 1) }; diff --git a/source/scripts/_00E_AffinityControl.psc b/source/scripts/_00E_AffinityControl.psc index 01e87099..a2676820 100644 --- a/source/scripts/_00E_AffinityControl.psc +++ b/source/scripts/_00E_AffinityControl.psc @@ -1,4 +1,4 @@ -Scriptname _00E_AffinityControl extends ReferenceAlias Hidden +Scriptname _00E_AffinityControl extends ReferenceAlias Hidden Conditional ; ; ATTENTION ; this script contains a new affinity system that requires FS. Therefore, many elements in this script are redundant, as @@ -183,7 +183,7 @@ Function UpdateClassIndices(Int[] PerkDistribution) EndWhile UpdateMajorSchool() - Levelsystem.iMajorClassIndex = MajorClassIndex + iMajorClassIndex = MajorClassIndex ; Update minor class/perk tree If MinorClassIndex > 0 && (MinorClassIndex == MajorClassIndex || PerkDistribution[MinorClassIndex] == 0) @@ -198,7 +198,7 @@ Function UpdateClassIndices(Int[] PerkDistribution) Index += 1 EndWhile - ; Levelsystem.iMinorClassIndex = MinorClassIndex + iMinorClassIndex = MinorClassIndex EndFunction @@ -389,7 +389,7 @@ Function GetPlayerClass() ; Debug.Notification("Affinity unlocked!") _00E_Game_sUnlockedAffinity.Show() UIQuestCompleteM.Play(PlayerREF) - Levelsystem.GiveEP(450) + _00E_EPHandler.GiveEP(450) NQ31.SetStage(10) EndIf EndIf @@ -477,7 +477,8 @@ endfunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto +int Property iMajorClassIndex Auto Conditional Hidden +int Property iMinorClassIndex Auto Conditional Hidden int Property MajorClassIndex Auto Hidden int Property MinorClassIndex Auto Hidden @@ -490,7 +491,7 @@ bool bDontShowAffinityMessageAgain bool bMemoryTreeAchievementUnlocked = False ActorBase Property Player Auto -_00E_EPUpdateFunctions Property PlayerREF Auto +Actor Property PlayerREF Auto ActorBase Property _00E_Affinity_Message_Actor_01 Auto ActorBase Property _00E_Affinity_Message_Actor_02 Auto diff --git a/source/scripts/_00E_BrawlControl.psc b/source/scripts/_00E_BrawlControl.psc new file mode 100644 index 00000000..3f432f12 --- /dev/null +++ b/source/scripts/_00E_BrawlControl.psc @@ -0,0 +1,22 @@ +Scriptname _00E_BrawlControl extends Quest Hidden + +Function Brawl(Actor pTarget, Actor pTargetFriend = None) + + FavorBrawlEvent.SendStoryEvent(None, pTarget, pTargetFriend) + +EndFunction + +Function ShowBrawlTutorial() + + If _00E_DisableSkillTutorials.GetValueInt() == 0 + Message.ResetHelpMessage("Brawl") + _00E_Tutorial_Brawl.ShowAsHelpMessage("Brawl", 3, 3, 1) + EndIf + +EndFunction + +GlobalVariable Property _00E_DisableSkillTutorials Auto + +Message Property _00E_Tutorial_Brawl Auto + +Keyword Property FavorBrawlEvent Auto diff --git a/source/scripts/_00E_CameraControl.psc b/source/scripts/_00E_CameraControl.psc new file mode 100644 index 00000000..c52e85a7 --- /dev/null +++ b/source/scripts/_00E_CameraControl.psc @@ -0,0 +1,22 @@ +Scriptname _00E_CameraControl Hidden + +Function LockVanityCamera() Global + + float fCameraMaxDistance = Utility.GetIniFloat("fVanityModeMaxDist:Camera") + (Game.GetForm(0x14) as Actor).SetActorValue("Variable08", fCameraMaxDistance) + Utility.SetINIFloat("fVanityModeMaxDist:Camera", Utility.GetIniFloat("fVanityModeMinDist:Camera")) + +EndFunction + +Function UnlockVanityCamera() Global + + float fCameraMaxDistance = (Game.GetForm(0x14) as Actor).GetActorValue("Variable08") + + if fCameraMaxDistance <= 0 + fCameraMaxDistance = 600 + endif + + Utility.SetINIFloat("fVanityModeMaxDist:Camera", fCameraMaxDistance) + (Game.GetForm(0x14) as Actor).SetActorValue("Variable08", 0) + +EndFunction diff --git a/source/scripts/_00E_CombatMusicControl.psc b/source/scripts/_00E_CombatMusicControl.psc new file mode 100644 index 00000000..7972993d --- /dev/null +++ b/source/scripts/_00E_CombatMusicControl.psc @@ -0,0 +1,173 @@ +Scriptname _00E_CombatMusicControl extends Quest Hidden + +MusicType[] ActiveCombatMusics +MusicType[] StoppingCombatMusics +Int StoppingCombatMusicCounter = 0 + +Int Property COMBAT_MUSIC_LOCK_NONE = 0 AutoReadOnly +Int Property COMBAT_MUSIC_LOCK_START = 1 AutoReadOnly +Int Property COMBAT_MUSIC_LOCK_STOP = 2 AutoReadOnly +Int Property COMBAT_MUSIC_LOCK_FAILSAFE = 3 AutoReadOnly + +Int CombatMusicLockLevel = 0 ; = COMBAT_MUSIC_LOCK_NONE + +Event OnInit() + ; Yes, OnInit() runs in idle quests as well + InitCombatMusic() ; also called from OnPlayerLoadGame() in _00E_PlayerFunctions +EndEvent + +Function InitCombatMusic() + If ActiveCombatMusics.Length == 0 + ActiveCombatMusics = _NewMusicArray() + EndIf + + If StoppingCombatMusics.Length == 0 + StoppingCombatMusics = _NewMusicArray() + EndIf + + If StoppingCombatMusicCounter > 0 || ActiveCombatMusics[0] + GoToState("CombatMusicTracking") + EndIf +EndFunction + +Bool Function StartCombatMusic(MusicType newMusic) + ; Debug.Trace(self + ", StartCombatMusic, newMusic = " + newMusic) + + Bool result = False + + While CombatMusicLockLevel > COMBAT_MUSIC_LOCK_NONE + Utility.Wait(0.03) ; wait for two frames + EndWhile + CombatMusicLockLevel = COMBAT_MUSIC_LOCK_START + + Int Index = _AddUniqueMusicToArray(ActiveCombatMusics, newMusic) + If Index >= 0 + ActiveCombatMusics[Index].Add() + result = (Index == 0) ; Is this the first combat music in this fight? + EndIf + + StoppingCombatMusicCounter = 0 + + GoToState("CombatMusicTracking") + + CombatMusicLockLevel = COMBAT_MUSIC_LOCK_NONE + + Return result +EndFunction + +Function StopCombatMusic() + ; Debug.Trace(self + ", StopCombatMusic") + + While CombatMusicLockLevel > COMBAT_MUSIC_LOCK_NONE + If CombatMusicLockLevel == COMBAT_MUSIC_LOCK_START || CombatMusicLockLevel == COMBAT_MUSIC_LOCK_STOP + Return + EndIf + Utility.Wait(0.03) + EndWhile + CombatMusicLockLevel = COMBAT_MUSIC_LOCK_STOP + + Int Index = 0 + While Index < ActiveCombatMusics.Length && ActiveCombatMusics[Index] + ActiveCombatMusics[Index].Remove() + _AddUniqueMusicToArray(StoppingCombatMusics, ActiveCombatMusics[Index]) + Index += 1 + EndWhile + + ActiveCombatMusics = _NewMusicArray() + + StoppingCombatMusicCounter = 8 + + GoToState("CombatMusicTracking") + + CombatMusicLockLevel = COMBAT_MUSIC_LOCK_NONE +EndFunction + + +State CombatMusicTracking + + Event OnBeginState() + RegisterForSingleUpdate(0.1) + EndEvent + + Event OnEndState() + UnregisterForUpdate() + EndEvent + + Event OnUpdate() + + ; Debug.Trace("_00E_PlayerFunctions, OnUpdate") + + RegisterForSingleUpdate(3.5) + + If (Game.GetForm(0x14) as Actor).IsInCombat() || CombatMusicLockLevel > COMBAT_MUSIC_LOCK_NONE + Return + EndIf + + If StoppingCombatMusicCounter > 0 + + CombatMusicLockLevel = COMBAT_MUSIC_LOCK_FAILSAFE + + ; Debug.Trace(self + ", OnUpdate: failsaving") + + Int Index = 0 + While Index < StoppingCombatMusics.Length && StoppingCombatMusics[Index] + StoppingCombatMusics[Index].Add() + StoppingCombatMusics[Index].Remove() + Index += 1 + EndWhile + + StoppingCombatMusicCounter -= 1 + If StoppingCombatMusicCounter <= 0 + StoppingCombatMusics = _NewMusicArray() + EndIf + + CombatMusicLockLevel = COMBAT_MUSIC_LOCK_NONE + + ElseIf ActiveCombatMusics[0] ; Failsafe in case StopCombatMusic is not called for whatever reason + + StopCombatMusic() + + Else + + GoToState("") + + EndIf + + EndEvent + +EndState + +MusicType[] Function _NewMusicArray() + Return New MusicType[10] +EndFunction + +Int Function _AddUniqueMusicToArray(MusicType[] musics, MusicType newMusic) + Int n = musics.Length + Int Index = 0 + + ; Loop through array until we reach the end or newMusic or an empty entry + While Index < n && musics[Index] != newMusic && musics[Index] != None + Index += 1 + EndWhile + + If Index < n && musics[Index] == None + musics[Index] = newMusic + Return Index + Else + Return -1 + EndIf +EndFunction + +Function RemoveCombatSoundtracks() + + int iIndex = _00E_MUS_AllCombatSoundtracks.GetSize() + + while iIndex > 0 + iIndex -= 1 + MusicType musicToRemove = _00E_MUS_AllCombatSoundtracks.GetAt(iIndex) as MusicType + musicToRemove.Remove() + endwhile + +EndFunction + +FormList Property _00E_MUS_AllCombatSoundtracks Auto diff --git a/source/scripts/_00E_Debug.psc b/source/scripts/_00E_Debug.psc new file mode 100644 index 00000000..f9ca4f6c --- /dev/null +++ b/source/scripts/_00E_Debug.psc @@ -0,0 +1,6 @@ +Scriptname _00E_Debug Hidden + +Function PrintMessage(String msg) Global + ; Do nothing. + ; Override _00E_Debug with a PrintMessage implementation. +EndFunction diff --git a/source/scripts/_00E_EnderalControls.psc b/source/scripts/_00E_EnderalControls.psc new file mode 100644 index 00000000..f68cfc86 --- /dev/null +++ b/source/scripts/_00E_EnderalControls.psc @@ -0,0 +1,19 @@ +Scriptname _00E_EnderalControls extends Quest Hidden + +_00E_SkillControl Property SkillControl Auto + +_00E_FadeToBlackControl Property FadeToBlackControl Auto + +_00E_TeleportControl Property TeleportControl Auto + +_00E_SafeItemRemove Property SafeItemRemove Auto + +_00E_VisionControl Property VisionControl Auto + +_00E_CombatMusicControl Property CombatMusicControl Auto + +_00E_BrawlControl Property BrawlControl Auto + +_00E_SoundControl Property SoundControl Auto + +_00E_SympathyControl Property SympathyControl Auto diff --git a/source/scripts/_00E_FadeToBlackControl.psc b/source/scripts/_00E_FadeToBlackControl.psc new file mode 100644 index 00000000..4787981c --- /dev/null +++ b/source/scripts/_00E_FadeToBlackControl.psc @@ -0,0 +1,29 @@ +Scriptname _00E_FadeToBlackControl extends Quest Hidden + +Function FadeToBlackAndBack() + + FadeToBlackIMOD.Apply() + Utility.Wait(2.8) + FadeToBlackIMOD.PopTo(FadeToBlackHoldIMOD) + Utility.Wait(1.9) + FadeToBlackHoldIMOD.PopTo(FadeToBlackBackIMOD) + +EndFunction + +Function FadeToBlack() + + FadeToBlackIMOD.Apply() + Utility.Wait(2.8) + FadeToBlackIMOD.PopTo(FadeToBlackHoldImod) + +EndFunction + +Function FadeToBlackBack() + + FadeToBlackHoldImod.PopTo(FadeToBlackBackImod) + +EndFunction + +ImageSpaceModifier Property FadeToBlackImod Auto +ImageSpaceModifier Property FadeToBlackHoldImod Auto +ImageSpaceModifier Property FadeToBlackBackImod Auto diff --git a/source/scripts/_00E_Func_AIWalk.psc b/source/scripts/_00E_Func_AIWalk.psc new file mode 100644 index 00000000..f9007851 --- /dev/null +++ b/source/scripts/_00E_Func_AIWalk.psc @@ -0,0 +1,21 @@ +Scriptname _00E_Func_AIWalk Hidden + +function PlayerAIWalkStop() Global + + Game.ShowFirstPersonGeometry(True) + Game.SetPlayerAIDriven(False) + Game.EnablePlayerControls() + +endFunction + +function PlayerAIWalk(bool abLockedSight = True) Global + + Game.ShowFirstPersonGeometry(False) + Game.SetPlayerAIDriven(True) + If abLockedSight == True + Game.DisablePlayerControls(true, true, true, true, true, true, true, true) + ElseIf abLockedSight == False + Game.DisablePlayerControls(true, true, true, False, true, true, true, true) + EndIf + +endFunction diff --git a/source/scripts/_00E_Func_ReferenceFormList.psc b/source/scripts/_00E_Func_ReferenceFormList.psc new file mode 100644 index 00000000..f5a73a00 --- /dev/null +++ b/source/scripts/_00E_Func_ReferenceFormList.psc @@ -0,0 +1,41 @@ +Scriptname _00E_Func_ReferenceFormList Hidden + +Function Enable(FormList referenceList) Global + + Int nItems = referenceList.GetSize() + Int i = 0 + + If nItems < 128 && nItems > 1 + Form[] refArray = referenceList.ToArray() + While i < nItems + (refArray[i] as ObjectReference).EnableNoWait() + i += 1 + EndWhile + Else + While i < nItems + (referenceList.GetAt(i) as ObjectReference).EnableNoWait() + i += 1 + EndWhile + EndIf + +EndFunction + +Function Disable(FormList referenceList) Global + + Int nItems = referenceList.GetSize() + Int i = 0 + + If nItems < 128 && nItems > 1 + Form[] refArray = referenceList.ToArray() + While i < nItems + (refArray[i] as ObjectReference).DisableNoWait() + i += 1 + EndWhile + Else + While i < nItems + (referenceList.GetAt(i) as ObjectReference).DisableNoWait() + i += 1 + EndWhile + EndIf + +EndFunction diff --git a/source/scripts/_00E_Func_RefreshFace.psc b/source/scripts/_00E_Func_RefreshFace.psc new file mode 100644 index 00000000..eba48c3c --- /dev/null +++ b/source/scripts/_00E_Func_RefreshFace.psc @@ -0,0 +1,10 @@ +Scriptname _00E_Func_RefreshFace Hidden + +Function RefreshFace() Global + + String facegen = "bUseFaceGenPreprocessedHeads:General" + Utility.SetINIBool(facegen, False) + Game.GetPlayer().QueueNiNodeUpdate() + Utility.SetINIBool(facegen, True) + +EndFunction diff --git a/source/scripts/_00E_Func_SafeMove.psc b/source/scripts/_00E_Func_SafeMove.psc new file mode 100644 index 00000000..cd0406fc --- /dev/null +++ b/source/scripts/_00E_Func_SafeMove.psc @@ -0,0 +1,41 @@ +Scriptname _00E_Func_SafeMove Hidden + +Function SafeMoveTo(ObjectReference refToMove, ObjectReference targetRef, Bool bFadeIn = False) Global + + ; A safer way to move an object reference to another ref than just MoveTo. + ; Mostly for actors to take their intended positions. + ; It's better for the actor to be already running a package that moves them to targetRef at the moment this function is called. + + refToMove.Disable() + refToMove.MoveTo(targetRef) + refToMove.Enable(bFadeIn) + +EndFunction + +Function SafeMoveTo_NoWait(ObjectReference refToMove, ObjectReference targetRef, Bool bFadeIn = False) Global + + ; A safer way to move an object reference to another ref than just MoveTo (without waiting for it to be fully enabled). + ; Mostly for actors to take their intended positions. + ; It's better for the actor to be already running a package that moves them to targetRef at the moment this function is called. + + refToMove.Disable() + refToMove.MoveTo(targetRef) + refToMove.EnableNoWait(bFadeIn) + +EndFunction + +Bool Function DistanceFailsafeMoveTo(ObjectReference refToMove, ObjectReference targetRef, Float fTooFarDistance) Global + + ; Moves refToMove to targetRef if refToMove is not within fTooFarDistance from targetRef. + ; Mostly for character travel failsafes in scenes. + + ; Debug.Trace("FailsafeMoveTo: refToMove = " + refToMove + "; d = " + refToMove.GetDistance(targetRef)) + If refToMove.GetDistance(targetRef) >= fTooFarDistance + refToMove.MoveTo(targetRef) + ; Debug.Trace("FailsafeMoveTo: refToMove = " + refToMove + " force-moved to marker") + Return True + Else + Return False + EndIf + +EndFunction diff --git a/source/scripts/_00E_Func_SetNPCAsCompanion.psc b/source/scripts/_00E_Func_SetNPCAsCompanion.psc new file mode 100644 index 00000000..1affc7b9 --- /dev/null +++ b/source/scripts/_00E_Func_SetNPCAsCompanion.psc @@ -0,0 +1,30 @@ +Scriptname _00E_Func_SetNPCAsCompanion Hidden + +Function SetNPCAsCompanion(Actor akActor, bool bCompanion = True, int iCompanionHealth = 100, int iCompanionStamina = 100, int iCompanionMagicka = 100) Global +;Sets an NPC as companion, showing his health bar, making him friendly, unflagging him as ghost. Does the opposite when bCompanion is set to false. +;Additionally sets the AVs Health, Stamina, Magicka for the NPC companion + + If bCompanion + + akActor.SetRelationshipRank(Game.GetForm(0x14) as Actor, 3) + akActor.SetGhost(False) + akActor.getActorbase().SetEssential(true) ; just in case, had trouble with FS_NQR05 + akActor.SetPlayerTeammate(True) + akActor.IgnoreFriendlyHits() + akActor.SetActorValue("Health", iCompanionHealth) + akActor.SetActorValue("Stamina", iCompanionStamina) + akActor.SetActorValue("Magicka", iCompanionMagicka) + HealthBarManager.Show(akActor) + + Else + + akActor.SetGhost(True) + akActor.getActorbase().SetEssential(true) ; just in case, had trouble with FS_NQR05 + akActor.ResetHealthAndLimbs() + akActor.SetPlayerTeammate(False) + akActor.IgnoreFriendlyHits(False) + HealthBarManager.Hide(akActor) + + EndIf + +EndFunction diff --git a/source/scripts/_00E_Func_WaitForRef.psc b/source/scripts/_00E_Func_WaitForRef.psc new file mode 100644 index 00000000..8f49bc7b --- /dev/null +++ b/source/scripts/_00E_Func_WaitForRef.psc @@ -0,0 +1,11 @@ +Scriptname _00E_Func_WaitForRef Hidden + +Function WaitForReferenceToLoad(ObjectReference ref) Global + + Int maxIterationsToWait = 180 + While ref.Is3DLoaded() == False && maxIterationsToWait > 0 + ; Utility.Wait(0.02) + maxIterationsToWait -= 1 + EndWhile + +EndFunction diff --git a/source/scripts/_00E_SafeItemRemove.psc b/source/scripts/_00E_SafeItemRemove.psc new file mode 100644 index 00000000..af60829a --- /dev/null +++ b/source/scripts/_00E_SafeItemRemove.psc @@ -0,0 +1,43 @@ +Scriptname _00E_SafeItemRemove extends Quest Hidden + +Function RemoveAllItemsSafeVersion(ObjectReference TransferToLoc = NONE) + If Gold001 == NONE || _00E_AllAmmos == NONE + Return + EndIf + + RemoveItemsIncrementally(Gold001, TransferToLoc) + Form[] arrows = _00E_AllAmmos.ToArray() + Int i = 0 + While i < arrows.Length + RemoveItemsIncrementally(arrows[i], TransferToLoc) + i += 1 + EndWhile + + If TransferToLoc == NONE + PlayerREF.removeAllItems(_00E_RemoveAllItems_TrashContainer, abRemoveQuestItems = false) + _00E_RemoveAllItems_TrashContainer.removeAllItems() + Else + PlayerREF.RemoveAllItems(akTransferTo = TransferToLoc, abRemoveQuestItems = true) + EndIf +EndFunction + +Function RemoveItemsIncrementally(Form akItem, ObjectReference TransferToLoc) + Int nCount = PlayerREF.GetItemCount(akItem) + If nCount > 3000000 && akItem == Gold001 + _00E_PleaseRemoveMoney.Show() + EndIf + While nCount > 0 + PlayerREF.RemoveItem(akItem, 10000, true, TransferToLoc) + nCount -= 10000 + EndWhile +EndFunction + +MiscObject Property Gold001 Auto + +FormList Property _00E_AllAmmos Auto + +actor Property PlayerRef Auto + +ObjectReference Property _00E_RemoveAllItems_TrashContainer Auto + +Message Property _00E_PleaseRemoveMoney Auto diff --git a/source/scripts/_00E_SkillControl.psc b/source/scripts/_00E_SkillControl.psc new file mode 100644 index 00000000..98543391 --- /dev/null +++ b/source/scripts/_00E_SkillControl.psc @@ -0,0 +1,250 @@ +Scriptname _00E_SkillControl extends Quest Hidden + +import Utility + +Function _ReadSkillBook(String skillName, Int skillTopLimit, Form bookItem, Message msgSkillIncrease, GlobalVariable availablePoints, Message msgNoPoints) + Message failMsg = None + + While _SkillBookReadLocked + WaitMenuMode(0.1) + EndWhile + _SkillBookReadLocked = True + + ; DO NOT FORGET TO FALSE _SkillBookReadLocked ON RETURN + + If availablePoints.GetValue() >= 1 + Int curSkill = PlayerREF.GetBaseActorValue(skillName) as Int + + If curSkill >= skillTopLimit + failMsg = _00E_Levelsystem_sSkillTooWellDeveloped + ElseIf curSkill >= (skillTopLimit - 25) || (_00E_SkillbookWarning.Show() == 0) ; If cur. skill is within the book's limit or the player says "Yes" + ; Do skill increase + curSkill += 1 + PlayerREF.SetActorValue(skillName, curSkill) + availablePoints.Mod(-1) + _SkillBookReadLocked = False + msgSkillIncrease.Show(1, curSkill) + Return + EndIf + Else ; availablePoints < 1 + failMsg = msgNoPoints + EndIf + + ; Processing failed read + _SkillBookReadLocked = False + + If failMsg != None + failMsg.Show() + EndIf + + PlayerREF.AddItem(bookItem, 1, True) +EndFunction + +Function ReadPrimarySkillBook(String skillName, Int skillTopLimit, Form bookItem, Message msgSkillIncrease) + _ReadSkillBook(skillName, skillTopLimit, bookItem, msgSkillIncrease, Lernpunkte, _00E_Levelsystem_sNoMoreLearningPoints) +EndFunction + +Function ReadCraftingSkillBook(String skillName, Int skillTopLimit, Form bookItem, Message msgSkillIncrease) + _ReadSkillBook(skillName, skillTopLimit, bookItem, msgSkillIncrease, Handwerkspunkte, _00E_Levelsystem_sNoMoreCraftingPoints) +EndFunction + +Function ReadMemorySkillBook(String sClass, Int iTier, Message talentMessage, float fRecoveryTime02, float fRecoveryTime03, Potion PotionItem, Shout TaughtTalent, WordOfPower Word01, WordOfPower Word02, WordOfPower Word03, Perk Perk01, Perk Perk02, Perk Perk03) + While _MemoryBookReadLocked + WaitMenuMode(0.1) + EndWhile + _MemoryBookReadLocked = True + + int iButton = talentMessage.Show() + + if iButton == 0 + + if iTier == 1 + iRequiredPoints = iPointRequirementTier01 + Elseif iTier == 2 + iRequiredPoints = iPointRequirementTier02 + Else + iRequiredPoints = iPointRequirementTier03 + EndIf + + if RequirementsMetMemoryBook(iTier, Perk01, Perk02, Perk03, sClass) + TeachTalent(iTier, TaughtTalent, Perk01, Perk02, Perk03, Word01, Word02, Word03, fRecoveryTime02, fRecoveryTime03) + Else + + if bValidSkilllevel + + Message messageToShow = _00E_FS_A3_sMageClassName + + if sClass == "Rogue" + messageToShow = _00E_FS_A3_sRogueClassName + Elseif sClass == "Warrior" + messageToShow = _00E_FS_A3_sWarriorClassName + EndIf + Debug.Notification(_00E_FS_A3_sYouNeedSkillpoints.GetName() + " " + iRequiredPoints + _00E_FS_A3_sIn.GetName() + messageToShow.GetName() + _00E_FS_A3_sToUnlockThisClass.GetName()) + + EndIf + + PlayerREF.AddItem(PotionItem, 1, true) + + EndIf + _MemoryBookReadLocked = False + + Else + + PlayerREF.AddItem(PotionItem, 1, true) + _MemoryBookReadLocked = False + Return + + EndIf +EndFunction + +bool Function RequirementsMetMemoryBook(int iTier, Perk Perk01, Perk Perk02, Perk Perk03, string sClass) + + Formlist ClassFormList01 + Formlist ClassFormList02 + Formlist ClassFormList03 + + if (iTier == 3 && !PlayerREF.HasPerk(Perk02)) || (iTier == 2 && !PlayerREF.HasPerk(Perk01)) + + _00E_FS_A3_NeedToLearnOtherLevels.Show() + bValidSkilllevel = False + Return False + + Elseif (iTier == 1 && PlayerREF.HasPerk(Perk01)) || (iTier == 2 && PlayerREF.HasPerk(Perk02)) || (iTier == 3 && PlayerREF.HasPerk(Perk03)) + + _00E_FS_A3_AlreadyKnowThisLevel.Show() + bValidSkilllevel = False + Return False + + Else + + bValidSkilllevel = True + + if sClass == "Rogue" + ClassFormList01 = EspionagePerks + ClassFormList02 = TrickeryPerks + ClassFormList03 = VagabondPerks + + Elseif sClass == "Warrior" + ClassFormList01 = BastionPerks + ClassFormList02 = DerwishPerks + ClassFormList03 = RagePerks + + Elseif sClass == "Mage" + ClassFormList01 = ElementalismPerks + ClassFormList02 = LifeAndDeathPerks + ClassFormList03 = ManipulationPerks + EndIf + + int iTotalPointsInRequiredClass = (_00E_Func_GetPointsInClass.Run(ClassFormList01) + _00E_Func_GetPointsInClass.Run(ClassFormList02) + _00E_Func_GetPointsInClass.Run(ClassFormList03)) + if iTotalPointsInRequiredClass >= iRequiredPoints + Return True + Else + Return False + EndIf + + EndIf + +EndFunction + +Function TeachTalent(int iLevel, Shout TaughtTalent, Perk Perk01, Perk Perk02, Perk Perk03, WordOfPower Word01, WordOfPower Word02, WordOfPower Word03, float fRecoveryTime02, float fRecoveryTime03) + + if iLevel == 1 + + PlayerREF.AddPerk(Perk01) + PlayerREF.AddShout(TaughtTalent) + Game.UnlockWord(Word01) + Game.TeachWord(Word01) + + Elseif iLevel == 2 + + PlayerREF.AddPerk(Perk02) + Game.UnlockWord(Word02) + Game.TeachWord(Word02) + SetRecoveryTimeMemoryBook(2, TaughtTalent, fRecoveryTime02, fRecoveryTime03) + + Else + + PlayerREF.AddPerk(Perk03) + Game.UnlockWord(Word03) + Game.TeachWord(Word03) + SetRecoveryTimeMemoryBook(3, TaughtTalent, fRecoveryTime02, fRecoveryTime03) + + EndIf + + TalentPoints.Mod(-1) + + If _00E_AchievementsEnabled.GetValueInt() == 1 + Steam.UnlockAchievement("END_TALENT_BOOK_01") + EndIf + +EndFunction + +Function SetRecoveryTimeMemoryBook(int iWord, Shout TaughtTalent, float fRecoveryTime02, float fRecoveryTime03) +{This function handles the issue of cooldowns not depending on the value in the CK but on the duration the player presses the [Shout] key on his keyboard.} + + If iWord == 2 + TaughtTalent.SetNthRecoveryTime(0, fRecoveryTime02) + TaughtTalent.SetNthRecoveryTime(1, fRecoveryTime02) + Else + TaughtTalent.SetNthRecoveryTime(0, fRecoveryTime03) + TaughtTalent.SetNthRecoveryTime(1, fRecoveryTime03) + TaughtTalent.SetNthRecoveryTime(2, fRecoveryTime03) + EndIf + +EndFunction + +Function ShowSynergyMessage() + + _00E_Levelsystem_sSynergyDiscovered.Show() + _00E_EPHandler.GiveEP(150) + + If _00E_AchievementsEnabled.GetValueInt() == 1 && !bUnlockedSynergyAchievement + Steam.UnlockAchievement("END_SYNERGY_01") + bUnlockedSynergyAchievement = true + EndIf + +EndFunction + +int iPointRequirementTier01 = 5 +int iPointRequirementTier02 = 10 +int iPointRequirementTier03 = 15 + +int iRequiredPoints +bool bValidSkilllevel + +bool bUnlockedSynergyAchievement + +Bool _SkillBookReadLocked = False +Bool _MemoryBookReadLocked = False + +actor Property PlayerRef Auto + +Message Property _00E_SkillbookWarning Auto +Message Property _00E_Levelsystem_sSkillTooWellDeveloped Auto +Message Property _00E_FS_A3_sMageClassName Auto +Message Property _00E_FS_A3_sRogueClassName Auto +Message Property _00E_FS_A3_sWarriorClassName Auto +Message Property _00E_FS_A3_sYouNeedSkillpoints Auto +Message Property _00E_FS_A3_sIn Auto +Message Property _00E_FS_A3_sToUnlockThisClass Auto +Message Property _00E_FS_A3_NeedToLearnOtherLevels Auto +Message Property _00E_FS_A3_AlreadyKnowThisLevel Auto + +FormList Property EspionagePerks Auto +FormList Property TrickeryPerks Auto +FormList Property VagabondPerks Auto +FormList Property BastionPerks Auto +FormList Property DerwishPerks Auto +FormList Property RagePerks Auto +FormList Property ElementalismPerks Auto +FormList Property LifeAndDeathPerks Auto +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 +Message Property _00E_Levelsystem_sSynergyDiscovered Auto diff --git a/source/scripts/_00E_SoundControl.psc b/source/scripts/_00E_SoundControl.psc new file mode 100644 index 00000000..029068ee --- /dev/null +++ b/source/scripts/_00E_SoundControl.psc @@ -0,0 +1,28 @@ +Scriptname _00E_SoundControl extends Quest Hidden + +Function RemoveSilence() + + _00E_SilenceTransitionLowPriority02.Remove() + _00E_Music_Special_MQ12b_Samael.Remove() + _00E_SilenceLongTransitionHighPriority.Remove() + _00E_SilenceTransitionLowPriority.Remove() + _00E_SilenceTransitionHighPriority.Remove() + _00E_SilenceAbruptHighPriority.Remove() + _00E_Music_Special_TavernSilence.Remove() + AudioCategoryAMB.UnMute() + AudioCategoryAMBr.UnMute() + AudioCategorySFX.UnMute() + +EndFunction + +MusicType Property _00E_SilenceTransitionLowPriority02 Auto +MusicType Property _00E_Music_Special_MQ12b_Samael Auto +MusicType Property _00E_SilenceLongTransitionHighPriority Auto +MusicType Property _00E_SilenceTransitionLowPriority Auto +MusicType Property _00E_SilenceTransitionHighPriority Auto +MusicType Property _00E_SilenceAbruptHighPriority Auto +MusicType Property _00E_Music_Special_TavernSilence Auto + +SoundCategory Property AudioCategoryAMB Auto +SoundCategory Property AudioCategoryAMBr Auto +SoundCategory Property AudioCategorySFX Auto diff --git a/source/scripts/_00E_SympathyControl.psc b/source/scripts/_00E_SympathyControl.psc new file mode 100644 index 00000000..b69b2788 --- /dev/null +++ b/source/scripts/_00E_SympathyControl.psc @@ -0,0 +1,131 @@ +Scriptname _00E_SympathyControl extends Quest + +int function _GetScriptVersion() Global + return 1 +endFunction + +;===================================================================================== +; SYMPATHY +;===================================================================================== + +Function ModSympathyNG(Actor akSympathyActor, int iSympathyMod, bool bIsFlirt = False, bool bStringOverride = False, String sOverride = "") + + Levelsystem_SympathyActor.ForceRefTo(akSympathyActor) + + ActorBase sympathyBase = akSympathyActor.GetActorBase() + + If sympathyBase == _00E_MC_Jespar + SympathyJespar.Mod(iSympathyMod) + ElseIf sympathyBase == _00E_MC_Calia + SympathyCalia.Mod(iSympathyMod) + ElseIf sympathyBase == _00E_CapitalCityMaelGroschenfrst + SympathyMaelGroschenfuerst.Mod(iSympathyMod) + ElseIf sympathyBase == _00E_SC_Dijaam + SympathyDijaam.Mod(iSympathyMod) + ElseIf sympathyBase == _00E_SC_Tharael + SympathyTharael.Mod(iSympathyMod) + ElseIf sympathyBase == _00E_MQ11c_Ryneus + SympathyRyneus.Mod(iSympathyMod) + ElseIf sympathyBase == _00E_MC_Yuslan + SympathyYuslan.Mod(iSympathyMod) + ElseIf sympathyBase == _00E_FS_NQ02_Esme + SympathyEsme.Mod(iSympathyMod) + EndIf + + If bIsFlirt + If sympathyBase == _00E_MC_Jespar + JesparFlirtCounter.SetValueInt(JesparFlirtCounter.GetValueInt() + 1) + ElseIf sympathyBase == _00E_MC_Calia + CaliaFlirtCounter.SetValueInt(CaliaFlirtCounter.GetValueInt() + 1) + ElseIf sympathyBase == _00E_SC_Dijaam + DijaamFlirtCounter.SetValueInt(DijaamFlirtCounter.GetValueInt() + 1) + ElseIf sympathyBase == _00E_SC_Tharael + TharaelFlirtCounter.SetValueInt(TharaelFlirtCounter.GetValueInt() + 1) + EndIf + EndIf + + String sActorName = sympathyBase.GetName() + + If !bStringOverride + If (iSympathyMod > 0) && (iSympathyMod <= 5) + _00E_Levelsystem_sApproves.Show() + ; Debug.Notification(sActorName + sLevelsystemAppreciate + ".") + ElseIf (iSympathyMod > 5) && (iSympathyMod <= 10) + _00E_Levelsystem_sAppreciates.Show() + ; Debug.Notification(sActorName + sLevelsystemAppreciateALot + ".") + ElseIf (iSympathyMod > 10) && (iSympathyMod <= 20) + _00E_Levelsystem_sAppreciatesALot.Show() + ; Debug.Notification(sActorName + sLevelsystemApproves + ".") + ElseIf (iSympathyMod < 0) && (iSympathyMod >= -5) + _00E_Levelsystem_sDislikes.Show() + ; Debug.Notification(sActorName + sLevelsystemDislikes + ".") + ElseIf (iSympathyMod < -5) && (iSympathyMod >= -10) + _00E_Levelsystem_sHurt.Show() + ; Debug.Notification(sActorName + sLevelsystemOffended + ".") + ElseIf (iSympathyMod < -10) && (iSympathyMod >= -20) + _00E_Levelsystem_sVeryHurt.Show() + ; Debug.Notification(sActorName + sLevelsystemVeryOffended + ".") + EndIf + Else + Debug.Notification(sActorName + sOverride) + EndIf + +EndFunction + +Function ShowFailedMessage(String companionName = "Jespar") + + if companionName == "Jespar" && _00E_DisableQuestTutorials.GetValueInt() == 0 + _00E_Tutorial_Companions02_Jespar.Show() + ElseIf _00E_DisableQuestTutorials.GetValueInt() == 0 + _00E_Tutorial_Companions02_Calia.Show() + EndIf + +EndFunction + + +;===================================================================================== +; PROPERTIES +;===================================================================================== + +ActorBase Property _00E_MC_Jespar Auto +ActorBase Property _00E_MC_Calia Auto +ActorBase Property _00E_SC_Tharael Auto +ActorBase Property _00E_SC_Dijaam Auto +ActorBase Property _00E_MQ11c_Ryneus Auto +ActorBase Property _00E_CapitalCityMaelGroschenfrst Auto +ActorBase Property _00E_MC_Yuslan Auto +ActorBase Property _00E_FS_NQ02_Esme Auto + +GlobalVariable Property SympathyTharael Auto +GlobalVariable Property SympathyJespar Auto +GlobalVariable Property SympathyDijaam Auto +GlobalVariable Property SympathyMaelGroschenfuerst Auto +GlobalVariable Property SympathyCalia Auto +GlobalVariable Property SympathyYuslan Auto +GlobalVariable Property SympathyEsme Auto +GlobalVariable Property SympathyRyneus auto + +GlobalVariable Property CaliaFlirtCounter Auto +GlobalVariable Property DijaamFlirtCounter Auto +GlobalVariable Property JesparFlirtCounter Auto +GlobalVariable Property TharaelFlirtCounter Auto + +GlobalVariable Property _00E_DisableQuestTutorials Auto +GlobalVariable Property _00E_DisableSkillTutorials Auto + +ReferenceAlias Property Levelsystem_SympathyActor Auto + +Actor Property PlayerREF Auto + +Message Property _00E_Tutorial_Companions02_Jespar Auto +Message Property _00E_Tutorial_Companions02_Calia Auto + +Message Property _00E_Levelsystem_sApproves Auto +Message Property _00E_Levelsystem_sAppreciates Auto +Message Property _00E_Levelsystem_sAppreciatesALot Auto +Message Property _00E_Levelsystem_sDislikes Auto +Message Property _00E_Levelsystem_sHurt Auto +Message Property _00E_Levelsystem_sVeryHurt Auto +Message Property _00E_Levelsystem_sDoesNotTrust Auto +Message Property _00E_Levelsystem_sExtremelyHurt Auto +Message Property _00E_Levelsystem_sIsHurt Auto diff --git a/source/scripts/_00E_TeleportControl.psc b/source/scripts/_00E_TeleportControl.psc new file mode 100644 index 00000000..8e75aa66 --- /dev/null +++ b/source/scripts/_00E_TeleportControl.psc @@ -0,0 +1,153 @@ +Scriptname _00E_TeleportControl extends Quest Hidden + +import Utility + +Function TeleportPlayer(ObjectReference TeleportTarget) + + Game.DisablePlayerControls(abCamSwitch = true) + Wait(3) + If PlayerREF.IsWeaponDrawn() + PlayerREF.SheatheWeapon() + EndIf + Wait(2) + TeleportIn() + PlayerREF.MoveTo(TeleportTarget) + TeleportOut() + + _00E_Func_RefreshFace.RefreshFace() + +EndFunction + +Function TeleportIn() + + Game.ForceThirdPerson() + + if Player.GetSex() == 0 + PlayerREF.PlayIdle(IdleT02AscendMale) + Else + PlayerREF.PlayIdle(IdleT02AscendFemale) + EndIf + + _00E_MagicProtectionSpellM.Play(PlayerREF) + Wait(2.7) + TimeFadeOut01FXS.Play(PlayerREF) + Wait(1.3) + _00E_TeleportImod.Apply() + Wait(2) + +EndFunction + +Function TeleportOut() + + _00E_A2_Ghostwalk_TeleportDoneSound.Play(playerREF) + PlayerREF.PlaceAtMe(_00E_NPCOorbayaTeleportExplosionBlue, 1) + Debug.sendAnimationEvent(playerREF, "IdleWebEnterInstant") + PlayerREF.setActorValue("Variable03", 5) + TimeFadeOut01FXS.Stop(PlayerREF) + TimeFadeIn01FXS.Play(PlayerREF) + Wait(0.5) + PlayerREF.playidle(WebIdleExit) + TimeFadeIn01FXS.Stop(PlayerREF) + PlayerREF.setActorValue("Variable03", 0) + PlayerREF.DrawWeapon() + Wait(3) + Debug.SendAnimationEvent(PlayerREF, "IdleForceDefaultState") + PlayerREF.PlayIdle(IdleForceDefaultState) + PlayerREF.setActorValue("Variable03", 0) + Game.EnablePlayerControls() + _FS_Phasmalist_ControlQuest.MoveApparitionToPlayer() + RegisterForSingleUpdate(2) + +EndFunction + +Event OnUpdate() + Game.EnablePlayerControls() +EndEvent + +Function TeleportNPC(Actor NPCToTeleport, ObjectReference TeleportTarget) +{Teleport an NPC, with animations and FX} + + Weapon weap01 = NPCToTeleport.GetEquippedWeapon(0) + Weapon weap02 = NPCToTeleport.GetEquippedWeapon(1) + + If weap01 != None + NPCToTeleport.UnEquipItem(weap01) + EndIf + If weap02 != None + NPCToTeleport.UnEquipItem(weap02) + EndIf + NPCToTeleport.PlayIdle(IdleMagic_01) + _00E_TeleportCastSound.Play(NPCToTeleport) + Wait(3) + + if NPCToTeleport.GetActorBase().GetSex() == 0 + NPCToTeleport.PlayIdle(IdleT02AscendMale) + Else + NPCToTeleport.PlayIdle(IdleT02AscendFemale) + EndIf + + _00E_MagicProtectionSpellM.Play(NPCToTeleport) + Wait(4) + TimeFadeOut01FXS.Play(NPCToTeleport) + Wait(2) + _00E_A2_Ghostwalk_TeleportDoneSound.Play(NPCToTeleport) + + ObjectReference TeleportFXMarker = NPCToTeleport.PlaceAtMe(XMarkerHeading, 1) + TeleportFXMarker.MoveTo(NPCToTeleport, 0.0, 0.0, 100.0) + ObjectReference FXExplosion = TeleportFXMarker.PlaceAtMe(_00E_TeleportExplosion, 1) + _00E_NPCTeleportExplosionIMOD.Apply() + Game.ShakeCamera(afStrength = 0.2) + NPCToTeleport.MoveTo(TeleportTarget) + Debug.sendAnimationEvent(NPCToTeleport, "IdleWebEnterInstant") + NPCToTeleport.setActorValue("Variable03", 5) + TimeFadeOut01FXS.Stop(NPCToTeleport) + If NPCToTeleport.Is3DLoaded() + TimeFadeIn01FXS.Play(NPCToTeleport) + EndIf + Wait(0.5) + NPCToTeleport.playidle(WebIdleExit) + Wait(1) + TimeFadeIn01FXS.Stop(NPCToTeleport) + NPCToTeleport.setActorValue("Variable03", 0) + If weap01 != None + NPCToTeleport.EquipItem(weap01) + EndIf + If weap02 != None + NPCToTeleport.EquipItem(weap02) + EndIf + +EndFunction + +actor Property PlayerRef Auto + +Idle Property IdleT02AscendMale Auto + +Idle Property IdleT02AscendFemale Auto + +Sound Property _00E_MagicProtectionSpellM Auto + +EffectShader Property TimeFadeOut01FXS Auto + +ImageSpaceModifier Property _00E_TeleportImod Auto + +Sound Property _00E_A2_Ghostwalk_TeleportDoneSound Auto + +Explosion Property _00E_NPCOorbayaTeleportExplosionBlue Auto + +EffectShader Property TimeFadeIn01FXS Auto + +Idle Property WebIdleExit Auto + +Idle Property IdleForceDefaultState Auto + +ActorBase Property Player Auto + +Sound Property _00E_TeleportCastSound Auto + +STATIC Property XMarkerHeading Auto + +ImageSpaceModifier Property _00E_NPCTeleportExplosionIMOD Auto + +Idle Property IdleMagic_01 Auto + +Explosion Property _00E_TeleportExplosion Auto diff --git a/source/scripts/_00E_VisionControl.psc b/source/scripts/_00E_VisionControl.psc new file mode 100644 index 00000000..376fb2d8 --- /dev/null +++ b/source/scripts/_00E_VisionControl.psc @@ -0,0 +1,266 @@ +Scriptname _00E_VisionControl extends Quest Hidden + +import Utility + +;/ Unused +function EndVision(bool ScenePlaying, Scene RunningScene = None) + + If PlayerREF.HasSpell(_00E_Vision_TimeSpell) + PlayerREF.RemoveSpell(_00E_Vision_TimeSpell) + ElseIf PlayerREF.HasSpell(_00E_Vision_NoTimeSpell) + PlayerREF.RemoveSpell(_00E_Vision_NoTimeSpell) + ElseIf PlayerREF.HasSpell(_00E_Vision_NoTimeSubtleSpell) + PlayerREF.RemoveSpell(_00E_Vision_NoTimeSubtleSpell) + EndIf + If ScenePlaying == True && RunningScene.IsPlaying() + RunningScene.Stop() + EndIf + PlayerREF.MoveTo(PlayerVisionStartMarker) + +endFunction +/; + +Function VisionEffectTimestop(bool bSilent = False, bool bCustomImod = False, bool bCustomMusic = False) + + If bCustomImod == False + _00E_VisionStartTimestopIMOD.Apply() + _00E_VisionImod.ApplyCrossFade(0.25) + EndIf + + PlayerREF.AddSpell(_00E_Vision_TimeSpell, False) + + if !bCustomMusic + _00E_SilenceAbruptHighPriority.Add() + EndIf + + MagRacialBattlecryFire.Play(PlayerREF) + fPlayerSpeedBeforeVision = PlayerREF.GetActorValue("SpeedMult") + PlayerREF.SetActorValue("SpeedMult", 35) + UpdateSpeed(PlayerREF) + + If !bSilent + VisionSound = _00E_VisionLPM.Play(PlayerREF) + EndIf + + _00E_VisionShaderParticles.Apply(0.5) + AudioCategoryFST.Mute() + + PlayerREF.SetGhost(True) + + PlayerVisionStartMarker = PlayerREF.PlaceAtMe(XMarker as form, 1, false, false) + PlayerVisionFailsaveMarker.MoveTo(PlayerREF) + Game.DisablePlayerControls(false, true, true, false, true, false, true, false) + Game.ForceFirstPerson() + Game.ShowFirstPersonGeometry(False) + Wait(0.100000) + +EndFunction + +Function VisionEffectTimestopStop(bool bMovementHasBeenLocked = False) + + float fSpeedMultBefore = PlayerREF.GetActorValue("speedMult") + + PlayerREF.SetGhost(False) + Game.DisablePlayerControls() + PlayerREF.SetActorValue("SpeedMult", PlayerSpeed) + PlayerREF.SetGhost(False) + AudioCategoryFST.UnMute() + UpdateSpeed(PlayerREF) + Game.ShowFirstPersonGeometry(True) + + If !bMovementHasBeenLocked + If PlayerVisionFailsaveMarker.GetDistance(PlayerREF) <= 1000 + PlayerREF.MoveTo(PlayerVisionStartMarker) + Elseif PlayerVisionFailsaveMarker.GetDistance(PlayerREF) >= 1000 + PlayerREF.MoveTo(PlayerVisionFailsaveMarker) + EndIf + EndIf + + PlayerREF.SetGhost(False) + Sound.StopInstance(VisionSound) + MAGConjurePortalClose.Play(PlayerREF) + _00E_SilenceAbruptHighPriority.Remove() + PlayerREF.RemoveSpell(_00E_Vision_TimeSpell) + _00E_VisionShaderParticles.Remove(0.5) + _00E_VisionEndImod.ApplyCrossFade(1) + Wait(0.5) + PlayerREF.SetActorValue("speedMult", fPlayerSpeedBeforeVision) + + If PlayerREF.GetActorValue("speedMult") < 50 + PlayerREF.SetActorValue("speedMult", 100) + EndIf + + UpdateSpeed(PlayerREF) + Game.EnablePlayerControls() + Game.SetPlayerAIDriven(0) + Game.ShowFirstPersonGeometry(True) + _00E_SilenceAbruptHighPriority.Remove() + +EndFunction + +Function VisionEffectNoTimestop(Formlist RefsInvolved, Formlist ActorsToFreeze, bool bCustomMusic = False) + + Game.ShowFirstPersonGeometry(False) + PlayerREF.SetAlpha(0.1) + PlayerREF.AddPerk(_00E_VisionPerk) + UpdateSpeed(PlayerREF) + MagRacialBattlecryFire.Play(PlayerREF) + + if !bCustomMusic + _00E_SilenceAbruptHighPriority.Add() + EndIf + + AudioCategoryFST.Mute() + PlayerVisionStartMarker = PlayerREF.PlaceAtMe(XMarker as form, 1, false, false) + PlayerVisionFailsaveMarker.MoveTo(PlayerREF) + PlayerREF.SetGhost(True) + VisionSound = _00E_VisionLPM.Play(PlayerREF) + _00E_VisionStartImod.Apply() + + If PlayerREF.IsInInterior() + _00E_VisionShaderParticles.Apply(0.5) + EndIf + + if RefsInvolved != None + int iIndex = RefsInvolved.GetSize() + + while iIndex > 0 + iIndex -= 1 + Actor VisionREF = RefsInvolved.GetAt(iIndex) as Actor + if VisionREF.IsDisabled() + VisionREF.EnableNoWait() + EndIf + VisionRef.SetAlpha(0.5) + MS04MemoryFXBody01VFX.Play(VisionREF) + EndWhile + endif + + if ActorsToFreeze != None + int iIndex02 = ActorsToFreeze.GetSize() + + while iIndex02 > 0 + iIndex02 -= 1 + Actor FreezeREF = ActorsToFreeze.GetAt(iIndex02) as Actor + FreezeREF.EnableAI(False) + EndWhile + endif + + _00E_MQ16_VisionIMOD.Remove() + _00E_VisionImod.ApplyCrossFade(1) + +EndFunction + +Function VisionEffectNoTimestopStop(Formlist RefsInvolved, Formlist ActorsToFreeze, bool bHasBeenRestrained = False) + + PlayerREF.SetAlpha(1.0) + Game.ShowFirstPersonGeometry(True) + + If !bHasBeenRestrained + If PlayerVisionFailsaveMarker.GetDistance(PlayerREF) <= 1000 + PlayerREF.MoveTo(PlayerVisionStartMarker) + Elseif PlayerVisionFailsaveMarker.GetDistance(PlayerREF) >= 1000 + PlayerREF.MoveTo(PlayerVisionFailsaveMarker) + EndIf + EndIf + + _00E_VisionEndImod.ApplyCrossFade(1) + If PlayerREF.IsInInterior() + _00E_VisionShaderParticles.Remove(0.5) + EndIf + + if RefsInvolved != None + int iIndex = RefsInvolved.GetSize() + + while iIndex > 0 + iIndex -= 1 + Actor VisionREF = RefsInvolved.GetAt(iIndex) as Actor + MS04MemoryFXBody01VFX.Stop(VisionREF) + VisionRef.SetAlpha(1) + EndWhile + endif + + if ActorsToFreeze != None + int iIndex02 = ActorsToFreeze.GetSize() + + while iIndex02 > 0 + iIndex02 -= 1 + Actor FreezeREF = ActorsToFreeze.GetAt(iIndex02) as Actor + FreezeREF.EnableAI(True) + EndWhile + endif + + AudioCategoryFST.UnMute() + PlayerREF.SetGhost(False) + Sound.StopInstance(VisionSound) + MAGConjurePortalClose.Play(PlayerREF) + _00E_SilenceAbruptHighPriority.Remove() + PlayerREF.RemovePerk(_00E_VisionPerk) + + If PlayerREF.GetActorValue("speedMult") < 50 + PlayerREF.SetActorValue("speedMult", 100) + EndIf + + UpdateSpeed(PlayerREF) + _00E_MQ16_VisionIMOD.Remove() + _00E_VisionImod.Remove() + +EndFunction + +Function UpdateSpeed(Actor SpeedUpdateActor) + + If SpeedUpdateActor.HasSpell(_00E_Vision_UpdateAb) + SpeedUpdateActor.RemoveSpell(_00E_Vision_UpdateAb) + EndIf + + SpeedUpdateActor.AddSpell(_00E_Vision_UpdateAb, False) + Wait(0.1) + SpeedUpdateActor.RemoveSpell(_00E_Vision_UpdateAb) + +EndFunction + +float fPlayerSpeedBeforeVision + +ObjectReference Property PlayerVisionStartMarker Auto Hidden +ObjectReference Property PlayerVisionFailsaveMarker Auto + +float PlayerSpeed +int VisionSound + +SPELL Property _00E_Vision_TimeSpell Auto + +SPELL Property _00E_Vision_NoTimeSpell Auto + +SPELL Property _00E_Vision_NoTimeSubtleSpell Auto + +ImageSpaceModifier Property _00E_VisionStartTimestopIMOD Auto + +ImageSpaceModifier Property _00E_VisionIMOD Auto + +MusicType Property _00E_SilenceAbruptHighPriority Auto + +Sound Property MagRacialBattlecryFire Auto + +actor Property PlayerRef Auto + +Sound Property _00E_VisionLPM Auto + +ImageSpaceModifier Property _00E_VisionStartImod Auto + +ShaderParticleGeometry Property _00E_VisionShaderParticles Auto + +SoundCategory Property AudioCategoryFST Auto + +VisualEffect Property MS04MemoryFXBody01VFX Auto + +ImageSpaceModifier Property _00E_MQ16_VisionIMOD Auto + +Sound Property MAGConjurePortalClose Auto + +SPELL Property _00E_Vision_UpdateAb Auto + +Perk Property _00E_VisionPerk Auto + +STATIC Property XMarker Auto + +ImageSpaceModifier Property _00E_VisionEndImod Auto + diff --git a/source/scripts/_00e_a0_banksystemdevactivator.psc b/source/scripts/_00e_a0_banksystemdevactivator.psc deleted file mode 100644 index 015e03f5..00000000 --- a/source/scripts/_00e_a0_banksystemdevactivator.psc +++ /dev/null @@ -1,14 +0,0 @@ -scriptName _00E_A0_BankSystemDevActivator extends ObjectReference - - -Quest Property BankQuest auto - -EVENT onActivate (objectReference akActionRef) - game.shakeCamera(afStrength = 0.25, afDuration = 0.25) - utility.wait(0.65) - game.shakeCamera(afStrength = 0.5, afDuration = 0.5) - utility.wait(0.5) - (BankQuest as _00E_A0_BankSystemQuest).Call() -ENDevent - - diff --git a/source/scripts/_00e_a1_arcticwindsc.psc b/source/scripts/_00e_a1_arcticwindsc.psc index 4a899e6e..c3c808b2 100644 --- a/source/scripts/_00e_a1_arcticwindsc.psc +++ b/source/scripts/_00e_a1_arcticwindsc.psc @@ -27,19 +27,11 @@ Event OnEffectFinish(Actor akTarget, Actor akCaster) EndEvent -;===================================================================================== -; FUNCTIONS -;===================================================================================== - - ;===================================================================================== ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - - Actor Property PlayerREF Auto Spell Property _00E_A1_ArcticWindFrozenAb Auto diff --git a/source/scripts/_00e_a1_devoursoulsc.psc b/source/scripts/_00e_a1_devoursoulsc.psc index 48e78516..4ec0e55b 100644 --- a/source/scripts/_00e_a1_devoursoulsc.psc +++ b/source/scripts/_00e_a1_devoursoulsc.psc @@ -12,7 +12,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) (PlayerREF as _00E_Game_TalentControlSC).SetTalentRecoveryTime(_00E_A1_DevourSoul, 0) Return ElseIf !akTarget.IsDead() - Levelsystem._00E_Levelsystem_sEnemyHasToBeDead.Show() + _00E_Levelsystem_sEnemyHasToBeDead.Show() (PlayerREF as _00E_Game_TalentControlSC).SetTalentRecoveryTime(_00E_A1_DevourSoul, 0) Return Else @@ -127,7 +127,7 @@ EndFunction Actor Caster Actor Target -_00E_QuestFunctions Property Levelsystem Auto +Message Property _00E_Levelsystem_sEnemyHasToBeDead Auto Actor Property PlayerREF Auto diff --git a/source/scripts/_00e_a1_qyraistancesc.psc b/source/scripts/_00e_a1_qyraistancesc.psc index bf31eef2..888e2f49 100644 --- a/source/scripts/_00e_a1_qyraistancesc.psc +++ b/source/scripts/_00e_a1_qyraistancesc.psc @@ -17,7 +17,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) akCaster.RemoveSpell(_00E_A1_QyraiStanceDisplay03) akCaster.RemovePerk(_00E_A1_QyranianStanceBlockPerk) akCaster.RemovePerk(_00E_A1_QyranianStanceEnemyCritPerk) - Debug.Notification(Levelsystem._00E_Levelsystem_sAbilityStanceQyrai.GetName() + " " + Levelsystem._00E_Levelsystem_sAbilityStanceEnded.GetName()) + Debug.Notification(_00E_Levelsystem_sAbilityStanceQyrai.GetName() + " " + _00E_Levelsystem_sAbilityStanceEnded.GetName()) _00E_DispelStance.Play(akCaster) Else @@ -60,7 +60,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) NPCKillSwordSpinM.Play(akCaster) GhostFXShader.Play(akCaster) - Debug.Notification(Levelsystem._00E_Levelsystem_sAbilityStanceQyrai.GetName() + " " + Levelsystem._00E_Levelsystem_sAbilityStanceStarted.GetName()) + Debug.Notification(_00E_Levelsystem_sAbilityStanceQyrai.GetName() + " " + _00E_Levelsystem_sAbilityStanceStarted.GetName()) Utility.Wait(4) GhostFXShader.Stop(akCaster) @@ -110,7 +110,9 @@ EndFunction int iIndex -_00E_QuestFunctions Property Levelsystem Auto +Message Property _00E_Levelsystem_sAbilityStanceStarted Auto +Message Property _00E_Levelsystem_sAbilityStanceEnded Auto +Message Property _00E_Levelsystem_sAbilityStanceQyrai Auto Actor Property PlayerREF Auto diff --git a/source/scripts/_00e_a1_shadowtongueoilpoolsc.psc b/source/scripts/_00e_a1_shadowtongueoilpoolsc.psc index 75a85220..e1b18185 100644 --- a/source/scripts/_00e_a1_shadowtongueoilpoolsc.psc +++ b/source/scripts/_00e_a1_shadowtongueoilpoolsc.psc @@ -14,7 +14,7 @@ Auto State Waiting If _00E_Synergy_OilFireArrow.GetValueInt() == 0 _00E_Synergy_OilFireArrow.SetValueInt(1) - Levelsystem.ShowSynergyMessage() + _00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage() EndIf EndIf @@ -65,8 +65,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_Synergy_OilFireArrow Auto Projectile Property _00E_A1_FireArrow_ProjectileL01 Auto diff --git a/source/scripts/_00e_a1_skaraggstancesc.psc b/source/scripts/_00e_a1_skaraggstancesc.psc index c6cf7ac7..a8f857a6 100644 --- a/source/scripts/_00e_a1_skaraggstancesc.psc +++ b/source/scripts/_00e_a1_skaraggstancesc.psc @@ -18,7 +18,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) akCaster.RemoveSpell(_00E_A1_SkaraggStanceDisplay02) akCaster.RemoveSpell(_00E_A1_SkaraggStanceDisplay03) - Debug.Notification(Levelsystem._00E_Levelsystem_sAbilityStanceSkaragg.GetName() + " " + Levelsystem._00E_Levelsystem_sAbilityStanceEnded.GetName()) + Debug.Notification(_00E_Levelsystem_sAbilityStanceSkaragg.GetName() + " " + _00E_Levelsystem_sAbilityStanceEnded.GetName()) _00E_DispelStance.Play(akCaster) Else @@ -63,7 +63,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) _00E_A1_SkaraggStanceSound.Play(akCaster) GhostRedFXShader.Play(akCaster) - Debug.Notification(Levelsystem._00E_Levelsystem_sAbilityStanceSkaragg.GetName() + " " + Levelsystem._00E_Levelsystem_sAbilityStanceStarted.GetName()) + Debug.Notification(_00E_Levelsystem_sAbilityStanceSkaragg.GetName() + " " + _00E_Levelsystem_sAbilityStanceStarted.GetName()) Utility.Wait(4) GhostRedFXShader.Stop(akCaster) @@ -94,7 +94,9 @@ EndFunction int iIndex -_00E_QuestFunctions Property Levelsystem Auto +Message Property _00E_Levelsystem_sAbilityStanceStarted Auto +Message Property _00E_Levelsystem_sAbilityStanceEnded Auto +Message Property _00E_Levelsystem_sAbilityStanceSkaragg Auto Perk Property _00E_A1_SkaraggStanceResistPerk Auto Perk Property _00E_A1_SkaraggStanceDamagePerk Auto diff --git a/source/scripts/_00e_a2_eldritchbloodplayersc.psc b/source/scripts/_00e_a2_eldritchbloodplayersc.psc index 97f5cce2..e418b251 100644 --- a/source/scripts/_00e_a2_eldritchbloodplayersc.psc +++ b/source/scripts/_00e_a2_eldritchbloodplayersc.psc @@ -186,7 +186,7 @@ Function SelectEnemy(Actor iVictim) MarkFrenzyTargetVictim(iVictim) iFrezyAttackTargetMarked = True Else - Levelsystem._00E_Levelsystem_sEnemyAlreadyMarked.Show() + _00E_Levelsystem_sEnemyAlreadyMarked.Show() MAGFail.Play(PlayerREF) EndIf Else @@ -203,7 +203,7 @@ Function MarkFrenzyVictim(Actor iFrenzyVictim) MarkingRuneREF = iFrenzyVictim.PlaceAtMe(_00E_A2_EldritchBloodMarkedRune, 1) A2_EldritchBlood_Rune.ForceRefTo(MarkingRuneREF) A2_EldritchBlood_Victim.ForceRefTo(iFrenzyVictim) - Levelsystem._00E_Levelsystem_sEldritchBloodVictimMarked.Show() + _00E_Levelsystem_sEldritchBloodVictimMarked.Show() _00E_A2_EldritchBloodMarkedFXS.Play(iFrenzyVictim) iFrenzyVictim.AddSpell(_00E_A2_EldritchBloodAbMarkedVictimSP) _00E_A2_GhostwalkSelectM.Play(PlayerREF) @@ -215,7 +215,7 @@ Function MarkFrenzyTargetVictim(Actor iFrenzyTargetVictim) MarkingVictimRuneREF = iFrenzyTargetVictim.PlaceAtMe(_00E_A2_EldritchBloodMarkedTargetRune, 1) A2_EldritchBlood_VictimRune.ForceRefTo(MarkingVictimRuneREF) A2_EldritchBlood_VictimTarget.ForceRefTo(iFrenzyTargetVictim) - Levelsystem._00E_Levelsystem_sEldritchBloodAttackTargetMarked.Show() + _00E_Levelsystem_sEldritchBloodAttackTargetMarked.Show() _00E_A2_EldritchBloodMarkedVictimFXS.Play(iFrenzyTargetVictim) iFrenzyTargetVictim.AddSpell(_00E_A2_EldritchBloodAbMarkedVictimTargetSP) _00E_A2_GhostwalkSelectM.Play(PlayerREF) @@ -231,7 +231,7 @@ Function UnmarkEnemy(Actor iVictim) A2_EldritchBlood_Victim.Clear() MarkingRuneREF.Disable() iFrenzyTargetMarked = False - Levelsystem._00E_Levelsystem_sEldritchBloodVictimMarkingRemoved.Show() + _00E_Levelsystem_sEldritchBloodVictimMarkingRemoved.Show() iVictim.RemoveSpell(_00E_A2_EldritchBloodAbMarkedVictimSP) _00E_A2_EldritchBloodMarkedFXS.Stop(iVictim) _00E_A2_GhostwalkDeselectM.Play(PlayerREF) @@ -241,7 +241,7 @@ Function UnmarkEnemy(Actor iVictim) A2_EldritchBlood_VictimTarget.Clear() MarkingVictimRuneREF.Disable() iFrezyAttackTargetMarked = False - Levelsystem._00E_Levelsystem_sEldritchBloodAttackVictimMarkingRemoved.Show() + _00E_Levelsystem_sEldritchBloodAttackVictimMarkingRemoved.Show() iVictim.RemoveSpell(_00E_A2_EldritchBloodAbMarkedVictimTargetSP) _00E_A2_EldritchBloodMarkedVictimFXS.Stop(iVictim) _00E_A2_GhostwalkDeselectM.Play(PlayerREF) @@ -255,12 +255,12 @@ bool Function IsTargetValid(Actor CheckVictim) If CheckVictim.IsInFaction(PlayerAlliesFaction) Return False ElseIf CheckVictim.HasKeyword(MagicNoEldritchBlood) - Levelsystem._00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show() + _00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show() Return False Elseif CheckVictim == PlayerREF Return False Elseif EnemyLevelTooHigh(CheckVictim) - Levelsystem._00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show() + _00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show() Return False Else Return True @@ -306,7 +306,12 @@ Bool iFrezyAttackTargetMarked _00E_A2_EldritchBloodPlayerMarkSC A2_EldritchBlood_PlayerForScript -_00E_QuestFunctions Property Levelsystem Auto +Message Property _00E_Levelsystem_sEnemyAlreadyMarked Auto +Message Property _00E_Levelsystem_sEldritchBloodVictimMarked Auto +Message Property _00E_Levelsystem_sEldritchBloodAttackTargetMarked Auto +Message Property _00E_Levelsystem_sAbilityEnemyLevelTooHigh Auto +Message Property _00E_Levelsystem_sEldritchBloodVictimMarkingRemoved Auto +Message Property _00E_Levelsystem_sEldritchBloodAttackVictimMarkingRemoved Auto GlobalVariable Property _00E_A2_EldritchBloodGlobal Auto GlobalVariable Property PlayerLevel Auto diff --git a/source/scripts/_00e_a2_eldritchbloodsc.psc b/source/scripts/_00e_a2_eldritchbloodsc.psc index bafddcf8..a274b547 100644 --- a/source/scripts/_00e_a2_eldritchbloodsc.psc +++ b/source/scripts/_00e_a2_eldritchbloodsc.psc @@ -156,7 +156,7 @@ Function Explode() If _00E_Synergy_EldritchBloodSkyfall.GetValueInt() == 0 _00E_Synergy_EldritchBloodSkyfall.SetValueInt(1) - Levelsystem.ShowSynergyMessage() + _00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage() EndIf Else @@ -197,8 +197,6 @@ int TalentLevel bool bSynergySkyfallExplosion -_00E_QuestFunctions Property Levelsystem Auto - Actor Victim Perk iPerk diff --git a/source/scripts/_00e_a2_eyeofthestormsc.psc b/source/scripts/_00e_a2_eyeofthestormsc.psc index 14bb596a..1ecf10ff 100644 --- a/source/scripts/_00e_a2_eyeofthestormsc.psc +++ b/source/scripts/_00e_a2_eyeofthestormsc.psc @@ -29,7 +29,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) If PlayerREF.HasSpell(_00E_A2_DanceOfBladesSP) If _00E_Synergy_EyeOfTheStormBladedance.GetValueInt() == 0 _00E_Synergy_EyeOfTheStormBladedance.SetValueInt(1) - Levelsystem.ShowSynergyMessage() + _00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage() EndIf EndIf @@ -61,8 +61,6 @@ EndEvent ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - int iKillMoveConfig int iSound diff --git a/source/scripts/_00e_a2_ghostwalksc.psc b/source/scripts/_00e_a2_ghostwalksc.psc index bc67a0d2..f0fbefcf 100644 --- a/source/scripts/_00e_a2_ghostwalksc.psc +++ b/source/scripts/_00e_a2_ghostwalksc.psc @@ -1,5 +1,7 @@ Scriptname _00E_A2_GhostwalkSC extends activemagiceffect +; UNUSED + Import _00E_TalentLibrary Import Utility @@ -223,12 +225,12 @@ Function SelectEnemy(Actor iVictim) A2_Ghostwalk_Victim.GetActorReference().SetActorValue("Blindness", 100) A2_Ghostwalk_Victim.GetActorReference().EvaluatePackage() bTargetMarked = True - Levelsystem._00E_Levelsystem_sEnemyMarked.Show() + _00E_Levelsystem_sEnemyMarked.Show() _00E_EspionageFXS.Play(iVictim) iVictim.AddSpell(_00E_A2_GhostwalkAbMarkedSP) _00E_A2_GhostwalkSelectM.Play(PlayerREF) Else - Levelsystem._00E_Levelsystem_sEnemyAlreadyMarked.Show() + _00E_Levelsystem_sEnemyAlreadyMarked.Show() MAGFail.Play(PlayerREF) EndIf Else @@ -256,7 +258,7 @@ Function UnmarkEnemy(Actor iVictim) A2_Ghostwalk_Victim.Clear() MarkingRuneREF.Disable() bTargetMarked = False - Levelsystem._00E_Levelsystem_sAbilityMarkingRemoved.Show() + _00E_Levelsystem_sAbilityMarkingRemoved.Show() iVictim.RemoveSpell(_00E_A2_GhostwalkAbMarkedSP) A2_Ghostwalk_Victim.GetActorReference().SetActorValue("Blindness", 0) _00E_EspionageFXS.Stop(iVictim) @@ -274,12 +276,12 @@ bool Function IsTargetValid(Actor CheckVictim) If CheckVictim.IsInFaction(PlayerAlliesFaction) Return False ElseIf CheckVictim.HasKeyword(MagicNoGhostwalk) - Levelsystem._00E_Levelsystem_sAbilityTargetImmune.Show() + _00E_Levelsystem_sAbilityTargetImmune.Show() Return False Elseif CheckVictim == PlayerREF Return False Elseif IsTargetTooCloseToWall(CheckVictim) - Levelsystem._00E_Levelsystem_sGhostwalkEnemyTooCloseToWall.Show() + _00E_Levelsystem_sGhostwalkEnemyTooCloseToWall.Show() bTargetCloseToWall = True Return True Else @@ -331,7 +333,7 @@ EndFunction bool Function TargetMarked() If bTargetMarked == True - Levelsystem._00E_Levelsystem_sEnemyAlreadyMarked.Show() + _00E_Levelsystem_sEnemyAlreadyMarked.Show() MAGFail.Play(PlayerREF) Return True Else @@ -379,7 +381,12 @@ float EndLocZ Float iPlayerSpeedBefore _00E_A2_Ghostwalk_PlayerSC A2_Ghostwalk_PlayerForScript -_00E_QuestFunctions Property Levelsystem Auto + +Message Property _00E_Levelsystem_sEnemyMarked Auto +Message Property _00E_Levelsystem_sEnemyAlreadyMarked Auto +Message Property _00E_Levelsystem_sAbilityMarkingRemoved Auto +Message Property _00E_Levelsystem_sAbilityTargetImmune Auto +Message Property _00E_Levelsystem_sGhostwalkEnemyTooCloseToWall Auto ActorBase Property _00E_A2_GhostwalkWallCheck Auto Actor WallCheckActor diff --git a/source/scripts/_00e_a2_primalforcesc.psc b/source/scripts/_00e_a2_primalforcesc.psc index 29e01112..b617a4dd 100644 --- a/source/scripts/_00e_a2_primalforcesc.psc +++ b/source/scripts/_00e_a2_primalforcesc.psc @@ -22,7 +22,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) if _00E_Synergy_PrimalForceEyeOfTheStorm.GetValueInt() == 0 _00E_Synergy_PrimalForceEyeOfTheStorm.SetValueInt(1) - Levelsystem.ShowSynergyMessage() + _00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage() EndIf PlayerREF.DispelSpell(_00E_A2_EyeOfTheStormSP) @@ -34,7 +34,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) if _00E_Synergy_OnslaughtPrimalForce.GetValueInt() == 0 _00E_Synergy_OnslaughtPrimalForce.SetValueInt(1) - Levelsystem.ShowSynergyMessage() + _00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage() EndIf _00E_A1_OnslaughtSynergyTimer.SetValueInt(0) @@ -73,8 +73,6 @@ EndFunction ObjectReference PlaceMarker -_00E_QuestFunctions Property Levelsystem Auto - float fDamage float fExtraDamage diff --git a/source/scripts/_00e_a2_riftsc.psc b/source/scripts/_00e_a2_riftsc.psc index 7bf41f9a..20d462e1 100644 --- a/source/scripts/_00e_a2_riftsc.psc +++ b/source/scripts/_00e_a2_riftsc.psc @@ -75,13 +75,13 @@ bool Function IsTargetValid(Actor iTarget) Float iAllowedLevelDifference = _00E_A1_RiftSP.GetNthEffectMagnitude(3) If (Target.GetLevel()) >= (PlayerLevel.GetValueInt() + iAllowedLevelDifference as Int) - Levelsystem._00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show() + _00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show() return False ElseIf Target.IsDead() - Levelsystem._00E_Levelsystem_sAbilityEnemyHasToBeAlive.Show() + _00E_Levelsystem_sAbilityEnemyHasToBeAlive.Show() return False ElseIf Target.HasKeyword(MagicNoRift) - Levelsystem._00E_Levelsystem_sAbilityTargetImmune.Show() + _00E_Levelsystem_sAbilityTargetImmune.Show() return False Else Return True @@ -204,7 +204,7 @@ Function StopFXAndCastFinalExplosion() If _00E_Synergy_RiftSkyfall.GetValueInt() == 0 _00E_Synergy_RiftSkyfall.SetValueInt(1) - Levelsystem.ShowSynergyMessage() + _00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage() EndIf Self.Dispel() @@ -252,7 +252,9 @@ float iFinalImpact int iindex int iRiftDurationSound -_00E_QuestFunctions Property Levelsystem Auto +Message Property _00E_Levelsystem_sAbilityEnemyLevelTooHigh Auto +Message Property _00E_Levelsystem_sAbilityEnemyHasToBeAlive Auto +Message Property _00E_Levelsystem_sAbilityTargetImmune Auto Actor Target ObjectReference PlaceMarker diff --git a/source/scripts/_00e_a2_skyfallboltmesc.psc b/source/scripts/_00e_a2_skyfallboltmesc.psc index 69c9bcd6..f2f5fcbf 100644 --- a/source/scripts/_00e_a2_skyfallboltmesc.psc +++ b/source/scripts/_00e_a2_skyfallboltmesc.psc @@ -5,13 +5,12 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) If akTarget.HasSpell(_00E_A1_ArcticWindFrozenAb) if _00E_Synergy_ArcticWindSkyFall.GetValueInt() == 0 _00E_Synergy_ArcticWindSkyFall.SetValueInt(1) - Levelsystem.ShowSynergyMessage() + _00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage() EndIf EndIf EndEvent GlobalVariable Property _00E_Synergy_ArcticWindSkyFall Auto -_00E_QuestFunctions Property Levelsystem Auto Spell Property _00E_A1_ArcticWindFrozenAb Auto diff --git a/source/scripts/_00e_a2_skyfallplayersc.psc b/source/scripts/_00e_a2_skyfallplayersc.psc index 02e840c4..7f7db3af 100644 --- a/source/scripts/_00e_a2_skyfallplayersc.psc +++ b/source/scripts/_00e_a2_skyfallplayersc.psc @@ -27,7 +27,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) if _00E_Synergy_EyeOfTheStormSkyfall.GetValueInt() == 0 _00E_Synergy_EyeOfTheStormSkyfall.SetValueInt(1) - Levelsystem.ShowSynergyMessage() + _00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage() EndIf EndIf @@ -56,8 +56,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_Synergy_EyeOfTheStormSkyfall Auto ImageSpaceModifier Property MAGShockExpMassImod Auto diff --git a/source/scripts/_00e_a3_mage_firespheresc.psc b/source/scripts/_00e_a3_mage_firespheresc.psc deleted file mode 100644 index aed7a637..00000000 --- a/source/scripts/_00e_a3_mage_firespheresc.psc +++ /dev/null @@ -1,56 +0,0 @@ -Scriptname _00E_A3_Mage_FireSphereSC extends ObjectReference - -Import _00E_TalentLibrary - -;===================================================================================== -; EVENTS -;===================================================================================== - -Event OnInit() - - fFireExplosionDamage = - -EndEvent - -Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) - - - If (akAggressor as actor) && (Utility.RandomInt(1, 100) <= fThrowBackChance) - - Debug.MessageBox("_00E_FS_A3_Mage_ThaumaturgicShieldSC Cool 2.") - - akAttacker = akAggressor as Actor - - If (akSource as Spell) - - ReflectSpell(akSource as Spell) - - Elseif (akSource.HasKeyword(WeapTypeBow)) - - ReflectArrow(akSource as Weapon) - - EndIf - - Endif - - -EndEvent -;===================================================================================== -; FUNCTIONS -;===================================================================================== - -Function ReflectSpell(Spell spSpellToReflect) - -EndFunction - -Function ReflectArrow(Weapon wpBow) - -EndFunction - -;===================================================================================== -; PROPERTIES -;===================================================================================== - -float fFireExplosionDamage - -Spell Property _00E_FS_A3_Mage_FireSphereSP Auto \ No newline at end of file diff --git a/source/scripts/_00e_addingperk.psc b/source/scripts/_00e_addingperk.psc index 18d267cb..450cab32 100644 --- a/source/scripts/_00e_addingperk.psc +++ b/source/scripts/_00e_addingperk.psc @@ -4,7 +4,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) akTarget.AddPerk(PerkToAdd) - _00E_QuestFunctions.PrintDebugMessage("_00E_AddingPerk has perk.") + _00E_Debug.PrintMessage("_00E_AddingPerk has perk.") endevent diff --git a/source/scripts/_00e_addmusicscript.psc b/source/scripts/_00e_addmusicscript.psc index 7dce1272..dbe1aaad 100644 --- a/source/scripts/_00e_addmusicscript.psc +++ b/source/scripts/_00e_addmusicscript.psc @@ -7,7 +7,7 @@ Event OnTriggerEnter(ObjectReference akActionRef) If akActionRef == PlayerREF MusicToPlay.Add() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() If Config_RemoveOnLeave == True GoToState("WaitingForLeave") Else @@ -43,8 +43,6 @@ EndState ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - Bool Property Config_RemoveOnLeave = False Auto {If checked, removes the music once the player leaves the triggerbox. Check this if you want to check Config_ActivateMultipleTimes!} Bool Property Config_ActivateMultipleTimes = False Auto diff --git a/source/scripts/_00e_ark_genericdialoguefunctions.psc b/source/scripts/_00e_ark_genericdialoguefunctions.psc index 9ceccf69..86b7e646 100644 --- a/source/scripts/_00e_ark_genericdialoguefunctions.psc +++ b/source/scripts/_00e_ark_genericdialoguefunctions.psc @@ -94,7 +94,7 @@ Function RemoveAmulets() bPlayerHasGivenAmulets = True PlayerREF.AddItem(Gold001, 150) PlayerREF.AddItem(_00E_Eispranke, 1) - Levelsystem.GiveEP(150) + _00E_EPHandler.GiveEP(150) EndFunction @@ -102,8 +102,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - bool Property bPlayerHasHadMithConversation Auto Conditional Hidden bool Property bPlayerHasHadToriusConversation Auto Conditional Hidden bool Property bPlayerHasGivenAmulets Auto Conditional Hidden diff --git a/source/scripts/_00e_ark_travelcrossroadssc.psc b/source/scripts/_00e_ark_travelcrossroadssc.psc index 2a085199..fc1413b4 100644 --- a/source/scripts/_00e_ark_travelcrossroadssc.psc +++ b/source/scripts/_00e_ark_travelcrossroadssc.psc @@ -93,7 +93,7 @@ Function ShowTravelMenu() If !((iListButton == 5 || iListButton == 6) || (iListButton == 4 || iListButton == 5)) If MQ04.GetStage() > 5 && !(MQ04.IsCompleted()) && !(MQ04.IsObjectiveCompleted(25)) - Levelsystem.GiveEP(100) + _00E_EPHandler.GiveEP(100) MQ04.SetObjectiveCompleted(25) EndIf EndIf @@ -128,8 +128,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - Actor Property PlayerREF Auto Quest Property MQ12b Auto diff --git a/source/scripts/_00e_bardsongtriggerscript.psc b/source/scripts/_00e_bardsongtriggerscript.psc index 00263c4e..a114a30e 100644 --- a/source/scripts/_00e_bardsongtriggerscript.psc +++ b/source/scripts/_00e_bardsongtriggerscript.psc @@ -12,7 +12,8 @@ if !Done && akActionRef == Game.GetPlayer() If __Config_SameSong == False __Config_SongIndex = Utility.RandomInt(0, _00E_MUS_Liliath_Songs.GetSize()) EndIf - BardDialogue.StartBardSong(__Config_SongIndex, SpectatorList, __Config_PerformanceStartMarker, __Config_CrowdMarker, __Config_BardActor) + ;Non-existing function + ;BardDialogue.StartBardSong(__Config_SongIndex, SpectatorList, __Config_PerformanceStartMarker, __Config_CrowdMarker, __Config_BardActor) If !__Config_OnceOnly InitializeResetTimer(__Config_GamedaysTillReset) EndIf diff --git a/source/scripts/_00e_combatsoundtrackscript.psc b/source/scripts/_00e_combatsoundtrackscript.psc index 949af215..2073cbff 100644 --- a/source/scripts/_00e_combatsoundtrackscript.psc +++ b/source/scripts/_00e_combatsoundtrackscript.psc @@ -6,7 +6,7 @@ Event OnUpdate() RegisterForSingleUpdate(2.0) ElseIf Triggered Triggered = False - (player as _00E_PlayerFunctions).StopCombatMusic() + _00E_PlayerFunctions.GetCombatMusicControl().StopCombatMusic() EndIf EndEvent @@ -20,9 +20,9 @@ Event OnCombatStateChanged(Actor akTarget, int aeCombatState) Actor player = Game.GetPlayer() If akTarget == player Int encounterLevel = GetLevel() - If encounterLevel >= 20 || (encounterLevel >= (PlayerLevel.GetValue() - 15)) || HasKeyword(ActorTypeBoss) ; Frage ab ob Gegnerstufe über Spielerstufe oder Boss ist, wenn ja spiele Combatmusic + If encounterLevel >= 20 || (encounterLevel >= (PlayerLevel.GetValue() - 15)) || HasKeyword(ActorTypeBoss) ; Frage ab ob Gegnerstufe über Spielerstufe oder Boss ist, wenn ja spiele Combatmusic If Triggered == False ; player.IsInCombat() && - Triggered = (player as _00E_PlayerFunctions).StartCombatMusic(_00E_Music_Combat_Regular) + Triggered = _00E_PlayerFunctions.GetCombatMusicControl().StartCombatMusic(_00E_Music_Combat_Regular) If Triggered RegisterForSingleUpdate(5.0) EndIf diff --git a/source/scripts/_00e_complex_blockidlechattersc.psc b/source/scripts/_00e_complex_blockidlechattersc.psc index 608e53b9..6f5f3588 100644 --- a/source/scripts/_00e_complex_blockidlechattersc.psc +++ b/source/scripts/_00e_complex_blockidlechattersc.psc @@ -4,7 +4,7 @@ Event OnTriggerEnter(ObjectReference akActionRef) if akActionRef == PlayerREF if (__Config_QuestToSet.GetStage() >= 5) && (__Config_QuestToSet.GetStage() < __Config_iMaxStage) - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) EndIf EndIf @@ -14,7 +14,7 @@ Event OnTriggerLeave(ObjectReference akActionRef) if akActionRef == PlayerREF - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) EndIf @@ -27,4 +27,4 @@ int Property __Config_iMaxStage Auto Quest Property __Config_QuestToSet Auto -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file +GlobalVariable Property AllowIdleChatter Auto \ No newline at end of file diff --git a/source/scripts/_00e_cq_d_01_functions.psc b/source/scripts/_00e_cq_d_01_functions.psc index a90b0abe..ae27a756 100644 --- a/source/scripts/_00e_cq_d_01_functions.psc +++ b/source/scripts/_00e_cq_d_01_functions.psc @@ -1,7 +1,7 @@ Scriptname _00E_CQ_D_01_Functions extends Quest -Import _00E_QuestFunctions Import Utility + ;===================================================================================== ; FUNCTIONS ;===================================================================================== @@ -43,7 +43,7 @@ EndFunction Function FinishQuest(bool bSuccess) If bSuccess == true - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) Self.CompleteQuest() EndIf CQD01_DancerREF.Disable() @@ -58,7 +58,6 @@ Scene Property CQ_D_01_SC01_DijaamGoToBar Auto ;rewards MiscObject Property Gold001 Auto int Property __Config_RewardEXP Auto -_00E_QuestFunctions Property Levelsystem Auto ;actors Actor Property PlayerREF Auto diff --git a/source/scripts/_00e_cqc01_functions.psc b/source/scripts/_00e_cqc01_functions.psc index b1e22334..c010af4d 100644 --- a/source/scripts/_00e_cqc01_functions.psc +++ b/source/scripts/_00e_cqc01_functions.psc @@ -7,7 +7,7 @@ Scriptname _00E_CQC01_Functions extends Quest Function StartSC01() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) CQC01_SC01_CaliaCuratorium.ForceStart() EndFunction @@ -20,9 +20,9 @@ EndFunction Function FinishQuest() - Levelsystem.SetAllowIdleChatter(True) - Levelsystem.GiveEP(__Config_iRewardEXP) - Levelsystem.RemoveSilence() + AllowIdleChatter.SetValue(1) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() SetObjectiveCompleted(5) _00E_Music_Special_Character_Calia.Remove() @@ -42,7 +42,7 @@ EndFunction GlobalVariable Property _00E_DisableQuestTutorials Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto int Property __Config_iRewardEXP = 250 Auto diff --git a/source/scripts/_00e_cqc02_functions.psc b/source/scripts/_00e_cqc02_functions.psc index dc51aa2a..3cccc740 100644 --- a/source/scripts/_00e_cqc02_functions.psc +++ b/source/scripts/_00e_cqc02_functions.psc @@ -1,7 +1,5 @@ Scriptname _00E_CQC02_Functions extends Quest -Import _00E_QuestFunctions - ;===================================================================================== ; FUNCTIONS ;===================================================================================== @@ -46,7 +44,7 @@ Function FinishQuest() _00E_MC_CaliaREF.AddItem(_03E_20_KeeperGreatsword, 1) _00E_SilenceTransitionHighPriority.Remove() - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) EndFunction @@ -54,8 +52,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00e_QuestFunctions Property Levelsystem Auto - int Property __Config_iRewardEXP = 350 Auto Actor Property PlayerREF Auto diff --git a/source/scripts/_00e_cqc03_functions.psc b/source/scripts/_00e_cqc03_functions.psc index d7e80fbb..6ae480cb 100644 --- a/source/scripts/_00e_cqc03_functions.psc +++ b/source/scripts/_00e_cqc03_functions.psc @@ -23,8 +23,8 @@ EndFunction Function FinishQuest() - Levelsystem.SetAllowIdleChatter(True) - Levelsystem.GiveEP(300) + AllowIdleChatter.SetValue(1) + _00E_EPHandler.GiveEP(300) EndFunction @@ -39,4 +39,4 @@ ObjectReference Property CQC03_CaliaPortMarker Auto Scene Property CQC03_SC01_Calia Auto Scene Property CQC02_SC01_CaliaTowerScene01 Auto -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file +GlobalVariable Property AllowIdleChatter Auto \ No newline at end of file diff --git a/source/scripts/_00e_cqc04_addsilencesc.psc b/source/scripts/_00e_cqc04_addsilencesc.psc index 3695701b..2304cf24 100644 --- a/source/scripts/_00e_cqc04_addsilencesc.psc +++ b/source/scripts/_00e_cqc04_addsilencesc.psc @@ -3,7 +3,7 @@ Scriptname _00E_CQC04_AddSilenceSC extends ObjectReference Event OnTriggerEnter(ObjectReference akActionRef) If (CQC04.GetStage() < 15) && (akActionRef == Game.GetPlayer()) && CQC04.IsRunning() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) _00E_SilenceTransitionHighPriority.Add() EndIf @@ -12,7 +12,7 @@ EndEvent Event OnTriggerLeave(ObjectReference akActionRef) If !CQC04.IsCompleted() && (akActionRef == Game.GetPlayer()) && CQC04.IsRunning() - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) _00E_SilenceTransitionHighPriority.Remove() EndIf @@ -24,4 +24,4 @@ Quest Property CQC04 Auto MusicType Property _00E_SilenceTransitionHighPriority Auto -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file +GlobalVariable Property AllowIdleChatter Auto \ No newline at end of file diff --git a/source/scripts/_00e_cqc04_functions.psc b/source/scripts/_00e_cqc04_functions.psc index d4b90c48..a11ba94f 100644 --- a/source/scripts/_00e_cqc04_functions.psc +++ b/source/scripts/_00e_cqc04_functions.psc @@ -47,9 +47,9 @@ EndFunction Function CompleteCQC04() - Levelsystem.RemoveSilence() - Levelsystem.SetAllowIdleChatter(True) - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + AllowIdleChatter.SetValue(1) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) _00E_MC_CaliaREF.AddItem(_01E_20Huetergrossschwert) EndFunction @@ -66,7 +66,7 @@ EndFunction int Property __Config_iRewardEXP = 250 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor Property _00E_MC_CaliaREF Auto diff --git a/source/scripts/_00e_cqc05_functions.psc b/source/scripts/_00e_cqc05_functions.psc index 34680a14..c9b29cac 100644 --- a/source/scripts/_00e_cqc05_functions.psc +++ b/source/scripts/_00e_cqc05_functions.psc @@ -1,7 +1,5 @@ Scriptname _00E_CQC05_Functions extends Quest Conditional -Import _00E_QuestFunctions - ;===================================================================================== ; FUNCTIONS ;===================================================================================== @@ -93,7 +91,7 @@ Function GetIntoPositionIfRomance() ; if CaliaFlirtCounter.GetValueInt() >= 4 && (RomanceLockedCalia.GetValueInt() == 0) Game.ForceThirdPerson() - _00E_QuestFunctions.PlayerAiWalk(False) + _00E_Func_AIWalk.PlayerAIWalk(False) ; EndIf EndFunction @@ -101,7 +99,7 @@ EndFunction Function ReEnableControlsIfNoRomance() if CaliaFlirtCounter.GetValueInt() < 4 || (RomanceLockedCalia.GetValueInt() == 1) - PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() Game.EnablePlayerControls() EndIf @@ -146,7 +144,7 @@ Function PlayKiss() Debug.ToggleMenus() AudioCategoryMAG.SetVolume(0.5) AudioCategorySFX.SetVolume(0.5) - Levelsystem.LockCamera() + _00E_CameraControl.LockVanityCamera() Game.SetPlayerAIDriven(True) Game.DisablePlayerControls(true, true, true, false, true, true, true, true) Game.ForceThirdPerson() @@ -195,7 +193,7 @@ Function FadeOut() Debug.SendAnimationEvent(_00E_MC_CaliaREF, "returnToDefault") PlayerREF.RemoveSpell(_00E_Game_abSlowTime) - _00E_QuestFunctions.PlayerAIWalk() + _00E_Func_AIWalk.PlayerAIWalk() _00E_MC_CaliaREF.MoveTo(CQC05_SC02_CaliaLedgeRef) PlayerREF.MoveTo(CQC05_SC02_PlayerWakeUp) @@ -225,10 +223,10 @@ Function FadeBack() AudioCategoryMAG.SetVolume(1.0) AudioCategorySFX.SetVolume(1.0) FadeToBlackBackIMOD.ApplyCrossFade() - _00E_QuestFunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() Game.EnablePlayerControls() - Levelsystem.UnlockCamera() - _00E_QuestFunctions.RefreshFace() + _00E_CameraControl.UnlockVanityCamera() + _00E_Func_RefreshFace.RefreshFace() _00E_MC_CaliaREF.UnequipAll() Utility.Wait(0.1) _00E_MC_CaliaREF.EquipItem(_00E_Calia_Necklace) @@ -251,13 +249,13 @@ EndFunction Function CompleteAndGiveEP() - _00E_QuestFunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() _00E_SC_KurmaiREF.UnEquipItem(Torch01) CQC05_SC02_DoorREF.SetOpen(True) CQC05_SC02_DoorREF.BlockActivation(False) Game.ShowFirstPersonGeometry(True) Game.EnablePlayerControls() - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) SetObjectiveCompleted(5) If _00E_AchievementsEnabled.GetValueInt() == 1 @@ -281,8 +279,6 @@ bool Property bKissAnimationPlayer Auto Conditional Hidden int Property __Config_iRewardEXP = 500 Auto -_00E_QuestFunctions Property Levelsystem Auto - Actor Property _00E_MC_CaliaREF Auto Actor Property CQC05_SC02_StarshipSpiderREF Auto Actor Property PlayerREF Auto diff --git a/source/scripts/_00e_cqc06_functions.psc b/source/scripts/_00e_cqc06_functions.psc index a5f674f7..df6395e3 100644 --- a/source/scripts/_00e_cqc06_functions.psc +++ b/source/scripts/_00e_cqc06_functions.psc @@ -1,7 +1,5 @@ Scriptname _00E_CQC06_Functions extends Quest -Import _00E_QuestFunctions - ;===================================================================================== ; EVENTS ;===================================================================================== @@ -93,7 +91,7 @@ Function FadeOutAndPort() CQC06_SC01_MusicMarker.Disable() CQC06_SC01_EnableMarker.Enable() PlayerREF.UnequipAll() - PlayerAIWalk() + _00E_Func_AIWalk.PlayerAIWalk() Debug.SendAnimationEvent(_00E_MC_CaliaREF, "returnToDefault") Debug.SendAnimationEvent(PlayerREF, "returnToDefault") @@ -103,7 +101,7 @@ EndFunction Function FadeBack() - PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() FadeToBlackBackIMOD.ApplyCrossFade() CQC06_SC01_BedREF2.Activate(PlayerREF, true) _00E_MC_CaliaREF.SetAnimationVariableBool("bIsSynced", false) @@ -129,7 +127,7 @@ EndFunction Function CompleteAndGiveEP() Utility.Wait(3) - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_ROMANCE_CALIA_01") EndIf @@ -165,8 +163,6 @@ int iTavernSong int Property __Config_iRewardEXP = 500 Auto -_00E_QuestFunctions Property Levelsystem Auto - Armor Property _00E_InvisibleHelmet_Armor Auto Actor Property _00E_MC_CaliaREF Auto diff --git a/source/scripts/_00e_cqj01_functions.psc b/source/scripts/_00e_cqj01_functions.psc index 6019ad57..1986d063 100644 --- a/source/scripts/_00e_cqj01_functions.psc +++ b/source/scripts/_00e_cqj01_functions.psc @@ -40,11 +40,13 @@ EndFunction Function FadeToBlack() - Levelsystem.FadeToBlack() + _00E_FadeToBlackControl FadeToBlackControl = _00E_PlayerFunctions.GetFadeToBlackControl() + + FadeToBlackControl.FadeToBlack() CQJ01_SC01_BreadREF.Enable() CapitalCityCommonTavern_LightLinkMarker.Disable() DisableAcquaintance() - Levelsystem.FadeToBlackBack() + FadeToBlackControl.FadeToBlackBack() EndFunction @@ -73,7 +75,7 @@ EndFunction Function FinishUp() AudioCategoryBardMusic.SetVolume(1) - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) EndFunction @@ -85,8 +87,6 @@ EndFunction int Property __Config_RewardEXP = 250 Auto -_00E_QuestFunctions Property Levelsystem Auto - Actor Property _00E_MC_JesparREF Auto ObjectReference Property CQJ01_AcquaintanceREF Auto diff --git a/source/scripts/_00e_cqj02_functions.psc b/source/scripts/_00e_cqj02_functions.psc index 1e4ccb36..994d7c49 100644 --- a/source/scripts/_00e_cqj02_functions.psc +++ b/source/scripts/_00e_cqj02_functions.psc @@ -1,8 +1,5 @@ Scriptname _00E_CQJ02_Functions extends Quest Conditional -Import _00E_QuestFunctions - - ;===================================================================================== ; EVENTS ;===================================================================================== @@ -151,9 +148,9 @@ EndFunction Function FinishQuest() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() CQJ02_SC02_JesparTGBX.Disable() - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) Self.CompleteAllObjectives() EndFunction @@ -162,8 +159,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - int Property iTobaccoInt Auto Conditional Hidden int Property __Config_iRewardEXP Auto Conditional diff --git a/source/scripts/_00e_cqj04_functions.psc b/source/scripts/_00e_cqj04_functions.psc index 23322c4c..af71e2bd 100644 --- a/source/scripts/_00e_cqj04_functions.psc +++ b/source/scripts/_00e_cqj04_functions.psc @@ -45,12 +45,12 @@ Function TeleportJespar() CQJ04_SC01_Leandra001.SetOutfit(_00E_UCProstituteOutfit) If GetStage() == 30 - Levelsystem.TeleportNPC(_00E_MC_JesparREF, _00E_NPCDumpMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(_00E_MC_JesparREF, _00E_NPCDumpMarker) Else ; Do Nothing EndIf - Levelsystem.GiveEP(__iRewardEXP) + _00E_EPHandler.GiveEP(__iRewardEXP) Self.SetStage(35) @@ -65,8 +65,6 @@ bool Property bCheckedFalseDog Auto Conditional Hidden int Property __iRewardEXP = 500 Auto -_00E_QuestFunctions Property Levelsystem Auto - Actor Property _00E_MC_JesparREF Auto Actor Property CQJ04_SC01_Leandra001 Auto diff --git a/source/scripts/_00e_cqj05_functions.psc b/source/scripts/_00e_cqj05_functions.psc index bd55fa0b..efff51ba 100644 --- a/source/scripts/_00e_cqj05_functions.psc +++ b/source/scripts/_00e_cqj05_functions.psc @@ -27,7 +27,7 @@ Function StartSC01() Game.DisablePlayerControls(false, false, true, false, false, false, false) - Levelsystem.LockCamera() + _00E_CameraControl.LockVanityCamera() PlayerREF.UnequipItem(PlayerREF.GetEquippedWeapon()) @@ -46,7 +46,7 @@ EndFunction Function PlayKissAnimation() - _00E_QuestFunctions.EndWerewolfModeWhenTransformed() + _FS_TheriantrophistControlQuest.TransformBackIfTransformed() If Player.GetRace() == HighElfRace fPlayerScale = _00E_SetActorScale.Change(PlayerREF, 0.92) @@ -97,7 +97,7 @@ Function FadeOut() FadeToBlackHoldIMOD.ApplyCrossFade(1) Utility.Wait(1) PlayerREF.RemoveSpell(_00E_Game_abSlowTime) - _00E_QuestFunctions.PlayerAIWalk() + _00E_Func_AIWalk.PlayerAIWalk() _00E_MC_JesparREF.SetUnconscious(False) PlayerREF.SetUnconscious(False) Debug.ToggleMenus() @@ -110,11 +110,11 @@ Function FadeOut() PlayerREF.MoveTo(MQ13a_StarshipBedREF) PlayerREF.UnequipAll() _00E_MC_JesparREF.UnequipAll() - Levelsystem.SkipTimeToHour(4.0) + _00E_TimeControl.SkipTimeToHour(4.0) CQJ05_SC03_ShipDoorREF.SetOpen(False) CQJ05_SC03_ShipDoorREF.BlockActivation(True) - Levelsystem.UnlockCamera() - _00E_QuestFunctions.RefreshFace() + _00E_CameraControl.UnlockVanityCamera() + _00E_Func_RefreshFace.RefreshFace() EndFunction @@ -127,10 +127,10 @@ Function FadeBack() AudioCategoryMAG.Unmute() AudioCategorySFX.Unmute() FadeToBlackBackIMOD.ApplyCrossFade() - _00E_QuestFunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() Game.SetPlayerAIDriven(False) Game.EnablePlayerControls() - _00E_QuestFunctions.RefreshFace() + _00E_Func_RefreshFace.RefreshFace() EndFunction @@ -154,7 +154,7 @@ EndFunction Function CompleteAndGiveEP() - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_COMPLETE_JESPAR_01") @@ -174,8 +174,6 @@ Race Property HighElfRace Auto int Property __Config_iRewardEXP = 500 Auto -_00E_QuestFunctions Property Levelsystem Auto - Actor Property _00E_MC_JesparREF Auto Actor Property PlayerREF Auto diff --git a/source/scripts/_00e_cqj06_functions.psc b/source/scripts/_00e_cqj06_functions.psc index b9664fe1..d7ff7ea8 100644 --- a/source/scripts/_00e_cqj06_functions.psc +++ b/source/scripts/_00e_cqj06_functions.psc @@ -42,7 +42,7 @@ Function FadeOut() PlayerREF.UnequipAll() _00E_MC_JesparREF.MoveTo(CQJ06_SC01_BedREF) PlayerREF.MoveTo(CQJ06_SC01_Chair) - _00E_QuestFunctions.PlayerAIWalk() + _00E_Func_AIWalk.PlayerAIWalk() CloseDoor() Game.ForceThirdPerson() SetStage(25) @@ -51,7 +51,7 @@ EndFunction Function GiveEPAndCleanUp() - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_ROMANCE_JESPAR_01") EndIf @@ -64,7 +64,7 @@ Function FadeBackCleanUp() CQC06_SC01_EnableMarker.Enable() CQC06_SC01_MusicMarker.Disable() Utility.Wait(2) - _00E_QuestFunctions.PlayerAiWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() Game.EnablePlayerControls() EndFunction @@ -81,8 +81,6 @@ EndFunction int Property __Config_iRewardEXP = 500 Auto -_00E_QuestFunctions Property Levelsystem Auto - _00E_CQC06_Functions Property CQC06 Auto Actor Property _00E_MC_JesparREF Auto diff --git a/source/scripts/_00e_crimequest_functions.psc b/source/scripts/_00e_crimequest_functions.psc index e4e05569..f725f610 100644 --- a/source/scripts/_00e_crimequest_functions.psc +++ b/source/scripts/_00e_crimequest_functions.psc @@ -9,31 +9,31 @@ Function ReduceMainSkills() String sActorValueToReduce01 String sActorValueToReduce02 - If Levelsystem.iMajorClassIndex == 1 + If AffinityControl.iMajorClassIndex == 1 sActorValueToReduce01 = "Block" sActorValueToReduce02 = "HeavyArmor" - ElseIf Levelsystem.iMajorClassIndex == 2 + ElseIf AffinityControl.iMajorClassIndex == 2 sActorValueToReduce01 = "OneHanded" sActorValueToReduce02 = "LightArmor" - ElseIf Levelsystem.iMajorClassIndex == 3 + ElseIf AffinityControl.iMajorClassIndex == 3 sActorValueToReduce01 = "Destruction" sActorValueToReduce02 = "Restoration" - ElseIf Levelsystem.iMajorClassIndex == 4 + ElseIf AffinityControl.iMajorClassIndex == 4 sActorValueToReduce01 = "Sneak" sActorValueToReduce02 = "OneHanded" - ElseIf Levelsystem.iMajorClassIndex == 5 + ElseIf AffinityControl.iMajorClassIndex == 5 sActorValueToReduce01 = "Conjuration" sActorValueToReduce02 = "Illusion" - ElseIf Levelsystem.iMajorClassIndex == 6 + ElseIf AffinityControl.iMajorClassIndex == 6 sActorValueToReduce01 = "Restoration" sActorValueToReduce02 = "Alteration" - ElseIf Levelsystem.iMajorClassIndex == 7 + ElseIf AffinityControl.iMajorClassIndex == 7 sActorValueToReduce01 = "TwoHanded" sActorValueToReduce02 = "HeavyArmor" - ElseIf Levelsystem.iMajorClassIndex == 8 + ElseIf AffinityControl.iMajorClassIndex == 8 sActorValueToReduce01 = "Marksman" sActorValueToReduce02 = "LightArmor" - ElseIf Levelsystem.iMajorClassIndex == 9 + ElseIf AffinityControl.iMajorClassIndex == 9 sActorValueToReduce01 = "LightArmor" sActorValueToReduce02 = "Alchemy" Else @@ -57,7 +57,7 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto +_00E_AffinityControl Property AffinityControl Auto Actor Property PlayerREF Auto diff --git a/source/scripts/_00e_debug_ontranslationprint.psc b/source/scripts/_00e_debug_ontranslationprint.psc index d9474ff8..09226c88 100644 --- a/source/scripts/_00e_debug_ontranslationprint.psc +++ b/source/scripts/_00e_debug_ontranslationprint.psc @@ -2,6 +2,6 @@ Scriptname _00E_Debug_OnTranslationPrint extends ReferenceAlias Event OnTranslationFailed() - _00E_QuestFunctions.PrintDebugMessage("Translation failed for " + Self.GetActorReference().GetActorBase().GetName()) + _00E_Debug.PrintMessage("Translation failed for " + Self.GetActorReference().GetActorBase().GetName()) EndEvent \ No newline at end of file diff --git a/source/scripts/_00e_epupdatefunctions.psc b/source/scripts/_00e_epupdatefunctions.psc index 2358b6e9..bc70af88 100644 --- a/source/scripts/_00e_epupdatefunctions.psc +++ b/source/scripts/_00e_epupdatefunctions.psc @@ -22,7 +22,6 @@ int QuestsCompletedCounter = 0 Event OnInit() if Self == Player GoToState("RealPlayer") - (Player as _00E_PlayerFunctions).InitCombatMusic() RegisterForSingleUpdate(2.0) Endif EndEvent @@ -33,7 +32,6 @@ Event OnPlayerLoadGame() GoToState("RealPlayer") EndIf UpdateLevelUpSystem() ; Failsafe and version update - (Player as _00E_PlayerFunctions).InitCombatMusic() ; Version update from 1.5.2.0 or earlier UnregisterForUpdate() RegisterForSingleUpdate(3.5) EndIf diff --git a/source/scripts/_00e_frozenmescript.psc b/source/scripts/_00e_frozenmescript.psc index c599eb44..20e89733 100644 --- a/source/scripts/_00e_frozenmescript.psc +++ b/source/scripts/_00e_frozenmescript.psc @@ -69,7 +69,7 @@ State Frozen fShatterChance += __Config_ShatterChanceOnslaughtSpellBonus If _00E_Synergy_ArcticWindOnslaught.GetValueInt() == 0 _00E_Synergy_ArcticWindOnslaught.SetValueInt(1) - Levelsystem.ShowSynergyMessage() + _00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage() EndIf EndIf @@ -196,8 +196,6 @@ Float Property __Config_ShatterChanceBluntWeaponBonus = 0.02 AutoReadOnly Float Property __Config_ShatterChanceShockSpellBonus = 0.025 AutoReadOnly Float Property __Config_ShatterChanceOnslaughtSpellBonus = 0.04 AutoReadOnly -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_Synergy_ArcticWindOnslaught Auto GlobalVariable Property _00E_FrozenAchievementUnlocked Auto GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/_00e_fs_a3_mage_thaumaturgicshieldsc.psc b/source/scripts/_00e_fs_a3_mage_thaumaturgicshieldsc.psc index 6f420845..2d8ed3eb 100644 --- a/source/scripts/_00e_fs_a3_mage_thaumaturgicshieldsc.psc +++ b/source/scripts/_00e_fs_a3_mage_thaumaturgicshieldsc.psc @@ -51,7 +51,9 @@ EndFunction Actor akAttacker -float fThrowBackChance = 100 +float fThrowBackChance = 100.0 ; The likelihood that a spell will be reflected onto the caster -Spell Property _00E_FS_A3_Mage_ThaumaturgicShieldArrowSP Auto \ No newline at end of file +Spell Property _00E_FS_A3_Mage_ThaumaturgicShieldArrowSP Auto + +Keyword Property WeapTypeBow Auto diff --git a/source/scripts/_00e_fs_a3_magepsioniccastsc.psc b/source/scripts/_00e_fs_a3_magepsioniccastsc.psc deleted file mode 100644 index 729cccf8..00000000 --- a/source/scripts/_00e_fs_a3_magepsioniccastsc.psc +++ /dev/null @@ -1,29 +0,0 @@ -Scriptname _00E_FS_A3_MagePsionicCastSC extends activemagiceffect - -;===================================================================================== -; EVENTS -;===================================================================================== - -Event OnEffectStart(Actor akTarget, Actor akCaster) - - SetValues() - MAGShoutSprint03.Apply() - MAGShoutSprintFire.Play(PlayerREF) - bDashing = True - RegisterForSingleUpdate(fWaitTimer) - -EndEvent - -;===================================================================================== -; FUNCTIONS -;===================================================================================== - -Function CalculateSpellStrength() - -EndFunction - -;===================================================================================== -; PROPERTIES -;===================================================================================== - -Actor Property PlayerREF Auto \ No newline at end of file diff --git a/source/scripts/_00e_fs_a3_talentbooksc.psc b/source/scripts/_00e_fs_a3_talentbooksc.psc index fcab60c8..79beba91 100644 --- a/source/scripts/_00e_fs_a3_talentbooksc.psc +++ b/source/scripts/_00e_fs_a3_talentbooksc.psc @@ -5,7 +5,7 @@ Scriptname _00E_FS_A3_TalentBookSC extends activemagiceffect ;===================================================================================== Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadMemorySkillBook(sClass, iTier, talentMessage, fRecoveryTime02, fRecoveryTime03, selfRef, TaughtTalent, Word01, Word02, Word03, Perk01, Perk02, Perk03) + _00E_PlayerFunctions.GetSkillControl().ReadMemorySkillBook(sClass, iTier, talentMessage, fRecoveryTime02, fRecoveryTime03, selfRef, TaughtTalent, Word01, Word02, Word03, Perk01, Perk02, Perk03) EndEvent ;===================================================================================== @@ -36,5 +36,3 @@ Message Property talentMessage Auto Perk Property Perk01 Auto Perk Property Perk02 Auto Perk Property Perk03 Auto - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/_00e_fs_cqt01_functions.psc b/source/scripts/_00e_fs_cqt01_functions.psc index a6a49df1..ad1c78e0 100644 --- a/source/scripts/_00e_fs_cqt01_functions.psc +++ b/source/scripts/_00e_fs_cqt01_functions.psc @@ -1,7 +1,5 @@ Scriptname _00E_FS_CQT01_Functions extends Quest -Import _00E_QuestFunctions - ;===================================================================================== ; FUNCTIONS ;===================================================================================== @@ -35,9 +33,9 @@ EndFunction Function FinishUp() - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() - Levelsystem.GiveEP(iRewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() + _00E_EPHandler.GiveEP(iRewardEXP) FS_CQT01.CompleteAllObjectives() FS_NQR04.SetStage(85) @@ -47,8 +45,8 @@ EndFunction Function FailQuest() _00E_FS_CQT01_TharaelMsg.Show() - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() FS_CQT01.FailAllObjectives() FS_NQR04.SetStage(85) @@ -60,8 +58,6 @@ EndFunction int iRewardEXP = 450 -_00E_QuestFunctions Property Levelsystem Auto - Actor Property _00E_FS_NQR04_TharaelREF Auto Scene Property FS_CQT01_SC01_TharaelMemory Auto diff --git a/source/scripts/_00e_fs_environmentscene02trigger.psc b/source/scripts/_00e_fs_environmentscene02trigger.psc index c10da219..474754df 100644 --- a/source/scripts/_00e_fs_environmentscene02trigger.psc +++ b/source/scripts/_00e_fs_environmentscene02trigger.psc @@ -3,7 +3,7 @@ Scriptname _00E_FS_EnvironmentScene02Trigger extends ObjectReference Event OnTriggerEnter (ObjectReference akActionREF) If akActionRef == PlayerREF && FS_EnvironmentScene02.GetStage() == 0 Int CQJ04Stage = CQJ04.GetStage() - If (CQJ04Stage < 10 || CQJ04Stage >= 35) && (CQJ04_SC01_JesparInRedLantern.IsPlaying() == False) && Levelsystem.bAllowIdleChatter && (bDone == False) + If (CQJ04Stage < 10 || CQJ04Stage >= 35) && (CQJ04_SC01_JesparInRedLantern.IsPlaying() == False) && AllowIdleChatter.GetValue() > 0 && (bDone == False) bDone = True FS_EnvironmentScene02.SetStage(5) Self.Disable() @@ -19,4 +19,4 @@ Actor Property PlayerREF Auto Quest Property FS_EnvironmentScene02 Auto Quest Property CQJ04 Auto Scene Property CQJ04_SC01_JesparInRedLantern Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/_00e_fs_mq18c_functions.psc b/source/scripts/_00e_fs_mq18c_functions.psc index 73de3308..ff9642f3 100644 --- a/source/scripts/_00e_fs_mq18c_functions.psc +++ b/source/scripts/_00e_fs_mq18c_functions.psc @@ -6,7 +6,7 @@ Scriptname _00E_FS_MQ18c_Functions extends Quest Function SetUpDreamScene() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) Game.ForceFirstPerson() Game.ShowFirstPersonGeometry(False) _00E_SilenceAbruptHighPriority.Add() @@ -28,7 +28,7 @@ Function SetUpDreamScene() PlayerREF.MoveTo(PlayerStartMarkerNew) SkyrimStormRain.ForceActive(True) - _00E_QuestFunctions.DisableReferenceFormList(FS_MQ18c_StuffToDisable) + _00E_Func_ReferenceFormList.Disable(FS_MQ18c_StuffToDisable) ; if Player.GetSex() == 1 ; FS_MQ18c_PlayerREF.Disable() @@ -63,7 +63,7 @@ Function SetUpDreamScene() MQ12c_SC03_FatherREF.Disable() MQ18b_HouesLight.Disable() Timescale.SetValue(0.1) - Levelsystem.SkipTimeToHour(0.0) + _00E_TimeControl.SkipTimeToHour(0.0) Utility.Wait(2) FadeToWhiteBackIMOD.ApplyCrossFade(afFadeDuration = 3.0) @@ -125,17 +125,17 @@ Function SetUpQyraScene() Game.ForceThirdPerson() PlayerREF.MoveTo(FS_MQ18c_SC01_BedMarkerREF) - Levelsystem.RemoveAllItemsSafeVersion(None) + _00E_PlayerFunctions.GetSafeItemRemove().RemoveAllItemsSafeVersion(None) PlayerREF.AddItem(_00E_EndreleanSublimeGarb_Blue, 1, true) PlayerREF.EquipItemEx(_00E_EndreleanSublimeGarb_Blue, 1) Game.SetPlayerAIDriven(True) Game.DisablePlayerControls() Weather.ReleaseOverride() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) Companion.GetReference().Enable() Companion.GetReference().MoveTo(FS_MQ18c_CompanionSitMarkerREF) Timescale.SetValue(0.01) - Levelsystem.SkipTimeToHour(18.75) + _00E_TimeControl.SkipTimeToHour(18.75) FS_MQ18c_SC01_QyraSC.ForceStart() SkyrimClear.ForceActive(True) _00E_BloodyFXShader.Stop(PlayerREF) @@ -203,7 +203,7 @@ EndFunction int iWindSound -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor akPlayerCorpse diff --git a/source/scripts/_00e_fs_mysticalsymbolsc.psc b/source/scripts/_00e_fs_mysticalsymbolsc.psc index b1a0aaea..2a461c84 100644 --- a/source/scripts/_00e_fs_mysticalsymbolsc.psc +++ b/source/scripts/_00e_fs_mysticalsymbolsc.psc @@ -22,7 +22,7 @@ Event OnActivate(ObjectReference akActionRef) objLight.Delete() self.disable() int EXPBonus = (_00E_FS_MysticalSymbolsGlobalCollected.GetValueInt() * 2) - Levelsystem.GiveEp(RewardExp+EXPBonus) + _00E_EPHandler.GiveEp(RewardExp+EXPBonus) If _00E_FS_MysticalSymbolsGlobalCollected.GetValueInt() == 15 && _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_FETCHQUEST_02") @@ -53,8 +53,6 @@ ObjectReference Property objLight Auto Hidden Int Property RewardExp auto Bool DoOnce = false -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_FS_MysticalSymbolsGlobalCollected Auto GlobalVariable Property _00E_FS_MysticalSymbolsGlobalTotal Auto GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/_00e_fs_nq01_functions.psc b/source/scripts/_00e_fs_nq01_functions.psc index feb9b9ce..7d9ba18f 100644 --- a/source/scripts/_00e_fs_nq01_functions.psc +++ b/source/scripts/_00e_fs_nq01_functions.psc @@ -1,7 +1,5 @@ Scriptname _00E_FS_NQ01_Functions extends Quest Conditional -Import _00E_QuestFunctions - ;===================================================================================== ; EVENTS ;===================================================================================== @@ -89,7 +87,7 @@ EndFunction Function RefreshCombatState() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() FS_NQ01_YuslanREF.StopCombat() FS_NQ01_YuslanREF.StopCombatAlarm() @@ -105,7 +103,7 @@ EndFunction Function StartSC03() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() _00E_TeleportGlobal.SetValueInt(1) FS_NQ01_SC03_MercenaryREF.Enable() _00E_FS_NQ01_EventualityShiftIMOD.Apply() @@ -327,7 +325,7 @@ Function PortBackYuslanClearFirstAct() _00E_TeleportGlobal.SetValueInt(0) FS_NQ01_YuslanREF.RemoveFromFaction(IgnoreInCombatFaction) - Levelsystem.TeleportNPC(FS_NQ01_YuslanREF, _00E_NPCDumpMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(FS_NQ01_YuslanREF, _00E_NPCDumpMarker) RegisterForSingleUpdateGameTime(48.0) _00E_FS_NQ01_Barrier1.Disable() _00E_FS_NQ01_Barrier1Msg.Disable() @@ -504,7 +502,7 @@ Function AdjustGameHourQyra() _00E_TeleportGlobal.SetValueInt(1) Timescale.SetValue(0.01) - Levelsystem.SkipTimeToHour(21) + _00E_TimeControl.SkipTimeToHour(21) EndFunction @@ -601,7 +599,7 @@ EndFunction Function SetSecretEnding() _00E_FS_NQ01_YuslanSecretEnding.SetValueInt(1) - Levelsystem.GiveEP(300) + _00E_EPHandler.GiveEP(300) EndFunction @@ -750,8 +748,8 @@ Function FinishUp() FS_NQ01_YuslanREF.GetActorBase().SetEssential(True) UndercityBarracks2ZorkbansCellar.SetActorOwner(FS_NQ01_ZorkbanREF.GetActorBase()) Timescale.SetValue(10) - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() CompleteQuest() TeleportYuslan() @@ -759,7 +757,7 @@ EndFunction Function TeleportYuslan() - Levelsystem.TeleportNPC(FS_NQ01_YuslanREF, _00E_NPCDumpMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(FS_NQ01_YuslanREF, _00E_NPCDumpMarker) FS_NQ01_YuslanREF.Disable() FS_NQ01_YuslanREF.DeleteWhenAble() @@ -779,8 +777,8 @@ Function FinishUpDreamflower() FS_NQ01_YuslanREF.GetActorBase().SetEssential(True) UndercityBarracks2ZorkbansCellar.SetActorOwner(FS_NQ01_ZorkbanREF.GetActorBase()) Timescale.SetValue(10) - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() TeleportYuslan() EndFunction @@ -801,8 +799,6 @@ int iActivationSoundLP int iGoldReward = 500 -_00E_QuestFunctions Property Levelsystem Auto - Actor SC04_PlayerCopy ObjectReference goreExplosion diff --git a/source/scripts/_00e_fs_nq02_functions.psc b/source/scripts/_00e_fs_nq02_functions.psc index 890e7b3a..40446a74 100644 --- a/source/scripts/_00e_fs_nq02_functions.psc +++ b/source/scripts/_00e_fs_nq02_functions.psc @@ -1,6 +1,6 @@ Scriptname _00E_FS_NQ02_Functions extends Quest -Import _00E_QuestFunctions +Import _00E_PlayerFunctions Import Utility Import Game @@ -38,8 +38,9 @@ EndFunction Function GivePlayerGewuerzwein() - Levelsystem.FadeToBlack() - Levelsystem.FadeToBlackBack() + _00E_FadeToBlackControl FadeToBlackControl = GetFadeToBlackControl() + FadeToBlackControl.FadeToBlack() + FadeToBlackControl.FadeToBlackBack() PlayerREF.AddItem(FoodSolitudeSpicedWine, 1) SetStage(90) @@ -135,7 +136,7 @@ EndFunction Function StartTravelWithEsme() - SetNPCAsCompanion(_00E_FS_NQ02_EsmeREF, True, 500, 200, 150) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_FS_NQ02_EsmeREF, True, 500, 200, 150) _00E_FS_NQ02_TravelState.SetValue(1.0) _00E_FS_NQ02_EsmeREF.EvaluatePackage() @@ -143,7 +144,7 @@ EndFunction Function StopTravelWithEsme() - SetNPCAsCompanion(_00E_FS_NQ02_EsmeREF, FALSE) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_FS_NQ02_EsmeREF, FALSE) _00E_FS_NQ02_TravelState.SetValue(0.0) _00E_FS_NQ02_EsmeREF.EvaluatePackage() @@ -166,7 +167,7 @@ EndFunction Function StartDoorVision() - Levelsystem.VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC04_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC04_FreezeRefs) FS_NQ02_SC04_Vision.ForceStart() _00E_FS_NQ02_TaraREF.Enable() @@ -202,7 +203,7 @@ Function StopDoorVision() wait(0.1) _00E_FS_NQ02_DalMercerREF.Disable() _00E_FS_NQ02_TaraREF.Disable() - Levelsystem.VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC04_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC04_FreezeRefs) FS_NQ02_SC05_AfterVision.ForceStart() _00E_FS_NQ02_EsmeREF.SetAlpha(1.0) _00E_FS_NQ02_EsmeREF.MoveTo(_00E_FS_NQ02_SC03_EsmeMarker) @@ -273,7 +274,7 @@ EndFunction Function StartSchreinVision() - Levelsystem.VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC08_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC08_FreezeRefs) FS_NQ02_SC08_Vision.ForceStart() _00E_FS_NQ02_DalMercerREF.MoveTo(_00E_FS_NQ02_SC08_Marker1) _00E_FS_NQ02_TaraREF.MoveTo(_00E_FS_NQ02_SC08_Marker2) @@ -295,7 +296,7 @@ Function StopSchreinVision() wait(0.1) _00E_FS_NQ02_DalMercerREF.Disable() _00E_FS_NQ02_TaraREF.Disable() - Levelsystem.VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC08_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC08_FreezeRefs) FS_NQ02_SC09_AfterVision.ForceStart() _00E_FS_NQ02_EsmeREF.SetAlpha(1.0) _00E_FS_NQ02_EsmeREF.MoveTo(_00E_FS_NQ02_SC07_Marker2) @@ -373,20 +374,22 @@ EndFunction Function SteintafelFound() - Levelsystem.SetAllowIdleChatter(false) + _00E_FadeToBlackControl FadeToBlackControl = GetFadeToBlackControl() + + AllowIdleChatter.SetValue(0) _00E_FS_NQ02_Travelbox3.Disable() - Levelsystem.FadeToBlack() + FadeToBlackControl.FadeToBlack() _00E_FS_NQ02_EsmeREF.MoveTo(_00E_FS_NQ02_SC10_Marker5) _00E_FS_NQ02_WaerterREF.MoveTo(_00E_FS_NQ02_SC10_Marker3) PlayerREF.MoveTo(_00E_FS_NQ02_SC10_Marker4) StopTravelWithEsme() - Levelsystem.FadeToBlackBack() + FadeToBlackControl.FadeToBlackBack() EndFunction Function StartSC11() - Levelsystem.SetAllowIdleChatter(true) + AllowIdleChatter.SetValue(1) FS_NQ02_SC11_Fahlstern.ForceStart() _00E_FS_NQ02_EsmeREF.MoveTo(_00E_FS_NQ02_SC11_Marker1) _00E_FS_NQ02_EsmeREF.SetOutfit(_00E_FS_NQ02_EsmeArmorOutfit) @@ -467,7 +470,7 @@ EndFunction Function StartFahlsternVision1() - Levelsystem.VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC12_FreezeRefs, true) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC12_FreezeRefs, true) FS_NQ02_SC12_Vision.ForceStart() _00E_FS_NQ02_TaraREF.Enable() _00E_FS_NQ02_TaraREF.MoveTo(_00E_FS_NQ02_SC12_TMarker1) @@ -496,7 +499,7 @@ Function StopFahlsternVision1() _00E_FS_NQ02_DalMercerREF.Disable() _00E_FS_NQ02_TaraREF.Disable() _00E_FS_NQ02_SC12_WomanREF.Disable() - Levelsystem.VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC12_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC12_FreezeRefs) FS_NQ02_SC13_AfterVision.ForceStart() _00E_FS_NQ02_EsmeREF.SetAlpha(1.0) _00E_FS_NQ02_EsmeREF.MoveTo(_00E_FS_NQ02_SC13_Marker1) @@ -526,7 +529,7 @@ EndFunction Function StartFahlsternVision2() - Levelsystem.VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC14_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC14_FreezeRefs) _00E_FS_NQ02_SC14_WomanREF.Enable() _00E_FS_NQ02_SC14_WomanREF.MoveTo(_00E_FS_NQ02_SC14_WMarker) _00E_FS_NQ02_SC14_ManREF.Enable() @@ -547,7 +550,7 @@ Function StopFahlsternVision2() Wait(0.1) _00E_FS_NQ02_SC14_WomanREF.Disable() _00E_FS_NQ02_SC14_ManREF.Disable() - Levelsystem.VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC14_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC14_FreezeRefs) _00E_FS_NQ02_EsmeREF.SetAlpha(1.0) _00E_FS_NQ02_EsmeREF.MoveTo(_00E_FS_NQ02_SC14_EMarker) _00E_FS_NQ02_EsmeMiscTalkVar.SetValue(1) @@ -611,7 +614,7 @@ EndFunction Function StartFahlsternVision3() - Levelsystem.VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC15_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC15_FreezeRefs) _00E_FS_NQ02_CandleMarker.Enable() _00E_FS_NQ02_SC12_WomanREF.SetAlpha(1.0) _00E_FS_NQ02_DalMercerREF.SetAlpha(1.0) @@ -670,7 +673,7 @@ Function StopFahlsternVision3() _00E_FS_NQ02_SC14_ManREF.Disable() _00E_FS_NQ02_SC15_ManREF.Disable() _00E_FS_NQ02_CandleMarker.Disable() - Levelsystem.VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC15_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC15_FreezeRefs) _00E_FS_NQ02_EsmeREF.SetAlpha(1.0) _00E_FS_NQ02_EsmeMiscTalkVar.SetValue(1) @@ -678,14 +681,15 @@ EndFunction Function SC15FadeOutIn() - Levelsystem.FadeToBlack() - Levelsystem.FadeToBlackBack() + _00E_FadeToBlackControl FadeToBlackControl = GetFadeToBlackControl() + FadeToBlackControl.FadeToBlack() + FadeToBlackControl.FadeToBlackBack() EndFunction Function DisableFahlsternWall() - Levelsystem.SetAllowIdleChatter(true) + AllowIdleChatter.SetValue(1) _00E_FS_NQ02_SC15_Wall.Disable() StartTravelWithEsme() @@ -710,7 +714,7 @@ EndEvent int GameDay -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Quest Property FS_NQ02 Auto diff --git a/source/scripts/_00e_fs_nq02_functions2.psc b/source/scripts/_00e_fs_nq02_functions2.psc index a8576196..9c928977 100644 --- a/source/scripts/_00e_fs_nq02_functions2.psc +++ b/source/scripts/_00e_fs_nq02_functions2.psc @@ -1,6 +1,6 @@ Scriptname _00E_FS_NQ02_Functions2 extends Quest -Import _00E_QuestFunctions +Import _00E_PlayerFunctions Import Utility Import Game @@ -10,7 +10,7 @@ Import Game Function StartTravelWithEsme() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_FS_NQ02_EsmeREF, True, 500, 200, 150) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_FS_NQ02_EsmeREF, True, 500, 200, 150) _00E_FS_NQ02_TravelState.SetValue(1.0) _00E_FS_NQ02_EsmeREF.EvaluatePackage() @@ -18,7 +18,7 @@ EndFunction Function StopTravelWithEsme() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_FS_NQ02_EsmeREF, FALSE) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_FS_NQ02_EsmeREF, FALSE) _00E_FS_NQ02_TravelState.SetValue(0.0) _00E_FS_NQ02_EsmeREF.EvaluatePackage() @@ -29,7 +29,7 @@ Function TeleportEsmeToDuenenhaim() RegisterForUpdateGameTime(24) GameDay = GameDaysPassed.GetValue() as Int - Levelsystem.TeleportNPC(_00E_FS_NQ02_EsmeREF, _00E_FS_NQ02_EsmeTeleportMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(_00E_FS_NQ02_EsmeREF, _00E_FS_NQ02_EsmeTeleportMarker) StopTravelWithEsme() wait(0.1) _00E_FS_NQ02_EsmeREF.Disable() @@ -191,7 +191,7 @@ Function StartSC18() _00E_FS_NQ02_RobeDisableMarker.Disable() FS_NQ02_SC18_Vision.ForceStart() AudioCategoryAmb.SetVolume(0.5) - Levelsystem.VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC18_FreezeRefs, True) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC18_FreezeRefs, True) _00E_SilenceTransitionLowPriority.Add() _00E_FS_NQ02_SC14_ManREF.SetAlpha(0.5) _00E_FS_NQ02_SC14_WomanREF.SetAlpha(0.5) @@ -267,7 +267,7 @@ EndFunction Function StopSC18() - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) _00E_SilenceTransitionLowPriority.Remove() _00E_Music_Character_VeiledWomanLoop.Remove() _00E_FS_NQ02_SC12_WomanREF.SetAlpha(0.0) @@ -288,7 +288,7 @@ Function StopSC18() _00E_FS_NQ02_SC15_ManREF.Disable() _00E_FS_NQ02_VeiledWoman1.Disable() _00E_FS_NQ02_RobeDisableMarker.Enable() - Levelsystem.VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC18_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_FS_NQ02_VisionRefs, _00E_FS_NQ02_SC18_FreezeRefs) AudioCategoryAmb.SetVolume(1.0) FS_NQ02_SC19_AfterVision.ForceStart() ; _00E_FS_NQ02_EsmeREF.SetAlpha(1.0) @@ -298,8 +298,9 @@ EndFunction Function SC19FadeOut() - Levelsystem.FadeToBlack() - Levelsystem.FadeToBlackBack() + _00E_FadeToBlackControl FadeToBlackControl = GetFadeToBlackControl() + FadeToBlackControl.FadeToBlack() + FadeToBlackControl.FadeToBlackBack() _00E_SilenceLongTransitionHighPriority.Add() EndFunction @@ -312,10 +313,10 @@ Function SC19DisableEsme() _00E_SilenceLongTransitionHighPriority.Remove() _00E_FS_NQ02_Music_Theme.Remove() if SympathyEsme.GetValue() >= 0 - SetStage(960) + SetStage(960) else - SetStage(1060) - Levelsystem.GiveEP(3000) + SetStage(1060) + _00E_EPHandler.GiveEP(3000) endif EndFunction @@ -351,14 +352,15 @@ Function MoveToEpilogPosition() If PlayerREF.IsSneaking() PlayerREF.StartSneaking() EndIf - Levelsystem.FadeToBlack() + _00E_FadeToBlackControl FadeToBlackControl = GetFadeToBlackControl() + FadeToBlackControl.FadeToBlack() _00E_FS_NQ02_EsmeREF.MoveTo(_00E_FS_NQ02_SC21_EsmeMarker) PlayerREF.MoveTo(_00E_FS_NQ02_SC21_PlayerMarker) _00E_SilenceLongTransitionHighPriority.Add() - Levelsystem.SkipTimeToHour(20) + _00E_TimeControl.SkipTimeToHour(20) SkyrimClear_Aurora_Green.ForceActive(True) Game.ForceThirdPerson() - Levelsystem.FadeToBlackBack() + FadeToBlackControl.FadeToBlackBack() DisablePlayerControls() SetStage(1005) @@ -366,14 +368,16 @@ EndFunction Function EndEpilog() - Levelsystem.FadeToBlack() + _00E_FadeToBlackControl FadeToBlackControl = GetFadeToBlackControl() + + FadeToBlackControl.FadeToBlack() PlayerREF.MoveTo(_00E_FS_NQ02_SC21_Marker2) EnablePlayerControls() _00E_SilenceLongTransitionHighPriority.Remove() _00E_FS_NQ02_Music_Theme.Remove() - Levelsystem.FadeToBlackBack() + FadeToBlackControl.FadeToBlackBack() Weather.ReleaseOverride() - Levelsystem.GiveEP(3500) + _00E_EPHandler.GiveEP(3500) Setstage(1030) If _00E_AchievementsEnabled.GetValueInt() == 1 @@ -405,7 +409,7 @@ EndEvent int GameDay -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Quest Property FS_NQ02 Auto diff --git a/source/scripts/_00e_fs_nq02_lagerfeuerscript.psc b/source/scripts/_00e_fs_nq02_lagerfeuerscript.psc index fa7918d4..08946f7c 100644 --- a/source/scripts/_00e_fs_nq02_lagerfeuerscript.psc +++ b/source/scripts/_00e_fs_nq02_lagerfeuerscript.psc @@ -5,16 +5,17 @@ Import Utility Event OnActivate(ObjectReference akActionRef) if akActionRef == PlayerREF && FS_NQ02.GetStage() == 70 GoToState("DoNothing") - Levelsystem.FadeToBlack() + _00E_FadeToBlackControl FadeToBlackControl = _00E_PlayerFunctions.GetFadeToBlackControl() + FadeToBlackControl.FadeToBlack() FS_NQ02.SetStage(80) wait(0.1) _00E_FS_NQ02_EsmeREF.MoveTo(_00E_FS_NQ02_SC02_EsmeMarker2) PlayerREF.MoveTo(_00E_FS_NQ02_SC02_PlayerMarker) _00E_FS_NQ02_CaravanCampfireOff.Disable() - Levelsystem.SkipTimeToHour(0) + _00E_TimeControl.SkipTimeToHour(0) _00E_SilenceLongTransitionHighPriority.Add() self.Disable() - Levelsystem.FadeToBlackBack() + FadeToBlackControl.FadeToBlackBack() Endif EndEvent @@ -28,8 +29,7 @@ EndState Actor Property PlayerREF Auto Actor Property _00E_FS_NQ02_EsmeREF Auto Quest Property FS_NQ02 Auto -_00E_QuestFunctions Property Levelsystem Auto ObjectReference Property _00E_FS_NQ02_SC02_PlayerMarker Auto ObjectReference Property _00E_FS_NQ02_SC02_EsmeMarker2 Auto ObjectReference Property _00E_FS_NQ02_CaravanCampfireOff Auto -MusicType Property _00E_SilenceLongTransitionHighPriority Auto \ No newline at end of file +MusicType Property _00E_SilenceLongTransitionHighPriority Auto diff --git a/source/scripts/_00e_fs_nq03_functions.psc b/source/scripts/_00e_fs_nq03_functions.psc index ed1b16e7..a42a07b8 100644 --- a/source/scripts/_00e_fs_nq03_functions.psc +++ b/source/scripts/_00e_fs_nq03_functions.psc @@ -1,6 +1,6 @@ Scriptname _00E_FS_NQ03_Functions extends Quest -Import _00E_QuestFunctions +Import _00E_PlayerFunctions Import Utility Import Game @@ -37,7 +37,7 @@ Function PrepareSC02() Game.DisablePlayerControls() _FS_TheriantrophistControlQuest.TransformBackIfTransformed() _00E_TeleportGlobal.SetValue(1) - Levelsystem.FadeToBlack() + GetFadeToBlackControl().FadeToBlack() PlayerREF.MoveTo(_00E_FS_NQ03_SC02_PlayerMarker) _00E_FS_NQ03_DisableRatsMarker.Disable() ; This enables Yuslan, Lexil and Lishari _00E_FS_NQ03_YuslanREF.MoveTo(_00E_FS_NQ03_SC02_YuslanMarker) @@ -53,7 +53,7 @@ EndFunction Function FadeBack() - Levelsystem.FadeToBlackBack() + GetFadeToBlackControl().FadeToBlackBack() Game.EnablePlayerControls() EndFunction @@ -256,7 +256,7 @@ EndFunction Function TeleportPlayerToVision2() - Levelsystem.FadeToBlack() + GetFadeToBlackControl().FadeToBlack() PlayerREF.PlayIdle(IdleStop_Loose) Game.SetPlayerAIDriven(False) _00E_MAGEldritchFireM.Play(PlayerREF) @@ -265,7 +265,7 @@ Function TeleportPlayerToVision2() _00E_FS_NQ03_PlayerVoiceREF.MoveTo(_00E_FS_NQ03_PlayerVoiceMarker2) wait(0.1) Game.EnablePlayerControls() - Levelsystem.FadeToBlackBack() + GetFadeToBlackControl().FadeToBlackBack() wait(0.1) FS_NQ03_SC18_TavernForcegreet.ForceStart() Game.RequestAutoSave() @@ -307,7 +307,7 @@ EndFunction Function StartSC20() Game.SetPlayerAIDriven(True) - Levelsystem.FadeToBlack() + GetFadeToBlackControl().FadeToBlack() FS_NQ03_SC20_TavernTalk.ForceStart() PlayerREF.Moveto(_00E_FS_NQ03_SC20_PlayerChair) _00E_FS_NQ03_GarrecREF.Moveto(_00E_FS_NQ03_SC20_GarrecChair) @@ -315,7 +315,7 @@ Function StartSC20() _00E_FS_NQ03_SC20_Door.SetOpen(false) Game.DisablePlayerControls() wait(3) - Levelsystem.FadeToBlackBack() + GetFadeToBlackControl().FadeToBlackBack() EndFunction @@ -356,7 +356,7 @@ EndFunction Function KnockOut() - Levelsystem.FadeToBlack() + GetFadeToBlackControl().FadeToBlack() _00E_FS_NQ03_FaintIMOD.Remove() PlayerREF.MoveTo(_00E_FS_NQ03_SC21_PlayerMarker) wait(0.1) @@ -376,14 +376,14 @@ EndFunction Function Wakeup() _00E_FS_NQ03_SC21_Door.SetOpen(false) - Levelsystem.FadeToBlackBack() + GetFadeToBlackControl().FadeToBlackBack() _00E_FS_NQ03_FaintIMOD.Apply() EndFunction Function FadeToBlack() - Levelsystem.FadeToBlack() + GetFadeToBlackControl().FadeToBlack() _00E_FS_NQ03_FaintIMOD.Remove() _00E_MQ07a_VisionIMOD.Remove() @@ -420,7 +420,7 @@ EndFunction Function SetUpEpilogTalk() - Levelsystem.FadeToBlack() + GetFadeToBlackControl().FadeToBlack() Game.DisablePlayerControls() PlayerREF.MoveTo(_00E_FS_NQ03_SC22_PlayerMarker2) _00E_FS_NQ03_LexilREF.MoveTo(_00E_FS_NQ03_SC22_LexilChair) @@ -436,13 +436,13 @@ Function SetUpEpilogTalk() _00E_FS_NQ03_SC02_StorageDoor.Lock(false) Game.EnablePlayerControls() SetStage(260) - Levelsystem.FadeToBlackBack() + GetFadeToBlackControl().FadeToBlackBack() EndFunction Function FinishQuest() - Levelsystem.GiveEP(1000) + _00E_EPHandler.GiveEP(1000) _00E_FS_NQ03_FinishedVar.SetValue(1) _00E_TeleportGlobal.SetValue(0) @@ -478,8 +478,6 @@ EndEvent Int GameDay Int SoundID01 -_00E_QuestFunctions Property Levelsystem Auto - Quest Property FS_NQ03 Auto Actor Property _00E_FS_NQ03_MessengerGirlREF Auto diff --git a/source/scripts/_00e_fs_nq05_functions.psc b/source/scripts/_00e_fs_nq05_functions.psc index a00fff50..2a5ca44a 100644 --- a/source/scripts/_00e_fs_nq05_functions.psc +++ b/source/scripts/_00e_fs_nq05_functions.psc @@ -2,8 +2,6 @@ Scriptname _00E_FS_NQ05_Functions extends Quest Import Utility Import Game -Import _00E_QuestFunctions -_00E_QuestFunctions Property Levelsystem Auto ;===================================================================================== ; FUNCTIONS @@ -86,10 +84,11 @@ EndFunction Function Warten() - Levelsystem.FadeToBlack() + _00E_FadeToBlackControl FadeToBlackControl = _00E_PlayerFunctions.GetFadeToBlackControl() + FadeToBlackControl.FadeToBlack() wait(3) Mirell.MoveTo(FS_NQ05MirellWohnzimmerMarker) - Levelsystem.FadeToBlackBack() + FadeToBlackControl.FadeToBlackBack() SetCurrentStageID(75) EndFunction @@ -112,7 +111,7 @@ Function GiveMirellElixir() PlayerREF.RemoveItem(FS_NQ05_Elixier, 1) PlayerREF.AddItem(FS_NQ05_Amulett, 1) - Levelsystem.GiveEP(300) + _00E_EPHandler.GiveEP(300) EndFunction @@ -142,7 +141,7 @@ EndFunction Function PrepareEnde2() - Levelsystem.GiveEP(350) + _00E_EPHandler.GiveEP(350) Tochter.SetGhost(false) Tochter.SetActorValue("Aggression", 2) Tochter.RemoveFromAllFactions() @@ -173,7 +172,7 @@ Function GivePlayerBelohnung() PlayerREF.RemoveItem(FS_NQ05_Elixier, 1) PlayerREF.AddItem(FS_NQ05_Amulett, 1) - Levelsystem.GiveEP(400) + _00E_EPHandler.GiveEP(400) EndFunction diff --git a/source/scripts/_00e_fs_nq06_functions.psc b/source/scripts/_00e_fs_nq06_functions.psc index 6c78f90c..7e2c9593 100644 --- a/source/scripts/_00e_fs_nq06_functions.psc +++ b/source/scripts/_00e_fs_nq06_functions.psc @@ -1,6 +1,6 @@ Scriptname _00E_FS_NQ06_Functions extends Quest -Import _00E_QuestFunctions +Import _00E_PlayerFunctions Import Utility Import Game @@ -71,21 +71,21 @@ EndFunction Function Bolzerei() _00E_FS_NQ06_DariusKupferhammerREF.SetGhost(false) - Levelsystem.Brawl(_00E_FS_NQ06_DariusKupferhammerREF) + _00E_PlayerFunctions.GetBrawlControl().Brawl(_00E_FS_NQ06_DariusKupferhammerREF) ; _00E_FS_NQ06_DariusKupferhammerREF.StartCombat(PlayerREF) EndFunction Function MoveDariusToJail() - Levelsystem.FadeToBlack() + GetFadeToBlackControl().FadeToBlack() wait(1) PlayerREF.MoveTo(_00E_FS_NQ06_PlayerJailMarker) _00E_FS_NQ06_DariusKupferhammerREF.MoveTo(_00E_FS_NQ06_DariusJailMarker) _00E_FS_NQ06_DariusKupferhammerREF.EvaluatePackage() _00E_FS_NQ06_GuardREF.MoveTo(_00E_FS_NQ06_GuardPresentEvidenceMarker) _00E_FS_NQ06_GuardREF.EvaluatePackage() - Levelsystem.FadeToBlackBack() + GetFadeToBlackControl().FadeToBlackBack() EndFunction @@ -101,14 +101,14 @@ Function EndDariusInJail() PlayerREF.AddItem(Gold001, 500) PlayerREF.RemoveItem(_00E_FS_NQ06_LetterLighthouse, 1) - Levelsystem.GiveEP(1500) + _00E_EPHandler.GiveEP(1500) wait(1) - Levelsystem.FadeToBlack() + GetFadeToBlackControl().FadeToBlack() wait(1) PlayerREF.MoveTo(_00E_FS_NQ06_PlayerJailMarker) _00E_FS_NQ06_GuardREF.MoveTo(_00E_FS_NQ06_GuardStandMarker) _00E_FS_NQ06_GuardREF.EvaluatePackage() - Levelsystem.FadeToBlackBack() + GetFadeToBlackControl().FadeToBlackBack() SetStage(130) EndFunction @@ -117,9 +117,9 @@ Function EndKarymeaInJail() PlayerREF.AddItem(Gold001, 500) PlayerREF.RemoveItem(_00E_FS_NQ06_LetterLighthouse, 1) - Levelsystem.GiveEP(1500) + _00E_EPHandler.GiveEP(1500) wait(1) - Levelsystem.FadeToBlack() + GetFadeToBlackControl().FadeToBlack() wait(1) PlayerREF.MoveTo(_00E_FS_NQ06_PlayerJailMarker) _00E_FS_NQ06_GuardREF.MoveTo(_00E_FS_NQ06_GuardStandMarker) @@ -129,7 +129,7 @@ Function EndKarymeaInJail() _00E_FS_NQ06_KarymeaREF.MoveTo(_00E_FS_NQ06_DariusJailMarker) _00E_FS_NQ06_KarymeaREF.EvaluatePackage() _00E_FS_NQ06_KarymeaREF.BlockActivation(true) - Levelsystem.FadeToBlackBack() + GetFadeToBlackControl().FadeToBlackBack() SetStage(160) EndFunction @@ -138,7 +138,6 @@ EndFunction ; PROPERTIES ;===================================================================================== MiscObject Property Gold001 Auto -_00E_QuestFunctions Property Levelsystem Auto Actor Property PlayerREF Auto Actor Property _00E_FS_NQ06_OldManREF Auto diff --git a/source/scripts/_00e_fs_nq07_doorrepairscript.psc b/source/scripts/_00e_fs_nq07_doorrepairscript.psc index 2cd0a80d..3baed7ea 100644 --- a/source/scripts/_00e_fs_nq07_doorrepairscript.psc +++ b/source/scripts/_00e_fs_nq07_doorrepairscript.psc @@ -1,13 +1,12 @@ Scriptname _00E_FS_NQ07_DoorRepairScript extends ObjectReference -Import _00E_QuestFunctions - Event OnActivate(ObjectReference akActionRef) - if (FS_NQ07.GetStage() >= 115 && akActionRef == PlayerREF && PlayerREF.GetItemCount(_00E_FS_NQ07_MiscDoor) >= 1) + if (FS_NQ07.GetCurrentStageID() >= 115 && akActionRef == PlayerREF && PlayerREF.GetItemCount(_00E_FS_NQ07_MiscDoor) >= 1) + _00E_FadeToBlackControl FadeToBlackControl = _00E_PlayerFunctions.GetFadeToBlackControl() PlayerREF.RemoveItem(_00E_FS_NQ07_MiscDoor, PlayerREF.GetItemCount(_00E_FS_NQ07_MiscDoor)) - Levelsystem.FadeToBlack() + FadeToBlackControl.FadeToBlack() _00E_FS_NQ07_AuroraDoorREF.Enable() - Levelsystem.FadeToBlackBack() + FadeToBlackControl.FadeToBlackBack() FS_NQ07.SetObjectiveCompleted(35) _00E_FS_NQ07_DoorRepaired.SetValue(1) Disable() @@ -19,17 +18,14 @@ Event OnActivate(ObjectReference akActionRef) EndEvent Event OnUnload() - if FS_NQ07.GetStage() >= 130 + if FS_NQ07.GetCurrentStageID() >= 130 Disable() EndIf EndEvent Message Property _00E_FS_NQ07_RepairDoorMSG Auto - - Actor Property PlayerREF Auto -_00E_QuestFunctions Property Levelsystem Auto MiscObject Property _00E_FS_NQ07_MiscDoor Auto ObjectReference Property _00E_FS_NQ07_AuroraDoorREF Auto Quest Property FS_NQ07 Auto -GlobalVariable Property _00E_FS_NQ07_DoorRepaired Auto \ No newline at end of file +GlobalVariable Property _00E_FS_NQ07_DoorRepaired Auto diff --git a/source/scripts/_00e_fs_nq07_functions.psc b/source/scripts/_00e_fs_nq07_functions.psc index 9525a297..95a22b6a 100644 --- a/source/scripts/_00e_fs_nq07_functions.psc +++ b/source/scripts/_00e_fs_nq07_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_FS_NQ07_Functions extends Quest -Import _00E_QuestFunctions Import Utility Import Game @@ -9,15 +8,15 @@ Import Game ;===================================================================================== Function SetupSC01() - - Levelsystem.FadeToBlack() + + _00E_PlayerFunctions.GetFadeToBlackControl().FadeToBlack() _00E_FS_NQ07_SC01_DisableMarker.Disable() _00E_FS_NQ07_Aushang1.Disable() _00E_FS_NQ07_Aushang2.Disable() wait(1) _00E_FS_NQ07_MaxusREF.MoveTo(_00E_FS_NQ07_MaxusTavernMarker) PlayerREF.MoveTo(_00E_FS_NQ07_PlayerTavernMarker) - Levelsystem.FadeToBlackBack() + _00E_PlayerFunctions.GetFadeToBlackControl().FadeToBlackBack() SetCurrentStageID(30) EndFunction @@ -115,7 +114,7 @@ EndFunction Function GiveAuroraTrank() ;_00E_FS_NQ07_AuroraREF.AddItem(_00E_FS_NQ07_AuroraTrank, 1) - Levelsystem.FadeToBlack() + _00E_PlayerFunctions.GetFadeToBlackControl().FadeToBlack() PlayerREF.RemoveItem(_00E_FS_NQ07_AuroraTrank, 1, true, _00E_FS_NQ07_AuroraREF) wait(1) @@ -123,13 +122,13 @@ Function GiveAuroraTrank() _00E_FS_NQ07_AuroraDoorREF.SetOpen(False) endif - Levelsystem.SkipTimeToHour(22) + _00E_TimeControl.SkipTimeToHour(22) SkyrimClear.ForceActive(True) ; break the pipesmoking animation bug by reseting the NPC _00E_FS_NQ07_AuroraREF.Reset(_00E_FS_NQ07_AuroraREF) - Levelsystem.FadeToBlackBack() + _00E_PlayerFunctions.GetFadeToBlackControl().FadeToBlackBack() wait(1) SetCurrentStageID(135) @@ -411,8 +410,9 @@ EndFunction Function FadeAndForcegreet() - Levelsystem.FadeToBlack() - Levelsystem.FadeToBlackBack() + _00E_FadeToBlackControl FadeToBlackControl = _00E_PlayerFunctions.GetFadeToBlackControl() + FadeToBlackControl.FadeToBlack() + FadeToBlackControl.FadeToBlackBack() ;FS_NQ07_SC06_MaxusForcegreet.ForceStart() EndFunction @@ -420,7 +420,7 @@ EndFunction Function GivePlayerBelohnung() PlayerREF.AddItem(Gold001, 450) - Levelsystem.GiveEP(1800) + _00E_EPHandler.GiveEP(1800) EndFunction @@ -433,7 +433,7 @@ EndFunction Function StartDinnerScene() _00E_SilenceTransitionLowPriority.Add() - Levelsystem.FadeToBlack() + _00E_PlayerFunctions.GetFadeToBlackControl().FadeToBlack() wait(1) _00E_FS_NQ07_DinnerEnableMarker.Enable() Game.DisablePlayerControls() @@ -443,11 +443,11 @@ Function StartDinnerScene() _00E_FS_NQ07_AuroraREF.MoveTo(_00E_FS_NQ07_AuroraDinnerMarker) _00E_FS_NQ07_AuroraREF.EvaluatePackage() Debug.SendAnimationEvent(_00E_FS_NQ07_AuroraREF, "IdleForceDefaultState") - Levelsystem.SkipTimeToHour(18.5) + _00E_TimeControl.SkipTimeToHour(18.5) SkyrimClear.ForceActive(True) FS_NQ07_SC07_DinnerScene.ForceStart() wait(1) - Levelsystem.FadeToBlackBack() + _00E_PlayerFunctions.GetFadeToBlackControl().FadeToBlackBack() EndFunction @@ -460,9 +460,9 @@ EndFunction Function EndDinnerScene() - Levelsystem.FadeToBlack() + _00E_PlayerFunctions.GetFadeToBlackControl().FadeToBlack() wait(1) - Levelsystem.SkipTimeToHour(8) + _00E_TimeControl.SkipTimeToHour(8) SetObjectiveCompleted(95) _00E_FS_NQ07_DinnerEnableMarker.Disable() Game.EnablePlayerControls() @@ -476,8 +476,8 @@ Function EndDinnerScene() _00E_SilenceTransitionLowPriority.Remove() Weather.ReleaseOverride() wait(1) - Levelsystem.FadeToBlackBack() - Levelsystem.GiveEP(2000) + _00E_PlayerFunctions.GetFadeToBlackControl().FadeToBlackBack() + _00E_EPHandler.GiveEP(2000) EndFunction @@ -562,8 +562,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - ReferenceAlias Property Player Auto Actor Property PlayerREF Auto diff --git a/source/scripts/_00e_fs_nq09_functions.psc b/source/scripts/_00e_fs_nq09_functions.psc index fefcefc6..63ca0a04 100644 --- a/source/scripts/_00e_fs_nq09_functions.psc +++ b/source/scripts/_00e_fs_nq09_functions.psc @@ -12,7 +12,7 @@ Function UpdateSoulCount() if CurrentCount == 20 Self.SetObjectiveCompleted(5, 1) - Levelsystem.GiveEP(50) + _00E_EPHandler.GiveEP(50) Self.SetStage(10) ElseIf CurrentCount < 20 Self.SetObjectiveCompleted(5,0) @@ -23,7 +23,7 @@ EndFunction Function FinishUp() - Levelsystem.GiveEP(iRewardEXP) + _00E_EPHandler.GiveEP(iRewardEXP) Game.GetPlayer().AddItem(_00E_Phasmalist_Soul_Hidden_Tier6, 1) If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_APPARITION_02") @@ -35,8 +35,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - int iRewardEXP = 1000 MiscObject Property _00E_Phasmalist_Soul_Hidden_Tier6 Auto diff --git a/source/scripts/_00e_fs_nqr01_pitfightersc.psc b/source/scripts/_00e_fs_nqr01_pitfightersc.psc index e78a7ad8..365a090e 100644 --- a/source/scripts/_00e_fs_nqr01_pitfightersc.psc +++ b/source/scripts/_00e_fs_nqr01_pitfightersc.psc @@ -5,9 +5,3 @@ Event OnInit() Self.StartCombat(Self.GetLinkedRef() as Actor) EndEvent - -Event OnInit() - - Self.StartCombat(Self.GetLinkedRef() as Actor) - -EndEvent \ 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 33da290b..f66e2d31 100644 --- a/source/scripts/_00e_fs_nqr02_functions.psc +++ b/source/scripts/_00e_fs_nqr02_functions.psc @@ -1,7 +1,5 @@ Scriptname _00E_FS_NQR02_Functions extends Quest -Import _00E_QuestFunctions - ;===================================================================================== ; EVENTS ;===================================================================================== @@ -62,7 +60,7 @@ EndFunction Function SetUpSC04() - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR02_TharaelREF, True, 550, 400, 400) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR02_TharaelREF, True, 550, 400, 400) FS_NQR02_SC04_TarPit.ForceStart() EndFunction @@ -161,7 +159,7 @@ EndFunction Function SetUpSC06() - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR02_TharaelREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR02_TharaelREF, False) FS_NQR02_TharaelREF.EquipItemEx(_00E_FS_NQR05_Tharael_Dagger, 1, true) SetObjectiveCompleted(30) SetObjectiveDisplayed(35) @@ -184,14 +182,14 @@ EndFunction Function FinishUp() SetObjectiveCompleted(35) - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR02_TharaelREF, False) - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() - Levelsystem.SetAllowIdleChatter(True) - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR02_TharaelREF, False) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() + AllowIdleChatter.SetValue(1) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) FS_NQR03.SetStage(5) Self.CompleteQuest() - Levelsystem.TeleportNPC(FS_NQR02_TharaelREF, _00E_NPCDumpMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(FS_NQR02_TharaelREF, _00E_NPCDumpMarker) FS_NQR02_TharaelREF.Disable() FS_NQR02_DummyToDisableREF.Enable() FS_NQR02_IAmInTheWayDogREF.Enable() @@ -215,7 +213,7 @@ EndFunction int __Config_iRewardEXP = 500 -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor Property FS_NQR02_TharaelREF Auto Actor Property FS_NQR02_QalianREF Auto diff --git a/source/scripts/_00e_fs_nqr03_functions.psc b/source/scripts/_00e_fs_nqr03_functions.psc index 83febad0..5d384e3d 100644 --- a/source/scripts/_00e_fs_nqr03_functions.psc +++ b/source/scripts/_00e_fs_nqr03_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_FS_NQR03_Functions extends Quest -Import _00E_QuestFunctions Import Utility ;===================================================================================== @@ -95,7 +94,7 @@ EndFunction Function TeleportBrotherGalang() - Levelsystem.TeleportNPC(FS_NQR03_LethoREF, FS_NQR03_BrotherGriefMarkerREF) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(FS_NQR03_LethoREF, FS_NQR03_BrotherGriefMarkerREF) SetStage(20) SetObjectiveCompleted(10) SetObjectiveDisplayed(15) @@ -156,9 +155,9 @@ EndFunction Function TeleportPlayer() - Levelsystem.TeleportNPC(FS_NQR03_BrotherGreedREF, FS_NQR03_BrotherGreedMarkerREF) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(FS_NQR03_BrotherGreedREF, FS_NQR03_BrotherGreedMarkerREF) FS_NQR03_BrotherGreedREF.EvaluatePackage() - Levelsystem.TeleportPlayer(FS_NQR03_DarkValleyMarkerREF) + _00E_PlayerFunctions.GetTeleportControl().TeleportPlayer(FS_NQR03_DarkValleyMarkerREF) SetStage(75) RegisterForSingleUpdate(2) @@ -245,15 +244,15 @@ EndFunction Function TeleportBrotherGreed() - Levelsystem.TeleportNPC(FS_NQR03_BrotherGreedREF, FS_NQR03_TeleportBackMarkerBrotherGreed) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(FS_NQR03_BrotherGreedREF, FS_NQR03_TeleportBackMarkerBrotherGreed) EndFunction Function TeleportPlayerAndBrotherGreed() - Levelsystem.TeleportNPC(FS_NQR03_BrotherGreedREF, FS_NQR03_TeleportBackMarkerBrotherGreed) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(FS_NQR03_BrotherGreedREF, FS_NQR03_TeleportBackMarkerBrotherGreed) FS_NQR03_BrotherGreedREF.EvaluatePackage() - Levelsystem.TeleportPlayer(FS_NQR03_TeleportBackMarkerPlayer) + _00E_PlayerFunctions.GetTeleportControl().TeleportPlayer(FS_NQR03_TeleportBackMarkerPlayer) RegisterForSingleUpdate(2) SetObjectiveCompleted(50) @@ -277,14 +276,14 @@ Function FinishUp() FS_NQR03_DoorREF.Lock(True) SetObjectiveCompleted(50) ; in case the player didn't teleport back with the brother greed SetObjectiveCompleted(51) - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() - Levelsystem.SetAllowIdleChatter(True) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() + AllowIdleChatter.SetValue(1) FS_NQR03_SC03_SecretDoorREF.SetOpen(False) FS_NQR03_SC03_SecretDoorREF.BlockActivation(True) FS_NQR03_TharaelREF.Disable() FS_NQR03_SphereREF.Enable() - Levelsystem.GiveEP(iRewardEXP) + _00E_EPHandler.GiveEP(iRewardEXP) FS_NQR04.SetStage(5) EndFunction @@ -322,7 +321,7 @@ ReferenceAlias Property FS_NQR03_SC01_Scion Auto int Property iRewardEXP = 1000 Auto Hidden int Property iPagesRewardEXP = 250 Auto Hidden -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor Property FS_NQR03_TharaelREF Auto Actor Property FS_NQR03_BrotherGreedREF Auto diff --git a/source/scripts/_00e_fs_nqr04_functions.psc b/source/scripts/_00e_fs_nqr04_functions.psc index 95d82516..1006a221 100644 --- a/source/scripts/_00e_fs_nqr04_functions.psc +++ b/source/scripts/_00e_fs_nqr04_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_FS_NQR04_Functions extends Quest -Import _00E_QuestFunctions Import Utility ;===================================================================================== @@ -105,7 +104,7 @@ EndFunction Function UpdateObjectives01() ; set Tharael as ally for the following encounters, removing ghost flag and but making sure hes still essential - _00E_QuestFunctions.SetNPCAsCompanion(_00E_FS_NQR04_TharaelREF, True, 550, 500, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_FS_NQR04_TharaelREF, True, 550, 500, 100) SetObjectiveCompleted(20) SetObjectiveDisplayed(25) FS_NQR04_DoorREF.Lock(False) @@ -159,7 +158,7 @@ Function UpdateSlotsFound(int iFoundSlot) If CurrentCount >= 3 SetObjectiveCompleted(40) - Levelsystem.GiveEP(iSecretSlotsRewardEXP) + _00E_EPHandler.GiveEP(iSecretSlotsRewardEXP) If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_ORPHANAGE_01") EndIf @@ -200,7 +199,7 @@ Function StartSC04() ; update objectives after finding the hidden stash, prepare and start tharael's seizure scene UnflagTharaelAsCompanion() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) FS_NQR04_ParentCandleREF.Enable() _00E_FS_NQR04_TharaelREF.UnequipItem(_00E_FS_NQR05_TharaelTorch) _00E_FS_NQR04_TharaelREF.RemoveItem(_00E_FS_NQR05_TharaelTorch) @@ -239,7 +238,7 @@ EndFunction Function UnflagTharaelAsCompanion() ; don't remove this function, it also gets called from quest and dialogue fragments - _00E_QuestFunctions.SetNPCAsCompanion(_00E_FS_NQR04_TharaelREF, false) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_FS_NQR04_TharaelREF, false) EndFunction @@ -300,10 +299,10 @@ Function FinishUp() CompleteAllObjectives() Player.Clear() - Levelsystem.GiveEP(iRewardEXP) - Levelsystem.SetAllowIdleChatter(True) - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_EPHandler.GiveEP(iRewardEXP) + AllowIdleChatter.SetValue(1) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() FS_NQR04_SC05_TharaelWalkAway.ForceStart() FS_NQR05.setStage(5) @@ -324,7 +323,7 @@ bool bSecondSlotFound int iRewardEXP = 1000 int iSecretSlotsRewardEXP = 300 -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor akMessengerKid diff --git a/source/scripts/_00e_fs_nqr04_tharaelaitrigger.psc b/source/scripts/_00e_fs_nqr04_tharaelaitrigger.psc index 35acdd79..f8194eaf 100644 --- a/source/scripts/_00e_fs_nqr04_tharaelaitrigger.psc +++ b/source/scripts/_00e_fs_nqr04_tharaelaitrigger.psc @@ -2,13 +2,13 @@ scriptname _00E_FS_NQR04_TharaelAITrigger extends ObjectReference {This script makes sure that Tharael is no longer allied to the player if they decide to leave} Event OnTriggerEnter(ObjectReference akActionRef) If akActionRef == Game.GetPlayer() && FS_NQR04.GetStage() >= 30 && FS_NQR04.GetStage() < 35 - _00E_QuestFunctions.SetNPCAsCompanion(_00E_FS_NQR04_TharaelREF, True, 550, 500, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_FS_NQR04_TharaelREF, True, 550, 500, 100) EndIf EndEvent Event OnTriggerLeave(ObjectReference akActionRef) If akActionRef == Game.GetPlayer() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_FS_NQR04_TharaelREF, false) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_FS_NQR04_TharaelREF, false) EndIf EndEvent diff --git a/source/scripts/_00e_fs_nqr05_bossfight_fathersc.psc b/source/scripts/_00e_fs_nqr05_bossfight_fathersc.psc index 843b7a20..317db8bc 100644 --- a/source/scripts/_00e_fs_nqr05_bossfight_fathersc.psc +++ b/source/scripts/_00e_fs_nqr05_bossfight_fathersc.psc @@ -118,7 +118,7 @@ Function TeleportBack() GhostRedFXShader.Stop(FS_NQR05_FatherREF) FS_NQR05_FatherREF.SetAlpha(1.0) If FS_NQR05_SidedWithTharael.GetValueInt() == 0 - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_FatherREF, True, 800, 600, 400) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_FatherREF, True, 800, 600, 400) EndIf _00E_FS_NQR05_TeleportationOngoing.SetValueInt(0) FS_NQR05_FatherREF.SetMotionType(1) diff --git a/source/scripts/_00e_fs_nqr05_bossfight_tharaelsc.psc b/source/scripts/_00e_fs_nqr05_bossfight_tharaelsc.psc index bc9885bc..56a31487 100644 --- a/source/scripts/_00e_fs_nqr05_bossfight_tharaelsc.psc +++ b/source/scripts/_00e_fs_nqr05_bossfight_tharaelsc.psc @@ -198,7 +198,7 @@ EndFunction Function Teleport(ObjectReference objLocation) FS_NQR05_TharaelREF.MoveTo(objLocation) - _00E_QuestFunctions.WaitForReferenceToLoad(FS_NQR05_TharaelREF) + _00E_Func_WaitForRef.WaitForReferenceToLoad(FS_NQR05_TharaelREF) MAGIllusionReleaseAimedSDM.Play(FS_NQR05_TharaelREF) _00E_FS_NQR05_TharaelMaterializeFXS.Play(FS_NQR05_TharaelREF) diff --git a/source/scripts/_00e_fs_nqr05_functions.psc b/source/scripts/_00e_fs_nqr05_functions.psc index fbc9039b..99197280 100644 --- a/source/scripts/_00e_fs_nqr05_functions.psc +++ b/source/scripts/_00e_fs_nqr05_functions.psc @@ -282,9 +282,9 @@ Function StartSC06() ; transform the player back if currently a werewolf, due to being used as actor in scenes in SC06 _FS_TheriantrophistControlQuest.TransformBackIfTransformed() FadeToBlackHoldIMOD.ApplyCrossFade() - Levelsystem.SetAllowIdleChatter(false) + AllowIdleChatter.SetValue(0) Timescale.SetValue(0.1) ; preventing the time from advancing during this lengthy scene - Levelsystem.SkipTimeToHour(18.75) + _00E_TimeControl.SkipTimeToHour(18.75) Wait(2.5) _00E_FS_NQR05_SiteWeatherSnow.ForceActive(True) FS_NQR05_SC05_GateREF.SetOpen(False) @@ -332,7 +332,7 @@ Function OpenPortal() Wait(2.90) FS_NQR05_FatherPortal_Outside_REF.PlayGamebryoAnimation("AnimIdle02") ; initiating player AI walk without locking vision controls - _00E_QuestFunctions.PlayerAIWalk(false) + _00E_Func_AIWalk.PlayerAIWalk(false) SetStage(125) EndFunction @@ -426,7 +426,7 @@ Function StartSC08() ; Called in stage 135 ; give controls back to the player, remove father copy - _00E_QuestFunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() _00E_FS_NQR05_FatherArrival.Remove() _00E_SilenceTransitionLowPriority.Add() SetObjectiveCompleted(60) @@ -536,8 +536,8 @@ Function StartSC12() ; Called in stage 165 ; setting Tharael and Zar'Ah as allies, enabling companion health bars removing ghost flag, but setting essential - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_ZaraahREF, True, 400, 600, 100) - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_TharaelREF, True, 550, 500, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_ZaraahREF, True, 400, 600, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_TharaelREF, True, 550, 500, 100) ;FS_NQR05_ExitDoor.BlockActivation() ; checking which main quest companion should appear as illusion, depends on the romance decision or sympathy global @@ -629,8 +629,8 @@ Function StartSC15() ; Called in stage 210 ; setting up final dialogue between Zar'Ah and player as well as Tharael killing her SetObjectiveDisplayed(90, True) - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_ZaraahREF, False) - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_TharaelREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_ZaraahREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_TharaelREF, False) FS_NQR05_ZaraahREF.BlockActivation(true) FS_NQR05_ZaraahREF.UnequipItemEx(_00E_FS_NQR05_ZarAhSabre, 0) FS_NQR05_ZaraahREF.UnequipItemEx(_00E_FS_NQR05_ZarAhSabre, 1) @@ -727,7 +727,7 @@ Function StartSC16() SetObjectiveCompleted(90) SetObjectiveDisplayed(95) FS_NQR05_SC16_Temple_05.ForceStart() - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_TharaelREF, True, 550, 500, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_TharaelREF, True, 550, 500, 100) FS_NQR05_SC16_BrotherHatredREF.Enable() FS_NQR05_SC16_BrotherHatredREF.BlockActivation() TharaelEquipDaggers() @@ -740,7 +740,7 @@ Function TharaelBackstab() ; Tharael kills Brother Hatred with a backstab animation FS_NQR05_SC16_BrotherHatredREF.GetActorBase().SetEssential(False) FS_NQR05_SC16_BrotherHatredREF.SetGhost(False) - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_TharaelREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_TharaelREF, False) wait(0.5) FS_NQR05_TharaelREF.PlayIdleWithTarget(pa_1HMSneakKillBackA, FS_NQR05_SC16_BrotherHatredREF) wait(2) @@ -750,7 +750,7 @@ Function TharaelBackstab() wait(1) ; fixing AI bug, sometimes got stuck in the backstab pose FS_NQR05_TharaelREF.resurrect() - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_TharaelREF, True, 550, 500, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_TharaelREF, True, 550, 500, 100) EndFunction @@ -893,7 +893,7 @@ Function StartFightReal() FS_NQR05_Abnormality.SetActorValue("Aggression", 3) FS_NQR05_Abnormality.SetGhost(False) SetUpBossfight() - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_TharaelREF, True, 550, 500, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_TharaelREF, True, 550, 500, 100) FS_NQR05_Abnormality.StartCombat(PlayerREF) FS_NQR05_TharaelREF.equipitem(_00E_FS_NQR_TharaelsBow, true, true) FS_NQR05_Abnormality.SetActorValue("speedMult", 100.0) @@ -950,7 +950,7 @@ Function StartSC17() SetObjectiveCompleted(100) SetObjectiveDisplayed(105) - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_TharaelREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_TharaelREF, False) _00E_FS_Music_Special_BlackWaltz.Remove() FS_NQR05_SC17_AfterBossfight.ForceStart() @@ -1322,7 +1322,7 @@ Function SideWithCharacter(Actor akActor) FS_NQR05_FatherREF.RestoreActorValue("Magicka", 2500) FS_NQR05_FatherREF.RestoreActorValue("Magicka", 2500) FS_NQR05_FatherREF.startCombat(PlayerREF) - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_TharaelREF, True, 550, 500, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_TharaelREF, True, 550, 500, 100) Else ;SetObjectiveCompleted(115, True) ;SetObjectiveFailed(110) @@ -1338,7 +1338,7 @@ Function SideWithCharacter(Actor akActor) FS_NQR05_TharaelREF.RestoreActorValue("Magicka", 2500) FS_NQR05_TharaelREF.RestoreActorValue("Magicka", 2500) FS_NQR05_TharaelREF.startCombat(PlayerREF) - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_FatherREF, True, 800, 700, 400) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_FatherREF, True, 800, 700, 400) EndIf SetUpBossfight() @@ -1385,7 +1385,7 @@ Function UpdateObjectives13() SetObjectiveCompleted(115) SetObjectiveCompleted(117) SetObjectiveDisplayed(120) - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_FatherREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_FatherREF, False) TeleportFather() FS_NQR05_SC30_FatherSided.ForceStart() @@ -1396,7 +1396,7 @@ Function UpdateObjectives13() SetObjectiveCompleted(110) FS_NQR05_FatherREF.RemoveFromAllFactions() PlayFatherDeathFX() - _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_TharaelREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(FS_NQR05_TharaelREF, False) FS_NQR05_SC04_BrotherSorrowREF.Disable() FS_NQR05_BrotherSorrow_DecapREF.Enable() TharaelSwitchToWeaponSet("None") @@ -1480,7 +1480,7 @@ Function TeleportFather() FS_NQR05_TharaelREF.Disable() FS_NQR05_SC30_TharaelCorpseREF.PlaceAtMe(FXDragonPriestSmallExplosion) FS_NQR05_SC30_TharaelCorpseREF.Enable() - _00E_QuestFunctions.WaitForReferenceToLoad(FS_NQR05_SC30_TharaelCorpseREF) + _00E_Func_WaitForRef.WaitForReferenceToLoad(FS_NQR05_SC30_TharaelCorpseREF) FS_NQR05_SC30_TharaelCorpseREF.SetMotionType(4) _00E_BloodyFXShader.Play(FS_NQR05_SC30_TharaelCorpseREF) @@ -1666,7 +1666,7 @@ EndFunction Function SetUpEndingFather() Timescale.SetValue(0.1) - Levelsystem.SkipTimeToHour(15.0) + _00E_TimeControl.SkipTimeToHour(15.0) FS_NQR05_FatherHelmetREF.Enable() FS_NQR05_SwordREF.Disable() FatherMask.ForceRefTo(FS_NQR05_FatherHelmetREF) @@ -1680,7 +1680,7 @@ Function SetUpEndingTharael() ; set up tharael near the cliff, setting a time for good lighting Game.RequestAutoSave() Timescale.SetValue(0.1) - Levelsystem.SkipTimeToHour(15.0) + _00E_TimeControl.SkipTimeToHour(15.0) Game.enablePlayerControls() FS_NQR05_TharaelREF.UnequipItem(_00E_FS_NQR_TharaelsBow, true) FS_NQR05_TharaelREF.RemoveItem(_00E_FS_NQR_TharaelsBow, 1, true) @@ -1744,7 +1744,7 @@ Function KillTharael() Wait(5) SetStage(370) FS_NQR05_SC21_CollisionREF.Enable() - _00E_Questfunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() Endfunction @@ -1819,16 +1819,16 @@ Function FinishUp() CompleteAllObjectives() Weather.ReleaseOverride() - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() FS_NQR03_BrotherGreedREF.Disable() FS_NQR05_SiteCampfireParentREF.Disable() FS_NQR05_SC04_BrotherSorrowREF.Disable() Timescale.SetValue(10) - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) akFakeCompanion.getActorbase().SetEssential(true) _00E_TeleportGlobal.SetValueInt(0) - Levelsystem.GiveEP(iRewardEXP) + _00E_EPHandler.GiveEP(iRewardEXP) UnregisterForSleep() ; just in case UnregisterForUpdate() @@ -1853,7 +1853,7 @@ Actor[] sc20Rhalaim bool usePlayerHouseUpper = false -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto _00E_Game_Playerhouse_BoardSC Property Playerhouse_Market_BoardREF Auto _00E_Game_Playerhouse_BoardSC Property Playerhouse_Noble_BoardREF Auto diff --git a/source/scripts/_00e_gaboff_grammophonesc.psc b/source/scripts/_00e_gaboff_grammophonesc.psc index beb7f698..def06ab4 100644 --- a/source/scripts/_00e_gaboff_grammophonesc.psc +++ b/source/scripts/_00e_gaboff_grammophonesc.psc @@ -24,7 +24,7 @@ Function PlayMusic(Sound musicSound, Float fMusicLength) RegisterForModEvent("BardsLoadGame", "OnBardsLoadGame") iSoundID = musicSound.Play(Self) Sound.SetInstanceVolume(iSoundID, fVolume) - RegisterForSingleUpdate(_00E_QuestFunctions.AdjustTimePeriodByEngineTimerError(fMusicLength)) + RegisterForSingleUpdate(_00E_TimeControl.AdjustTimePeriodByEngineTimerError(fMusicLength)) GoToState("") _00E_PlayerhousingKoppophonVolume.Show(fVolume * 100.0) EndFunction diff --git a/source/scripts/_00e_game_failsaveactorsc.psc b/source/scripts/_00e_game_failsaveactorsc.psc index 23d854f5..40bfc528 100644 --- a/source/scripts/_00e_game_failsaveactorsc.psc +++ b/source/scripts/_00e_game_failsaveactorsc.psc @@ -11,8 +11,6 @@ Event OnInit() EndEvent -_00E_QuestFunctions Property Levelsystem Auto - _00E_MQ02_Functions Property MQ02 Auto Message Property _00E_Game_EmptyHelpMessage Auto diff --git a/source/scripts/_00e_game_oorbayaspawnsc.psc b/source/scripts/_00e_game_oorbayaspawnsc.psc index 4ffb30b6..feb057da 100644 --- a/source/scripts/_00e_game_oorbayaspawnsc.psc +++ b/source/scripts/_00e_game_oorbayaspawnsc.psc @@ -48,7 +48,7 @@ Function InitializeOorbaya(Actor akParent, Actor akKiller) akOorbaya.SetActorValue("Magicka", akParent.GetBaseActorValue("Magicka") * __Config_fOorbayaStrength) akOorbaya.SetActorValue("Stamina", akParent.GetBaseActorValue("Stamina") * __Config_fOorbayaStrength) - _00E_QuestFunctions.WaitForReferenceToLoad(akOorbaya) + _00E_Func_WaitForRef.WaitForReferenceToLoad(akOorbaya) Debug.SendAnimationEvent(akOorbaya, "summonStart") _00E_NPCOorbaya_RoarM.Play(akOorbaya) diff --git a/source/scripts/_00e_game_skillmenusc.psc b/source/scripts/_00e_game_skillmenusc.psc index 7d5bfe19..905ee70e 100644 --- a/source/scripts/_00e_game_skillmenusc.psc +++ b/source/scripts/_00e_game_skillmenusc.psc @@ -1,9 +1,9 @@ Scriptname _00E_Game_SkillmenuSC extends ReferenceAlias Event OnInit() - Debug.MessageBox("OUTDATED MOD: One of your mods overrides the _00E_Game_SkillmenuSC script or the Levelsystem quest, both are no longer functional in the current version of Enderal SE.") + Debug.MessageBox("OUTDATED MOD: One of your mods modifies the Levelsystem quest, no longer functional in the current version of Enderal SE.") EndEvent Event OnPlayerLoadGame() - Debug.MessageBox("OUTDATED MOD: One of your mods overrides the _00E_Game_SkillmenuSC script or the Levelsystem quest, both are no longer functional in the current version of Enderal SE.") + Debug.MessageBox("OUTDATED MOD: One of your mods modifies the Levelsystem quest, no longer functional in the current version of Enderal SE.") EndEvent diff --git a/source/scripts/_00e_gypsyminstrelscontrolscript.psc b/source/scripts/_00e_gypsyminstrelscontrolscript.psc index a8cfc550..f5fbe094 100644 --- a/source/scripts/_00e_gypsyminstrelscontrolscript.psc +++ b/source/scripts/_00e_gypsyminstrelscontrolscript.psc @@ -175,10 +175,10 @@ Function SetNewWaypoint(Int iNewWaypoint, Bool bDoTeleport, Float fNextUpdateTim CurrentWaypoint = iNewWaypoint If teleportLuterRef - _00E_QuestFunctions.SafeMoveTo(luter, teleportLuterRef) + _00E_Func_SafeMove.SafeMoveTo(luter, teleportLuterRef) EndIf If teleportDancerRef - _00E_QuestFunctions.SafeMoveTo(dancer, teleportDancerRef) + _00E_Func_SafeMove.SafeMoveTo(dancer, teleportDancerRef) EndIf luter.EvaluatePackage() If dancer @@ -209,7 +209,7 @@ Function GroupTravelFailsafe() Actor luter = Alias_LutePlayer.GetActorReference() Actor dancer = Alias_Dancer.GetActorReference() If luter && dancer && dancer.GetDistance(luter) >= 1024.0 && dancer.GetDistance(PlayerRef) > 4000.0 - _00E_QuestFunctions.SafeMoveTo_NoWait(dancer, luter) + _00E_Func_SafeMove.SafeMoveTo_NoWait(dancer, luter) EndIf EndIf EndFunction diff --git a/source/scripts/_00e_handwerksbuchalchemy100.psc b/source/scripts/_00e_handwerksbuchalchemy100.psc index 29d7c14c..68397b2d 100644 --- a/source/scripts/_00e_handwerksbuchalchemy100.psc +++ b/source/scripts/_00e_handwerksbuchalchemy100.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchAlchemy100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Alchemy", 100, _00E_HandwerksbuchAlchemyTo99, _00E_Levelsystem_sSkillNameAlchemy) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Alchemy", 100, _00E_HandwerksbuchAlchemyTo99, _00E_Levelsystem_sSkillNameAlchemy) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchAlchemyTo99 Auto Message Property _00E_Levelsystem_sSkillNameAlchemy Auto diff --git a/source/scripts/_00e_handwerksbuchalchemy25.psc b/source/scripts/_00e_handwerksbuchalchemy25.psc index f05e50fe..122473f7 100644 --- a/source/scripts/_00e_handwerksbuchalchemy25.psc +++ b/source/scripts/_00e_handwerksbuchalchemy25.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchAlchemy25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Alchemy", 25, _00E_HandwerksbuchAlchemyTo25, _00E_Levelsystem_sSkillNameAlchemy) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Alchemy", 25, _00E_HandwerksbuchAlchemyTo25, _00E_Levelsystem_sSkillNameAlchemy) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchAlchemyTo25 Auto Message Property _00E_Levelsystem_sSkillNameAlchemy Auto diff --git a/source/scripts/_00e_handwerksbuchalchemy50.psc b/source/scripts/_00e_handwerksbuchalchemy50.psc index 4eb5a053..efeae532 100644 --- a/source/scripts/_00e_handwerksbuchalchemy50.psc +++ b/source/scripts/_00e_handwerksbuchalchemy50.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchAlchemy50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Alchemy", 50, _00E_HandwerksbuchAlchemyTo50, _00E_Levelsystem_sSkillNameAlchemy) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Alchemy", 50, _00E_HandwerksbuchAlchemyTo50, _00E_Levelsystem_sSkillNameAlchemy) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchAlchemyTo50 Auto Message Property _00E_Levelsystem_sSkillNameAlchemy Auto diff --git a/source/scripts/_00e_handwerksbuchalchemy75.psc b/source/scripts/_00e_handwerksbuchalchemy75.psc index 2434732e..6b7c3854 100644 --- a/source/scripts/_00e_handwerksbuchalchemy75.psc +++ b/source/scripts/_00e_handwerksbuchalchemy75.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchAlchemy75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Alchemy", 75, _00E_HandwerksbuchAlchemyTo75, _00E_Levelsystem_sSkillNameAlchemy) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Alchemy", 75, _00E_HandwerksbuchAlchemyTo75, _00E_Levelsystem_sSkillNameAlchemy) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchAlchemyTo75 Auto Message Property _00E_Levelsystem_sSkillNameAlchemy Auto diff --git a/source/scripts/_00e_handwerksbuchenchanting100.psc b/source/scripts/_00e_handwerksbuchenchanting100.psc index 510187e2..0aea8957 100644 --- a/source/scripts/_00e_handwerksbuchenchanting100.psc +++ b/source/scripts/_00e_handwerksbuchenchanting100.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchEnchanting100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Enchanting", 100, _00E_HandwerksbuchEnchantingTo99, _00E_Levelsystem_sSkillNameEnchantment) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Enchanting", 100, _00E_HandwerksbuchEnchantingTo99, _00E_Levelsystem_sSkillNameEnchantment) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchEnchantingTo99 Auto Message Property _00E_Levelsystem_sSkillNameEnchantment Auto diff --git a/source/scripts/_00e_handwerksbuchenchanting25.psc b/source/scripts/_00e_handwerksbuchenchanting25.psc index fc9eeae5..d415aac0 100644 --- a/source/scripts/_00e_handwerksbuchenchanting25.psc +++ b/source/scripts/_00e_handwerksbuchenchanting25.psc @@ -1,10 +1,9 @@ Scriptname _00E_HandwerksbuchEnchanting25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Enchanting", 25, _00E_HandwerksbuchEnchantingTo25, _00E_Levelsystem_sSkillNameEnchantment) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Enchanting", 25, _00E_HandwerksbuchEnchantingTo25, _00E_Levelsystem_sSkillNameEnchantment) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchEnchantingTo25 Auto Message Property _00E_Levelsystem_sSkillNameEnchantment Auto diff --git a/source/scripts/_00e_handwerksbuchenchanting50.psc b/source/scripts/_00e_handwerksbuchenchanting50.psc index 155285c8..507e2982 100644 --- a/source/scripts/_00e_handwerksbuchenchanting50.psc +++ b/source/scripts/_00e_handwerksbuchenchanting50.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchEnchanting50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Enchanting", 50, _00E_HandwerksbuchEnchantingTo50, _00E_Levelsystem_sSkillNameEnchantment) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Enchanting", 50, _00E_HandwerksbuchEnchantingTo50, _00E_Levelsystem_sSkillNameEnchantment) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchEnchantingTo50 Auto Message Property _00E_Levelsystem_sSkillNameEnchantment Auto diff --git a/source/scripts/_00e_handwerksbuchenchanting75.psc b/source/scripts/_00e_handwerksbuchenchanting75.psc index ef2d2131..7c7e7328 100644 --- a/source/scripts/_00e_handwerksbuchenchanting75.psc +++ b/source/scripts/_00e_handwerksbuchenchanting75.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchEnchanting75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Enchanting", 75, _00E_HandwerksbuchEnchantingTo75, _00E_Levelsystem_sSkillNameEnchantment) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Enchanting", 75, _00E_HandwerksbuchEnchantingTo75, _00E_Levelsystem_sSkillNameEnchantment) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchEnchantingTo75 Auto Message Property _00E_Levelsystem_sSkillNameEnchantment Auto diff --git a/source/scripts/_00e_handwerksbuchlockpicking100.psc b/source/scripts/_00e_handwerksbuchlockpicking100.psc index 8997ccf1..5aa5f423 100644 --- a/source/scripts/_00e_handwerksbuchlockpicking100.psc +++ b/source/scripts/_00e_handwerksbuchlockpicking100.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchLockpicking100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Lockpicking", 100, _00E_HandwerksbuchLockpickingTo99, _00E_Levelsystem_sSkillNameLockpick) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Lockpicking", 100, _00E_HandwerksbuchLockpickingTo99, _00E_Levelsystem_sSkillNameLockpick) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchLockpickingTo99 Auto Message Property _00E_Levelsystem_sSkillNameLockpick Auto diff --git a/source/scripts/_00e_handwerksbuchlockpicking25.psc b/source/scripts/_00e_handwerksbuchlockpicking25.psc index bfed8f41..e6095901 100644 --- a/source/scripts/_00e_handwerksbuchlockpicking25.psc +++ b/source/scripts/_00e_handwerksbuchlockpicking25.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchLockpicking25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Lockpicking", 25, _00E_HandwerksbuchLockpickingTo25, _00E_Levelsystem_sSkillNameLockpick) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Lockpicking", 25, _00E_HandwerksbuchLockpickingTo25, _00E_Levelsystem_sSkillNameLockpick) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchLockpickingTo25 Auto Message Property _00E_Levelsystem_sSkillNameLockpick Auto diff --git a/source/scripts/_00e_handwerksbuchlockpicking50.psc b/source/scripts/_00e_handwerksbuchlockpicking50.psc index 8f660185..fb42843d 100644 --- a/source/scripts/_00e_handwerksbuchlockpicking50.psc +++ b/source/scripts/_00e_handwerksbuchlockpicking50.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchLockpicking50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Lockpicking", 50, _00E_HandwerksbuchLockpickingTo50, _00E_Levelsystem_sSkillNameLockpick) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Lockpicking", 50, _00E_HandwerksbuchLockpickingTo50, _00E_Levelsystem_sSkillNameLockpick) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchLockpickingTo50 Auto Message Property _00E_Levelsystem_sSkillNameLockpick Auto diff --git a/source/scripts/_00e_handwerksbuchlockpicking75.psc b/source/scripts/_00e_handwerksbuchlockpicking75.psc index 28e929dc..e02c500f 100644 --- a/source/scripts/_00e_handwerksbuchlockpicking75.psc +++ b/source/scripts/_00e_handwerksbuchlockpicking75.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchLockpicking75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Lockpicking", 75, _00E_HandwerksbuchLockpickingTo75, _00E_Levelsystem_sSkillNameLockpick) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Lockpicking", 75, _00E_HandwerksbuchLockpickingTo75, _00E_Levelsystem_sSkillNameLockpick) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchLockpickingTo75 Auto Message Property _00E_Levelsystem_sSkillNameLockpick Auto diff --git a/source/scripts/_00e_handwerksbuchpickpocket100.psc b/source/scripts/_00e_handwerksbuchpickpocket100.psc index c51f9120..ce317a73 100644 --- a/source/scripts/_00e_handwerksbuchpickpocket100.psc +++ b/source/scripts/_00e_handwerksbuchpickpocket100.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchPickpocket100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Pickpocket", 100, _00E_HandwerksbuchPickpocketTo99, _00E_Levelsystem_sSkillNamePickpocket) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Pickpocket", 100, _00E_HandwerksbuchPickpocketTo99, _00E_Levelsystem_sSkillNamePickpocket) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchPickpocketTo99 Auto Message Property _00E_Levelsystem_sSkillNamePickpocket Auto diff --git a/source/scripts/_00e_handwerksbuchpickpocket25.psc b/source/scripts/_00e_handwerksbuchpickpocket25.psc index 9c2f2087..049dd0ea 100644 --- a/source/scripts/_00e_handwerksbuchpickpocket25.psc +++ b/source/scripts/_00e_handwerksbuchpickpocket25.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchPickpocket25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Pickpocket", 25, _00E_HandwerksbuchPickpocketTo25, _00E_Levelsystem_sSkillNamePickpocket) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Pickpocket", 25, _00E_HandwerksbuchPickpocketTo25, _00E_Levelsystem_sSkillNamePickpocket) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchPickpocketTo25 Auto Message Property _00E_Levelsystem_sSkillNamePickpocket Auto diff --git a/source/scripts/_00e_handwerksbuchpickpocket50.psc b/source/scripts/_00e_handwerksbuchpickpocket50.psc index f07a3aa7..753abf17 100644 --- a/source/scripts/_00e_handwerksbuchpickpocket50.psc +++ b/source/scripts/_00e_handwerksbuchpickpocket50.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchPickpocket50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Pickpocket", 50, _00E_HandwerksbuchPickpocketTo50, _00E_Levelsystem_sSkillNamePickpocket) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Pickpocket", 50, _00E_HandwerksbuchPickpocketTo50, _00E_Levelsystem_sSkillNamePickpocket) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchPickpocketTo50 Auto Message Property _00E_Levelsystem_sSkillNamePickpocket Auto diff --git a/source/scripts/_00e_handwerksbuchpickpocket75.psc b/source/scripts/_00e_handwerksbuchpickpocket75.psc index f1f1217e..7abb59fd 100644 --- a/source/scripts/_00e_handwerksbuchpickpocket75.psc +++ b/source/scripts/_00e_handwerksbuchpickpocket75.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchPickpocket75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Pickpocket", 75, _00E_HandwerksbuchPickpocketTo75, _00E_Levelsystem_sSkillNamePickpocket) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Pickpocket", 75, _00E_HandwerksbuchPickpocketTo75, _00E_Levelsystem_sSkillNamePickpocket) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchPickpocketTo75 Auto Message Property _00E_Levelsystem_sSkillNamePickpocket Auto diff --git a/source/scripts/_00e_handwerksbuchsmithing100.psc b/source/scripts/_00e_handwerksbuchsmithing100.psc index 13dd7245..d925bf0c 100644 --- a/source/scripts/_00e_handwerksbuchsmithing100.psc +++ b/source/scripts/_00e_handwerksbuchsmithing100.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchSmithing100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Smithing", 100, _00E_HandwerksbuchSmithingTo99, _00E_Levelsystem_sSkillNameSmithing) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Smithing", 100, _00E_HandwerksbuchSmithingTo99, _00E_Levelsystem_sSkillNameSmithing) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchSmithingTo99 Auto Message Property _00E_Levelsystem_sSkillNameSmithing Auto diff --git a/source/scripts/_00e_handwerksbuchsmithing25.psc b/source/scripts/_00e_handwerksbuchsmithing25.psc index a612cdbb..793a854e 100644 --- a/source/scripts/_00e_handwerksbuchsmithing25.psc +++ b/source/scripts/_00e_handwerksbuchsmithing25.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchSmithing25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Smithing", 25, _00E_HandwerksbuchSmithingTo25, _00E_Levelsystem_sSkillNameSmithing) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Smithing", 25, _00E_HandwerksbuchSmithingTo25, _00E_Levelsystem_sSkillNameSmithing) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchSmithingTo25 Auto Message Property _00E_Levelsystem_sSkillNameSmithing Auto diff --git a/source/scripts/_00e_handwerksbuchsmithing50.psc b/source/scripts/_00e_handwerksbuchsmithing50.psc index 867bb28e..c0a79ecd 100644 --- a/source/scripts/_00e_handwerksbuchsmithing50.psc +++ b/source/scripts/_00e_handwerksbuchsmithing50.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchSmithing50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Smithing", 50, _00E_HandwerksbuchSmithingTo50, _00E_Levelsystem_sSkillNameSmithing) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Smithing", 50, _00E_HandwerksbuchSmithingTo50, _00E_Levelsystem_sSkillNameSmithing) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchSmithingTo50 Auto Message Property _00E_Levelsystem_sSkillNameSmithing Auto diff --git a/source/scripts/_00e_handwerksbuchsmithing75.psc b/source/scripts/_00e_handwerksbuchsmithing75.psc index 8499e938..c2cb962a 100644 --- a/source/scripts/_00e_handwerksbuchsmithing75.psc +++ b/source/scripts/_00e_handwerksbuchsmithing75.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchSmithing75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Smithing", 75, _00E_HandwerksbuchSmithingTo75, _00E_Levelsystem_sSkillNameSmithing) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Smithing", 75, _00E_HandwerksbuchSmithingTo75, _00E_Levelsystem_sSkillNameSmithing) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchSmithingTo75 Auto Message Property _00E_Levelsystem_sSkillNameSmithing Auto diff --git a/source/scripts/_00e_handwerksbuchspeechcraft100.psc b/source/scripts/_00e_handwerksbuchspeechcraft100.psc index 4d477fa1..c8e7a351 100644 --- a/source/scripts/_00e_handwerksbuchspeechcraft100.psc +++ b/source/scripts/_00e_handwerksbuchspeechcraft100.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchSpeechcraft100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Speechcraft", 100, _00E_HandwerksbuchSpeechcraftTo99, _00E_Levelsystem_sSkillNameSpeechcraft) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Speechcraft", 100, _00E_HandwerksbuchSpeechcraftTo99, _00E_Levelsystem_sSkillNameSpeechcraft) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchSpeechcraftTo99 Auto Message Property _00E_Levelsystem_sSkillNameSpeechcraft Auto diff --git a/source/scripts/_00e_handwerksbuchspeechcraft25.psc b/source/scripts/_00e_handwerksbuchspeechcraft25.psc index 0bab5da9..5512a5b4 100644 --- a/source/scripts/_00e_handwerksbuchspeechcraft25.psc +++ b/source/scripts/_00e_handwerksbuchspeechcraft25.psc @@ -1,10 +1,9 @@ Scriptname _00E_HandwerksbuchSpeechcraft25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Speechcraft", 25, _00E_HandwerksbuchSpeechcraftTo25, _00E_Levelsystem_sSkillNameSpeechcraft) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Speechcraft", 25, _00E_HandwerksbuchSpeechcraftTo25, _00E_Levelsystem_sSkillNameSpeechcraft) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchSpeechcraftTo25 Auto Message Property _00E_Levelsystem_sSkillNameSpeechcraft Auto diff --git a/source/scripts/_00e_handwerksbuchspeechcraft50.psc b/source/scripts/_00e_handwerksbuchspeechcraft50.psc index 36f051b8..1a84dc00 100644 --- a/source/scripts/_00e_handwerksbuchspeechcraft50.psc +++ b/source/scripts/_00e_handwerksbuchspeechcraft50.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchSpeechcraft50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Speechcraft", 50, _00E_HandwerksbuchSpeechcraftTo50, _00E_Levelsystem_sSkillNameSpeechcraft) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Speechcraft", 50, _00E_HandwerksbuchSpeechcraftTo50, _00E_Levelsystem_sSkillNameSpeechcraft) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchSpeechcraftTo50 Auto Message Property _00E_Levelsystem_sSkillNameSpeechcraft Auto diff --git a/source/scripts/_00e_handwerksbuchspeechcraft75.psc b/source/scripts/_00e_handwerksbuchspeechcraft75.psc index 4e62d20a..7a634e32 100644 --- a/source/scripts/_00e_handwerksbuchspeechcraft75.psc +++ b/source/scripts/_00e_handwerksbuchspeechcraft75.psc @@ -1,9 +1,8 @@ Scriptname _00E_HandwerksbuchSpeechcraft75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadCraftingSkillBook("Speechcraft", 75, _00E_HandwerksbuchSpeechcraftTo75, _00E_Levelsystem_sSkillNameSpeechcraft) + _00E_PlayerFunctions.GetSkillControl().ReadCraftingSkillBook("Speechcraft", 75, _00E_HandwerksbuchSpeechcraftTo75, _00E_Levelsystem_sSkillNameSpeechcraft) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_HandwerksbuchSpeechcraftTo75 Auto Message Property _00E_Levelsystem_sSkillNameSpeechcraft Auto diff --git a/source/scripts/_00e_kontorworker2killmercenary.psc b/source/scripts/_00e_kontorworker2killmercenary.psc index b0e4a0ea..940002bd 100644 --- a/source/scripts/_00e_kontorworker2killmercenary.psc +++ b/source/scripts/_00e_kontorworker2killmercenary.psc @@ -1,7 +1,7 @@ Scriptname _00E_Kontorworker2KillMercenary extends ReferenceAlias -Import _00E_QuestFunctions Import Utility + ;===================================================================================== ; EVENTS ;===================================================================================== diff --git a/source/scripts/_00e_kontorworkerkillmercenary.psc b/source/scripts/_00e_kontorworkerkillmercenary.psc index 67d90ddd..a9a61b69 100644 --- a/source/scripts/_00e_kontorworkerkillmercenary.psc +++ b/source/scripts/_00e_kontorworkerkillmercenary.psc @@ -1,7 +1,7 @@ Scriptname _00E_KontorworkerKillMercenary extends ReferenceAlias -Import _00E_QuestFunctions Import Utility + ;===================================================================================== ; EVENTS ;===================================================================================== diff --git a/source/scripts/_00e_lehrbochblock100.psc b/source/scripts/_00e_lehrbochblock100.psc index 6d532cde..59e601f5 100644 --- a/source/scripts/_00e_lehrbochblock100.psc +++ b/source/scripts/_00e_lehrbochblock100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbochBlock100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Block", 100, _00E_LehrbuchBlockTo100, _00E_Levelsystem_sSkillNameBlock) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Block", 100, _00E_LehrbuchBlockTo100, _00E_Levelsystem_sSkillNameBlock) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchBlockTo100 Auto Message Property _00E_Levelsystem_sSkillNameBlock Auto diff --git a/source/scripts/_00e_lehrbochblock25.psc b/source/scripts/_00e_lehrbochblock25.psc index a0b5b946..6c548c8c 100644 --- a/source/scripts/_00e_lehrbochblock25.psc +++ b/source/scripts/_00e_lehrbochblock25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbochBlock25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Block", 25, _00E_LehrbuchBlockTo25, _00E_Levelsystem_sSkillNameBlock) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Block", 25, _00E_LehrbuchBlockTo25, _00E_Levelsystem_sSkillNameBlock) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchBlockTo25 Auto Message Property _00E_Levelsystem_sSkillNameBlock Auto diff --git a/source/scripts/_00e_lehrbochblock50.psc b/source/scripts/_00e_lehrbochblock50.psc index 096d6db5..896a70c4 100644 --- a/source/scripts/_00e_lehrbochblock50.psc +++ b/source/scripts/_00e_lehrbochblock50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbochBlock50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Block", 50, _00E_LehrbuchBlockTo50, _00E_Levelsystem_sSkillNameBlock) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Block", 50, _00E_LehrbuchBlockTo50, _00E_Levelsystem_sSkillNameBlock) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchBlockTo50 Auto Message Property _00E_Levelsystem_sSkillNameBlock Auto diff --git a/source/scripts/_00e_lehrbochblock75.psc b/source/scripts/_00e_lehrbochblock75.psc index 6edb7ea7..d5983c90 100644 --- a/source/scripts/_00e_lehrbochblock75.psc +++ b/source/scripts/_00e_lehrbochblock75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbochBlock75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Block", 75, _00E_LehrbuchBlockTo75, _00E_Levelsystem_sSkillNameBlock) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Block", 75, _00E_LehrbuchBlockTo75, _00E_Levelsystem_sSkillNameBlock) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchBlockTo75 Auto Message Property _00E_Levelsystem_sSkillNameBlock Auto diff --git a/source/scripts/_00e_lehrbuchalteration100.psc b/source/scripts/_00e_lehrbuchalteration100.psc index 939a6b92..de6f601e 100644 --- a/source/scripts/_00e_lehrbuchalteration100.psc +++ b/source/scripts/_00e_lehrbuchalteration100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchAlteration100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Alteration", 100, _00E_LehrbuchAlterationTo100, _00E_Levelsystem_sSkillNameAlteration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Alteration", 100, _00E_LehrbuchAlterationTo100, _00E_Levelsystem_sSkillNameAlteration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchAlterationTo100 Auto Message Property _00E_Levelsystem_sSkillNameAlteration Auto diff --git a/source/scripts/_00e_lehrbuchalteration25.psc b/source/scripts/_00e_lehrbuchalteration25.psc index e725e4d0..4dc13b27 100644 --- a/source/scripts/_00e_lehrbuchalteration25.psc +++ b/source/scripts/_00e_lehrbuchalteration25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchAlteration25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Alteration", 25, _00E_LehrbuchAlterationTo25, _00E_Levelsystem_sSkillNameAlteration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Alteration", 25, _00E_LehrbuchAlterationTo25, _00E_Levelsystem_sSkillNameAlteration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchAlterationTo25 Auto Message Property _00E_Levelsystem_sSkillNameAlteration Auto diff --git a/source/scripts/_00e_lehrbuchalteration50.psc b/source/scripts/_00e_lehrbuchalteration50.psc index b3385c88..b04b7f12 100644 --- a/source/scripts/_00e_lehrbuchalteration50.psc +++ b/source/scripts/_00e_lehrbuchalteration50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchAlteration50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Alteration", 50, _00E_LehrbuchAlterationTo50, _00E_Levelsystem_sSkillNameAlteration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Alteration", 50, _00E_LehrbuchAlterationTo50, _00E_Levelsystem_sSkillNameAlteration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchAlterationTo50 Auto Message Property _00E_Levelsystem_sSkillNameAlteration Auto diff --git a/source/scripts/_00e_lehrbuchalteration75.psc b/source/scripts/_00e_lehrbuchalteration75.psc index 7aa4f184..e25a21cf 100644 --- a/source/scripts/_00e_lehrbuchalteration75.psc +++ b/source/scripts/_00e_lehrbuchalteration75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchAlteration75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Alteration", 75, _00E_LehrbuchAlterationTo75, _00E_Levelsystem_sSkillNameAlteration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Alteration", 75, _00E_LehrbuchAlterationTo75, _00E_Levelsystem_sSkillNameAlteration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchAlterationTo75 Auto Message Property _00E_Levelsystem_sSkillNameAlteration Auto diff --git a/source/scripts/_00e_lehrbuchconjuration100.psc b/source/scripts/_00e_lehrbuchconjuration100.psc index 5cadf4b7..4e993c47 100644 --- a/source/scripts/_00e_lehrbuchconjuration100.psc +++ b/source/scripts/_00e_lehrbuchconjuration100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchConjuration100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Conjuration", 100, _00E_LehrbuchConjurationTo100, _00E_Levelsystem_sSkillNameConjuration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Conjuration", 100, _00E_LehrbuchConjurationTo100, _00E_Levelsystem_sSkillNameConjuration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchConjurationTo100 Auto Message Property _00E_Levelsystem_sSkillNameConjuration Auto diff --git a/source/scripts/_00e_lehrbuchconjuration25.psc b/source/scripts/_00e_lehrbuchconjuration25.psc index d838e03f..60dac9a0 100644 --- a/source/scripts/_00e_lehrbuchconjuration25.psc +++ b/source/scripts/_00e_lehrbuchconjuration25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchConjuration25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Conjuration", 25, _00E_LehrbuchConjurationTo25, _00E_Levelsystem_sSkillNameConjuration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Conjuration", 25, _00E_LehrbuchConjurationTo25, _00E_Levelsystem_sSkillNameConjuration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchConjurationTo25 Auto Message Property _00E_Levelsystem_sSkillNameConjuration Auto diff --git a/source/scripts/_00e_lehrbuchconjuration50.psc b/source/scripts/_00e_lehrbuchconjuration50.psc index ff9ba08d..7150bb82 100644 --- a/source/scripts/_00e_lehrbuchconjuration50.psc +++ b/source/scripts/_00e_lehrbuchconjuration50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchConjuration50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Conjuration", 50, _00E_LehrbuchConjurationTo50, _00E_Levelsystem_sSkillNameConjuration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Conjuration", 50, _00E_LehrbuchConjurationTo50, _00E_Levelsystem_sSkillNameConjuration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchConjurationTo50 Auto Message Property _00E_Levelsystem_sSkillNameConjuration Auto diff --git a/source/scripts/_00e_lehrbuchconjuration75.psc b/source/scripts/_00e_lehrbuchconjuration75.psc index a4055a9d..bb62ccbc 100644 --- a/source/scripts/_00e_lehrbuchconjuration75.psc +++ b/source/scripts/_00e_lehrbuchconjuration75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchConjuration75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Conjuration", 75, _00E_LehrbuchConjurationTo75, _00E_Levelsystem_sSkillNameConjuration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Conjuration", 75, _00E_LehrbuchConjurationTo75, _00E_Levelsystem_sSkillNameConjuration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchConjurationTo75 Auto Message Property _00E_Levelsystem_sSkillNameConjuration Auto diff --git a/source/scripts/_00e_lehrbuchdestruction100.psc b/source/scripts/_00e_lehrbuchdestruction100.psc index db81ab4c..00f5269f 100644 --- a/source/scripts/_00e_lehrbuchdestruction100.psc +++ b/source/scripts/_00e_lehrbuchdestruction100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchDestruction100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Destruction", 100, _00E_LehrbuchDestructionTo100, _00E_Levelsystem_sSkillNameDestruction) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Destruction", 100, _00E_LehrbuchDestructionTo100, _00E_Levelsystem_sSkillNameDestruction) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchDestructionTo100 Auto Message Property _00E_Levelsystem_sSkillNameDestruction Auto diff --git a/source/scripts/_00e_lehrbuchdestruction25.psc b/source/scripts/_00e_lehrbuchdestruction25.psc index 691a68b1..c53c2897 100644 --- a/source/scripts/_00e_lehrbuchdestruction25.psc +++ b/source/scripts/_00e_lehrbuchdestruction25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchDestruction25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Destruction", 25, _00E_LehrbuchDestructionTo25, _00E_Levelsystem_sSkillNameDestruction) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Destruction", 25, _00E_LehrbuchDestructionTo25, _00E_Levelsystem_sSkillNameDestruction) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchDestructionTo25 Auto Message Property _00E_Levelsystem_sSkillNameDestruction Auto diff --git a/source/scripts/_00e_lehrbuchdestruction50.psc b/source/scripts/_00e_lehrbuchdestruction50.psc index 654574a0..013b8af3 100644 --- a/source/scripts/_00e_lehrbuchdestruction50.psc +++ b/source/scripts/_00e_lehrbuchdestruction50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchDestruction50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Destruction", 50, _00E_LehrbuchDestructionTo50, _00E_Levelsystem_sSkillNameDestruction) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Destruction", 50, _00E_LehrbuchDestructionTo50, _00E_Levelsystem_sSkillNameDestruction) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchDestructionTo50 Auto Message Property _00E_Levelsystem_sSkillNameDestruction Auto diff --git a/source/scripts/_00e_lehrbuchdestruction75.psc b/source/scripts/_00e_lehrbuchdestruction75.psc index 423820b7..2949ef5c 100644 --- a/source/scripts/_00e_lehrbuchdestruction75.psc +++ b/source/scripts/_00e_lehrbuchdestruction75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchDestruction75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Destruction", 75, _00E_LehrbuchDestructionTo75, _00E_Levelsystem_sSkillNameDestruction) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Destruction", 75, _00E_LehrbuchDestructionTo75, _00E_Levelsystem_sSkillNameDestruction) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchDestructionTo75 Auto Message Property _00E_Levelsystem_sSkillNameDestruction Auto diff --git a/source/scripts/_00e_lehrbuchheavyarmor100.psc b/source/scripts/_00e_lehrbuchheavyarmor100.psc index 48c17dba..6f0ee23d 100644 --- a/source/scripts/_00e_lehrbuchheavyarmor100.psc +++ b/source/scripts/_00e_lehrbuchheavyarmor100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchHeavyArmor100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("HeavyArmor", 100, _00E_LehrbuchHeavyArmorTo100, _00E_Levelsystem_sSkillNameHeavyArmor) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("HeavyArmor", 100, _00E_LehrbuchHeavyArmorTo100, _00E_Levelsystem_sSkillNameHeavyArmor) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchHeavyArmorTo100 Auto Message Property _00E_Levelsystem_sSkillNameHeavyArmor Auto diff --git a/source/scripts/_00e_lehrbuchheavyarmor25.psc b/source/scripts/_00e_lehrbuchheavyarmor25.psc index 90cd8ab9..60b92956 100644 --- a/source/scripts/_00e_lehrbuchheavyarmor25.psc +++ b/source/scripts/_00e_lehrbuchheavyarmor25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchHeavyArmor25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("HeavyArmor", 25, _00E_LehrbuchHeavyArmorTo25, _00E_Levelsystem_sSkillNameHeavyArmor) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("HeavyArmor", 25, _00E_LehrbuchHeavyArmorTo25, _00E_Levelsystem_sSkillNameHeavyArmor) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchHeavyArmorTo25 Auto Message Property _00E_Levelsystem_sSkillNameHeavyArmor Auto diff --git a/source/scripts/_00e_lehrbuchheavyarmor50.psc b/source/scripts/_00e_lehrbuchheavyarmor50.psc index 504cb049..c3036ef6 100644 --- a/source/scripts/_00e_lehrbuchheavyarmor50.psc +++ b/source/scripts/_00e_lehrbuchheavyarmor50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchHeavyArmor50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("HeavyArmor", 50, _00E_LehrbuchHeavyArmorTo50, _00E_Levelsystem_sSkillNameHeavyArmor) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("HeavyArmor", 50, _00E_LehrbuchHeavyArmorTo50, _00E_Levelsystem_sSkillNameHeavyArmor) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchHeavyArmorTo50 Auto Message Property _00E_Levelsystem_sSkillNameHeavyArmor Auto diff --git a/source/scripts/_00e_lehrbuchheavyarmor75.psc b/source/scripts/_00e_lehrbuchheavyarmor75.psc index de12ba70..7a1ff5bb 100644 --- a/source/scripts/_00e_lehrbuchheavyarmor75.psc +++ b/source/scripts/_00e_lehrbuchheavyarmor75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchHeavyArmor75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("HeavyArmor", 75, _00E_LehrbuchHeavyArmorTo75, _00E_Levelsystem_sSkillNameHeavyArmor) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("HeavyArmor", 75, _00E_LehrbuchHeavyArmorTo75, _00E_Levelsystem_sSkillNameHeavyArmor) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchHeavyArmorTo75 Auto Message Property _00E_Levelsystem_sSkillNameHeavyArmor Auto diff --git a/source/scripts/_00e_lehrbuchillusion100.psc b/source/scripts/_00e_lehrbuchillusion100.psc index bc2744e4..18a38d02 100644 --- a/source/scripts/_00e_lehrbuchillusion100.psc +++ b/source/scripts/_00e_lehrbuchillusion100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchIllusion100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Illusion", 100, _00E_LehrbuchIllusionTo100, _00E_Levelsystem_sSkillNameIllusion) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Illusion", 100, _00E_LehrbuchIllusionTo100, _00E_Levelsystem_sSkillNameIllusion) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchIllusionTo100 Auto Message Property _00E_Levelsystem_sSkillNameIllusion Auto diff --git a/source/scripts/_00e_lehrbuchillusion25.psc b/source/scripts/_00e_lehrbuchillusion25.psc index 1ffc0b56..deaf22a3 100644 --- a/source/scripts/_00e_lehrbuchillusion25.psc +++ b/source/scripts/_00e_lehrbuchillusion25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchIllusion25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Illusion", 25, _00E_LehrbuchIllusionTo25, _00E_Levelsystem_sSkillNameIllusion) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Illusion", 25, _00E_LehrbuchIllusionTo25, _00E_Levelsystem_sSkillNameIllusion) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchIllusionTo25 Auto Message Property _00E_Levelsystem_sSkillNameIllusion Auto diff --git a/source/scripts/_00e_lehrbuchillusion50.psc b/source/scripts/_00e_lehrbuchillusion50.psc index 6d93e0e4..859be76d 100644 --- a/source/scripts/_00e_lehrbuchillusion50.psc +++ b/source/scripts/_00e_lehrbuchillusion50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchIllusion50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Illusion", 50, _00E_LehrbuchIllusionTo50, _00E_Levelsystem_sSkillNameIllusion) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Illusion", 50, _00E_LehrbuchIllusionTo50, _00E_Levelsystem_sSkillNameIllusion) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchIllusionTo50 Auto Message Property _00E_Levelsystem_sSkillNameIllusion Auto diff --git a/source/scripts/_00e_lehrbuchillusion75.psc b/source/scripts/_00e_lehrbuchillusion75.psc index 4bc48612..14736c32 100644 --- a/source/scripts/_00e_lehrbuchillusion75.psc +++ b/source/scripts/_00e_lehrbuchillusion75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchIllusion75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Illusion", 75, _00E_LehrbuchIllusionTo75, _00E_Levelsystem_sSkillNameIllusion) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Illusion", 75, _00E_LehrbuchIllusionTo75, _00E_Levelsystem_sSkillNameIllusion) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchIllusionTo75 Auto Message Property _00E_Levelsystem_sSkillNameIllusion Auto diff --git a/source/scripts/_00e_lehrbuchlightarmor100.psc b/source/scripts/_00e_lehrbuchlightarmor100.psc index bae92421..480aa790 100644 --- a/source/scripts/_00e_lehrbuchlightarmor100.psc +++ b/source/scripts/_00e_lehrbuchlightarmor100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchLightArmor100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("LightArmor", 100, _00E_LehrbuchLightArmorTo100, _00E_Levelsystem_sSkillNameLightArmor) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("LightArmor", 100, _00E_LehrbuchLightArmorTo100, _00E_Levelsystem_sSkillNameLightArmor) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchLightArmorTo100 Auto Message Property _00E_Levelsystem_sSkillNameLightArmor Auto diff --git a/source/scripts/_00e_lehrbuchlightarmor25.psc b/source/scripts/_00e_lehrbuchlightarmor25.psc index 430682ec..9dc2f435 100644 --- a/source/scripts/_00e_lehrbuchlightarmor25.psc +++ b/source/scripts/_00e_lehrbuchlightarmor25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchLightArmor25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("LightArmor", 25, _00E_LehrbuchLightArmorTo25, _00E_Levelsystem_sSkillNameLightArmor) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("LightArmor", 25, _00E_LehrbuchLightArmorTo25, _00E_Levelsystem_sSkillNameLightArmor) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchLightArmorTo25 Auto Message Property _00E_Levelsystem_sSkillNameLightArmor Auto diff --git a/source/scripts/_00e_lehrbuchlightarmor50.psc b/source/scripts/_00e_lehrbuchlightarmor50.psc index 10e6d4e4..9f335a7e 100644 --- a/source/scripts/_00e_lehrbuchlightarmor50.psc +++ b/source/scripts/_00e_lehrbuchlightarmor50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchLightArmor50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("LightArmor", 50, _00E_LehrbuchLightArmorTo50, _00E_Levelsystem_sSkillNameLightArmor) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("LightArmor", 50, _00E_LehrbuchLightArmorTo50, _00E_Levelsystem_sSkillNameLightArmor) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchLightArmorTo50 Auto Message Property _00E_Levelsystem_sSkillNameLightArmor Auto diff --git a/source/scripts/_00e_lehrbuchlightarmor75.psc b/source/scripts/_00e_lehrbuchlightarmor75.psc index 311ba0bd..d9dad4a0 100644 --- a/source/scripts/_00e_lehrbuchlightarmor75.psc +++ b/source/scripts/_00e_lehrbuchlightarmor75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchLightArmor75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("LightArmor", 75, _00E_LehrbuchLightArmorTo75, _00E_Levelsystem_sSkillNameLightArmor) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("LightArmor", 75, _00E_LehrbuchLightArmorTo75, _00E_Levelsystem_sSkillNameLightArmor) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchLightArmorTo75 Auto Message Property _00E_Levelsystem_sSkillNameLightArmor Auto diff --git a/source/scripts/_00e_lehrbuchmarksman100.psc b/source/scripts/_00e_lehrbuchmarksman100.psc index ad13c172..0c2d756d 100644 --- a/source/scripts/_00e_lehrbuchmarksman100.psc +++ b/source/scripts/_00e_lehrbuchmarksman100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchMarksman100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Marksman", 100, _00E_LehrbuchMarksmanTo100, _00E_Levelsystem_sSkillNameMarksman) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Marksman", 100, _00E_LehrbuchMarksmanTo100, _00E_Levelsystem_sSkillNameMarksman) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchMarksmanTo100 Auto Message Property _00E_Levelsystem_sSkillNameMarksman Auto diff --git a/source/scripts/_00e_lehrbuchmarksman25.psc b/source/scripts/_00e_lehrbuchmarksman25.psc index 1ed03e31..723fdc21 100644 --- a/source/scripts/_00e_lehrbuchmarksman25.psc +++ b/source/scripts/_00e_lehrbuchmarksman25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchMarksman25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Marksman", 25, _00E_LehrbuchMarksmanTo25, _00E_Levelsystem_sSkillNameMarksman) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Marksman", 25, _00E_LehrbuchMarksmanTo25, _00E_Levelsystem_sSkillNameMarksman) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchMarksmanTo25 Auto Message Property _00E_Levelsystem_sSkillNameMarksman Auto diff --git a/source/scripts/_00e_lehrbuchmarksman50.psc b/source/scripts/_00e_lehrbuchmarksman50.psc index f8637897..fae79f33 100644 --- a/source/scripts/_00e_lehrbuchmarksman50.psc +++ b/source/scripts/_00e_lehrbuchmarksman50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchMarksman50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Marksman", 50, _00E_LehrbuchMarksmanTo50, _00E_Levelsystem_sSkillNameMarksman) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Marksman", 50, _00E_LehrbuchMarksmanTo50, _00E_Levelsystem_sSkillNameMarksman) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchMarksmanTo50 Auto Message Property _00E_Levelsystem_sSkillNameMarksman Auto diff --git a/source/scripts/_00e_lehrbuchmarksman75.psc b/source/scripts/_00e_lehrbuchmarksman75.psc index c39c1663..f3cfbc29 100644 --- a/source/scripts/_00e_lehrbuchmarksman75.psc +++ b/source/scripts/_00e_lehrbuchmarksman75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchMarksman75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Marksman", 75, _00E_LehrbuchMarksmanTo75, _00E_Levelsystem_sSkillNameMarksman) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Marksman", 75, _00E_LehrbuchMarksmanTo75, _00E_Levelsystem_sSkillNameMarksman) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchMarksmanTo75 Auto Message Property _00E_Levelsystem_sSkillNameMarksman Auto diff --git a/source/scripts/_00e_lehrbuchonehanded100.psc b/source/scripts/_00e_lehrbuchonehanded100.psc index 8a5860ce..47a8b453 100644 --- a/source/scripts/_00e_lehrbuchonehanded100.psc +++ b/source/scripts/_00e_lehrbuchonehanded100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchOnehanded100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("OneHanded", 100, _00E_LehrbuchOnehandedTo100, _00E_Levelsystem_sSkillNameOneHanded) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("OneHanded", 100, _00E_LehrbuchOnehandedTo100, _00E_Levelsystem_sSkillNameOneHanded) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchOnehandedTo100 Auto Message Property _00E_Levelsystem_sSkillNameOneHanded Auto diff --git a/source/scripts/_00e_lehrbuchonehanded25.psc b/source/scripts/_00e_lehrbuchonehanded25.psc index 2c243be7..ac858296 100644 --- a/source/scripts/_00e_lehrbuchonehanded25.psc +++ b/source/scripts/_00e_lehrbuchonehanded25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchOnehanded25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("OneHanded", 25, _00E_LehrbuchOnehandedTo25, _00E_Levelsystem_sSkillNameOneHanded) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("OneHanded", 25, _00E_LehrbuchOnehandedTo25, _00E_Levelsystem_sSkillNameOneHanded) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchOnehandedTo25 Auto Message Property _00E_Levelsystem_sSkillNameOneHanded Auto diff --git a/source/scripts/_00e_lehrbuchonehanded50.psc b/source/scripts/_00e_lehrbuchonehanded50.psc index 9fa85adb..7b5330d5 100644 --- a/source/scripts/_00e_lehrbuchonehanded50.psc +++ b/source/scripts/_00e_lehrbuchonehanded50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchOnehanded50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("OneHanded", 50, _00E_LehrbuchOnehandedTo50, _00E_Levelsystem_sSkillNameOneHanded) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("OneHanded", 50, _00E_LehrbuchOnehandedTo50, _00E_Levelsystem_sSkillNameOneHanded) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchOnehandedTo50 Auto Message Property _00E_Levelsystem_sSkillNameOneHanded Auto diff --git a/source/scripts/_00e_lehrbuchonehanded75.psc b/source/scripts/_00e_lehrbuchonehanded75.psc index f68f9365..d55a6ce0 100644 --- a/source/scripts/_00e_lehrbuchonehanded75.psc +++ b/source/scripts/_00e_lehrbuchonehanded75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchOnehanded75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("OneHanded", 75, _00E_LehrbuchOnehandedTo75, _00E_Levelsystem_sSkillNameOneHanded) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("OneHanded", 75, _00E_LehrbuchOnehandedTo75, _00E_Levelsystem_sSkillNameOneHanded) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchOnehandedTo75 Auto Message Property _00E_Levelsystem_sSkillNameOneHanded Auto diff --git a/source/scripts/_00e_lehrbuchrestoration100.psc b/source/scripts/_00e_lehrbuchrestoration100.psc index 9c815edb..c2ae7987 100644 --- a/source/scripts/_00e_lehrbuchrestoration100.psc +++ b/source/scripts/_00e_lehrbuchrestoration100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchRestoration100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Restoration", 100, _00E_LehrbuchRestorationTo100, _00E_Levelsystem_sSkillNameRestoration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Restoration", 100, _00E_LehrbuchRestorationTo100, _00E_Levelsystem_sSkillNameRestoration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchRestorationTo100 Auto Message Property _00E_Levelsystem_sSkillNameRestoration Auto diff --git a/source/scripts/_00e_lehrbuchrestoration25.psc b/source/scripts/_00e_lehrbuchrestoration25.psc index 1347b128..5cfd727b 100644 --- a/source/scripts/_00e_lehrbuchrestoration25.psc +++ b/source/scripts/_00e_lehrbuchrestoration25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchRestoration25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Restoration", 25, _00E_LehrbuchRestorationTo25, _00E_Levelsystem_sSkillNameRestoration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Restoration", 25, _00E_LehrbuchRestorationTo25, _00E_Levelsystem_sSkillNameRestoration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchRestorationTo25 Auto Message Property _00E_Levelsystem_sSkillNameRestoration Auto diff --git a/source/scripts/_00e_lehrbuchrestoration50.psc b/source/scripts/_00e_lehrbuchrestoration50.psc index ad2f3bab..560d52a9 100644 --- a/source/scripts/_00e_lehrbuchrestoration50.psc +++ b/source/scripts/_00e_lehrbuchrestoration50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchRestoration50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Restoration", 50, _00E_LehrbuchRestorationTo50, _00E_Levelsystem_sSkillNameRestoration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Restoration", 50, _00E_LehrbuchRestorationTo50, _00E_Levelsystem_sSkillNameRestoration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchRestorationTo50 Auto Message Property _00E_Levelsystem_sSkillNameRestoration Auto diff --git a/source/scripts/_00e_lehrbuchrestoration75.psc b/source/scripts/_00e_lehrbuchrestoration75.psc index e91f88a5..17906bb2 100644 --- a/source/scripts/_00e_lehrbuchrestoration75.psc +++ b/source/scripts/_00e_lehrbuchrestoration75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchRestoration75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Restoration", 75, _00E_LehrbuchRestorationTo75, _00E_Levelsystem_sSkillNameRestoration) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Restoration", 75, _00E_LehrbuchRestorationTo75, _00E_Levelsystem_sSkillNameRestoration) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchRestorationTo75 Auto Message Property _00E_Levelsystem_sSkillNameRestoration Auto diff --git a/source/scripts/_00e_lehrbuchsneak100.psc b/source/scripts/_00e_lehrbuchsneak100.psc index a465e59c..e4a3d419 100644 --- a/source/scripts/_00e_lehrbuchsneak100.psc +++ b/source/scripts/_00e_lehrbuchsneak100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchSneak100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Sneak", 100, _00E_LehrbuchSneakTo100, _00E_Levelsystem_sSkillNameSneaking) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Sneak", 100, _00E_LehrbuchSneakTo100, _00E_Levelsystem_sSkillNameSneaking) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchSneakTo100 Auto Message Property _00E_Levelsystem_sSkillNameSneaking Auto diff --git a/source/scripts/_00e_lehrbuchsneak25.psc b/source/scripts/_00e_lehrbuchsneak25.psc index 0e784770..d3af0e51 100644 --- a/source/scripts/_00e_lehrbuchsneak25.psc +++ b/source/scripts/_00e_lehrbuchsneak25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchSneak25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Sneak", 25, _00E_LehrbuchSneakTo25, _00E_Levelsystem_sSkillNameSneaking) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Sneak", 25, _00E_LehrbuchSneakTo25, _00E_Levelsystem_sSkillNameSneaking) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchSneakTo25 Auto Message Property _00E_Levelsystem_sSkillNameSneaking Auto diff --git a/source/scripts/_00e_lehrbuchsneak50.psc b/source/scripts/_00e_lehrbuchsneak50.psc index 1b285a0f..2b260e0c 100644 --- a/source/scripts/_00e_lehrbuchsneak50.psc +++ b/source/scripts/_00e_lehrbuchsneak50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchSneak50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Sneak", 50, _00E_LehrbuchSneakTo50, _00E_Levelsystem_sSkillNameSneaking) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Sneak", 50, _00E_LehrbuchSneakTo50, _00E_Levelsystem_sSkillNameSneaking) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchSneakTo50 Auto Message Property _00E_Levelsystem_sSkillNameSneaking Auto diff --git a/source/scripts/_00e_lehrbuchsneak75.psc b/source/scripts/_00e_lehrbuchsneak75.psc index f81f7ed6..95bf266a 100644 --- a/source/scripts/_00e_lehrbuchsneak75.psc +++ b/source/scripts/_00e_lehrbuchsneak75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchSneak75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("Sneak", 75, _00E_LehrbuchSneakTo75, _00E_Levelsystem_sSkillNameSneaking) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("Sneak", 75, _00E_LehrbuchSneakTo75, _00E_Levelsystem_sSkillNameSneaking) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchSneakTo75 Auto Message Property _00E_Levelsystem_sSkillNameSneaking Auto diff --git a/source/scripts/_00e_lehrbuchtwohanded100.psc b/source/scripts/_00e_lehrbuchtwohanded100.psc index 143fedb2..184eaf75 100644 --- a/source/scripts/_00e_lehrbuchtwohanded100.psc +++ b/source/scripts/_00e_lehrbuchtwohanded100.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchTwohanded100 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("TwoHanded", 100, _00E_LehrbuchTwohandedTo100, _00E_Levelsystem_sSkillNameTwoHanded) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("TwoHanded", 100, _00E_LehrbuchTwohandedTo100, _00E_Levelsystem_sSkillNameTwoHanded) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchTwohandedTo100 Auto Message Property _00E_Levelsystem_sSkillNameTwoHanded Auto diff --git a/source/scripts/_00e_lehrbuchtwohanded25.psc b/source/scripts/_00e_lehrbuchtwohanded25.psc index e57155c7..405cd2dc 100644 --- a/source/scripts/_00e_lehrbuchtwohanded25.psc +++ b/source/scripts/_00e_lehrbuchtwohanded25.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchTwohanded25 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("TwoHanded", 25, _00E_LehrbuchTwohandedTo25, _00E_Levelsystem_sSkillNameTwoHanded) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("TwoHanded", 25, _00E_LehrbuchTwohandedTo25, _00E_Levelsystem_sSkillNameTwoHanded) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchTwohandedTo25 Auto Message Property _00E_Levelsystem_sSkillNameTwoHanded Auto diff --git a/source/scripts/_00e_lehrbuchtwohanded50.psc b/source/scripts/_00e_lehrbuchtwohanded50.psc index fae2cd8b..0b83d8d5 100644 --- a/source/scripts/_00e_lehrbuchtwohanded50.psc +++ b/source/scripts/_00e_lehrbuchtwohanded50.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchTwohanded50 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("TwoHanded", 50, _00E_LehrbuchTwohandedTo50, _00E_Levelsystem_sSkillNameTwoHanded) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("TwoHanded", 50, _00E_LehrbuchTwohandedTo50, _00E_Levelsystem_sSkillNameTwoHanded) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchTwohandedTo50 Auto Message Property _00E_Levelsystem_sSkillNameTwoHanded Auto diff --git a/source/scripts/_00e_lehrbuchtwohanded75.psc b/source/scripts/_00e_lehrbuchtwohanded75.psc index 0094217c..60555eca 100644 --- a/source/scripts/_00e_lehrbuchtwohanded75.psc +++ b/source/scripts/_00e_lehrbuchtwohanded75.psc @@ -1,9 +1,8 @@ Scriptname _00E_LehrbuchTwohanded75 extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.ReadPrimarySkillBook("TwoHanded", 75, _00E_LehrbuchTwohandedTo75, _00E_Levelsystem_sSkillNameTwoHanded) + _00E_PlayerFunctions.GetSkillControl().ReadPrimarySkillBook("TwoHanded", 75, _00E_LehrbuchTwohandedTo75, _00E_Levelsystem_sSkillNameTwoHanded) EndEvent -_00E_QuestFunctions Property Levelsystem Auto Potion Property _00E_LehrbuchTwohandedTo75 Auto Message Property _00E_Levelsystem_sSkillNameTwoHanded Auto diff --git a/source/scripts/_00e_mq01_functions.psc b/source/scripts/_00e_mq01_functions.psc index 5fe53c7f..b77a3f3d 100644 --- a/source/scripts/_00e_mq01_functions.psc +++ b/source/scripts/_00e_mq01_functions.psc @@ -1,7 +1,6 @@ scriptName _00E_MQ01_Functions extends Quest Conditional Import Utility -Import _00E_QuestFunctions ;===================================================================================== ; FUNCTIONS @@ -104,7 +103,7 @@ function BeginVision() _00E_Ability_StaggerSelfSpell.Cast(_00E_MQ01_FinnREF, _00E_MQ01_FinnREF) _00E_Ability_StaggerSelfSpell.Cast(_00E_MQ01_CarbosREF, _00E_MQ01_CarbosREF) ExplodeDestillator() - Levelsystem.VisionEffectTimestop(False, False, False) + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestop(False, False, False) Wait(0.5) _00E_MQ01_FinnREF.EnableAI(False) _00E_MQ01_CarbosREF.EnableAI(False) @@ -129,7 +128,7 @@ function EndVision() _00E_MQ01_FinnREF.SetGhost(True) _00E_MQ01_CarbosREF.SetGhost(True) Game.DisablePlayerControls() - Levelsystem.VisionEffectTimestopStop(true) + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestopStop(true) VisionVoice.GetReference().Disable(false) _00E_MQ01_FinnREF.EnableAI(True) _00E_MQ01_CarbosREF.EnableAI(True) @@ -253,8 +252,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - bool Property bInVision Auto Conditional Hidden bool Property bHeadacheCured Auto Conditional Hidden diff --git a/source/scripts/_00e_mq01_gourdsscript.psc b/source/scripts/_00e_mq01_gourdsscript.psc index 895e19c5..e2aef2bd 100644 --- a/source/scripts/_00e_mq01_gourdsscript.psc +++ b/source/scripts/_00e_mq01_gourdsscript.psc @@ -10,7 +10,7 @@ Event OnActivate(ObjectReference akActionRef) If CurrentCount >= 5 MQ01_UnchartedLand.SetObjectiveCompleted(10, 1) - Levelsystem.GiveEP(50) + _00E_EPHandler.GiveEP(50) ElseIf CurrentCount < 5 MQ01_UnchartedLand.SetObjectiveCompleted(10,0) MQ01_UnchartedLand.SetObjectiveDisplayed(10, True, True) @@ -25,7 +25,4 @@ EndEvent Quest Property MQ01_UnchartedLand Auto GlobalVariable Property _00E_MQ01_GourdsFound Auto - -_00E_QuestFunctions Property Levelsystem Auto - int doOnce \ No newline at end of file diff --git a/source/scripts/_00e_mq01_mushroomsfound.psc b/source/scripts/_00e_mq01_mushroomsfound.psc index d21dcbd5..c959064e 100644 --- a/source/scripts/_00e_mq01_mushroomsfound.psc +++ b/source/scripts/_00e_mq01_mushroomsfound.psc @@ -12,7 +12,7 @@ if doOnce == 0 && !(MQ01_UnchartedLand.IsObjectiveCompleted(12)) if CurrentCount >= 3 MQ01_UnchartedLand.SetObjectiveCompleted(12,1) - Levelsystem.GiveEP(50) + _00E_EPHandler.GiveEP(50) ElseIf CurrentCount < 3 MQ01_UnchartedLand.SetObjectiveCompleted(12,0) MQ01_UnchartedLand.SetObjectiveDisplayed(12, True, True) @@ -31,6 +31,5 @@ EndEvent Quest Property MQ01_UnchartedLand Auto GlobalVariable Property _00E_MQ01_MushroomFound Auto import math -_00E_QuestFunctions Property Levelsystem Auto int doOnce int done \ No newline at end of file diff --git a/source/scripts/_00e_mq01_nomusiccampboxsc.psc b/source/scripts/_00e_mq01_nomusiccampboxsc.psc index 5ce5da41..f0b884db 100644 --- a/source/scripts/_00e_mq01_nomusiccampboxsc.psc +++ b/source/scripts/_00e_mq01_nomusiccampboxsc.psc @@ -3,7 +3,7 @@ Scriptname _00E_MQ01_NoMusicCampBoxSC extends ObjectReference Event OnTriggerEnter(ObjectReference akActionRef) if akActionRef == PlayerREF - _00E_QuestFunctions.PrintDebugMessage("Silence added.") + _00E_Debug.PrintMessage("Silence added.") _00E_SilenceTransitionHighPriority.Add() EndIf @@ -14,7 +14,7 @@ Event OnTriggerLeave(ObjectReference akActionRef) if akActionRef == PlayerREF - _00E_QuestFunctions.PrintDebugMessage("Silence removed.") + _00E_Debug.PrintMessage("Silence removed.") _00E_SilenceTransitionHighPriority.Remove() EndIf diff --git a/source/scripts/_00e_mq01_wolfstopcombatfailsavesc.psc b/source/scripts/_00e_mq01_wolfstopcombatfailsavesc.psc index 9ef62845..7cf77681 100644 --- a/source/scripts/_00e_mq01_wolfstopcombatfailsavesc.psc +++ b/source/scripts/_00e_mq01_wolfstopcombatfailsavesc.psc @@ -4,10 +4,10 @@ Event OnTriggerEnter(ObjectReference akActionRef) Actor akActionRefActor = akActionRef as Actor - _00E_QuestFunctions.PrintDebugMessage("I exist!") + _00E_Debug.PrintMessage("I exist!") if akActionRefActor != PlayerREF - _00E_QuestFunctions.PrintDebugMessage("Entering trigger.") + _00E_Debug.PrintMessage("Entering trigger.") akActionRefActor.StopCombat() akActionRefActor.StopCombatAlarm() EndIf diff --git a/source/scripts/_00e_mq02_functions.psc b/source/scripts/_00e_mq02_functions.psc index f0ce7544..ac5e7e09 100644 --- a/source/scripts/_00e_mq02_functions.psc +++ b/source/scripts/_00e_mq02_functions.psc @@ -2,7 +2,6 @@ Scriptname _00E_MQ02_Functions extends Quest Conditional Import Utility Import Game -Import _00E_QuestFunctions ;===================================================================================== ; FUNCTIONS @@ -17,7 +16,7 @@ Function MovePlayerAndJesparToStart() FadeToBlackHoldImod.Apply() ForceFirstPerson() DisablePlayerControls(true, true, true, true, true, true, true) - Levelsystem.SkipTimeToHour(5.5) + _00E_TimeControl.SkipTimeToHour(5.5) _00E_MC_JesparREF.Enable() _00E_MC_JesparREF.MoveTo(MQ02_D0_JesparSpawnMarker) Wait(0.3) @@ -53,7 +52,7 @@ Function FadeOutAndBack() SkyrimClear.SetActive() Wait(3.3) _00E_MC_JesparREF.Disable() - Levelsystem.SkipTimeToHour(6.5) + _00E_TimeControl.SkipTimeToHour(6.5) Wait(0.5) ; Jespar may snap to player's position after EnableAI, so we ensure he is in the correct position. ; Plus, he acts weird and wants to go somewhere without this. @@ -175,7 +174,7 @@ EndFunction Function TeleportJesparAway() PlayerREF.AddItem(_01E_TeleportrolleFlusshaim, 1, false) - Levelsystem.TeleportNPC(_00E_MC_JesparREF, MQ02_D5_JesparTeleportMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(_00E_MC_JesparREF, MQ02_D5_JesparTeleportMarker) Self.SetStage(135) SetFlusshaimTavernBarStoolsOwner(PlayerREF.GetActorBase()) @@ -231,7 +230,7 @@ Function WaitForNightfall() DisablePlayerControls() FadeToBlackAndBackIMOD02.Apply() Wait(3) - Levelsystem.SkipTimeToHour(3) + _00E_TimeControl.SkipTimeToHour(3) SetStage(140) EndFunction @@ -239,7 +238,7 @@ EndFunction Function StartJourneyScene() EnablePlayerControls() - SetNPCAsCompanion(_00E_MC_JesparREF, True, 200, 150, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, True, 200, 150, 100) MQ02_TripToArkEnableMarker.EnableNoWait() Weather.ReleaseOverride() If _00E_DisableQuestTutorials.GetValueInt() == 0 @@ -264,7 +263,7 @@ Function MoveJesparToPlayer() DisablePlayerControls() - SetNPCAsCompanion(_00E_MC_JesparREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, False) _00E_MC_JesparREF.MoveTo(MQ02_D7_JesparTeleportMarker) Wait(1) @@ -304,8 +303,8 @@ EndFunction Function FinishQuest() - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() EnablePlayerControls() MQ03.SetStage(5) ; SE: No such objective. @@ -454,8 +453,6 @@ Actor Property PlayerREF Auto Actor Property _00E_MC_JesparREF Auto Actor Property MQ02_CampBanditREF Auto -_00E_QuestFunctions Property Levelsystem Auto - Potion Property _00E_LehrbuchBlockTo25 Auto Potion Property _00E_LehrbuchAlterationTo25 Auto Potion Property _00E_LehrbuchConjurationTo25 Auto diff --git a/source/scripts/_00e_mq03_functions.psc b/source/scripts/_00e_mq03_functions.psc index 3a585515..d55cbc08 100644 --- a/source/scripts/_00e_mq03_functions.psc +++ b/source/scripts/_00e_mq03_functions.psc @@ -1,7 +1,6 @@ Scriptname _00E_MQ03_Functions extends Quest Import Utility -Import _00E_QuestFunctions ;===================================================================================== ; FUNCTIONS @@ -31,7 +30,7 @@ Function StartKonstantinScene() _00E_MC_KonstantinREF.MoveToMyEditorLocation() MQ03_SC2_PlayerMeetsKonstantin.ForceStart() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) EndFunction @@ -125,9 +124,9 @@ EndFunction Function GiveRewardEXP() - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() + _00E_EPHandler.GiveEP(__Config_RewardEXP) _00E_MC_KonstantinREF.EvaluatePackage() _00E_MC_JesparREF.EvaluatePackage() MQ04.Start() @@ -137,7 +136,7 @@ Function GiveRewardEXP() _00E_Tutorial_Companions.Show() EndIf - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) EndFunction @@ -150,7 +149,7 @@ int Property __Config_RewardEXP Auto int Property __Config_GoldReward Auto {How much gold is given to the player by Jespar upon quest completion} -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Scene Property MQ03_SC01_JesparTalksToTempleguard Auto Scene Property MQ03_SC2_PlayerMeetsKonstantin Auto diff --git a/source/scripts/_00e_mq03_konstantindisablefireme.psc b/source/scripts/_00e_mq03_konstantindisablefireme.psc index 33ae8389..f8e0d82f 100644 --- a/source/scripts/_00e_mq03_konstantindisablefireme.psc +++ b/source/scripts/_00e_mq03_konstantindisablefireme.psc @@ -2,7 +2,8 @@ Scriptname _00E_MQ03_KonstantinDisableFireME extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - MQ03.StopFire() + ;Non-existing function + ;MQ03.StopFire() EndEvent diff --git a/source/scripts/_00e_mq05_functions.psc b/source/scripts/_00e_mq05_functions.psc index 37c476a3..137edc95 100644 --- a/source/scripts/_00e_mq05_functions.psc +++ b/source/scripts/_00e_mq05_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_MQ05_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Utility ;===================================================================================== @@ -57,15 +56,15 @@ endFunction Function StartVision() - Levelsystem.VisionEffectTimestop() + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestop() MQ05_SC3_Vision.ForceStart() EndFunction Function StopVision() - Levelsystem.VisionEffectTimestopStop() - Levelsystem.UpdateSpeed(PlayerREF) + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestopStop() + _00E_PlayerFunctions.GetVisionControl().UpdateSpeed(PlayerREF) MQ05_SC3_Vision.Stop() Game.EnablePlayerControls() Game.SetPlayerAIDriven(False) @@ -150,7 +149,7 @@ Function StartRitualScene() SetCompanions(false) MQ05_SC9_DiscussionAndRitual.ForceStart() - UnsummonApparitionIfExists() + _FS_Phasmalist_ControlQuest.UnsummonApparitionIfExists() _FS_TheriantrophistControlQuest.TransformBackIfTransformed() EndFunction @@ -163,13 +162,13 @@ EndFunction Function SetCompanions(bool bCompanion) If bCompanion == true - SetNPCAsCompanion(_00E_MC_CaliaREF, true, 300, 200, 100) - SetNPCAsCompanion(_00E_MQ05_DunwarREF, true, 250, 200, 100) - SetNPCAsCompanion(_00E_MC_JorrekRef, true, 350, 300, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_CaliaREF, true, 300, 200, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MQ05_DunwarREF, true, 250, 200, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JorrekRef, true, 350, 300, 100) Else - SetNPCAsCompanion(_00E_MC_CaliaREF, false) - SetNPCAsCompanion(_00E_MQ05_DunwarREF, false) - SetNPCAsCompanion(_00E_MC_JorrekRef, false) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_CaliaREF, false) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MQ05_DunwarREF, false) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JorrekRef, false) EndIf EndFunction @@ -193,7 +192,7 @@ Function PlayerDrinksPotion() _00E_NPCKillBodyfall.Play(PlayerREF) Wait(2) - Levelsystem.RemoveAllItemsSafeVersion(MQ05Container) + _00E_PlayerFunctions.GetSafeItemRemove().RemoveAllItemsSafeVersion(MQ05Container) PlayerREF.AddItem(ClothesPrisonerRags, 1, true) PlayerREF.EquipItem(ClothesPrisonerRags) @@ -217,7 +216,7 @@ Function PlayerDrinksPotion() Debug.Trace("MQ05: Aixon correctly located in player cell.") endif _00E_SilenceTransitionHighPriority.Remove() - Levelsystem.ResumeRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking() Game.RequestAutoSave() EndFunction @@ -238,7 +237,7 @@ EndFunction Function StartFinalScene() Game.ForceThirdPerson() - PlayerAIWalk(True) + _00E_Func_AIWalk.PlayerAIWalk(True) ; Kill all the ghosts, to avoid confusing Aixon's AI. int iIndex = _00E_MQ05_GhostsList.GetSize() @@ -306,14 +305,14 @@ Function StartAixonScene() FadeToWhiteHoldImod.ApplyCrossFade() Wait(5) - Levelsystem.RemoveAllItemsSafeVersion(None) + _00E_PlayerFunctions.GetSafeItemRemove().RemoveAllItemsSafeVersion(None) Self.SetStage(150) EndFunction Function CompleteQuest() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() If CQJ01_SC01_DancingNomadScene.IsPlaying() CQJ01_SC01_DancingNomadScene.Stop() @@ -323,7 +322,7 @@ Function CompleteQuest() _00E_MC_YuslanRef.Enable() EndIf - Levelsystem.GiveEp(__Config_RewardEXP) + _00E_EPHandler.GiveEp(__Config_RewardEXP) If MQ05Prologue_SC2.IsPlaying() MQ05Prologue_SC2.Stop() @@ -343,10 +342,6 @@ Function CompleteQuest() EndFunction -Function StopRandomHeadTracking() - Levelsystem.StopRandomHeadTracking() -EndFunction - ;===================================================================================== ; PROPERTIES @@ -356,8 +351,6 @@ EndFunction int Property __Config_RewardEXP = 350 Auto {How much EXP is granted upon completion} -_00E_QuestFunctions Property Levelsystem Auto - bool Property bSpokenWithCalia Auto Conditional Hidden bool Property bSpokenWithDunwar Auto Conditional Hidden diff --git a/source/scripts/_00e_mq06_functions.psc b/source/scripts/_00e_mq06_functions.psc index ab80c98b..e35e67c8 100644 --- a/source/scripts/_00e_mq06_functions.psc +++ b/source/scripts/_00e_mq06_functions.psc @@ -3,7 +3,6 @@ Import Utility Import Game Import Actor -Import _00E_QuestFunctions ;===================================================================================== ; FUNCTIONS @@ -11,7 +10,7 @@ Import _00E_QuestFunctions Function SetUp() - UnsummonApparitionIfExists() + _FS_Phasmalist_ControlQuest.UnsummonApparitionIfExists() _FS_TheriantrophistControlQuest.TransformBackIfTransformed() JorrekBartar.Disable() @@ -37,23 +36,23 @@ Function SetUp() PlayerREF.EquipItem(ClothesMinerClothes, false, true) MQ06Linker.Enable() SkyrimOvercastRain.ForceActive(True) - Levelsystem.SkipTimeToHour(22.5) + _00E_TimeControl.SkipTimeToHour(22.5) _00E_SilenceAbruptHighPriority.Add() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) - SafeMoveTo_NoWait(_00E_MC_JesparREF, MQ06_SC1_JesparStartMarker) + _00E_Func_SafeMove.SafeMoveTo_NoWait(_00E_MC_JesparREF, MQ06_SC1_JesparStartMarker) Dunwar.ForceRefIfEmpty(_00E_MQ05_DunwarREF) - SafeMoveTo_NoWait(_00E_MQ05_DunwarREF, MQ06_SC2_DunwarPortMarker) + _00E_Func_SafeMove.SafeMoveTo_NoWait(_00E_MQ05_DunwarREF, MQ06_SC2_DunwarPortMarker) _00E_MQ05_DunwarREF.BlockActivation(True) _00E_MQ05_DunwarREF.SetUnconscious(False) _00E_MQ05_DunwarREF.SetOutfit(_00E_MC_Calia_SimpleClothingBarefeet) _00E_MQ05_DunwarREF.MoveTo(MQ06_SC2_DunwarBedREF) _00E_MQ05_DunwarREF.EvaluatePackage() - SafeMoveTo_NoWait(_00E_MC_NataraREF, MQ06_SC1_NataraAppearMarker) - SafeMoveTo_NoWait(_00E_MC_CaliaREF, MQ06_SC1_CaliaStartMarker) - SafeMoveTo_NoWait(_00E_MC_TealorREF, MQ06_SC1_TealorMarker) - SafeMoveTo_NoWait(MQ06_KonstantinREF, MQ06_SC1_KonstantinWalkMarker) + _00E_Func_SafeMove.SafeMoveTo_NoWait(_00E_MC_NataraREF, MQ06_SC1_NataraAppearMarker) + _00E_Func_SafeMove.SafeMoveTo_NoWait(_00E_MC_CaliaREF, MQ06_SC1_CaliaStartMarker) + _00E_Func_SafeMove.SafeMoveTo_NoWait(_00E_MC_TealorREF, MQ06_SC1_TealorMarker) + _00E_Func_SafeMove.SafeMoveTo_NoWait(MQ06_KonstantinREF, MQ06_SC1_KonstantinWalkMarker) If MQ06_SiriusREF.IsDisabled() MQ06_SiriusREF.Enable() @@ -65,7 +64,7 @@ Function SetUp() MQ06_SiriusREF.GetActorBase().SetName("") If MQ06_SC1_PlayerBed.GetParentCell() == SuntempleKuratorium - PlayerAIWalk(True) + _00E_Func_AIWalk.PlayerAIWalk(True) EndIf Wait(0.2) @@ -270,23 +269,23 @@ Function SetUpReal() ActivateBeds() SkyrimOvercastRain.ForceActive(True) - Levelsystem.SkipTimeToHour(22.5) + _00E_TimeControl.SkipTimeToHour(22.5) - SafeMoveTo_NoWait(_00E_MQ05_DunwarREF, MQ06_SC2_DunwarBedREF) - SafeMoveTo_NoWait(_00E_MC_CaliaREF, MQ06_SC2_CaliaLean) + _00E_Func_SafeMove.SafeMoveTo_NoWait(_00E_MQ05_DunwarREF, MQ06_SC2_DunwarBedREF) + _00E_Func_SafeMove.SafeMoveTo_NoWait(_00E_MC_CaliaREF, MQ06_SC2_CaliaLean) _00E_MC_CaliaREF.SetOutfit(_00E_MC_Calia_SimpleClothingBarefeet) _00E_MC_CaliaREF.UnEquipItem(_00E_MC_CaliaREF.GetEquippedWeapon()) MQ12c_SC01_FailsaveREF.Enable() PlayerREF.MoveTo(MQ06_SC02_PlayerBed) - PlayerAIWalk(True) + _00E_Func_AIWalk.PlayerAIWalk(True) Game.ForceThirdPerson() MQ06_SC2_PlayerWakesUp.ForceStart() _00E_MQ06_VisionFadeOut.Stop(_00E_MC_CaliaREF) _00E_Music_Special_Zyklus_Loop.Remove() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() String facegen = "bUseFaceGenPreprocessedHeads:General" SetINIBool(facegen, False) Game.GetPlayer().QueueNiNodeUpdate() @@ -347,17 +346,17 @@ Function FadeBackReal() Wait(2) MQ06_SC02_PlayerBed.Activate(PlayerREF, True) Wait(3) - PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() _00E_Music_Special_Zyklus_Loop.Remove() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() DeactivateBeds() - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) EndFunction Function CaliaPutOnShoes() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_MC_CaliaREF.SetOutfit(_00E_MC_Calia_SimpleClothing) MQ06_SC3_CaliaShowsPlayerAround.ForceStart() If _00E_MC_CaliaREF.GetEquippedWeapon() != None @@ -379,7 +378,7 @@ Function StartTealorScene() ActivateBeds() _00E_MC_TealorREF.Enable() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() MQ06Linker.Disable() _00E_MC_TealorREF.MoveToMyEditorLocation() _00E_MC_TealorREF.MoveTo(MQ16_SC04_TealorStartMarker) @@ -466,7 +465,7 @@ Function ConsecreationFailsave() EndFunction Function OnConsecrationKicksIn() - Levelsystem.StopRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).StopRandomHeadTracking() Int iIndex = 0 While iIndex < SC05_SpectatorArray.Length @@ -491,7 +490,7 @@ Function StartSilence() EndIf bRitualPlaying = True - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() CompanionIsTalking.SetValueInt(0) _00E_Music_Special_MQ06_Consecration.Add() _00E_SilenceTransitionLowPriority02.Add() @@ -526,7 +525,7 @@ Function UnfillSpectators() Int iIndex - Levelsystem.ResumeRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking() JorrekBartar.ClearLookAt() _00E_MC_NataraREF.ClearLookAt() @@ -550,7 +549,7 @@ Function UnfillSpectators() iIndex += 1 EndWhile - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Special_MQ06_Consecration.Remove() RegisterForSingleUpdateGameTime(1.0) @@ -561,7 +560,7 @@ Function UnfillSpectators() EndWhile CompanionIsTalking.SetValueInt(0) - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) EndFunction @@ -679,7 +678,7 @@ int Property __Config_RewardEXP Auto int Property iKeeperMiniStage Auto Conditional Hidden -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Int GameDay diff --git a/source/scripts/_00e_mq07_functions.psc b/source/scripts/_00e_mq07_functions.psc index 2e784945..11141439 100644 --- a/source/scripts/_00e_mq07_functions.psc +++ b/source/scripts/_00e_mq07_functions.psc @@ -6,7 +6,7 @@ Scriptname _00E_MQ07_Functions extends Quest Function CompleteQuestMQ07() - Levelsystem.GiveEp(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) SetStage(15) Self.CompleteQuest() MQ08Prologue.SetStage(5) @@ -20,5 +20,3 @@ EndFunction int Property __Config_RewardEXP Auto Quest Property MQ08Prologue Auto - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/_00e_mq07a_functions.psc b/source/scripts/_00e_mq07a_functions.psc index 6a0a0755..de883e41 100644 --- a/source/scripts/_00e_mq07a_functions.psc +++ b/source/scripts/_00e_mq07a_functions.psc @@ -2,7 +2,6 @@ Scriptname _00E_MQ07a_Functions extends Quest Conditional Import Utility Import Debug -Import _00E_QuestFunctions ;===================================================================================== ; EVENTS @@ -96,7 +95,7 @@ Function StartJourney() MQ07a_JesparFollowTriggerStartREF = Game.GetForm(0x00106646) as ObjectReference EndIf - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_JesparREF, True, 350, 350, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, True, 350, 350, 100) CompanionIsTalking.SetValueInt(0) MQ07a_JesparFollowTriggerStartREF.Enable() @@ -109,7 +108,7 @@ Function WaitForNightfall() Wait(2) FadeToBlackHoldIMOD.ApplyCrossFade() Wait(1) - Levelsystem.SkipTimeToHour(23) + _00E_TimeControl.SkipTimeToHour(23) _00E_MC_JesparREF.MoveTo(MQ07a_SC2_JesparWaitForNightfallMarker) PlayerREF.MoveTo(MQ07a_SC2_PlayerWaitMarker) MQ07a_SC2_Campfire.Enable() @@ -121,7 +120,7 @@ EndFunction Function StartSC03() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_JesparREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, False) MQ07a_SC3_LivingRoomDoor.SetOpen(False) MQ07a_SC3_LivingRoomDoor.BlockActivation(True) MQ07A_SC3_GateScene.ForceStart() @@ -132,7 +131,7 @@ Function AdjustAgedManSpeed() MQ07a_TheAgedManREF.SetActorValue("speedMult", 75) _00E_MC_JesparREF.SetActorValue("speedMult", 75) - Levelsystem.UpdateSpeed(MQ07a_TheAgedManREF) + _00E_PlayerFunctions.GetVisionControl().UpdateSpeed(MQ07a_TheAgedManREF) EndFunction @@ -347,7 +346,7 @@ Function PortPlayerIntoMemory() _00E_MQ07a_VisionAwake.Apply() TimescaleDefault = Timescale.GetValue() Timescale.SetValue(0.01) - Levelsystem.SkipTimeToHour(22) + _00E_TimeControl.SkipTimeToHour(22) PlayerREF.MoveTo(MQ07a_VisionStart_REF) Utility.Wait(1) PlayerREF.MoveTo(MQ07a_VisionStart_REF) ; Yes, move the player again. Without it the worldspace's weather does not start. @@ -379,7 +378,7 @@ EndFunction Function KnockDoor() - _00E_QuestFunctions.EndWerewolfModeWhenTransformed() + _FS_TheriantrophistControlQuest.TransformBackIfTransformed() Game.ForceThirdPerson() Wait(0.1) PlayerREF.PlayIdle(IdleMT_DoorBang) @@ -550,7 +549,7 @@ Function TeleportMage() _00E_NPCTeleportExplosionIMOD.Apply() MQ07a_SC10_MageREF.Enable() MQ07a_SC10_MageREF.MoveTo(MQ07a_SC9_MageAppearMarker) - _00E_QuestFunctions.WaitForReferenceToLoad(MQ07a_SC10_MageREF) + _00E_Func_WaitForRef.WaitForReferenceToLoad(MQ07a_SC10_MageREF) Debug.sendAnimationEvent(MQ07a_SC10_MageREF, "IdleWebEnterInstant") MQ07a_SC10_MageREF.setActorValue("Variable03", 5) TimeFadeOut01FXS.Stop(MQ07a_SC10_MageREF) @@ -570,7 +569,7 @@ EndFunction Function StartSC10() - _00E_QuestFunctions.EndWerewolfModeWhenTransformed() + _FS_TheriantrophistControlQuest.TransformBackIfTransformed() _00E_FS_Theriantrophist_AllowTemporaryTransform.SetValueInt(0) Game.ShowFirstPersonGeometry(False) Game.DisablePlayerControls(true, true, true, false, true, true, true, true) @@ -625,7 +624,7 @@ Function EndDream() Game.DisablePlayerControls() Game.SetPlayerAIDriven(True) Game.RequestAutoSave() - Levelsystem.SkipTimeToHour(1) + _00E_TimeControl.SkipTimeToHour(1) MQ07a_ZuraREF.SetGhost(False) MQ07a_ZuraREF.GetActorBase().SetEssential(False) MQ07a_ZuraREF.Kill(MQ07a_ZuraREF) @@ -731,11 +730,11 @@ Function Teleport(String WhoToTeleport) MQ07a_SC13_WordOfTheDead.Disable() if WhoToTeleport == "Jespar" - Levelsystem.TeleportNPC(_00E_MC_JesparREF, MQ07a_SC13_JesparTeleport) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(_00E_MC_JesparREF, MQ07a_SC13_JesparTeleport) ElseIf WhoToTeleport == "Both" Game.DisablePlayerControls() - Levelsystem.TeleportNPC(_00E_MC_JesparREF, MQ07a_SC13_JesparTeleport) - Levelsystem.TeleportPlayer(MQ07a_SC13_PlayerTeleport) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(_00E_MC_JesparREF, MQ07a_SC13_JesparTeleport) + _00E_PlayerFunctions.GetTeleportControl().TeleportPlayer(MQ07a_SC13_PlayerTeleport) EndIf EndFunction @@ -825,9 +824,9 @@ EndFunction Function CompleteMQ07a() - Levelsystem.RemoveSilence() - Levelsystem.SetAllowIdleChatter(True) - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + AllowIdleChatter.SetValue(1) + _00E_EPHandler.GiveEP(__Config_RewardEXP) MQ07.SetObjectiveDisplayed(20) MQ07.SetObjectiveCompleted(10) Self.CompleteQuest() @@ -941,7 +940,7 @@ int Property __Config_RewardEXP Auto int Property __Config_rewardGold Auto {How much Gold is to be granted upon quest completion} -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor SC9_Mage diff --git a/source/scripts/_00e_mq07b_questfunctions.psc b/source/scripts/_00e_mq07b_questfunctions.psc index 329d5c99..d0fb3315 100644 --- a/source/scripts/_00e_mq07b_questfunctions.psc +++ b/source/scripts/_00e_mq07b_questfunctions.psc @@ -1,7 +1,6 @@ scriptname _00E_MQ07b_Questfunctions extends Quest Conditional Import Utility -Import _00E_QuestFunctions ;===================================================================================== ; EVENTS @@ -36,8 +35,8 @@ EndEvent Function StartQuest() CompanionIsTalking.SetValueInt(0) - Levelsystem.SetAllowIdleChatter(False) - Levelsystem.RemoveSilence() + AllowIdleChatter.SetValue(0) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_MC_CaliaREF.Enable() _00E_MC_CaliaREF.MoveTo(CaliaStartMarker) _00E_MC_CaliaREF.SetOutfit(_00E_MC_Calia_Outfit) @@ -83,7 +82,7 @@ Function StartEscort() MQ07MapMarker.AddToMap(false) DoorRef.Enable() MQ07b_SC01_CaliaComment.ForceStart() - SetNPCAsCompanion(_00E_MC_CaliaREF, True, 350, 400, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_CaliaREF, True, 350, 400, 100) EndFunction @@ -112,7 +111,7 @@ Function PlayBellVision() glowingRefs.AddForm(MQ07b_SC03_BurntCorpseREF) - Levelsystem.VisionEffectNoTimestop(glowingRefs, MQ07b_SC2_BellVisionStaticRefs, false) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(glowingRefs, MQ07b_SC2_BellVisionStaticRefs, false) Wait(1.0) _00E_QuestshaderRed.Play(MQ07Bell01, 2.0) _00E_BellGong_03.Play(MQ07Bell01) @@ -135,7 +134,7 @@ Function PlayBellVision() Wait(2) - Levelsystem.VisionEffectNoTimestopStop(glowingRefs, MQ07b_SC2_BellVisionStaticRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(glowingRefs, MQ07b_SC2_BellVisionStaticRefs) _00E_MC_CaliaREF.EvaluatePackage() _00E_MC_LishariREF.EvaluatePackage() @@ -473,12 +472,12 @@ Function PlayVisionVoice(int iVisionIndex, ObjectReference objShader) caliaFormlist.AddForm(_00E_MC_CaliaREF as Actor) _00E_MQ07b_VisionREF.MoveTo(PlayerREF) iVisionIndexProperty = iVisionIndex - Levelsystem.VisionEffectNoTimestop(involvedFormlist, caliaFormlist, true) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(involvedFormlist, caliaFormlist, true) Wait(1) _00E_MQ07b_VisionREF.Say(MQ07b_D7_VisionBranchTopic) Wait(7) _00E_MQ07b_VisionREF.Disable() - Levelsystem.VisionEffectNoTimestopStop(involvedFormlist, caliaFormlist) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(involvedFormlist, caliaFormlist) _00E_MQ07b_VisionREF.Enable() EndFunction @@ -487,10 +486,10 @@ Function FinishQuest() CompanionIsTalking.SetValueInt(0) MQ07bAftermath.SetStage(5) - Levelsystem.GiveEp(__Config_iRewardEXP) - Levelsystem.RemoveSilence() - Levelsystem.SetAllowIdleChatter(True) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_CaliaREF, False) ; Failsafe + _00E_EPHandler.GiveEP(__Config_iRewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + AllowIdleChatter.SetValue(1) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_CaliaREF, False) ; Failsafe SetObjectiveCompleted(125) PlayerREF.AddItem(Gold001, 250) CompleteAllObjectives() @@ -522,7 +521,7 @@ int Property iVisionIndexProperty Auto Conditional Hidden bool Property bHallysArrested Auto Conditional Hidden -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Quest Property MQ08Prologue Auto Quest Property MQ07b_DeusExMachina Auto diff --git a/source/scripts/_00e_mq07b_sc02_failsave02sc.psc b/source/scripts/_00e_mq07b_sc02_failsave02sc.psc index 73e7eb0b..a87065dd 100644 --- a/source/scripts/_00e_mq07b_sc02_failsave02sc.psc +++ b/source/scripts/_00e_mq07b_sc02_failsave02sc.psc @@ -14,7 +14,7 @@ Event OnTriggerEnter(ObjectReference akActionRef) If _00E_MC_CaliaREF == None _00E_MC_CaliaREF = Game.GetFormFromFile(0x00035825, "Skyrim.esm") as Actor EndIf - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_CaliaREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_CaliaREF, False) EndIf diff --git a/source/scripts/_00e_mq07b_sc02_failsavesc.psc b/source/scripts/_00e_mq07b_sc02_failsavesc.psc index 3cfa54eb..f09c693d 100644 --- a/source/scripts/_00e_mq07b_sc02_failsavesc.psc +++ b/source/scripts/_00e_mq07b_sc02_failsavesc.psc @@ -4,8 +4,8 @@ Event OnTriggerEnter(ObjectReference akActionRef) if akActionRef == PlayerREF && MQ07b.GetStage() == 35 - Levelsystem.SetAllowIdleChatter(False) - Levelsystem.RemoveCombatSoundtracks() + AllowIdleChatter.SetValue(0) + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() if !MQ07b_SC02_Lishari.IsPlaying() MQ07b_SC02_Lishari.ForceStart() @@ -17,7 +17,7 @@ EndEvent bool bDone -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor Property PlayerREF Auto diff --git a/source/scripts/_00e_mq07baftermath_function.psc b/source/scripts/_00e_mq07baftermath_function.psc index 27efd073..ee09e1d7 100644 --- a/source/scripts/_00e_mq07baftermath_function.psc +++ b/source/scripts/_00e_mq07baftermath_function.psc @@ -1,7 +1,5 @@ Scriptname _00E_MQ07bAftermath_Function extends Quest -Import _00E_QuestFunctions - ;===================================================================================== ; EVENTS ;===================================================================================== diff --git a/source/scripts/_00e_mq08_questfunctions.psc b/source/scripts/_00e_mq08_questfunctions.psc index 4fdb6f6a..2d3d7235 100644 --- a/source/scripts/_00e_mq08_questfunctions.psc +++ b/source/scripts/_00e_mq08_questfunctions.psc @@ -1,7 +1,5 @@ scriptname _00E_MQ08_Questfunctions extends Quest Conditional -Import _00E_QuestFunctions - ;===================================================================================== ; FUNCTIONS ;===================================================================================== @@ -14,7 +12,7 @@ EndFunction Function PortFollowerToNebelhaim() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_MC_JesparREF.MoveTo(MQ08PortMarker) If _00E_MC_JesparREF.IsDisabled() @@ -55,13 +53,13 @@ EndFunction Function EnableFollower() MQ09a_FollowStartBoxREF.Enable() - SetNPCAsCompanion(_00E_MC_JesparREF, True, 350, 400, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, True, 350, 400, 100) EndFunction Function FollowerStopBeforeTemple() - SetNPCAsCompanion(_00E_MC_JesparREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, False) EndFunction @@ -171,7 +169,7 @@ endFunction Function KonstantinStartCombat() - SetNPCAsCompanion(_00E_MC_JesparREF, True, 350, 400, 100) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, True, 350, 400, 100) ;We also need to change Constanine's stats, since they were adjusted upon entering the Living Temple _00E_MC_KonstantinREF.SetActorValue("Health", 850) _00E_MC_KonstantinREF.SetActorValue("Stamina", 850) @@ -194,7 +192,7 @@ Function KillKonstantin() _00E_MC_KonstantinREF.GetActorBase().SetEssential(False) _00E_MC_KonstantinREF.Kill(PlayerREF) - SetNPCAsCompanion(_00E_MC_JesparREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, False) SetStage(155) @@ -376,7 +374,7 @@ EndFunction Function PrepareOstianTalk() - _00E_QuestFunctions.PlayerAIWalk() + _00E_Func_AIWalk.PlayerAIWalk() MQ09a_SC08_PlayerBenchMarker = Game.GetForm(0x00150B74) as ObjectReference PlayerREF.MoveTo(MQ09a_SC08_PlayerBenchMarker) @@ -414,8 +412,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - bool Done = false; bool Property bAvoidedQuestion Auto Conditional Hidden diff --git a/source/scripts/_00e_mq08aprologue_functions.psc b/source/scripts/_00e_mq08aprologue_functions.psc index a914aee5..120eeb83 100644 --- a/source/scripts/_00e_mq08aprologue_functions.psc +++ b/source/scripts/_00e_mq08aprologue_functions.psc @@ -2,7 +2,6 @@ Scriptname _00E_MQ08aPrologue_Functions extends Quest Import Utility Import Debug -Import _00E_QuestFunctions ;===================================================================================== @@ -84,7 +83,7 @@ EndFunction Function StartMQ08() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() Self.CompleteQuest() MQ08.SetStage(5) @@ -92,7 +91,7 @@ EndFunction Function PortKonstantin() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() MQ08.SetStage(50) EndFunction @@ -101,8 +100,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - Actor Property _00E_MC_NataraREF Auto Actor Property _00E_MC_YuslanRef Auto Actor Property _00E_MC_TealorREF Auto diff --git a/source/scripts/_00e_mq09_questfunctions.psc b/source/scripts/_00e_mq09_questfunctions.psc index 0a32c8e1..3b559bf6 100644 --- a/source/scripts/_00e_mq09_questfunctions.psc +++ b/source/scripts/_00e_mq09_questfunctions.psc @@ -40,7 +40,7 @@ EndEvent Function RemoveSilences() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() EndFunction @@ -63,7 +63,7 @@ Function InitQuest() Utility.Wait(1.0) Timescale.SetValue(0.1) - Levelsystem.SkipTimeToHour(18.3) + _00E_TimeControl.SkipTimeToHour(18.3) MQ09_LightParentREF.Disable() FadeToBlackHoldIMOD.Apply() PlayerREF.MoveTo(MQ09_SC01_PlayerBedREF) @@ -72,7 +72,7 @@ Function InitQuest() MQ09StaticDoor.disable() MQ08_SoultrainDoorREF.SetOpen(True) - _00E_QuestFunctions.PlayerAIWalk(True) + _00E_Func_AIWalk.PlayerAIWalk(True) Game.ForceThirdPerson() If MQ09_D1_SceneIsle == None @@ -113,7 +113,7 @@ Function PlayerStandUp() FadeToBlackHoldIMOD.Remove() _00E_WakeUp.ApplyCrossFade(afFadeDuration = 0.5) MQ09_SC01_PlayerBedREF.Activate(PlayerREF, true) - _00E_QuestFunctions.PlayerAiWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() EndFunction @@ -261,7 +261,7 @@ Function GameFadeOut() MQ09_MC_TealorREF.MoveTo(MQ09_SC06_TealorTurnAround) _00E_SC_AlmaREF.SetOutfit(_00E_NehrimeseOutfit01NoHelmetNoShield) PlayerRef.MoveTo(MQ09_SC04_ChairMarkerPlayer) - _00E_QuestFunctions.PlayerAIWalk(True) + _00E_Func_AIWalk.PlayerAIWalk(True) Wait(1) MQ09_D4_TaranorScene.ForceStart() @@ -409,7 +409,6 @@ Bool Done= False Bool Property bBedFailsave Auto Conditional Hidden -_00E_QuestFunctions Property Levelsystem Auto _00E_MQ08_Questfunctions Property MQ09a Auto Actor Property _00E_MC_JesparREF Auto diff --git a/source/scripts/_00e_mq10a_functions.psc b/source/scripts/_00e_mq10a_functions.psc index 93b64fdd..196ca15b 100644 --- a/source/scripts/_00e_mq10a_functions.psc +++ b/source/scripts/_00e_mq10a_functions.psc @@ -1,7 +1,6 @@ Scriptname _00E_MQ10a_Functions extends Quest Import Utility -Import _00E_QuestFunctions ;===================================================================================== ; FUNCTIONS @@ -11,14 +10,14 @@ Function SetUpScene() ; Prepare for scene MQ10a_SC1_DreamSequencePart01, part 1 of 3. ; This is called from the result script of MQ10a stage 5. - _00E_QuestFunctions.UnsummonApparitionIfExists() + _FS_Phasmalist_ControlQuest.UnsummonApparitionIfExists() MQ10a_SC1_HeartParentREF.Enable() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() PlayerREF.MoveTo(PlayerStartMarkerNew) fPlayerScale = _00E_SetActorScale.Change(PlayerREF, 0.85) - Levelsystem.SkipTimeToHour(18.4) + _00E_TimeControl.SkipTimeToHour(18.4) Game.ForceFirstPerson() - _00E_QuestFunctions.PlayerAIWalkStop() ; workaround for the "uncompiled scripts bug" of patch 1.5.8.0 + _00E_Func_AIWalk.PlayerAIWalkStop() ; workaround for the "uncompiled scripts bug" of patch 1.5.8.0 ;Game.EnablePlayerControls() Game.DisablePlayerControls(false, true, true, false, true, true, true, true, 0) Game.RequestAutoSave() @@ -58,7 +57,7 @@ Function SetUpSceneForReal() MQP01_DreamDoorREF.SetLockLevel(255) ;MQ10a_SC1_DreamSequencePart01.ForceStart() starts with the begin of the quest anyway, this only causes a papyrus error EnableSisterAndMother() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() EndFunction @@ -197,8 +196,6 @@ EndEvent float fPlayerScale -_00E_QuestFunctions Property Levelsystem Auto - Actor Property MQ10a_SC1_FatherREF Auto Actor Property MQ10a_SC1_MotherREF Auto Actor Property MQ10a_SC1_SisterREF Auto diff --git a/source/scripts/_00e_mq10b_questfunctions.psc b/source/scripts/_00e_mq10b_questfunctions.psc index dc8cb21b..134161e2 100644 --- a/source/scripts/_00e_mq10b_questfunctions.psc +++ b/source/scripts/_00e_mq10b_questfunctions.psc @@ -1,7 +1,5 @@ Scriptname _00E_MQ10b_Questfunctions extends Quest -Import _00E_QuestFunctions - ;===================================================================================== ; FUNCTIONS ;===================================================================================== @@ -15,7 +13,7 @@ function SetUp() MQ10b_FisherwomanREF.Enable() MQ10b_FisherwomanREF.MoveTo(MQ10b_FisherwomanMarkerREF) PlayerREF.MoveTo(Mq10bPlayerMarkerRef) - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Special_Dreams.Remove() MQ07b_NuminosREF.Enable() LeuchtfeuerSwitcher.Enable() @@ -25,7 +23,7 @@ EndFunction Function RemoveSilences() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() EndFunction @@ -68,7 +66,7 @@ Function PortToDunehome() Self.SetStage(30) PlayerREF.MoveTo(MQ10b_SC02_PlayerMarker) _00E_SilenceLongTransitionHighPriority.Remove() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() Fischerin.MoveTo(MQ10b_SC02_FisherWomanMarker) _00E_MC_JesparRef.MoveTO(MQ10b_SC02_JesparMarker) Done = True @@ -82,10 +80,10 @@ EndFunction Function PortJespar() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_SilenceAbruptHighPriority.remove() Actor JesparActor = _00E_MC_JesparRef as actor - Levelsystem.TeleportNPC(JesparActor, MQ10bJesparPortMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(JesparActor, MQ10bJesparPortMarker) If !CQC02.IsCompleted() && CQC02.IsRunning() @@ -94,7 +92,7 @@ Function PortJespar() CQC03.SetStage(5) EndIf - _00E_QuestFunctions.EnableReferenceFormList(_00E_MQ09b_NehrimeseSoldiersFRM) + _00E_Func_ReferenceFormList.Enable(_00E_MQ09b_NehrimeseSoldiersFRM) EndFunction @@ -150,7 +148,7 @@ Function FadeOutScene() SuntempleEmporium_ClearWeatherLinker.Disable() SetStage(50) - Levelsystem.SkipTimeToHour(20) + _00E_TimeControl.SkipTimeToHour(20) EndFunction @@ -162,7 +160,7 @@ EndFunction Function TealorPortToBeacon() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_MC_TealorREF.MoveTo(MQ05Prologue_SC2_TealorTalkMarker) EndFunction @@ -177,7 +175,7 @@ EndFunction Function KillLishari() - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) MQ10bLishariDead.Enable() MQ10bLishariDead.SetOutfit(_00E_LisharisArmor_Outfit) MQ10bLishariDead.AddItem(_50E_NP_LishariArmor, 1) @@ -265,8 +263,8 @@ Function FinishQuest() MQ10bLexilContainer.RemoveAllItems(PlayerREF, true, true) MQ10bLishariDead.disable() - Levelsystem.GiveEP(1000) - Levelsystem.RemoveSilence() + _00E_EPHandler.GiveEP(1000) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() FS_NQ03.SetStage(10) @@ -293,7 +291,7 @@ Quest Property CQJ02 Auto Quest Property MQ12a Auto Quest Property FS_NQ03 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor Property _00E_MC_LishariREF Auto Actor Property _00E_MC_NataraREF Auto diff --git a/source/scripts/_00e_mq11a_functions.psc b/source/scripts/_00e_mq11a_functions.psc index 55cdc939..b54f1b77 100644 --- a/source/scripts/_00e_mq11a_functions.psc +++ b/source/scripts/_00e_mq11a_functions.psc @@ -3,7 +3,7 @@ Scriptname _00E_MQ11a_Functions extends Quest Conditional Import Utility Import Game Import Debug -Import _00E_QuestFunctions +Import _00E_PlayerFunctions ;===================================================================================== ; EVENTS @@ -134,7 +134,7 @@ Function CheckSpokenWith() Self.SetStage(37) EndIf - Levelsystem.GiveEP(__Config_RewardEXPSpeakWithPeople) + _00E_EPHandler.GiveEP(__Config_RewardEXPSpeakWithPeople) EndFunction @@ -175,8 +175,8 @@ Function SetUpExplosion() CompanionIsTalking.SetValueInt(0) _00E_SilenceTransitionHighPriority.Add() - Levelsystem.FadeToBlack() - Levelsystem.SkipTimeToHour(22) + GetFadeToBlackControl().FadeToBlack() + _00E_TimeControl.SkipTimeToHour(22) MQ11a_SC6_SnowdriftParent.Disable() MQ11a_SC6_ParentBarrel.Enable() DisableWolfPack() @@ -290,7 +290,7 @@ Function StartVisionFX() MQ11a_DalGalarREF.SetAlpha(0.0) MQ11a_DiscipleREF.MoveTo(Mq11a_SC8_DiscipleTalkMarker) MQ11a_DalGalarREF.SetAlpha(0.0) - Levelsystem.VisionEffectNoTimestop(_00E_MQ11a_SC8_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_MQ11a_SC8_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) EndFunction @@ -299,7 +299,7 @@ Function StopVisionFX() _00E_SilenceTransitionHighPriority.Add() Weather.ReleaseOverride() SkyrimOvercastSnow.ForceActive() - Levelsystem.VisionEffectNoTimestopStop(_00E_MQ11a_SC8_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_MQ11a_SC8_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) MQ11a_DiscipleREF.MoveTo(MQ11a_DiscipleOrigin) MQ11a_DalGalarREF.MoveTo(MQ11a_DalGalarOrigin) @@ -363,7 +363,7 @@ Function CaliaRemark() If MQ11a_TravelState02.GetValue() <= 0 MQ11a_TravelState02.Mod(1) EndIf - Levelsystem.SkipTimeToHour(0) + _00E_TimeControl.SkipTimeToHour(0) If _00E_MC_CaliaREF.IsDisabled() _00E_MC_CaliaREF.Enable() EndIf @@ -396,7 +396,7 @@ Function SpawnAnomaly() XPlosionMarker.MoveTo(MQ11a_AnomalyREF, 0.0, 0.0, 100) XPlosionMarker.PlaceAtMe(_00E_MQ11a_AnomalySpawnExplosion, 1) - _00E_QuestFunctions.WaitForReferenceToLoad(MQ11a_AnomalyREF) + _00E_Func_WaitForRef.WaitForReferenceToLoad(MQ11a_AnomalyREF) int ScreamSound = _00E_NPCMagicAnomalyScreamM.Play(MQ11a_AnomalyREF) Sound.SetInstanceVolume(ScreamSound, 3.0) @@ -423,7 +423,7 @@ Function PrepareForLeftTowerVision() If _00E_MC_CaliaREF.GetParentCell() != MQ11a_SC11_DalGalarStart.GetParentCell() _00E_MC_CaliaREF.MoveTo(MQ11a_SC11_DalGalarStart) EndIf - Levelsystem.StopRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).StopRandomHeadTracking() EndFunction @@ -437,10 +437,10 @@ Function StartLeftTowerVision01() MQ11a_DalGalarREF.SetAlpha(0.0) MQ11a_StarlingsTinkerer.MoveTo(MQ11a_SC11_StarlingStart) MQ11a_StarlingsTinkerer.SetAlpha(0.0) - Levelsystem.VisionEffectNoTimestop(_00E_MQ11a_SC11_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_MQ11a_SC11_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) MQ11a_SC11_SilverJugGoblets.MoveTo(MQ11a_SC11_XMarkerGoblets) - _00E_QuestFunctions.WaitForReferenceToLoad(MQ11a_SC11_SilverJugGoblets) + _00E_Func_WaitForRef.WaitForReferenceToLoad(MQ11a_SC11_SilverJugGoblets) MS04MemoryFXBody01VFX.Play(MQ11a_SC11_SilverJugGoblets) EndFunction @@ -461,11 +461,11 @@ EndFunction Function StopTowerVisionFX() - Levelsystem.VisionEffectNoTimestopStop(_00E_MQ11a_SC11_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_MQ11a_SC11_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) MQ11a_StarlingsTinkerer.Disable() MQ11a_DalGalarREF.MoveTo(MQ11a_DalGalarOrigin) MQ11a_SC11_SilverJugGoblets.Disable() - Levelsystem.ResumeRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking() StartRiddleScene() EndFunction @@ -569,7 +569,7 @@ Function ExplodeGears() MQ11a_SC12_BarrierSound.Disable() MQ11a_SC12_StarlingBarrierREF.PlayAnimation("playanim01") SetObjectiveCompleted(50) - Levelsystem.GiveEP(__Config_RewardEXPBarrierRiddle) + _00E_EPHandler.GiveEP(__Config_RewardEXPBarrierRiddle) bLeftTowerRiddleSolved = True MQ11a_SC13_DalGalarREF.GetActorBase().SetName("") MQ11a_SC13_DalGalarREF.SetName("") @@ -620,10 +620,10 @@ Function StartMayaVision() MQ11a_SC12_StarlingBarrierREF.Disable() MQ11a_SC13_MayaREF.MoveTo(MQ11a_SC13_MayaMoveToMarker) - _00E_QuestFunctions.WaitForReferenceToLoad(MQ11a_SC13_MayaREF) + _00E_Func_WaitForRef.WaitForReferenceToLoad(MQ11a_SC13_MayaREF) MS04MemoryFXBody01VFX.Play(MQ11a_SC13_MayaREF) - Levelsystem.VisionEffectNoTimestop(_00E_MQ11a_SC13_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_MQ11a_SC13_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) MQ11a_SC13_DalGalarREF.GetActorBase().SetName("Dal'Galar") RegisterForSingleUpdate(90) @@ -633,9 +633,9 @@ EndFunction Function StopMayaVision() MQ11a_SC13_MayaREF.Disable() - Levelsystem.VisionEffectNoTimestopStop(_00E_MQ11a_SC13_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_MQ11a_SC13_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) MQ11a_SC13_DalGalarREF.Disable() - Levelsystem.ResumeRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking() SetObjectiveDisplayed(41) SetMQ11a_LeftTower(8) CompanionIsTalking.SetValueInt(0) @@ -648,7 +648,7 @@ Function PortPlayerBack() GoToState("DefaultState") CompanionIsTalking.SetValueInt(1) Game.DisablePlayerControls() - Levelsystem.FadeToBlack() + GetFadeToBlackControl().FadeToBlack() PlayerREF.MoveTo(MQ11a_PlayerMainHallMarker) _00E_MC_CaliaREF.MoveTo(PlayerREF, 72.0) ; Port Calia to the right of the player CaliaEquipTorch(True) @@ -766,21 +766,21 @@ Function StartDissectingRoomVision() MQ11a_SC16_DalGalarREF.EvaluatePackage() Wait(0.25) - Levelsystem.StopRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).StopRandomHeadTracking() - Levelsystem.VisionEffectNoTimestop(_00E_MQ11a_SC16_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_MQ11a_SC16_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) MQ11a_SC17_DissectingRoomVision.ForceStart() EndFunction Function StopDissectingRoomVision() - Levelsystem.VisionEffectNoTimestopStop(_00E_MQ11a_SC16_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_MQ11a_SC16_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) MQ11a_SC16_DalGalarREF.DisableNoWait() MQ11a_DiscipleREF02.DisableNoWait() MQ11a_SC16_DalGalarREF.SetActorValue("Variable01", 0.0) MQ11a_SC16_DalGalarREF.MoveTo(MQ11a_DalGalarOrigin) - Levelsystem.ResumeRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking() EndFunction @@ -790,8 +790,8 @@ Function StartStoneRoomVision() MQ11a_SC19_DalGalarREF.SetAlpha(0.0) MQ11a_SC19_DogREF.Enable() MQ11a_SC19_DogREF.SetAlpha(0.0) - Levelsystem.StopRandomHeadTracking() - Levelsystem.VisionEffectNoTimestop(_00E_MQ11a_SC19_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) + (PlayerREF as _00E_PlayerFunctions).StopRandomHeadTracking() + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_MQ11a_SC19_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) EndFunction @@ -823,8 +823,8 @@ EndFunction Function StopStoneRoomVision() MQ11a_SC19_DalGalarREF.MoveTo(MQ11a_DalGalarOrigin) - Levelsystem.VisionEffectNoTimestopStop(_00E_MQ11a_SC19_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) - Levelsystem.ResumeRandomHeadTracking() + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_MQ11a_SC19_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) + (PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking() EndFunction @@ -939,19 +939,19 @@ EndFunction Function SetUpAndStartLibraryScene() - UnsummonApparitionIfExists() + _FS_Phasmalist_ControlQuest.UnsummonApparitionIfExists() SetCaliaAsCompanion(False) MQ11a_SC21_WrongDoor002.BlockActivation(True) Game.RequestAutoSave() MQ11a_SC20_Portcullis.SetOpen(False) - Levelsystem.StopRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).StopRandomHeadTracking() MQ11a_SC20_LibraryScene.ForceStart() EndFunction Function EnableMercenaryLeader() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) _00E_TeleportGlobal.SetvalueInt(1) MQ11a_SC20_MercenaryLeader.MoveTo(MQ11a_SC20_MercenaryLeader.GetLinkedRef()) MQ11a_SC20_MercenaryLeader.SetAlpha(0.0) @@ -1061,7 +1061,7 @@ Function CloseDoor() MQ11a_SC20_Portcullis.BlockActivation(True) MQ11a_SC20_MercenaryLeader.StopCombat() _00E_Music_Combat_Epic.Add() - Levelsystem.ResumeRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking() GoToState("CaliaRescueScene") RegisterForSingleUpdate(5) @@ -1275,21 +1275,21 @@ Function CallTableVision() MQ11a_SC24_DalGalarRef.SetName("Dal'Galar") MQ11a_SC23_MayaAtTable.Enable() - Levelsystem.VisionEffectNoTimestop(_00E_MQ11a_SC24_VisionRefs, _00E_MQ11a_SC24_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_MQ11a_SC24_VisionRefs, _00E_MQ11a_SC24_FreezeRefs) - _00E_QuestFunctions.WaitForReferenceToLoad(MQ11a_SC23_MayaAtTable) + _00E_Func_WaitForRef.WaitForReferenceToLoad(MQ11a_SC23_MayaAtTable) MS04MemoryFXBody01VFX.Play(MQ11a_SC23_MayaAtTable) - Levelsystem.StopRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).StopRandomHeadTracking() EndFunction Function StopVision() - Levelsystem.VisionEffectNoTimestopStop(_00E_MQ11a_SC24_VisionRefs, _00E_MQ11a_SC24_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_MQ11a_SC24_VisionRefs, _00E_MQ11a_SC24_FreezeRefs) MQ11a_SC24_DalGalarRef.DisableNoWait() MQ11a_SC23_MayaAtTable.DisableNoWait() - Levelsystem.ResumeRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking() MQ11a_SC25_MayasREF.SetAlpha(0.0) ; Some kind of failsave inherited from old _00E_MQ11a_SC25_FailsaveSC Wait(3) Message.ResetHelpMessage("MQ11a_TutorialArrows") @@ -1329,13 +1329,13 @@ EndFunction Function StartMayaReanimationScene() - Levelsystem.StopRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).StopRandomHeadTracking() _00E_Music_Special_MQ11a_Reanimation.Add() MQ11a_SC25_DalGalarREF.MoveTo(MQ11a_SC25_DalGalarREF.GetLinkedRef()) MQ11a_SC25_DalGalarREF.SetAlpha(0.0) MQ11a_SC25_DalGalarREF.AddSpell(_00E_AbPosessed) MQ11a_SC25_BeamREF.EnableNoWait() - Levelsystem.VisionEffectNoTimestop(_00E_MQ11a_SC25_VisionRefs, _00E_MQ11a_SC24_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(_00E_MQ11a_SC25_VisionRefs, _00E_MQ11a_SC24_FreezeRefs) MQ11a_SC25_MayaReanimation01.ForceStart() EndFunction @@ -1384,7 +1384,7 @@ Function MoveVeiledWoman() _SafeMoveNPCtoFurniture(MQ11a_SC25_VeiledWomanREF, MQ11a_SC25_VeiledWomanStart) MQ11a_SC25_VeiledWomanREF.SetAlpha(0.0) - _00E_QuestFunctions.WaitForReferenceToLoad(MQ11a_SC25_VeiledWomanREF) + _00E_Func_WaitForRef.WaitForReferenceToLoad(MQ11a_SC25_VeiledWomanREF) MS04MemoryFXBody01VFX.Play(MQ11a_SC25_VeiledWomanREF) MQ11a_SC25_VeiledWomanREF.SetAlpha(0.5, True) @@ -1414,11 +1414,11 @@ EndFunction Function CaliaAndVeiledWomanDisappear() _00E_Music_Special_Event_Dark.Remove() - Levelsystem.VisionEffectNoTimestopStop(_00E_MQ11a_SC25_VisionRefs, _00E_MQ11a_SC24_FreezeRefs) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(_00E_MQ11a_SC25_VisionRefs, _00E_MQ11a_SC24_FreezeRefs) MQ11a_SC25_VeiledWomanREF.DisableNoWait() MQ11a_SC25_MayasREF.DisableNoWait() MQ11a_SC25_BeamREF.DisableNoWait() - Levelsystem.ResumeRandomHeadTracking() + (PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking() Self.SetStage(210) MQ11a_SC26_DoorREF.BlockActivation(False) _00E_MQ11a_SC23_Calia.ShowAsHelpMessage("MQ11aFinalCalia", 5, 1, 1) @@ -1446,7 +1446,7 @@ Function GoToFrostcliffTavern() EndIf Game.DisablePlayerControls() - Levelsystem.FadeToBlack() + GetFadeToBlackControl().FadeToBlack() _00E_Music_Special_MQ11a_Reanimation.Remove() RemoveCaliaTheme() @@ -1467,7 +1467,7 @@ Function GoToFrostcliffTavern() ; the player to talk to her. MQ11a_SC26_Door.SetLockLevel(255) MQ11a_SC26_Door.Lock() - _00E_QuestFunctions.EnableReferenceFormList(MQ11a_SC6_WolfPackGates) + _00E_Func_ReferenceFormList.Enable(MQ11a_SC6_WolfPackGates) ; Failsave to fix a bug in which the player fails to sit down ; and instead levitates through the level ; ( http://forum.sureai.net//tracker.php?p=8&t=10396 @@ -1511,12 +1511,12 @@ Function FinishQuest() ResetCaliaDialogueFlags() SwitchAllTeleportation(True) - Levelsystem.SetAllowIdleChatter(True) - Levelsystem.RemoveSilence() + AllowIdleChatter.SetValue(1) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() RemoveCaliaTheme() RegisterForSingleUpdateGameTime(9) bStartCaliaCQ = True - Levelsystem.GiveEP(1500) + _00E_EPHandler.GiveEP(1500) MQ11a_SC26_Door.SetLockLevel(30) MQ11a_SC26_Door.Lock(false) @@ -1718,9 +1718,9 @@ EndFunction Function SetCaliaAsCompanion(Bool bCompanion) If bCompanion - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_CaliaREF, True, 450, 600, 150) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_CaliaREF, True, 450, 600, 150) Else - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_CaliaREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_CaliaREF, False) EndIf EndFunction @@ -1820,7 +1820,7 @@ EffectShader Property _00E_BloodyFXShader Auto Outfit Property _00E_MC_Calia_Outfit Auto Outfit Property _00E_MC_Calia_SimpleClothingBarefeet Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Sound Property FXExplosionCatapultNearM Auto Sound Property _00E_MQ11a_SC25_DalGalarScreamM Auto diff --git a/source/scripts/_00e_mq11b_questfunctions.psc b/source/scripts/_00e_mq11b_questfunctions.psc index e1207706..e4fed1b5 100644 --- a/source/scripts/_00e_mq11b_questfunctions.psc +++ b/source/scripts/_00e_mq11b_questfunctions.psc @@ -2,7 +2,6 @@ Scriptname _00E_MQ11b_Questfunctions extends Quest Import Utility Import Game -Import _00E_QuestFunctions Event OnUpdate() @@ -16,7 +15,7 @@ EndEvent function SetUp() - Levelsystem.bAllowIdleChatter = True + AllowIdleChatter.SetValue(1) _00E_MC_JesparRef.Disable() EndFunction @@ -88,7 +87,7 @@ Function StartSC01() SetObjectiveCompleted(81) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_JesparREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, False) MQ11b_SC01_Cave.ForceStart() @@ -124,7 +123,7 @@ Function EnableFollowTGBX() MQ11b_FollowStartTGBX.Enable() CompanionIsTalking.SetValueInt(0) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_JesparREF, True, 550, 600, 150) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, True, 550, 600, 150) EndFunction @@ -255,7 +254,7 @@ Function StartCombatAdila() _00E_MQ11b_AdilaREF.StartCombat(PlayerREF) _00E_Music_Special_Character_Jespar_SturmUndDrang.Add() AudioCategoryAMB.SetVolume(1) - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_SilenceAbruptHighPriority.remove() EndFunction @@ -295,7 +294,7 @@ EndFunction Function AddVeiledWomanMusic() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Character_VeiledWomanT.Add() EndFunction @@ -406,8 +405,8 @@ Function CompleteEverything() MQ11b_SC07_JesparGrieveMarkerREF.MoveTo(_00E_MQ11b_AdilaREF, offsetDistance * Math.Sin(offsetAngleZ), offsetDistance * Math.Cos(offsetAngleZ), 0, False) MQ11b_SC07_JesparGrieveMarkerREF.SetAngle(0, 0, adilaAngleZ - 90.0) - Levelsystem.RemoveSilence() - Levelsystem.GiveEP(1500) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_EPHandler.GiveEP(1500) MQ11EscapeDoor.BlockActivation(False) MQ11EscapeDoor.Lock(False) MQ11bAdilasCaveDoorREF.BlockActivation(False) @@ -432,7 +431,7 @@ int Property __Config_iRewardEXP = 1500 Auto ; JESPAR ACTIVATION UNBLOCKEN -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto ;String Property sMQ11bBoxMessage Auto Message Property _00E_MQ11b_sBoxMessage Auto diff --git a/source/scripts/_00e_mq11c_functions.psc b/source/scripts/_00e_mq11c_functions.psc index 4b7001c0..0df49274 100644 --- a/source/scripts/_00e_mq11c_functions.psc +++ b/source/scripts/_00e_mq11c_functions.psc @@ -1,7 +1,6 @@ Scriptname _00E_MQ11c_Functions extends Quest import Utility -Import _00E_QuestFunctions Import Math @@ -94,7 +93,7 @@ EndFunction Function RemoveSilences() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() EndFunction @@ -180,9 +179,8 @@ Function GiveEPForHits() int RewardEPNormalHits = (_00E_MQ11c_Sphere_HitsLanded.GetValueInt()*30) int RewardEPEOTSHits = (_00E_MQ11c_Sphere_HitsLandedEOTS.GetValueInt()*10) - Levelsystem.GiveEP(RewardEPNormalHits+RewardEPEOTSHits) + _00E_EPHandler.GiveEP(RewardEPNormalHits+RewardEPEOTSHits) - EndFunction ;------------------------------------------Stealth minigame------------------------------------ @@ -289,7 +287,7 @@ EndFunction Function GiveEPForButterflies() int RewardEPButterfly = PlayerREF.GetItemCount(_00E_MQ11cSchmetterling) - Levelsystem.GiveEP(RewardEPButterfly*50) + _00E_EPHandler.GiveEP(RewardEPButterfly*50) if PlayerREF.GetItemCount(_00E_MQ11cSchmetterling) > 7 @@ -299,7 +297,7 @@ Function GiveEPForButterflies() iSympathyCount = 10 endif - Levelsystem.ModSympathyNG(Ryneus.GetActorReference(), iSympathyCount) + _00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(Ryneus.GetActorReference(), iSympathyCount) If PlayerREF.GetItemCount(_00E_MQ11cSchmetterling) >= 15 && _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_BUTTERFLIES_01") @@ -372,7 +370,7 @@ Function RyneusTransforms() Actor RyneusActor = Ryneus.GetActorReference() Debug.SendAnimationEvent(RyneusActor, "IdleReturnToDefault") - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Combat_Epic_Transition.Add() Debug.SendAnimationEvent(RyneusActor, "IdleDA02BoethiahPostEnter") Utility.Wait(1) @@ -435,7 +433,7 @@ EndFunction Function StartMusic() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_MQ11c_SpecialDialogueSad.Add() EndFunction @@ -494,7 +492,7 @@ Function SetUpRealSilvergrove() EndIf RyneusDog.GetReference().Disable() - Levelsystem.SkipTimeToHour(13.3) + _00E_TimeControl.SkipTimeToHour(13.3) _00E_FXCameraAttachJUngleLeavesWindyUpEffect.Stop(PlayerREF) MQ11_D12_SilberhainDeadLinker.Disable() MQ11cSilberhainDestroyLinker.Disable() @@ -569,10 +567,11 @@ Function BuryRyneus() EndIf MQ11c_D13_RyneusBurialMarker.Disable() - Levelsystem.FadeToBlack() + _00E_FadeToBlackControl FadeToBlackControl = _00E_PlayerFunctions.GetFadeToBlackControl() + FadeToBlackControl.FadeToBlack() PlayerREF.MoveTo(MQ11c_D13_RyneusBurialPlayerMarker) MQ11c_RyneusRefReal.Disable() - Levelsystem.FadeToBlackBack() + FadeToBlackControl.FadeToBlackBack() Wait(3) PostTransformCleanup() @@ -656,7 +655,7 @@ Function PostTransformCleanup() MUSTavernSILENCE.Remove() _00E_MQ11c_SilberhainRealInterior.Remove() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_FXCameraAttachJUngleLeavesWindyUpEffect.Stop(PlayerREF) _00E_MQ11c_DreamCollapseIMOD.Remove() FadeToWhiteHoldImod.Remove() @@ -667,7 +666,7 @@ EndFunction Function ResetMusic() - Levelsystem.RemoveSIlence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() EndFunction @@ -827,8 +826,6 @@ GlobalVariable Property GameHour Auto GLobalVariable Property Timescale Auto float TimescaleDefault = 10.0 -_00E_QuestFunctions Property Levelsystem Auto - SoundCategory Property AudioCategoryMuteSubmerged Auto SoundCategory Property AudioCategoryAMB Auto SoundCategory Property AudioCategoryAMBr Auto diff --git a/source/scripts/_00e_mq11c_gatefailsavesc.psc b/source/scripts/_00e_mq11c_gatefailsavesc.psc deleted file mode 100644 index f915a808..00000000 --- a/source/scripts/_00e_mq11c_gatefailsavesc.psc +++ /dev/null @@ -1,44 +0,0 @@ -Scriptname _00E_MQ11c_GateFailsaveSC extends ObjectReference - -;===================================================================================== -; EVENTS -;===================================================================================== - -Event OnTriggerEnter(ObjectReference akActionRef) - - If akActionRef == PlayerREF && !bDone - int MQ11cStage = MQ11c.GetStage() - If MQ11cStage < 70 - _00E_MQ11c_SilvergroveCheatMSG.Show() - PlayerREF.MoveTo(MQ11c_SilvergroveGateWardenREF) - return - EndIf - If MQ11cStage < 90 - MQ11c.SilvergroveTimeFailsave() - EndIf - - If MQ11c_PlayerInSilvergroveRadius.GetValueInt() == 0 - - MQ11c_PlayerInSilvergroveRadius.SetValueInt(1) - - If MQ11cStage < 80 - MQ11c.GateUltimateFailsave() - EndIf - - EndIf - bDone = true - EndIf - -EndEvent - -;===================================================================================== -; PROPERTIES -;===================================================================================== - -bool bDone = false - -Actor Property MQ11c_SilvergroveGateWardenREF Auto -Actor Property PlayerREF Auto -GlobalVariable Property MQ11c_PlayerInSilvergroveRadius Auto -Message Property _00E_MQ11c_SilvergroveCheatMSG Auto -_00E_MQ11c_Functions Property MQ11c Auto \ No newline at end of file diff --git a/source/scripts/_00e_mq11c_ryneusentryheadachesc.psc b/source/scripts/_00e_mq11c_ryneusentryheadachesc.psc index 74e2764b..11dd9443 100644 --- a/source/scripts/_00e_mq11c_ryneusentryheadachesc.psc +++ b/source/scripts/_00e_mq11c_ryneusentryheadachesc.psc @@ -46,7 +46,7 @@ Event OnTriggerEnter(ObjectReference akActionRef) _00E_TeleportGlobal.SetValue(1) Timescale.SetValue(0.1) _00E_MQ11c_Headache.SetValue(1) - Levelsystem.SkipTimeToHour(6.48) + _00E_TimeControl.SkipTimeToHour(6.48) MQ11c.AddSilence() _00E_MQ11c_SilvergroveEntrySilence.SetValue(1) @@ -81,7 +81,6 @@ ObjectReference Property WerkschauBullShitMarker Auto ObjectReference Property MQ11cBlockMarker Auto Actor Property PlayerREF Auto -_00E_QuestFunctions Property Levelsystem Auto Idle Property TG05_GetUp Auto Idle Property TG05_KnockOut Auto diff --git a/source/scripts/_00e_mq12a_functions.psc b/source/scripts/_00e_mq12a_functions.psc index 08fd455b..a22c7226 100644 --- a/source/scripts/_00e_mq12a_functions.psc +++ b/source/scripts/_00e_mq12a_functions.psc @@ -1,7 +1,5 @@ Scriptname _00E_MQ12a_Functions extends Quest -Import _00E_QuestFunctions - ;===================================================================================== ; EVENTS ;===================================================================================== @@ -153,7 +151,7 @@ Function FinishQuestAndStartMQ12b() MQ12a_SC3_Insert3rdStone.Stop() - Levelsystem.GiveEP(__Config_iRewardExp) + _00E_EPHandler.GiveEP(__Config_iRewardExp) Self.CompleteQuest() Self.SetObjectiveCompleted(5) MQ12b.SetStage(5) @@ -223,8 +221,6 @@ Quest Property CQJ02 Auto Quest Property FS_NQ03 Auto Quest Property MQ12b Auto -_00E_QuestFunctions Property Levelsystem Auto - Actor Property _00E_MC_LexREF Auto ObjectReference Property LeuchtfeuerSwitcher Auto diff --git a/source/scripts/_00e_mq12b_functions.psc b/source/scripts/_00e_mq12b_functions.psc index aee3fef6..f11fa272 100644 --- a/source/scripts/_00e_mq12b_functions.psc +++ b/source/scripts/_00e_mq12b_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_MQ12b_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Utility ;===================================================================================== @@ -115,7 +114,7 @@ Function ReEnableNPCs() ; Old ways of enabling NPCs, for backward compatibility OldReenableDisabledNPC() If CurScriptVersion == 0 - _00E_QuestFunctions.EnableReferenceFormList(MQ12b_SC11_NPCsRef) + _00E_Func_ReferenceFormList.Enable(MQ12b_SC11_NPCsRef) MQ12b_SiegeNPCs.Revert() @@ -125,7 +124,7 @@ EndFunction Function OldReenableDisabledNPC() ; For version updates with CurScriptVersion < 2 If CurScriptVersion < 2 - _00E_QuestFunctions.EnableReferenceFormList(MQ12b_AllDisabledNPCs) + _00E_Func_ReferenceFormList.Enable(MQ12b_AllDisabledNPCs) EndIf EndFunction @@ -247,7 +246,7 @@ Function TealorAppears() EndIf _00E_SilenceLongTransitionHighPriority.Add() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) _00E_MC_TealorREF.MoveTo(MQ12b_SC2_TealorStartMarker005) Utility.Wait(0.5) @@ -360,7 +359,7 @@ Function StartSC04() _00E_MC_TealorREF.Enable() EndIf - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, True, 600, 700, 200) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, True, 600, 700, 200) MQ12b_SC3_BarrierREF002.PlayAnimation("TransitionAnim") MQ12b_SC4_TealorTravelToMistDistrict.ForceStart() @@ -373,7 +372,7 @@ EndFunction Function TeleportYuslan() - Levelsystem.TeleportNPC(_00E_MC_YuslanRef, MQ07a_SC14_YoungMageMarker001) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(_00E_MC_YuslanRef, MQ07a_SC14_YoungMageMarker001) EndFunction @@ -391,7 +390,7 @@ EndFunction Function StartSC05() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, False) MQ12b_SC3_CityGuardREF.Disable() _00E_MC_TealorREF.MoveTo(MQ12b_SC4_TealorBenchmark01) @@ -414,7 +413,7 @@ Function StartSC06() Sound.StopInstance(iBellSound) MQ12b_SC11_GateREF.Enable() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, True, 600, 700, 200) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, True, 600, 700, 200) If MQ12b_SC11_GateREF.GetOpenState() != 1 MQ12b_SC11_GateREF.SetOpen(True) @@ -462,7 +461,7 @@ EndFunction Function StartSC07() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, False) SetObjectiveCompleted(10) MQ12b_SC5_HarlejanGuardNaraREF.ResetHealthAndLimbs() @@ -487,7 +486,7 @@ EndFunction Function StartSC08() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, True, 600, 700, 200) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, True, 600, 700, 200) MQ12b_SC8_GateDoorREF.Lock(False) MQ12b_SC8_FollowTealorToWallEntrance.ForceStart() @@ -504,7 +503,7 @@ EndFunction Function StartSC09() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, False) MQ12b_SC9_PlayerRepairsMechanism.ForceStart() MQ12b_SC9_Door.Lock(False) @@ -514,13 +513,13 @@ EndFunction Function CallVision() MQ12b_SC09_PlayerVisionMarker = PlayerREF.PlaceAtMe(XMarker, 1) - Levelsystem.VisionEffectTimestop() + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestop() EndFunction Function EndVision() - Levelsystem.VisionEffectTimestopStop() + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestopStop() PlayerREF.MoveTo(MQ12b_SC09_PlayerVisionMarker) EndFunction @@ -631,7 +630,7 @@ Function FadeInSamael() MQ12b_SC11_SamaelBarrierREF.Enable() _00E_MAGEldritchExplosionImod.Apply() Game.ShakeCamera(afStrength = 0.1) - _00E_QuestFunctions.WaitForReferenceToLoad(MQ12b_SC11_SamaelBarrierREF) + _00E_Func_WaitForRef.WaitForReferenceToLoad(MQ12b_SC11_SamaelBarrierREF) MAGConjurePortal.Play(MQ12b_SC11_SamaelBarrierREF) MQ12b_SC11_SamaelBarrierREF.PlayAnimation("playanim02") bBarrierFailsave = True @@ -773,8 +772,8 @@ EndFunction Function TeleportYuslanToGate() Wait(2) - _00E_QuestFunctions.SafeMoveTo(_00E_MC_YuslanRef, MQ12b_SC12_YuslanTeleportMarker) - _00E_QuestFunctions.WaitForReferenceToLoad(_00E_MC_YuslanRef) + _00E_Func_SafeMove.SafeMoveTo(_00E_MC_YuslanRef, MQ12b_SC12_YuslanTeleportMarker) + _00E_Func_WaitForRef.WaitForReferenceToLoad(_00E_MC_YuslanRef) TimeFadeIn01FXS.Play(_00E_MC_YuslanRef) Debug.sendAnimationEvent(_00E_MC_YuslanRef, "IdleWebEnterInstant") _00E_MC_YuslanRef.SetActorValue("Variable03", 5) @@ -797,7 +796,7 @@ Function SetUpSC13() _00E_MQ12b_SC11_BarrierLightREF.Disable() EnableArcanistsAndGuard() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) Wait(1) @@ -931,8 +930,8 @@ Function CompleteQuestAndStartMQ12c() MQ12b_SC5_LowerDistrictMarketDoor01REF.BlockActivation(False) MQ12b_SC5_LowerDistrictMarketDoor02REF.BlockActivation(False) UnregisterForUpdate() - Levelsystem.GiveEP(__Config_RewardEXP) - Levelsystem.SetAllowIdleChatter(True) + _00E_EPHandler.GiveEP(__Config_RewardEXP) + AllowIdleChatter.SetValue(1) Self.CompleteQuest() ReEnableNPCs() DisablePanicTriggerbox() @@ -1079,7 +1078,7 @@ int Property iCrimeGoldBeforeMQ12bNonViolent Auto Hidden ; UNWANTED NPCs ZURÜCKSETZEN! FLEE VARIABLES ZURÜCKSETZEN!! -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto String sCurrentStrikeLocation = "UpperCity" diff --git a/source/scripts/_00e_mq12b_samaelkillritualsc.psc b/source/scripts/_00e_mq12b_samaelkillritualsc.psc index bf994464..b7a3dcef 100644 --- a/source/scripts/_00e_mq12b_samaelkillritualsc.psc +++ b/source/scripts/_00e_mq12b_samaelkillritualsc.psc @@ -2,7 +2,7 @@ Scriptname _00E_MQ12b_SamaelKillRitualSC extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - _00E_QuestFunctions.PrintDebugMessage("Spell cast!") + _00E_Debug.PrintMessage("Spell cast!") MQ12b.KillHarlejanAndGuard() EndEvent diff --git a/source/scripts/_00e_mq12b_sc12_killtriggersc.psc b/source/scripts/_00e_mq12b_sc12_killtriggersc.psc index 7f60cddb..8ed4f5a3 100644 --- a/source/scripts/_00e_mq12b_sc12_killtriggersc.psc +++ b/source/scripts/_00e_mq12b_sc12_killtriggersc.psc @@ -15,7 +15,7 @@ Event OnTriggerEnter(ObjectReference akActionRef) return endif ActorBase ab = ac.GetActorBase() - if ab.IsGhost() + if ac.IsGhost() if (ab == _00E_MQ12b_NehrimeseSoldierFacade) || (ab == _00E_MQ12b_NehrimeseSoldierFacadeArcher) || (ab == _00E_MQ12b_NehrimeseSoldier01) || (ab == _00E_MQ12b_NehrimeseSoldier02) || (ab == _00E_MQ12b_NehrimeseSoldier03) || (ab == _00E_MQ12b_NehrimeseSoldier04) || (ab == _00E_MQ12b_NehrimeseSoldier05) ac.KillEssential() endif diff --git a/source/scripts/_00e_mq12b_sc12_yuslanritualsc.psc b/source/scripts/_00e_mq12b_sc12_yuslanritualsc.psc index 3480916b..d860811c 100644 --- a/source/scripts/_00e_mq12b_sc12_yuslanritualsc.psc +++ b/source/scripts/_00e_mq12b_sc12_yuslanritualsc.psc @@ -3,7 +3,7 @@ Scriptname _00E_MQ12b_SC12_YuslanRitualSC extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - _00E_QuestFunctions.PrintDebugMessage("Yuslan sealing spell cast!") + _00E_Debug.PrintMessage("Yuslan sealing spell cast!") ; MQ12b.EnableGateSeal() EndEvent diff --git a/source/scripts/_00e_mq12c_functions.psc b/source/scripts/_00e_mq12c_functions.psc index 4ec48364..2845e9a1 100644 --- a/source/scripts/_00e_mq12c_functions.psc +++ b/source/scripts/_00e_mq12c_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_MQ12c_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Utility ; This script is mainly used for handling the different "debris" stages of Ark after the siege @@ -91,7 +90,7 @@ Function DebrisLevel01() ; and hence the flag can't be set for an actor's reference it gets set for the actor base ; resulting in all actor references of the possessed NPCs that are included in the formlist being flagged as ghost ; I took the possessed NPCs out of those lists and created this new one, that isn't used by the harbor trigger at all - _00E_QuestFunctions.EnableReferenceFormList(_00E_MQ12c_PossessedNPCs) + _00E_Func_ReferenceFormList.Enable(_00E_MQ12c_PossessedNPCs) MQ12c_SC1_ExecutionDoor001.BlockActivation(True) MQ12c_SC1_ExecutionDoor001.SetLockLevel(255) @@ -217,7 +216,7 @@ Function StartSC02() CQJ04.SetStage(40) EndIf - _00E_QuestFunctions.PlayerAIWalk() + _00E_Func_AIWalk.PlayerAIWalk() Game.ForceThirdPerson() MQ12c_SC02_DreamGoToSleep.ForceStart() @@ -243,20 +242,20 @@ Function StartSC03() MQP01_FatherRef.Disable() EndIf - _00E_QuestFunctions.UnsummonApparitionIfExists() + _FS_Phasmalist_ControlQuest.UnsummonApparitionIfExists() FadeToBlackIMOD.Apply() Wait(1) FadeToBlackHoldImod.ApplyCrossFade(1) PlayerREF.MoveTo(PlayerStartMarkerNew) _00E_SilenceTransitionLowPriority.Remove() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Special_Dreams.Add() - _00E_QuestFunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() Game.ShowFirstPersonGeometry(False) Game.RequestAutoSave() fPlayerScale = _00E_SetActorScale.Change(PlayerREF, 0.85) TimeScale.SetValue(0.1) - Levelsystem.SkipTimeToHour(18.5) + _00E_TimeControl.SkipTimeToHour(18.5) ImageSpaceModifier.RemoveCrossFade(3) Game.ForceFirstPerson() Game.DisablePlayerControls(false, true, true, false, true, false, false) @@ -304,7 +303,7 @@ Function StartSC04() _00E_MC_JesparREF.SetOutfit(_00E_MC_JesparOutfit) _00E_Music_Special_Dreams.Remove() _00E_SilenceTransitionLowPriority.Add() - _00E_QuestFunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() Game.ForceThirdPerson() MQ12c_SC04_DoorREF.SetOpen(true) PlayerREF.MoveTo(MQ12c_SC04_CompanionRunREF) @@ -324,7 +323,7 @@ EndFunction Function FadeBack() Game.SetPlayerAIDriven(False) - _00E_QuestFunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() FadeToBlackBackLongImod.ApplyCrossFade(afFadeDuration = 1.0) EndFunction @@ -351,7 +350,7 @@ EndFunction Function ActivateBed() - _00E_QuestFunctions.RefreshFace() + _00E_Func_RefreshFace.RefreshFace() MQ12c_SC2_Bed.Activate(PlayerREF, True) Game.EnablePlayerControls() Game.SetPlayerAIDriven(False) @@ -364,7 +363,7 @@ Function CleanUpAndStartMQ13() Game.EnablePlayerControls() Game.SetHudCartMode(false) _00E_SilenceTransitionLowPriority.Remove() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() MQ12c_SC01_FailsaveREF.Disable() MQ12c_SC1_ExecutionDoor001.Lock(False) MQ12c_SC1_ExecutionDoor001.BlockActivation(False) @@ -386,8 +385,6 @@ bool Property bAskForLoveInterest Auto Conditional Hidden int Property __Config_RomanceThreshold Auto {Determines how many sympathy points the player needs to have for either Calia or Jespar in order for the other one to ask about his/her relationship to the player} -_00E_QuestFunctions Property Levelsystem Auto - Actor Property Companion Auto Conditional Hidden Actor Property _00E_MC_TealorRef Auto diff --git a/source/scripts/_00e_mq13a_functions.psc b/source/scripts/_00e_mq13a_functions.psc index fdffcf35..0a337353 100644 --- a/source/scripts/_00e_mq13a_functions.psc +++ b/source/scripts/_00e_mq13a_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_MQ13a_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Utility ;===================================================================================== @@ -266,7 +265,7 @@ EndFunction Function StartSC06() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Special_MQ13a_StarshipTakeOff.Add() Game.RequestAutoSave() MQ13a_StarshipInteriorRockLinkerREF.Disable() @@ -357,7 +356,7 @@ Function CleanUpAndSetUpSC07() MQ13a_SC02_Cave_YoungMageREF.Disable() MQ13a_SC02_Cave_YoungMage02REF.Disable() Timescale.SetValue(0.1) - Levelsystem.SkipTimeToHour(0) + _00E_TimeControl.SkipTimeToHour(0) PlayerREF.MoveTo(MQ13a_SC07_PlayerStart) PlayerREF.EquipItem(_00E_InvisibleHelmet_Armor, false, true) @@ -477,7 +476,7 @@ Function FinishQuest() PlayerREF.EquipItem(_00E_Mining_FineClothesF_GreenA, false, true) PlayerREF.EquipItem(ClothesJarlShoes, false, true) - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) MQ13b.SetStage(5) If CQC05.IsRunning() && !CQC05.IsCompleted() @@ -515,8 +514,6 @@ bool Property bCubeRemoved Auto Conditional Hidden bool Property bAmuletGiven Auto Conditional Hidden -_00E_QuestFunctions Property Levelsystem Auto - Actor Property _00E_MC_LexREF Auto Actor Property _00E_MC_TealorREF Auto Actor Property _00E_MC_YuslanREF Auto diff --git a/source/scripts/_00e_mq13a_grammophonesc.psc b/source/scripts/_00e_mq13a_grammophonesc.psc index fb03f968..d7001b8c 100644 --- a/source/scripts/_00e_mq13a_grammophonesc.psc +++ b/source/scripts/_00e_mq13a_grammophonesc.psc @@ -22,7 +22,7 @@ Function PlayMusic(Sound musicSound, Float fMusicLength) RegisterForModEvent("BardsLoadGame", "OnBardsLoadGame") iSoundID = musicSound.Play(Self) Sound.SetInstanceVolume(iSoundID, fVolume) - RegisterForSingleUpdate(_00E_QuestFunctions.AdjustTimePeriodByEngineTimerError(fMusicLength)) + RegisterForSingleUpdate(_00E_TimeControl.AdjustTimePeriodByEngineTimerError(fMusicLength)) GoToState("") _00E_PlayerhousingKoppophonVolume.Show(fVolume * 100.0) EndFunction diff --git a/source/scripts/_00e_mq13b_functions.psc b/source/scripts/_00e_mq13b_functions.psc index dfeb05e1..3c099ceb 100644 --- a/source/scripts/_00e_mq13b_functions.psc +++ b/source/scripts/_00e_mq13b_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_MQ13b_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Utility Event OnUpdate() @@ -24,7 +23,7 @@ Function SetUpSC01() akYaela = _00E_MC_YaelaREF RegisterForSingleUpdate(2) Timescale.SetValue(0.1) - Levelsystem.SkipTimeToHour(7) + _00E_TimeControl.SkipTimeToHour(7) PlayerREF.MoveTo(MQ13b_SC01_PlayerMarker) fYDifference = (MQ13b_StarshipREF002.GetPositionY()) - (MQ13b_SC01_StarshipPierMarker.GetPositionY()) @@ -210,9 +209,9 @@ Function StartSC07() akLijam.EvaluatePackage() akCompanionNoRomance.EvaluatePackage() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YaelaREF, True, 450, 200, 600) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_SC_KurmaiREF, True, 250, 250, 250) - _00E_QuestFunctions.SetNPCAsCompanion(akCompanionRomance, True, 600, 700, 200) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YaelaREF, True, 450, 200, 600) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_SC_KurmaiREF, True, 250, 250, 250) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanionRomance, True, 600, 700, 200) MQ13b_SC07_NexusTower_01.ForceStart() @@ -226,9 +225,9 @@ EndFunction Function StartSC08() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YaelaREF, False) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_SC_KurmaiREF, False) - _00E_QuestFunctions.SetNPCAsCompanion(akCompanionRomance, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YaelaREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_SC_KurmaiREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanionRomance, False) MQ13b_SC08_NexusTower_02.ForceStart() @@ -310,7 +309,7 @@ EndFunction Function ActivateStairs() MQ13b_SC09_HiddenStairs.PlayAnimation("down") - Levelsystem.SkipTimeToHour(8.75) + _00E_TimeControl.SkipTimeToHour(8.75) EndFunction @@ -321,7 +320,7 @@ Function StartSC10() akCompanionRomance.MoveTo(PlayerREF) akYaela.Enable() akYaela.MoveTo(PlayerREF) - Levelsystem.SkipTimeToHour(10.50) + _00E_TimeControl.SkipTimeToHour(10.50) MQ13b_SC10_NexusTower_04.ForceStart() @@ -411,7 +410,7 @@ Function NexusElevatorStop() Game.ShakeCamera(afStrength = 1) Game.EnablePlayerControls() _00E_MQ13b_SC10_NexusFadeHOLD.Apply() - PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() PlayerREF.SetGhost(False) _00E_StaggerSelf.Cast(PlayerREF) @@ -467,7 +466,7 @@ Function StartSC11() SetObjectiveDisplayed(20) MQ13b_SC11_PictureLinker002.Enable() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Special_Zyklus_Loop.Add() MQ13b_SC11_NexusTower_05.ForceStart() @@ -504,7 +503,7 @@ EndFunction Function FinishUpAndStartMQ13c() - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) MQ13c.SetStage(5) EndFunction @@ -517,8 +516,6 @@ EndFunction int Property __Config_RewardEXP = 500 Auto -_00E_QuestFunctions Property Levelsystem Auto - bool Property bSpot01Searched Auto Conditional Hidden bool Property bSpot02Searched Auto Conditional Hidden bool Property bNexusLiftInMotion Auto Conditional Hidden diff --git a/source/scripts/_00e_mq13b_sc10_reliefrotationsc.psc b/source/scripts/_00e_mq13b_sc10_reliefrotationsc.psc index ba08d20a..494b5dcf 100644 --- a/source/scripts/_00e_mq13b_sc10_reliefrotationsc.psc +++ b/source/scripts/_00e_mq13b_sc10_reliefrotationsc.psc @@ -1,7 +1,6 @@ Scriptname _00E_MQ13b_SC10_ReliefRotationSC extends ObjectReference Import Utility -Import _00E_QuestFunctions ;===================================================================================== ; FUNCTIONS diff --git a/source/scripts/_00e_mq13c_functions.psc b/source/scripts/_00e_mq13c_functions.psc index 904c5f77..424b4c7b 100644 --- a/source/scripts/_00e_mq13c_functions.psc +++ b/source/scripts/_00e_mq13c_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_MQ13c_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Utility Import Game @@ -60,7 +59,7 @@ Function MoveElevatorUp() akCompanionRomance.MoveTo(MQ13c_SC01_CaliaTranslateToMarker001) Wait(3) endif - Levelsystem.SkipTimeToHour(10.5) + _00E_TimeControl.SkipTimeToHour(10.5) fTimescaleBefore = Timescale.GetValue() _00E_Music_Special_Zyklus_OneSelection.Remove() _00E_SilenceAbruptHighPriority.Add() @@ -94,7 +93,7 @@ Function NexusElevatorStop() akCompanionRomance.MoveTo(MQ13c_SC01_CaliaTranslateToMarker) EndIf - PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() EndFunction @@ -116,7 +115,7 @@ EndFunction Function StartSC03() akYaela.EquipItem(_04E_StabDerErdrung, 1, true) - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_SilenceAbruptHighPriority.Remove() _00E_Music_Combat_Epic.Add() akYaela.MoveTo(MQ13c_SC01_YaelaTranslateMarker) @@ -244,7 +243,7 @@ Function StartSC04() MQ13c_SC04_CenturionAttack.ForceStart() - _00E_QuestFunctions.SetNPCAsCompanion(akCompanionRomance, True, 600, 700, 200) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanionRomance, True, 600, 700, 200) MQ13c_SC04_PullChainREF.Activate(akCompanionRomance) @@ -354,7 +353,7 @@ Function SunlightFailsave() _00E_MQ13b_SC10_NexusFadeHOLD.Remove() ImageSpaceModifier.RemoveCrossFade() - _00E_QuestFunctions.SetNPCAsCompanion(akCompanionRomance, True) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanionRomance, True) EndFunction @@ -378,7 +377,7 @@ EndFunction Function OpenCage01() - _00E_QuestFunctions.SetNPCAsCompanion(akCompanionRomance, True, 600, 700, 200) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanionRomance, True, 600, 700, 200) MQ13c_SC06_Wall01.TranslateTo(MQ13c_SC06_Wall01.GetPositionX(), MQ13c_SC06_Wall01.GetPositionY(), MQ13c_SC06_Wall01.GetPositionZ() - 2000, MQ13c_SC06_Wall01.GetAngleX(), MQ13c_SC06_Wall01.GetAngleY(), MQ13c_SC06_Wall01.GetAngleZ(), 150.0) OBJDwemerRepositoryRotateM.Play(MQ13c_SC06_Wall01) @@ -437,7 +436,7 @@ EndFunction Function EnableCrystalActivation() - _00E_QuestFunctions.SetNPCAsCompanion(akCompanionRomance, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanionRomance, False) MQ13c_SC06_CrystalActREF.Enable() EndFunction @@ -459,7 +458,7 @@ Function ActivateTurret02() Game.RequestAutoSave() SetObjectiveCompleted(15) - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Combat_Shieldbrothers.Add() _00E_MQ13c_TurretChargeSoundM.Play(MQ13c_SC06_TurretFX) MQ13c_SC06_TurretFX.PlayGamebryoAnimation("mCharge") @@ -581,7 +580,7 @@ Function SpawnSteelbird() akSteelbirdAtrium.SetGhost(False) akSteelbird = MQ13c_SC08_SteelbirdSpawn.PlaceActorAtMe(MQ13c_SC03_SteelbirdREF.GetActorBase(), 1) as Actor _00E_MQ13c_Steelbird_RoarSingleM.Play(PlayerREF) - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Combat_Shieldbrothers.Remove() _00E_Music_Special_Zyklus_OneSelection.Remove() _00E_Music_Combat_EpicOneSelection.Remove() @@ -654,7 +653,7 @@ EndFunction Function PlayerEnterAIWalk() Game.ForceFirstPerson() - _00E_QuestFunctions.PlayerAIWalk(True) + _00E_Func_AIWalk.PlayerAIWalk(True) PlayerCapsuleChair.Activate(PlayerREF, true) EndFunction @@ -715,7 +714,7 @@ Function PlayLaunchSequence() MQ13c_SC08_DoorREF.SetOpen(True) _00E_MQ13c_Steelbird_RoarM.Play(MQ13c_SC08_SteelbirdSpawnMarker) ShakeCamera() - Levelsystem.SkipTimeToHour(18.4) + _00E_TimeControl.SkipTimeToHour(18.4) MQ13c_SC09_PlayerButtonREF.Activate(GetPlayer()) QSTDwemerGong01.Play(PlayerREF) Wait(1) @@ -775,7 +774,7 @@ Function EnableCrashSite() MQ13c_Capsule_ParentREF.Enable() MQ13b_Capsule_Chronikum_REF.Enable() PlayerREF.StopTranslation() - Levelsystem.SkipTimeToHour(0) + _00E_TimeControl.SkipTimeToHour(0) Timescale.SetValue(10) MQ13c_SC10_Linker.Enable() akCompanionRomance.MoveTo(MQ13c_SC10_CompanionRomanceMarker) @@ -807,7 +806,7 @@ Function PlayerWakeUp() _00E_WakeUp.ApplyCrossFade() PlayerREF.PlayIdle(Idle_1stPersonWoozyGetUpFromBed) Wait(3) - PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() Game.EnablePlayerControls() EndFunction @@ -884,23 +883,23 @@ EndFunction Function MQ13cAddSilence() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) _00E_SilenceAbruptHighPriority.Add() EndFunction Function MQ13cRemoveSilence() - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) _00E_SilenceAbruptHighPriority.Remove() EndFunction Function FinishUP() - Levelsystem.RemoveSilence() - Levelsystem.SetAllowIdleChatter(True) - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + AllowIdleChatter.SetValue(1) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) MQ14.SetStage(5) TimeScale.SetValue(10) @@ -1039,7 +1038,7 @@ ReferenceAlias Property refAliasSteelbird Auto ImpactDataSet Property PHYGenericMetalHeavyImpactSet Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor Property akCompanionRomance Auto Hidden Actor Property akCompanionNoRomance Auto Hidden diff --git a/source/scripts/_00e_mq14_functions.psc b/source/scripts/_00e_mq14_functions.psc index 53abedfd..b33bdf9d 100644 --- a/source/scripts/_00e_mq14_functions.psc +++ b/source/scripts/_00e_mq14_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_MQ14_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Utility ;===================================================================================== @@ -158,13 +157,13 @@ EndFunction Function CompleteFuneralObjective() SetObjectiveCompleted(5) - Levelsystem.GiveEP(250) + _00E_EPHandler.GiveEP(250) EndFunction Function GiveEPForCompanion() - Levelsystem.GiveEP(250) + _00E_EPHandler.GiveEP(250) EndFunction @@ -237,14 +236,14 @@ Function SetGameTime() FadeToBlackIMOD.Apply() FadeToBlackHoldIMOD.ApplyCrossFade(afFadeDuration = 3.0) Utility.Wait(3) - Levelsystem.SkipTimeToHour(23) + _00E_TimeControl.SkipTimeToHour(23) FadeToBlackBackIMOD.ApplyCrossFade(2) EndFunction Function AddCombatmusic() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_SilenceLongTransitionHighPriority.Remove() _00E_Music_Combat_ShieldbrothersNoCond.Add() @@ -338,7 +337,7 @@ Function StartCombatWithPlayer() PhasmalistControlQuest.TeleportApparitionToPlayer() Actor akApparition = PhasmalistControlQuest.GetApparitionRef() If akApparition - _00E_QuestFunctions.WaitForReferenceToLoad(akApparition) + _00E_Func_WaitForRef.WaitForReferenceToLoad(akApparition) akApparition.StartCombat(MQ14_SC04_Keeper01REF) EndIf EndIf @@ -424,7 +423,7 @@ Function FillTraitorScene() akCurrentActor.UnequipItem(Torch01, true, false) akCurrentActor.RemoveItem(Torch01, 99) akCurrentActor.MoveTo(MQ14_SC06_StandMarkerFormlist.GetAt(iIndex) as ObjectReference) - _00E_QuestFunctions.WaitForReferenceToLoad(akCurrentActor as ObjectReference) + _00E_Func_WaitForRef.WaitForReferenceToLoad(akCurrentActor as ObjectReference) Debug.SendAnimationEvent(akCurrentActor, "IdleStop_Loose") SC06_AvoidNPCArray[iIndex].ForceRefTo(akCurrentActor) akCurrentActor.SetLookAt(MQ14_SC06_TraitorRef) @@ -435,7 +434,7 @@ Function FillTraitorScene() ; SE: Moved teleporting MQ14_SC06_FlammentrunkREF to the beginning of his scene package, he goes home if teleported at this point - _00E_QuestFunctions.WaitForReferenceToLoad(MQ14_SC06_TraitorRef as ObjectReference) + _00E_Func_WaitForRef.WaitForReferenceToLoad(MQ14_SC06_TraitorRef as ObjectReference) _00E_BloodyFXShader.Play(MQ14_SC06_TraitorRef) EndFunction @@ -630,9 +629,9 @@ Function FinishQuest() CompleteAllObjectives() _00E_Music_Special_MQ06_Consecration.Remove() MQ07b_NuminosREF.Disable() - Levelsystem.GiveEP(__Config_iRewardEXP) - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_EPHandler.GiveEP(__Config_iRewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() if akCompanion == _00E_MC_CaliaREF _00E_MC_CaliaREF.SetOutfit(_00E_MC_Calia_Outfit) @@ -657,7 +656,6 @@ bool Property bSaidGoodbyeToCompanion Auto Conditional Hidden float DaysPassedSinceSetUp = -5.000 _00E_MQ13c_Functions Property MQ13c Auto -_00E_QuestFunctions Property Levelsystem Auto _FS_Phasmalist_ControlQuest Property PhasmalistControlQuest auto Activator Property DefaultAshPileGhostBlack Auto diff --git a/source/scripts/_00e_mq15_functions.psc b/source/scripts/_00e_mq15_functions.psc index 9d11f862..4884040c 100644 --- a/source/scripts/_00e_mq15_functions.psc +++ b/source/scripts/_00e_mq15_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_MQ15_Functions extends Quest -Import _00E_QuestFunctions Import Utility ;===================================================================================== @@ -116,9 +115,9 @@ Function StartSC04() MQ15_SC04_TravelToTunnels.ForceStart() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, True, 850, 550, 850) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YuslanREF, True, 650, 550, 850) - _00E_QuestFunctions.SetNPCAsCompanion(akCompanion, True, 650, 700, 200) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, True, 850, 550, 850) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YuslanREF, True, 650, 550, 850) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanion, True, 650, 700, 200) EndFunction @@ -185,9 +184,9 @@ EndFunction Function StartSC06() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, False) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YuslanREF, False) - _00E_QuestFunctions.SetNPCAsCompanion(akCompanion, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YuslanREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanion, False) MQ15_SC06_YuslanDissolve.ForceStart() @@ -215,7 +214,7 @@ EndFunction Function GiveEP() - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) MQ16.SetStage(5) EndFunction @@ -226,8 +225,6 @@ EndFunction int Property __Config_iRewardEXP = 1000 Auto -_00E_QuestFunctions Property Levelsystem Auto - Quest Property MQ16 Auto _00E_MQ14_Functions Property MQ14 Auto diff --git a/source/scripts/_00e_mq16_functions.psc b/source/scripts/_00e_mq16_functions.psc index b6dd5aba..76ba2d3a 100644 --- a/source/scripts/_00e_mq16_functions.psc +++ b/source/scripts/_00e_mq16_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_MQ16_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Utility ;===================================================================================== @@ -44,9 +43,9 @@ Function SetUp() SetObjectiveDisplayed(5) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, True, 850, 550, 850) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YuslanREF, True, 650, 550, 850) - _00E_QuestFunctions.SetNPCAsCompanion(akCompanion, True, 650, 700, 200) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, True, 850, 550, 850) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YuslanREF, True, 650, 550, 850) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanion, True, 650, 700, 200) EndFunction @@ -78,14 +77,14 @@ Function StartVision_SC01() _00E_MQ16_VisionIMOD.Apply() iVisionIntenseSound = _00E_AMB_Vision_SoundLPM.Play(PlayerREF) Wait(0.25) - Levelsystem.VisionEffectTimestop(True, True) + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestop(True, True) EndFunction Function StopVision_SC01() - Levelsystem.VisionEffectTimestopStop() + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestopStop() MQ16_SC01_LinkMarker.Disable() MQ16_SC01_ChildREF02.Disable() MQ16_SC01_MotherREF02.Disable() @@ -103,9 +102,9 @@ EndFunction Function DisableFollowerVision_SC03() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, False) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YuslanREF, False) - _00E_QuestFunctions.SetNPCAsCompanion(akCompanion, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YuslanREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanion, False) EndFunction @@ -120,7 +119,7 @@ Function StartVision_SC03() MQ16_SC03_collisionREF.Enable() MQ16_SC03_VisionLinkerREF.Enable() iVisionIntenseSound = _00E_AMB_Vision_SoundLPM.Play(PlayerREF) - Levelsystem.VisionEffectTimestop(True, True) + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestop(True, True) _00E_MQ16_VisionIMOD.Apply() EndFunction @@ -135,7 +134,7 @@ Function StopVision_SC03() MQ16_SC03_VisionVoice.Disable() MQ16_SC03_VisionLinkerREF.Disable() Sound.StopInstance(iVisionIntenseSound) - Levelsystem.VisionEffectTimestopStop() + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestopStop() ImageSpaceModifier.RemoveCrossFade() Wait(1) SetStage(45) @@ -168,9 +167,9 @@ EndFunction Function StartSC04() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, True, 850, 550, 850) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YuslanREF, True, 650, 550, 850) - _00E_QuestFunctions.SetNPCAsCompanion(akCompanion, True, 650, 700, 200) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, True, 850, 550, 850) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YuslanREF, True, 650, 550, 850) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanion, True, 650, 700, 200) MQ16_SC04_Journey_04.ForceStart() @@ -178,9 +177,9 @@ EndFunction Function DisableFollower_SC04() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, False) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YuslanREF, False) - _00E_QuestFunctions.SetNPCAsCompanion(akCompanion, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YuslanREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanion, False) EndFunction @@ -230,14 +229,14 @@ EndFunction Function AddZyklusTheme() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Special_Zyklus_OneSelection.Add() EndFunction Function AddZyklusLoop() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Special_Zyklus_Loop.Add() EndFunction @@ -290,12 +289,12 @@ Function StartSC06() MQ16_SC04_Corpse03REF.GetBaseObject().SetName(_00E_MQ16_sCongealedCorpse.GetName()) MQ16_SC04_Corpse02REF.GetBaseObject().SetName(_00E_MQ16_sCongealedCorpse.GetName()) MQ16_SC04_Corpse01REF.GetBaseObject().SetName(_00E_MQ16_sCongealedCorpse.GetName()) - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Combat_Epic.Add() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, True, 850, 550, 850) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YuslanREF, True, 650, 550, 850) - _00E_QuestFunctions.SetNPCAsCompanion(akCompanion, True, 650, 700, 200) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, True, 850, 550, 850) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YuslanREF, True, 650, 550, 850) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanion, True, 650, 700, 200) MQ16_SC06_Assault.ForceStart() @@ -371,9 +370,9 @@ EndFunction Function RemoveCombatMusic() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, False) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YuslanREF, False) - _00E_QuestFunctions.SetNPCAsCompanion(akCompanion, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YuslanREF, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanion, False) SetObjectiveCompleted(10) _00E_Music_Combat_Epic.Remove() @@ -470,7 +469,7 @@ EndFunction Function WakeUp() - _00E_QuestFunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() GetUp() FadeToBlackHoldImod.Remove() _00E_MQ02_WakeUp.ApplyCrossFade() @@ -486,8 +485,8 @@ EndFunction Function StartSC09() - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, True, 850, 550, 850) - _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YuslanREF, True, 650, 550, 850) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, True, 850, 550, 850) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YuslanREF, True, 650, 550, 850) MQ16_SC09_Temple_02.ForceStart() @@ -507,7 +506,7 @@ Function StartVision_SC09() iVisionIntenseSound = _00E_MQ16_BattlefieldVisionM.Play(PlayerREF) MQ16_SC09_VisionLinkREF.Enable() - Levelsystem.VisionEffectTimestop(True, True) + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestop(True, True) Wait(3) MQ16_SC09_Vision_EnemyREF.PlayIdleWithTarget(pa_2HMKillMoveDecapSlash, MQ16_SC09_Vision_SoldierREF) Wait(5) @@ -517,7 +516,7 @@ EndFunction Function StopVision_SC09() - Levelsystem.VisionEffectTimestopStop(False) + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestopStop(False) MQ16_SC09_VisionLinkREF.Disable() MQ16_SC09_VisionNPCLinkREF.Disable() Sound.StopInstance(iVisionIntenseSound) @@ -561,13 +560,13 @@ Function StartVision_SC10() MQ16_SC10_VisionPriestess.SetAlphaAndFX() iVisionIntenseSound = _00E_AMB_Vision_SoundLPM.Play(PlayerREF) _00E_MQ16_VisionIMOD.Apply() - Levelsystem.VisionEffectTimestop(True, True) + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestop(True, True) EndFunction Function StopVision_SC10() - Levelsystem.VisionEffectTimestopStop(False) + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestopStop(False) MQ16_SC10_SmokeREF.Disable() MQ16_SC10_VisionLinker.Disable() Sound.StopInstance(iVisionIntenseSound) @@ -587,14 +586,14 @@ Function StartVision_02_SC010() _00E_MQ16_VisionIMOD.Apply() iVisionIntenseSound = _00E_AMB_Vision_SoundLPM.Play(PlayerREF) EnableNPCsInFormlist(MQ16_SC10_Vision_02_NPCs) - Levelsystem.VisionEffectTimestop(True, True) + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestop(True, True) EndFunction Function StopVision_02_SC010() MQ16_SC10_Vision_02_Linker.Disable() - Levelsystem.VisionEffectTimestopStop(False) + _00E_PlayerFunctions.GetVisionControl().VisionEffectTimestopStop(False) Sound.StopInstance(iVisionIntenseSound) ImageSpaceModifier.RemoveCrossFade() @@ -630,7 +629,7 @@ Function PlayVisionFragment(int iVisionFragmentIndex, ObjectReference objSelfRef formlistVisionShader formlistVisionShader.AddForm(objSelfRef) - Levelsystem.VisionEffectNoTimestop(formlistVisionShader, MQ16_SC11_VisionFormlist) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(formlistVisionShader, MQ16_SC11_VisionFormlist) iVisionIndexFragment = iVisionFragmentIndex MQ16_SC10_VisionActorREF.Say(MQ16_D03_VisionFragmentTopic, None, True) Wait(8.0) @@ -642,7 +641,7 @@ EndFunction Function StopVisionFragment() - Levelsystem.VisionEffectNoTimestopStop(formlistVisionShader, MQ16_SC11_VisionFormlist, false) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(formlistVisionShader, MQ16_SC11_VisionFormlist, false) MQ16_SC10_VisionActorREF.Enable() EndFunction @@ -957,7 +956,6 @@ bool Property bDragonFire Auto Conditional Hidden int Property iVisionIndexFragment Auto Conditional Hidden _00E_MQ15_Functions Property MQ15 Auto -_00E_QuestFunctions Property Levelsystem Auto Quest Property MQ17 Auto diff --git a/source/scripts/_00e_mq17_functions.psc b/source/scripts/_00e_mq17_functions.psc index f7308610..0346cddd 100644 --- a/source/scripts/_00e_mq17_functions.psc +++ b/source/scripts/_00e_mq17_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_MQ17_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Utility ;===================================================================================== @@ -86,7 +85,7 @@ Function StartVision01() bIsVisionPlaying = True _00E_MQ16_VisionIMOD.Apply() - Levelsystem.VisionEffectNoTimestop(MQ17_SC02_VisionsInvolvedList, emptyFormlist) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(MQ17_SC02_VisionsInvolvedList, emptyFormlist) MQ17_SC02_Vision_01_SC.ForceStart() @@ -102,7 +101,7 @@ Function StartVision02() _00E_MQ16_VisionIMOD.Apply() Wait(0.1) - Levelsystem.VisionEffectNoTimestop(MQ17_SC02_VisionsInvolvedList, emptyFormlist) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(MQ17_SC02_VisionsInvolvedList, emptyFormlist) MQ17_SC02_Vision_02_SC.ForceStart() @@ -118,7 +117,7 @@ Function StartVision03() bIsVisionPlaying = True _00E_MQ16_VisionIMOD.Apply() - Levelsystem.VisionEffectNoTimestop(MQ17_SC02_VisionsInvolvedList, emptyFormlist) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(MQ17_SC02_VisionsInvolvedList, emptyFormlist) Wait(0.25) MQ17_SC02_Vision_03_SC.ForceStart() @@ -133,7 +132,7 @@ EndFunction Function StopVision() - Levelsystem.VisionEffectNoTimestopStop(MQ17_SC02_VisionsInvolvedList, emptyFormlist) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(MQ17_SC02_VisionsInvolvedList, emptyFormlist) Sound.StopInstance(iVisionIntenseSound) If MQ17_SC02_PyreanChroniclerREF.IsEnabled() @@ -239,7 +238,7 @@ Function TrapPlayer() PlayerREF.SheatheWeapon() EndIf - PlayerAIWalk(False) + _00E_Func_AIWalk.PlayerAIWalk(False) Game.ForceThirdPerson() Game.DisablePlayerControls(True, True, True, True, True, True, True) MQ17_SC06_BlackGuardianTriesToTrapPlayer.ForceStart() @@ -250,7 +249,7 @@ Function PlayTrappedFX() _00E_Music_Special_MQ17_BlackGuardian.remove() Game.EnablePlayerControls() Game.DisablePlayerControls(True, True, True, False, True, True, True) - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Combat_Epic.Add() QSTDA10Rumble.Play(PlayerREF) MQ17_SC06_AbsorbLightREF.Enable() @@ -339,8 +338,8 @@ Function ExplodeButton() Wait(1) MQ17_SC06_CameraREF.Disable() Game.EnablePlayerControls() - Levelsystem.UnlockCamera() - PlayerAIWalkStop() + _00E_CameraControl.UnlockVanityCamera() + _00E_Func_AIWalk.PlayerAIWalkStop() Debug.SendAnimationEvent(PlayerREF, "IdleForceDefaultState") EndFunction @@ -383,7 +382,7 @@ Function BeginFight() CompanionIsTalking.SetValueInt(0) MQ17_CombatControllerREF.InitializeFight() - _00E_QuestFunctions.SetNPCAsCompanion(akCompanion, True, 750, 800, 300) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanion, True, 750, 800, 300) EndFunction @@ -451,7 +450,7 @@ Function DestroyBlackGuardian() MQ17_SC08_DeathSmoke.Enable() SetStage(90) SetObjectiveDisplayed(18) - _00E_QuestFunctions.SetNPCAsCompanion(akCompanion, False) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(akCompanion, False) If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_BLACK_GUARDIAN_01") @@ -533,7 +532,7 @@ Function PlayKiss() AudioCategorySFX.SetVolume(0.7) Debug.ToggleMenus() Debug.ToggleCollisions() - Levelsystem.LockCamera() + _00E_CameraControl.LockVanityCamera() Game.SetPlayerAIDriven(True) Game.DisablePlayerControls(true, true, true, false, true, true, true, true) Game.ForceThirdPerson() @@ -565,14 +564,14 @@ Function EndKiss() AudioCategoryMAG.SetVolume(1.0) AudioCategorySFX.SetVolume(1.0) PlayerREF.RemoveSpell(_00E_Game_abSlowTime) - _00E_QuestFunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() akCompanion.SetUnconscious(False) PlayerREF.SetUnconscious(False) Debug.ToggleMenus() Debug.ToggleCollisions() ; GameHour.SetValue(13.0) - Levelsystem.UnlockCamera() - _00E_QuestFunctions.RefreshFace() + _00E_CameraControl.UnlockVanityCamera() + _00E_Func_RefreshFace.RefreshFace() EndFunction @@ -647,7 +646,7 @@ Function StartSC09() MQ15_SC02_EldritchBarrierREF.Disable() MQ17_SC09_Glow.Disable() Timescale.SetValue(0.001) - Levelsystem.SkipTimeToHour(13.0) + _00E_TimeControl.SkipTimeToHour(13.0) MQ17_SC09_PurgerGlimpseMarker.Enable() MQ17_ForbiddenRoom_DeadKeeperREF.BlockActivation(True) MQ17_ForbiddenRoom_DeadKeeperREF.SetHeadTracking(False) @@ -721,8 +720,8 @@ Function GetIntoTemple() iCleansingLoopSound = _00E_HorrorPulse01Far.Play(PlayerREF) _00E_Music_Special_Romance.Remove() _00E_SilenceAbruptHighPriority.Remove() - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() _00E_Music_Special_Cleansing.Add() EndFunction @@ -997,7 +996,6 @@ Actor Property akCompanion Auto Hidden Armor Property _00E_InvisibleHelmet_Armor Auto -_00E_QuestFunctions Property Levelsystem Auto _00E_MQ16_Functions Property MQ16 Auto _00E_MQ18b_Functions Property MQ18b Auto _00E_MQ18a_Functions Property MQ18a Auto diff --git a/source/scripts/_00e_mq18a_functions.psc b/source/scripts/_00e_mq18a_functions.psc index 7688ffce..bff70007 100644 --- a/source/scripts/_00e_mq18a_functions.psc +++ b/source/scripts/_00e_mq18a_functions.psc @@ -50,12 +50,12 @@ EndFunction Function StartSC02() - Levelsystem.RemoveAllitemsSafeVersion(None) + _00E_PlayerFunctions.GetSafeItemRemove().RemoveAllitemsSafeVersion(None) _00E_StarCityWeather.ForceActive(True) _00E_BloodyFXShader.Stop(PlayerREF) Game.ForceFirstPerson() - Levelsystem.SkipTimeToHour(18.4) + _00E_TimeControl.SkipTimeToHour(18.4) PlayerREF.SetAngle(MQ18a_SC02_PlayerWakeUpREF.GetAngleX(), MQ18a_SC02_PlayerWakeUpREF.GetAngleY(), MQ18a_SC02_PlayerWakeUpREF.GetAngleZ()) PlayerREF.MoveTo(MQ18a_SC02_WakeUpMarker) PlayerREF.PlayIdle(TG05_Knockout) @@ -91,7 +91,7 @@ EndFunction Function StartMusic() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_Music_Special_Ending_BraveNewWorld.Add() EndFunction @@ -100,7 +100,7 @@ Function SlowSpeed() Game.ForceThirdPerson() PlayerREF.SetActorValue("speedMult", 75) - Levelsystem.UpdateSpeed(PlayerREF) + _00E_PlayerFunctions.GetVisionControl().UpdateSpeed(PlayerREF) EndFunction @@ -131,7 +131,6 @@ Actor Property _00E_MC_JesparREF Auto Actor Property PlayerREF Auto _00E_MQ17_Functions Property MQ17 Auto -_00E_QuestFunctions Property Levelsystem Auto EffectShader Property TimeFadeOut01FXS Auto EffectShader Property TimeFadeIn01FXS Auto diff --git a/source/scripts/_00e_mq18b_functions.psc b/source/scripts/_00e_mq18b_functions.psc index 3a9cab02..34f9e617 100644 --- a/source/scripts/_00e_mq18b_functions.psc +++ b/source/scripts/_00e_mq18b_functions.psc @@ -51,8 +51,8 @@ EndFunction Function SetUpDreamScene(bool bKatharsis) - _00E_QuestFunctions.UnsummonApparitionIfExists() - Levelsystem.SetAllowIdleChatter(False) + _FS_Phasmalist_ControlQuest.UnsummonApparitionIfExists() + AllowIdleChatter.SetValue(0) Game.ForceFirstPerson() Game.ShowFirstPersonGeometry(False) _00E_SilenceAbruptHighPriority.Add() @@ -118,7 +118,7 @@ int iWindLoop Actor Property PlayerREF Auto _00E_MQ17_Functions Property MQ17 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor Property MQ10a_SC1_FatherREF Auto Actor Property MQ12c_SC03_FatherREF Auto diff --git a/source/scripts/_00e_mqp01_functions.psc b/source/scripts/_00e_mqp01_functions.psc index 749e4bff..3dc2b4cf 100644 --- a/source/scripts/_00e_mqp01_functions.psc +++ b/source/scripts/_00e_mqp01_functions.psc @@ -247,8 +247,6 @@ float fMusicVolume = 0.75 float fVoiceVolume = 0.75 float fEffectsVolume = 0.75 -_00E_QuestFunctions Property Levelsystem Auto - MusicType Property _00E_Music_Special_Dreams Auto MusicType Property _00E_SilenceAbruptHighPriority Auto MusicType Property _00E_Music_Special_MQP01_BuildUp Auto diff --git a/source/scripts/_00e_mqp02_functions.psc b/source/scripts/_00e_mqp02_functions.psc index 3cfea887..805e01b4 100644 --- a/source/scripts/_00e_mqp02_functions.psc +++ b/source/scripts/_00e_mqp02_functions.psc @@ -1,7 +1,6 @@ Scriptname _00E_MQP02_Functions extends Quest Conditional Import Utility -Import _00E_QuestFunctions ;===================================================================================== ; EVENTS @@ -36,7 +35,7 @@ Function WakeUp() FXCameraAttachEmbersHeavyEffect.Stop(PlayerREF) Game.PrecacheCharGen() PlayerREF.RestoreActorValue("Health", 100) - Levelsystem.RemoveAllItemsSafeVersion(None) + _00E_PlayerFunctions.GetSafeItemRemove().RemoveAllItemsSafeVersion(None) Game.ForceFirstPerson() Game.DisablePlayerControls() ;Game.RequestAutoSave() @@ -51,7 +50,7 @@ Function WakeUp() PlayerREF.PlayIdle(TG05_Knockout) PlayerREF.AddItem(ClothesPrisonerRags, 1, True) PlayerREF.EquipItem(ClothesPrisonerRags, false, true) - Levelsystem.SkipTimeToHour(1) + _00E_TimeControl.SkipTimeToHour(1) Wait(2) PlayerREF.PlayIdle(TG05_GetUp) @@ -259,7 +258,7 @@ EndFunction Function OpenDoorAndStartMusic() - _00E_QuestFunctions.PlayerAIWalk(True) + _00E_Func_AIWalk.PlayerAIWalk(True) MQP02_SC4_VeiledWomanFXBox.Enable() EffectShader _00E_FS_NQ02_VeiledWomanAppearFXS = Game.GetFormFromFile(0x0102ED3C, "Enderal - Forgotten Stories.esm") as EffectShader @@ -341,7 +340,7 @@ EndFunction Function StartSC05() - Levelsystem.SkipTimeToHour(8.25) + _00E_TimeControl.SkipTimeToHour(8.25) PlayerREF.RestoreActorValue("Health", 100) Game.DisablePlayerControls(true, true, true, True, true, true, true, true) PlayerREF.MoveTo(MQP02_SC5_PlayerExecutionMarker) @@ -474,8 +473,6 @@ EndState ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - bool Property bRopeActivated Auto Conditional Hidden bool Property bIsLevitating Auto Conditional Hidden bool Property bTimeToScream Auto Conditional Hidden diff --git a/source/scripts/_00e_mqp02_siriusriqdeathscript.psc b/source/scripts/_00e_mqp02_siriusriqdeathscript.psc index 74907ec7..91cb055e 100644 --- a/source/scripts/_00e_mqp02_siriusriqdeathscript.psc +++ b/source/scripts/_00e_mqp02_siriusriqdeathscript.psc @@ -4,7 +4,7 @@ Event OnDeath(Actor akKiller) If akKiller != Game.GetPlayer() - _00E_QuestFunctions.PrintDebugMessage("Sailor killed by Sirius, check for failsave.") + _00E_Debug.PrintMessage("Sailor killed by Sirius, check for failsave.") If Self == MQP02_SebaldREF If MQP02_RiqRef.IsDead() && MQP02.GetStage() < 60 diff --git a/source/scripts/_00e_mqp03_functions.psc b/source/scripts/_00e_mqp03_functions.psc index 2f9cde2f..4ed716ee 100644 --- a/source/scripts/_00e_mqp03_functions.psc +++ b/source/scripts/_00e_mqp03_functions.psc @@ -33,7 +33,7 @@ Function MovePlayerToStart() Debug.SendAnimationEvent(PlayerREF, "returnToDefault") _00E_SilenceAbruptHighPriority.Add() - _00E_QuestFunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() FadeToBlackHoldIMOD.Apply() ForceFirstPerson() DisablePlayerControls(false, true, true, false, true, false, false, true) @@ -70,7 +70,7 @@ Function StrandingCutscene() AudioCategoryAMB.Unmute() AudioCategoryAMB2x.Unmute() AudioCategoryAMBr.Unmute() - Levelsystem.RemoveAllItemsSafeVersion(None) ; Debug only! + _00E_PlayerFunctions.GetSafeItemRemove().RemoveAllItemsSafeVersion(None) ; Debug only! PlayerREF.AddItem(ClothesPrisonerRags, 1, True); Debug only! PlayerREF.EquipItem(ClothesPrisonerRags, false, true); Debug only! PlayerREF.MoveTo(MQP03_PlayerStrandingMarker) @@ -170,7 +170,6 @@ EndFunction ;===================================================================================== Actor Property PlayerREF Auto -_00E_QuestFunctions Property Levelsystem Auto SoundCategory Property AudioCategoryAMB Auto SoundCategory Property AudioCategoryAMB2x Auto diff --git a/source/scripts/_00e_myradsystem02.psc b/source/scripts/_00e_myradsystem02.psc index c66c45c2..9bf9f47b 100644 --- a/source/scripts/_00e_myradsystem02.psc +++ b/source/scripts/_00e_myradsystem02.psc @@ -126,7 +126,7 @@ Function PortPlayer(ObjectReference Destination) If MQ04.GetStage() >= 10 && !bDone bDone = True MQ04.SetObjectiveCompleted(20) - Levelsystem.GiveEP(150) + _00E_EPHandler.GiveEP(150) EndIf MyradFligthCounter += 1 @@ -144,8 +144,6 @@ EndFunction bool bDone int MyradFligthCounter = 0 -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/_00e_nicodebugscript.psc b/source/scripts/_00e_nicodebugscript.psc index fcabce2c..8aa9106f 100644 --- a/source/scripts/_00e_nicodebugscript.psc +++ b/source/scripts/_00e_nicodebugscript.psc @@ -11,8 +11,6 @@ Book Property _00E_MQ11b_TargetCBook Auto MiscObject Property Gold001 Auto -_00E_QuestFunctions Property Levelsystem Auto - Potion Property TestPotion Auto Actor Property TestAct01 Auto diff --git a/source/scripts/_00e_nq02_newhorizons_library.psc b/source/scripts/_00e_nq02_newhorizons_library.psc index 67612641..ea7c311f 100644 --- a/source/scripts/_00e_nq02_newhorizons_library.psc +++ b/source/scripts/_00e_nq02_newhorizons_library.psc @@ -34,7 +34,7 @@ Function AddKP(bool bKnowledgePointEarned) EndIf - Levelsystem.GiveEP(50) + _00E_EPHandler.GiveEP(50) CheckForBuff() EndIf @@ -83,7 +83,7 @@ EndFunction Function FinishUp() - Levelsystem.GiveEP(1500) + _00E_EPHandler.GiveEP(1500) If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_KNOWLEDGE_01") @@ -100,8 +100,6 @@ EndFunction ; NQ02.AddKP(NQ02.*boolVariableName) ; NQ02.*boolVariableName = true -_00E_QuestFunctions Property Levelsystem Auto - Actor Property PlayerREF Auto GlobalVariable Property _00E_NQ02_KnowledgeGathered Auto diff --git a/source/scripts/_00e_nq03_functions.psc b/source/scripts/_00e_nq03_functions.psc index e53eab32..9f61511b 100644 --- a/source/scripts/_00e_nq03_functions.psc +++ b/source/scripts/_00e_nq03_functions.psc @@ -83,7 +83,7 @@ EndFunction Function FinishUp() - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) EndFunction @@ -101,8 +101,6 @@ int Property __Config_iMoneyWhenBottleIntact = 130 Auto float Property __Config_fDrinkPotionHealthBonus = 8.0 Auto float Property __Config_fSpeecCraftBonus = 3.0 Auto -_00E_QuestFunctions Property Levelsystem Auto - Message Property _00E_NQ03_sRaisedSpeechcraft Auto Message Property _00E_NQ03_sRaisedHealth Auto diff --git a/source/scripts/_00e_nq03_skullspheresc.psc b/source/scripts/_00e_nq03_skullspheresc.psc index d8265346..9d63f5d8 100644 --- a/source/scripts/_00e_nq03_skullspheresc.psc +++ b/source/scripts/_00e_nq03_skullspheresc.psc @@ -13,7 +13,7 @@ Event OnActivate(ObjectReference akActionRef) AlchArmorMagickaFXS.Play(PlayerREF) FadeToBlackAndBackIMOD.Apply() Lernpunkte.SetValueInt(Lernpunkte.GetValueInt() + 2) - Levelsystem.GiveEP(75) + _00E_EPHandler.GiveEP(75) PlayerREF.AddItem(_01E_CraftingPlan_01EUNI_SchattenfingerForged, 1) PlayerREF.RemoveItem(_00E_MasterTeacher, 1) _00E_MQP03_sLearningPointGained.Show(2) @@ -34,8 +34,6 @@ EndEvent bool bInteracting = false -_00E_QuestFunctions Property Levelsystem Auto - Actor Property PlayerREF Auto _00E_NQ03_Functions Property NQ03 Auto diff --git a/source/scripts/_00e_nq05_functions.psc b/source/scripts/_00e_nq05_functions.psc index f52b9b28..8ca77ac9 100644 --- a/source/scripts/_00e_nq05_functions.psc +++ b/source/scripts/_00e_nq05_functions.psc @@ -13,7 +13,7 @@ EndFunction Function GivePlayerShareholding() SetObjectiveCompleted(20) - Levelsystem.GiveEP(750) + _00E_EPHandler.GiveEP(750) PlayerREF.AddItem(_00E_Bank_BeteiligungsschreibenArkerBrauerei, 1, false) EndFunction @@ -22,8 +22,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - Actor Property PlayerREF Auto MiscObject Property _00E_Essigfass Auto diff --git a/source/scripts/_00e_nq07_bustsc.psc b/source/scripts/_00e_nq07_bustsc.psc index 6134a517..fdb82b88 100644 --- a/source/scripts/_00e_nq07_bustsc.psc +++ b/source/scripts/_00e_nq07_bustsc.psc @@ -7,13 +7,12 @@ Event onActivate(ObjectReference akActionRef) bDone = True _00E_Ark_NQ_Kor_Altar.Show() _00E_HorrorPulseFarSingleM.Play(Game.GetPlayer()) - Levelsystem.GiveEP(50) + _00E_EPHandler.GiveEP(50) EndIf endEvent bool bDone -_00E_QuestFunctions Property Levelsystem Auto Message Property _00E_Ark_NQ_Kor_Altar Auto Sound Property _00E_HorrorPulseFarSingleM Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq07_functions.psc b/source/scripts/_00e_nq07_functions.psc index 60cc390a..c647d2c9 100644 --- a/source/scripts/_00e_nq07_functions.psc +++ b/source/scripts/_00e_nq07_functions.psc @@ -39,7 +39,7 @@ Function AddLetter(ObjectReference objSelfRef) if CurrentCount >= 7 Self.SetObjectiveCompleted(10, 1) - Levelsystem.GiveEP(250) + _00E_EPHandler.GiveEP(250) Else Self.SetObjectiveCompleted(10,0) Self.SetObjectiveDisplayed(10, True, True) @@ -72,7 +72,7 @@ EndFunction Function FinishUp() - Levelsystem.GiveEP(500) + _00E_EPHandler.GiveEP(500) Self.CompleteAllObjectives() Self.Stop() @@ -84,8 +84,6 @@ EndFunction int Property iLetterCount Auto Hidden -_00E_QuestFunctions Property Levelsystem Auto - Actor Property _00E_NQ07_MirellaREF Auto Actor Property _00E_NQ07_FemaleKeeperREF Auto diff --git a/source/scripts/_00e_nq09_functions.psc b/source/scripts/_00e_nq09_functions.psc index d1ba5083..7f7679e7 100644 --- a/source/scripts/_00e_nq09_functions.psc +++ b/source/scripts/_00e_nq09_functions.psc @@ -27,7 +27,7 @@ EndFunction Function GiveGoldToSillas(int iAmount, int iRewardEXP = 300) PlayerREF.RemoveItem(Gold001, iAmount) - Levelsystem.GiveEP(iRewardEXP) + _00E_EPHandler.GiveEP(iRewardEXP) EndFunction @@ -36,8 +36,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - MiscObject Property Gold001 Auto ObjectReference Property NQ09Treasure Auto diff --git a/source/scripts/_00e_nq09_tombriddleactivatorscript.psc b/source/scripts/_00e_nq09_tombriddleactivatorscript.psc deleted file mode 100644 index 3b362b92..00000000 --- a/source/scripts/_00e_nq09_tombriddleactivatorscript.psc +++ /dev/null @@ -1,165 +0,0 @@ -Scriptname _00E_NQ09_TombRiddleActivatorScript extends ObjectReference - -bool bBlockTranslation = false -int iCorrectValue = 0 -bool bUpDown = true - -Event onActivate(objectReference actronaut) - - if ( bBlockTranslation == false) - - if ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_01 ) - MoveObject(_00E_NQ09_TombRiddleActivator_01ref, _00E_NQ09_TombRiddleActivator_01_MUPref, _00E_NQ09_TombRiddleActivator_01_MDOWNref, 1) - elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_02 ) - MoveObject(_00E_NQ09_TombRiddleActivator_02ref, _00E_NQ09_TombRiddleActivator_02_MUPref, _00E_NQ09_TombRiddleActivator_02_MDOWNref, 2) - elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_03 ) - MoveObject(_00E_NQ09_TombRiddleActivator_03ref, _00E_NQ09_TombRiddleActivator_03_MUPref, _00E_NQ09_TombRiddleActivator_03_MDOWNref, 3) - elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_04 ) - MoveObject(_00E_NQ09_TombRiddleActivator_04ref, _00E_NQ09_TombRiddleActivator_04_MUPref, _00E_NQ09_TombRiddleActivator_04_MDOWNref, 4) - elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_05 ) - MoveObject(_00E_NQ09_TombRiddleActivator_05ref, _00E_NQ09_TombRiddleActivator_05_MUPref, _00E_NQ09_TombRiddleActivator_05_MDOWNref, 5) - elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_06 ) - MoveObject(_00E_NQ09_TombRiddleActivator_06ref, _00E_NQ09_TombRiddleActivator_06_MUPref, _00E_NQ09_TombRiddleActivator_06_MDOWNref, 6) - elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_07 ) - MoveObject(_00E_NQ09_TombRiddleActivator_07ref, _00E_NQ09_TombRiddleActivator_07_MUPref, _00E_NQ09_TombRiddleActivator_07_MDOWNref, 7) - endif - - endif - -EndEvent - - -Event OnTranslationComplete() - - bBlockTranslation = false; - int soundcont_MoveEnd = _00E_OBJDwemerGearsStuck.Play(Self) - - CheckRiddle() - -EndEvent - - -Function CheckRiddle() -;Solution -if ( NQ09Script.bCorrect == false ) -if ( NQ09Script.iRight1 == 1 ) - if ( NQ09Script.iRight2 == 0 ) - if ( NQ09Script.iRight3 == 1 ) - if ( NQ09Script.iRight4 == 1 ) - if ( NQ09Script.iRight5 == 1 ) - if ( NQ09Script.iRight6 == 0 ) - if ( NQ09Script.iRight7 == 1 ) - NQ09.SetStage(50) - NQ09Script.bCorrect = true - NQ09Script.OpenSecretPassage() - EndIf - EndIf - EndIf - EndIf - EndIf - EndIf -EndIf -Endif -Endfunction - - - -Function MoveObject(ObjectReference Object, objectReference MarkerUP, objectReference MarkerDOWN, int Type) - - ; MOVE - if (bUpDown == true) - bUpDown = false - Object.TranslateToRef( MarkerUP, 0.05 ) - else - bUpDown = true - Object.TranslateToRef( MarkerDOWN, 0.05 ) - endif - - - if (bUpDown == false) - if ( Type == 1 ) - ;Debug.MessageBox("1") - NQ09Script.iRight1 = 1 - elseif ( Type == 2 ) - ;Debug.MessageBox("2") - NQ09Script.iRight2 = 1 - elseif( Type == 3 ) - ;Debug.MessageBox("3") - NQ09Script.iRight3 = 1 - elseif ( Type == 4 ) - ;Debug.MessageBox("4") - NQ09Script.iRight4 = 1 - elseif ( Type == 5 ) - ;Debug.MessageBox("5") - NQ09Script.iRight5 = 1 - elseif( Type == 6 ) - ;Debug.MessageBox("6") - NQ09Script.iRight6 = 1 - elseif( Type == 7 ) - ;Debug.MessageBox("7") - NQ09Script.iRight7 = 1 - endif - elseif(bUpDown == true) - if ( Type == 1 ) - NQ09Script.iRight1 = 0 - elseif( Type == 2 ) - NQ09Script.iRight2 = 0 - elseif( Type == 3 ) - NQ09Script.iRight3 = 0 - elseif ( Type == 4 ) - NQ09Script.iRight4 = 0 - elseif( Type == 5 ) - NQ09Script.iRight5 = 0 - elseif( Type == 6 ) - NQ09Script.iRight6 = 0 - elseif( Type == 7 ) - NQ09Script.iRight7 = 0 - endif - endif - - - - - -EndFunction - - -_00E_NQ09_Functions Property NQ09Script Auto ;ACCESS TO QUEST SCRIPT - -Quest Property NQ09 auto - -Sound Property _00E_OBJDwemerGearsStuck Auto - -Activator Property _00E_NQ09_TombRiddleActivator_01 Auto -Activator Property _00E_NQ09_TombRiddleActivator_02 Auto -Activator Property _00E_NQ09_TombRiddleActivator_03 Auto -Activator Property _00E_NQ09_TombRiddleActivator_04 Auto -Activator Property _00E_NQ09_TombRiddleActivator_05 Auto -Activator Property _00E_NQ09_TombRiddleActivator_06 Auto -Activator Property _00E_NQ09_TombRiddleActivator_07 Auto - - - -objectReference property _00E_NQ09_TombRiddleActivator_01ref auto -objectReference property _00E_NQ09_TombRiddleActivator_02ref auto -objectReference property _00E_NQ09_TombRiddleActivator_03ref auto -objectReference property _00E_NQ09_TombRiddleActivator_04ref auto -objectReference property _00E_NQ09_TombRiddleActivator_05ref auto -objectReference property _00E_NQ09_TombRiddleActivator_06ref auto -objectReference property _00E_NQ09_TombRiddleActivator_07ref auto - -objectReference property _00E_NQ09_TombRiddleActivator_01_MUPref auto -objectReference property _00E_NQ09_TombRiddleActivator_02_MUPref auto -objectReference property _00E_NQ09_TombRiddleActivator_03_MUPref auto -objectReference property _00E_NQ09_TombRiddleActivator_04_MUPref auto -objectReference property _00E_NQ09_TombRiddleActivator_05_MUPref auto -objectReference property _00E_NQ09_TombRiddleActivator_06_MUPref auto -objectReference property _00E_NQ09_TombRiddleActivator_07_MUPref auto - -objectReference property _00E_NQ09_TombRiddleActivator_01_MDOWNref auto -objectReference property _00E_NQ09_TombRiddleActivator_02_MDOWNref auto -objectReference property _00E_NQ09_TombRiddleActivator_03_MDOWNref auto -objectReference property _00E_NQ09_TombRiddleActivator_04_MDOWNref auto -objectReference property _00E_NQ09_TombRiddleActivator_05_MDOWNref auto -objectReference property _00E_NQ09_TombRiddleActivator_06_MDOWNref auto -objectReference property _00E_NQ09_TombRiddleActivator_07_MDOWNref auto \ No newline at end of file diff --git a/source/scripts/_00e_nq10_functions.psc b/source/scripts/_00e_nq10_functions.psc index ec1f9517..e49a15b5 100644 --- a/source/scripts/_00e_nq10_functions.psc +++ b/source/scripts/_00e_nq10_functions.psc @@ -18,7 +18,7 @@ Function SetupFinalScene() Actor akElfride = Alias_Elfride.GetActorReference() If akElfride.IsDisabled() ; For backward compatibility PutElfrideToCage() - _00E_QuestFunctions.WaitForReferenceToLoad(akElfride) + _00E_Func_WaitForRef.WaitForReferenceToLoad(akElfride) EndIf _00E_NQ10_ElfriedeCageRef.Lock(0) @@ -33,7 +33,7 @@ EndFunction Function FinishQuest() ; Start end travel for Eshra Actor akEshra = Alias_Eshra.GetActorReference() - _00E_QuestFunctions.DistanceFailsafeMoveTo(Alias_Elfride.GetActorReference(), akEshra, 256.0) + _00E_Func_SafeMove.DistanceFailsafeMoveTo(Alias_Elfride.GetActorReference(), akEshra, 256.0) akEshra.SetActorValue("Variable01", 1.0) RegisterForSingleUpdateGameTime(1.0) diff --git a/source/scripts/_00e_nq11_functions.psc b/source/scripts/_00e_nq11_functions.psc index 8d90163a..1517e951 100644 --- a/source/scripts/_00e_nq11_functions.psc +++ b/source/scripts/_00e_nq11_functions.psc @@ -30,7 +30,7 @@ Function EnableVera() NQ11_VeraEisenfurthRef.Enable() NQ11_VeraEisenfurthRef.MoveTo(TeleportMarker_ArkMarket) - Levelsystem.GiveEP(680) + _00E_EPHandler.GiveEP(680) EndFunction @@ -38,8 +38,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - Actor Property PlayerREF Auto Actor Property NQ11_VeraEisenfurthRef Auto diff --git a/source/scripts/_00e_nq13functions.psc b/source/scripts/_00e_nq13functions.psc index a6810b66..7b3ce2ca 100644 --- a/source/scripts/_00e_nq13functions.psc +++ b/source/scripts/_00e_nq13functions.psc @@ -32,7 +32,7 @@ Function FinishQuestBaltar() PlayerRef.AddItem(Gold001, 150) PlayerRef.AddItem(_05E_NQ13ElixirDesApothekari, 1) PlayerRef.AddItem(_00E_FS_CraftingPlan_HeavySaddle, 1) - Levelsystem.GiveEp(1100) + _00E_EPHandler.GiveEP(1100) CompleteAllObjectives() EndFunction @@ -47,7 +47,7 @@ Function FinishQuestTorius() PlayerRef.AddItem(Gold001, 100) PlayerRef.AddItem(_00E_SpellMudelementarRufen, 1) PlayerRef.AddItem(_00E_FS_CraftingPlan_HeavySaddle, 1) - Levelsystem.GiveEp(1100) + _00E_EPHandler.GiveEP(1100) CompleteAllObjectives() EndFunction @@ -79,4 +79,3 @@ Book Property _00E_SpellMudelementarRufen Auto Book Property _00E_NQ13Forschungsberichte Auto MiscObject Property Gold001 Auto Potion Property _05E_NQ13ElixirDesApothekari Auto -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq14_functions.psc b/source/scripts/_00e_nq14_functions.psc index b3b768c5..afc1dc6b 100644 --- a/source/scripts/_00e_nq14_functions.psc +++ b/source/scripts/_00e_nq14_functions.psc @@ -7,7 +7,7 @@ Scriptname _00E_NQ14_Functions extends Quest Function StartSC01() CompleteAllObjectives() - Levelsystem.GiveEP(230) + _00E_EPHandler.GiveEP(230) NQ14_SC1_FightSC.ForceStart() _00E_NQ14_BunvarREF.StartCombat(_00E_NQ14_UlvarREF) @@ -45,7 +45,7 @@ Endevent Function GiveEPForQuest() - Levelsystem.GiveEP(230) + _00E_EPHandler.GiveEP(230) EndFunction @@ -72,8 +72,6 @@ EndEvent ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - Actor Property _00E_NQ14_BunvarREF Auto Actor Property _00E_NQ14_UlvarREF Auto Actor Property _00E_MC_JesparREF Auto diff --git a/source/scripts/_00e_nq15functions.psc b/source/scripts/_00e_nq15functions.psc index bff2e5c9..89a2569a 100644 --- a/source/scripts/_00e_nq15functions.psc +++ b/source/scripts/_00e_nq15functions.psc @@ -1,7 +1,6 @@ Scriptname _00E_NQ15Functions extends Quest Conditional Import Utility -Import _00E_QuestFunctions ;===================================================================================== ; FUNCTIONS @@ -56,19 +55,19 @@ Function EnableDrownedWoman() EndFunction Function StartVision() - Levelsystem.VisionEffectNoTimestop(None, _00E_NQ15_ActorsVision) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(None, _00E_NQ15_ActorsVision) EndFunction Function EndVision() - Levelsystem.VisionEffectNoTimestopStop(None, _00E_NQ15_ActorsVision, true) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(None, _00E_NQ15_ActorsVision, true) EndFunction Function StartVisionNoActors() - Levelsystem.VisionEffectNoTimestop(None, None) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestop(None, None) EndFunction function EndVisionNoActors() - Levelsystem.VisionEffectNoTimestopStop(None, None) + _00E_PlayerFunctions.GetVisionControl().VisionEffectNoTimestopStop(None, None) EndFunction Function StartSC3() @@ -123,7 +122,7 @@ Function PortWoman() NQ15Woman.MoveTo(NQ15WomanMarker) ; SE: Need to wait for 3D to load before playing the shader - _00E_QuestFunctions.WaitForReferenceToLoad(NQ15Woman) + _00E_Func_WaitForRef.WaitForReferenceToLoad(NQ15Woman) _00E_TeleportReappearShader.Play(NQ15Woman) ; SE: The shader is short, 2 seconds is too long @@ -170,7 +169,7 @@ Function LevitateMeldor() MeldorRef.DisableNoWait() SetStage(240) - _00E_QuestFunctions.PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() EndFunction @@ -180,7 +179,7 @@ Function DespawnWoman() Wait(3) NQ15Woman.Disable() Wait(5) - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() Wait(3) Weather.ReleaseOverride() @@ -190,7 +189,7 @@ Function EnableContainerAndGiveKey() NQ15Container.Enable() PlayerREF.AddItem(_00E_NQ15ContainerKey, 1) - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() Weather.ReleaseOverride() EndFunction @@ -242,7 +241,6 @@ ImageSpaceModifier Property FadeToBlackBackImod Auto ImageSpaceModifier Property FadeToBlackHoldImod Auto ObjectReference Property NQ15Auftrag Auto ObjectReference Property MayorRef Auto -_00E_QuestFunctions Property Levelsystem Auto Formlist Property _00E_NQ15_ActorsVision Auto Int Property Gold Auto MiscObject Property Gold001 Auto diff --git a/source/scripts/_00e_nq17functions.psc b/source/scripts/_00e_nq17functions.psc index 255de4ce..7937d7ff 100644 --- a/source/scripts/_00e_nq17functions.psc +++ b/source/scripts/_00e_nq17functions.psc @@ -130,7 +130,7 @@ Function GiveRewardAndrastaDead() PlayerREF.AddItem(Gold001, 200) EndIf - Levelsystem.GiveEP(2500) + _00E_EPHandler.GiveEP(2500) EndFunction @@ -191,8 +191,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - MiscObject Property _00E_NQ17_CoinBag Auto MiscObject Property _00E_NQ17Bildnis Auto MiscObject Property Gold001 Auto diff --git a/source/scripts/_00e_nq19_functions.psc b/source/scripts/_00e_nq19_functions.psc index 8f7e914c..5d19bf61 100644 --- a/source/scripts/_00e_nq19_functions.psc +++ b/source/scripts/_00e_nq19_functions.psc @@ -33,7 +33,7 @@ Function FinishUp() PlayerREF.AddItem(Gold001, 500) PlayerREF.AddItem(_00E_Bank_BeteiligungsschreibenSchraubeHutUndPFuschAG, 1) - Levelsystem.GiveEP(2000) + _00E_EPHandler.GiveEP(2000) EndFunction @@ -43,8 +43,6 @@ EndFunction Actor Property PlayerREF Auto -_00E_QuestFunctions Property Levelsystem Auto - Book Property _00E_Bank_BeteiligungsschreibenSchraubeHutUndPFuschAG Auto MiscObject Property Gold001 Auto diff --git a/source/scripts/_00e_nq21_questfunctions.psc b/source/scripts/_00e_nq21_questfunctions.psc index e9a6cad1..bf54b061 100644 --- a/source/scripts/_00e_nq21_questfunctions.psc +++ b/source/scripts/_00e_nq21_questfunctions.psc @@ -9,8 +9,8 @@ Function PrepareSC2() EndFunction Function PortToContainer() - Levelsystem.TeleportNPC(NQ21JungerArkanist, _00E_NPCDumpMarker) - Levelsystem.TeleportNPC(NQ21AdeligeFrau, _00E_NPCDumpMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(NQ21JungerArkanist, _00E_NPCDumpMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(NQ21AdeligeFrau, _00E_NPCDumpMarker) SetObjectiveCompleted(50) SetObjectiveDisplayed(60) EndFunction @@ -21,4 +21,3 @@ Actor Property _00E_NQ21Kabar Auto ObjectReference Property KaborPortMarker Auto Scene Property NQ21_SC2 Auto ObjectReference Property _00E_NPCDumpMarker Auto -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq22_functions.psc b/source/scripts/_00e_nq22_functions.psc index 0ba1545f..bca2c63c 100644 --- a/source/scripts/_00e_nq22_functions.psc +++ b/source/scripts/_00e_nq22_functions.psc @@ -28,7 +28,7 @@ Function FinishQuest() ReferenceAlias aAlias = Self.GetNthAlias(iAliases) as ReferenceAlias aAlias.TryToClear() endwhile - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) Self.CompleteQuest() EndFunction @@ -50,5 +50,3 @@ ObjectReference Property NQ22_IshyianSpiritSpawnMarker Auto ObjectReference Property NQ22_DeadApothecariusREF Auto int Property __Config_RewardEXP Auto - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq23_functions.psc b/source/scripts/_00e_nq23_functions.psc index e7f54144..0118ae7e 100644 --- a/source/scripts/_00e_nq23_functions.psc +++ b/source/scripts/_00e_nq23_functions.psc @@ -37,7 +37,7 @@ Function CompleteQuest() Game.GetPlayer().AddItem(Gold001, 450) Game.GetPlayer().AddItem(_00E_HandwerksbuchSmithingTo99,1) NQ26.SetStage(5) - Levelsystem .GiveEP(2800) + _00E_EPHandler.GiveEP(2800) NQ23Target.Disable() EndFunction @@ -45,8 +45,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_Questfunctions Property Levelsystem Auto - MiscObject Property Gold001 Auto ReferenceAlias Property Steuereinheit Auto diff --git a/source/scripts/_00e_nq24_playerhousing_functions.psc b/source/scripts/_00e_nq24_playerhousing_functions.psc index af35c858..f95239a4 100644 --- a/source/scripts/_00e_nq24_playerhousing_functions.psc +++ b/source/scripts/_00e_nq24_playerhousing_functions.psc @@ -6,7 +6,7 @@ scriptName _00E_NQ24_Playerhousing_Functions extends Quest function FinishQuest() - Levelsystem.GiveEp(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_HOME_01") EndIf @@ -25,6 +25,4 @@ EndFunction Int property __Config_RewardEXP = 250 auto -_00e_questfunctions property Levelsystem auto - GlobalVariable Property _00E_AchievementsEnabled Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq26_questfunctions.psc b/source/scripts/_00e_nq26_questfunctions.psc index 559adf4e..55d70752 100644 --- a/source/scripts/_00e_nq26_questfunctions.psc +++ b/source/scripts/_00e_nq26_questfunctions.psc @@ -19,7 +19,7 @@ EndFunction Function DisableGenerator() NQ26CoreRef.Enable() - _00E_QuestFunctions.WaitForReferenceToLoad(NQ26CoreRef) + _00E_Func_WaitForRef.WaitForReferenceToLoad(NQ26CoreRef) NQ26CoreRef.SetMotionType(4) ; Motion_Keyframed = 4: The object will NOT be simulated by Havok (will only move if forced to, through SetPosition() or TranslateTo()) NQ26CoreRef.MoveToMyEditorLocation() @@ -77,7 +77,7 @@ EndFunction Function PortPahtira() Game.ShakeCamera(None,1.5,10) AMBRumbleShakeGreybeards.Play(PlayerREF) - Levelsystem.TeleportNPC(Phatira, NQ23PortMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(Phatira, NQ23PortMarker) _00E_BlackFadeSleepy.ApplyCrossFade() Wait(8) Phatira.Disable() @@ -164,7 +164,6 @@ ObjectReference Property NQ26Splash Auto ObjectReference Property NQ26YeraiPortMarker Auto ObjectReference Property NQ26CoreRef Auto -_00E_Questfunctions Property Levelsystem Auto Sound Property AMBRumbleShakeGreybeards Auto Message Property _00E_NQ26_DisplayTextGenerator Auto ImageSpaceModifier Property _00E_BlackFadeSleepy Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq27_functions.psc b/source/scripts/_00e_nq27_functions.psc index 7d531ada..2a96c0eb 100644 --- a/source/scripts/_00e_nq27_functions.psc +++ b/source/scripts/_00e_nq27_functions.psc @@ -1,7 +1,5 @@ Scriptname _00E_NQ27_Functions extends Quest -Import _00E_QuestFunctions - ;===================================================================================== ; FUNCTIONS ;===================================================================================== @@ -62,10 +60,6 @@ EndFunction Function StartSC01() NQ27_SC01_DialogueInFrontOfHouse.ForceStart() - - If NQ27_SC01_DialogueInFrontOfHouse.IsPlaying() - PrintDebugMessage("NQ27_SC01_DialogueInFrontOfHouse is playing!") - Endif EndFunction @@ -78,7 +72,7 @@ EndFunction Function FinishQuest() RewardMoney() - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) Self.CompleteQuest() @@ -92,7 +86,6 @@ float fTranslateValue = 250.0 int Property __Config_RewardEXP Auto int Property __Config_RewardMoney Auto MiscObject Property Gold001 Auto -_00E_QuestFunctions Property Levelsystem Auto ;sound for secret door Sound Property DRSStoneRotatingDiscLPM Auto diff --git a/source/scripts/_00e_nq29_functions.psc b/source/scripts/_00e_nq29_functions.psc index f571f34d..c78c6713 100644 --- a/source/scripts/_00e_nq29_functions.psc +++ b/source/scripts/_00e_nq29_functions.psc @@ -61,7 +61,7 @@ EndEvent Function Finish() - Levelsystem.GiveEP(5000) + _00E_EPHandler.GiveEP(5000) If _00E_AchievementsEnabled.getValueInt() == 1 Steam.UnlockAchievement("END_MYTHS_01") EndIf @@ -72,8 +72,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - Actor Property PlayerREF Auto Actor Property NQ29_Boss_AshWidow_REF Auto diff --git a/source/scripts/_00e_nq33_functions.psc b/source/scripts/_00e_nq33_functions.psc index 7214b3b9..e6f16d37 100644 --- a/source/scripts/_00e_nq33_functions.psc +++ b/source/scripts/_00e_nq33_functions.psc @@ -26,7 +26,7 @@ EndFunction Function FinishUp() - Levelsystem.GiveEP(150) + _00E_EPHandler.GiveEP(150) EndFunction @@ -41,5 +41,3 @@ Message Property _00E_NQ33_sPotionEffectFinished Auto Sound Property MAGRestorationConcentrationFire2D Auto ImageSpaceModifier Property FXReadScrollsImod Auto GlobalVariable Property CapitalCityUajaanVuulGlobal Auto - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq34_functions.psc b/source/scripts/_00e_nq34_functions.psc index 188a5d6b..23790b25 100644 --- a/source/scripts/_00e_nq34_functions.psc +++ b/source/scripts/_00e_nq34_functions.psc @@ -15,7 +15,7 @@ Function KillRemark() Utility.Wait(3) _00E_MC_CaliaREF.Say(NQ34_D04_KillTopicTopic) - Levelsystem.GiveEP(450) + _00E_EPHandler.GiveEP(450) EndFunction @@ -23,8 +23,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - Actor Property NQ34_BrotherGaljus_REF Auto Actor Property _00E_MC_CaliaREF Auto diff --git a/source/scripts/_00e_nq36_functions.psc b/source/scripts/_00e_nq36_functions.psc index 295f96ab..76b82c01 100644 --- a/source/scripts/_00e_nq36_functions.psc +++ b/source/scripts/_00e_nq36_functions.psc @@ -19,7 +19,7 @@ Function CheckForWishingWells() Self.SetObjectiveCompleted(5, 1) SetStage(10) ElseIf CurrentCount < 4 - Levelsystem.GiveEP(250) + _00E_EPHandler.GiveEP(250) Self.SetObjectiveCompleted(5,0) Self.SetObjectiveDisplayed(5, True, True) EndIf @@ -28,7 +28,7 @@ EndFunction Function FinishQuest() - Levelsystem.GiveEP(1000) + _00E_EPHandler.GiveEP(1000) EndFunction @@ -36,6 +36,4 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property NQ36_WishWellsCompleted Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq_g_01_functions.psc b/source/scripts/_00e_nq_g_01_functions.psc index 6e9020da..ee081b96 100644 --- a/source/scripts/_00e_nq_g_01_functions.psc +++ b/source/scripts/_00e_nq_g_01_functions.psc @@ -25,9 +25,9 @@ EndFunction Function FinishQuest() If iRecommendationsCollected == 2 - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) ElseIf iRecommendationsCollected ==3 - Levelsystem.GiveEP(__Config_RewardEXP + __Config_BonusEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP + __Config_BonusEXP) EndIf NQ_G_02.SetStage(5) @@ -90,8 +90,6 @@ int Property iRecommendationsCollected Auto Conditional Hidden int Property __Config_RewardEXP Auto int Property __Config_BonusEXP Auto -_00E_QuestFunctions Property Levelsystem Auto - Actor Property PlayerRef Auto Actor Property _00E_NQ_G_07_GunamREF Auto diff --git a/source/scripts/_00e_nq_g_02_functions.psc b/source/scripts/_00e_nq_g_02_functions.psc index b8805ce5..9aaab7f5 100644 --- a/source/scripts/_00e_nq_g_02_functions.psc +++ b/source/scripts/_00e_nq_g_02_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_NQ_G_02_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Math Import Utility @@ -123,9 +122,9 @@ EndFunction Function FinishQuest() If (GetStage() == 80) - Levelsystem.GiveEP(__Config_RewardEXP - __Config_EXPMalus) + _00E_EPHandler.GiveEP(__Config_RewardEXP - __Config_EXPMalus) Else - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) EndIf Self.CompleteQuest() @@ -165,8 +164,6 @@ int Property __Config_EXPMalus Auto int Property __Config_RewardMoney Auto MiscObject Property Gold001 Auto -_00E_QuestFunctions Property Levelsystem Auto - Idle Property _00E_IdleSuicide Auto ;scenes diff --git a/source/scripts/_00e_nq_g_02_mushroomonhit.psc b/source/scripts/_00e_nq_g_02_mushroomonhit.psc index d9cdce73..68fd60c3 100644 --- a/source/scripts/_00e_nq_g_02_mushroomonhit.psc +++ b/source/scripts/_00e_nq_g_02_mushroomonhit.psc @@ -1,7 +1,5 @@ Scriptname _00E_NQ_G_02_MushroomOnHit extends ObjectReference -Import _00E_QuestFunctions - ;===================================================================================== ; FUNCTIONS ;===================================================================================== diff --git a/source/scripts/_00e_nq_g_03_functions.psc b/source/scripts/_00e_nq_g_03_functions.psc index e014fe32..02011321 100644 --- a/source/scripts/_00e_nq_g_03_functions.psc +++ b/source/scripts/_00e_nq_g_03_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_NQ_G_03_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Utility ;===================================================================================== @@ -8,7 +7,7 @@ Import Utility ;===================================================================================== Event OnUpdate() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() EndEvent ;===================================================================================== @@ -88,8 +87,8 @@ EndFunction Function StartSC02() - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() NQ_G_03_SC02_PetrifiedExamineCaravan.ForceStart() @@ -181,7 +180,7 @@ EndFunction Function FinishQuest() - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) Self.CompleteQuest() EndFunction @@ -199,8 +198,6 @@ int Property __Config_RewardEXP Auto int Property __Config_RewardMoney Auto MiscObject Property Gold001 Auto -_00E_QuestFunctions Property Levelsystem Auto - ;actors Actor Property PlayerRef Auto Actor Property _00E_NQ_G_03_AlyxREF001 Auto diff --git a/source/scripts/_00e_nq_g_04_functions.psc b/source/scripts/_00e_nq_g_04_functions.psc index 41cbfecc..ec2e16da 100644 --- a/source/scripts/_00e_nq_g_04_functions.psc +++ b/source/scripts/_00e_nq_g_04_functions.psc @@ -1,7 +1,5 @@ Scriptname _00E_NQ_G_04_Functions extends Quest Conditional -Import _00E_QuestFunctions - ;===================================================================================== ; FUNCTIONS ;===================================================================================== @@ -112,13 +110,13 @@ EndFunction Function DuulAttack() _00E_NQ_G_04_Duul.SetGhost(false) - Levelsystem.Brawl(_00E_NQ_G_04_Duul) + _00E_PlayerFunctions.GetBrawlControl().Brawl(_00E_NQ_G_04_Duul) EndFunction Function StartSC03() - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) NQ_G_04_SC03_DijaamEncounter.ForceStart() EndFunction @@ -137,9 +135,9 @@ EndFunction Function FinishQuest() - Levelsystem.GiveEP(__Config_RewardEXP) - Levelsystem.RemoveSilence() - Levelsystem.SetAllowIdleChatter(True) + _00E_EPHandler.GiveEP(__Config_RewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + AllowIdleChatter.SetValue(1) Self.CompleteQuest() EndFunction @@ -163,7 +161,7 @@ int Property __Config_RewardEXP Auto int Property __Config_RewardMoney Auto MiscObject Property Gold001 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Idle Property IdleStop Auto diff --git a/source/scripts/_00e_nq_g_05_functions.psc b/source/scripts/_00e_nq_g_05_functions.psc index 5a385b95..a4bf5124 100644 --- a/source/scripts/_00e_nq_g_05_functions.psc +++ b/source/scripts/_00e_nq_g_05_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_NQ_G_05_Functions extends Quest -Import _00E_QuestFunctions ;===================================================================================== ; FUNCTIONS ;===================================================================================== @@ -217,9 +216,9 @@ EndFunction Function FinishQuest() _00E_NQ_G_05_Rodas_CorpseREF.Disable() - Levelsystem.GiveEP(__Config_RewardEXP) - Levelsystem.RemoveSilence() - Levelsystem.SetAllowIdleChatter(True) + _00E_EPHandler.GiveEP(__Config_RewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + AllowIdleChatter.SetValue(1) Self.CompleteQuest() NQ_G_06.SetStage(5) @@ -262,7 +261,7 @@ int Property __Config_RewardEXP Auto int Property __Config_RewardMoney Auto MiscObject Property Gold001 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto ;items MiscObject Property _00E_NQ_G_05_Daemmerblumensaft Auto diff --git a/source/scripts/_00e_nq_g_06_functions.psc b/source/scripts/_00e_nq_g_06_functions.psc index 36783d6c..33518966 100644 --- a/source/scripts/_00e_nq_g_06_functions.psc +++ b/source/scripts/_00e_nq_g_06_functions.psc @@ -1,6 +1,5 @@ Scriptname _00E_NQ_G_06_Functions extends Quest Conditional -Import _00E_QuestFunctions ;===================================================================================== ; FUNCTIONS ;===================================================================================== @@ -132,11 +131,11 @@ Function StopFight() if !_00E_NQ_G_06_MercenaryKilean_MageREF.IsDisabled() _00E_NQ_G_06_MercenaryKilean_MageREF.StopCombat() _00E_NQ_G_06_MercenaryKilean_MageREF.SetGhost(True) - Levelsystem.TeleportNPC(_00E_NQ_G_06_MercenaryKilean_MageREF, _00E_NPCDumpMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(_00E_NQ_G_06_MercenaryKilean_MageREF, _00E_NPCDumpMarker) ElseIf !_00E_NQ_G_06_MercenaryEnderalean_MageREF.IsDisabled() _00E_NQ_G_06_MercenaryEnderalean_MageREF.StopCombat() _00E_NQ_G_06_MercenaryEnderalean_MageREF.SetGhost(True) - Levelsystem.TeleportNPC(_00E_NQ_G_06_MercenaryEnderalean_MageREF, _00E_NPCDumpMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportNPC(_00E_NQ_G_06_MercenaryEnderalean_MageREF, _00E_NPCDumpMarker) EndIf EndFunction @@ -240,7 +239,7 @@ EndFunction Function FinishQuest() - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) if _00E_NQ_G_SidedMael.GetValueInt() == 1 NQ_G_07Mael.SetStage(5) @@ -276,8 +275,6 @@ int Property __Config_RewardEXP Auto int Property __Config_RewardMoney Auto MiscObject Property Gold001 Auto -_00E_QuestFunctions Property Levelsystem Auto - ;items Book Property _00E_NQ_G_06_LetterFromDijaam_M Auto Book Property _00E_NQ_G_06_LetterFromDijaam_F Auto diff --git a/source/scripts/_00e_nq_g_07_faintonhit.psc b/source/scripts/_00e_nq_g_07_faintonhit.psc deleted file mode 100644 index 9e4d4ae4..00000000 --- a/source/scripts/_00e_nq_g_07_faintonhit.psc +++ /dev/null @@ -1,9 +0,0 @@ -Scriptname _00E_NQ_G_07_FaintOnHit extends activemagiceffect - -Event OnEffectStart(Actor akTarget, Actor akCaster) - - NQ_G_07.Faint(akTarget) - -EndEvent - -_00E_NQ_G_07_Functions Property NQ_G_07 Auto \ No newline at end of file diff --git a/source/scripts/_00e_nq_g_07_functions.psc b/source/scripts/_00e_nq_g_07_functions.psc index 7702cf3a..3a7f5c91 100644 --- a/source/scripts/_00e_nq_g_07_functions.psc +++ b/source/scripts/_00e_nq_g_07_functions.psc @@ -1,7 +1,7 @@ Scriptname _00E_NQ_G_07_Functions extends Quest Conditional -Import _00E_QuestFunctions Import Utility + ;===================================================================================== ; EVENTS ;===================================================================================== @@ -468,7 +468,7 @@ Function DijaamLeave() FadeToBlackHoldIMOD.ApplyCrossFade(1) Wait(1) - PlayerAIWalk() + _00E_Func_AIWalk.PlayerAIWalk() PlayerREF.UnequipAll() PlayerREF.SetOutfit(MinerClothesOutfit02) PlayerREF.MoveTo(_00E_NQ_G_07Dijaam_PlayerSleepMarker) @@ -497,7 +497,7 @@ Function PlayKiss() PlayMusic() AudioCategoryMAG.Mute() AudioCategorySFX.Mute() - Levelsystem.LockCamera() + _00E_CameraControl.LockVanityCamera() Game.SetPlayerAIDriven(True) Game.ForceThirdPerson() Wait(0.5) @@ -573,14 +573,14 @@ EndFunction Function FadeInLying() - PlayerAIWalkStop() + _00E_Func_AIWalk.PlayerAIWalkStop() - Levelsystem.SkipTimeToHour(5) + _00E_TimeControl.SkipTimeToHour(5) AudioCategoryMAG.Unmute() AudioCategorySFX.Unmute() - Levelsystem.UnlockCamera() - RefreshFace() + _00E_CameraControl.UnlockVanityCamera() + _00E_Func_RefreshFace.RefreshFace() Game.EnablePlayerControls() SetStage(145) @@ -784,8 +784,8 @@ Function StartKontorCombat() NQG07_TheaterDoor_01.BlockActivation(True) NQG07_TheaterDoor_02.BlockActivation(True) _00E_SilenceAbruptHighPriority.Remove() - Levelsystem.RemoveCombatSoundtracks() - Levelsystem.RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() wait(0.1) _00E_Music_Combat_Dark.Add() @@ -1081,8 +1081,8 @@ EndFunction Function CleanSounds() - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() EndFunction @@ -1091,14 +1091,14 @@ Function FinishQuest() RewardMoney() NQ_G_07_JailDoorREF.Enable() _00E_TeleportGlobal.SetValueInt(0) - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) PlayerREF.AddItem(_00E_NQ_G_07Mael_RewardAmulet, 1) NQG07_GomesBalanREF.Enable() _00E_NQ_G_07_RogashREF.Enable() ReEnablePrisonGuards() - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() - Levelsystem.SetAllowIdleChatter(True) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() + AllowIdleChatter.SetValue(1) if bDijaamHanged == true RegisterForSingleUpdateGameTime(48) @@ -1119,13 +1119,13 @@ Function FinishQuestDijaam() _00E_SilenceAbruptHighPriority.Remove() NQ_G_07_JailDoorREF.Enable(true) _00E_TeleportGlobal.SetValueInt(0) - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_EPHandler.GiveEP(__Config_RewardEXP) ResetGraveyardScene() ReEnablePrisonGuards() NQG07Dijaam_SC4_EscapeCollision.Disable() - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() - Levelsystem.SetAllowIdleChatter(True) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() + AllowIdleChatter.SetValue(1) EndFunction @@ -1140,10 +1140,10 @@ Function FinishQuestDijaamLeora() PlayerREF.AddItem(ArkTheaterKey, 1) NQG07Dijaam_SC4_EscapeCollision.Disable() ResetGraveyardScene() - Levelsystem.GiveEP(__Config_RewardEXP) - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() - Levelsystem.SetAllowIdleChatter(True) + _00E_EPHandler.GiveEP(__Config_RewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() + AllowIdleChatter.SetValue(1) EndFunction ;===================================================================================== @@ -1525,7 +1525,7 @@ Function SetupAndStartSC07D() StartSC07D() _00E_SilenceAbruptHighPriority.Add() - Levelsystem.SkipTimeToHour(1) + _00E_TimeControl.SkipTimeToHour(1) _00E_NQ_G_07Dijaam_HideOutMarker.Enable() @@ -1587,8 +1587,8 @@ Function SetUpGraveyardScene() NQG07Dijaam_Navcut_01.Enable() NQG07Dijaam_Navcut_02.Enable() - Levelsystem.SkipTimeToHour(22.0) - _00E_QuestFunctions.DisableReferenceFormList(NQG07_GraveyardNPCs) + _00E_TimeControl.SkipTimeToHour(22.0) + _00E_Func_ReferenceFormList.Disable(NQG07_GraveyardNPCs) _00E_SC_DijaamOnelys.MoveTo(PlayerREF) @@ -1921,6 +1921,6 @@ Perk Property _00E_Class_Infiltrator_P08_C_Seducer Auto MiscObject Property _00E_NQ_G_07_Scarab Auto ;function calls -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto _00E_NQ_G_05_Functions Property NQ_G_05 Auto _00E_NQ_G_01_Functions Property NQ_G_01 Auto \ No newline at end of file diff --git a/source/scripts/_00e_nqr01_functions.psc b/source/scripts/_00e_nqr01_functions.psc index 76cc66ce..e6c74e48 100644 --- a/source/scripts/_00e_nqr01_functions.psc +++ b/source/scripts/_00e_nqr01_functions.psc @@ -1,7 +1,6 @@ Scriptname _00E_NQR01_Functions extends Quest Conditional Import Utility -Import _00E_QuestFunctions int function _GetScriptVersion() Global return 1 @@ -93,7 +92,7 @@ Function Prepare() FS_NQR01_Battle05_CageOpenerREF.Enable() FS_NQR01_Battle05_CageOpenerREF.MoveTo(FS_NQR01_Cinematic_OpenerREF) - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) FS_NQR01_PitFighterFacadeParentREF.Disable() FS_NQR01_Cinematic_Stage_01.SetValueInt(1) _00E_NQR01_Battle05_Parent.Enable() @@ -149,6 +148,24 @@ Function InitializeCoordinates(Actor TargetVictim) EndFunction +Function _SlowMotion(float fDuration = 5.0, bool bSound = true) + + PlayerREF.AddSpell(_00E_FS_NQR05_SlowMotionSP, False) + + if bSound + _00E_FS_NQR05_SlowMotion_IntroM.Play(PlayerREF) + endif + + Wait(fDuration) + + if bSound + _00E_FS_NQR05_SlowMotion_OutroM.Play(PlayerREF) + endif + + PlayerREF.RemoveSpell(_00E_FS_NQR05_SlowMotionSP) + +EndFunction + Function Stab() _00E_NQR01_Battle05_Parent.SetGhost(False) @@ -164,7 +181,7 @@ Function Stab() MAGIllusionFearExplosionSDM.Play(_00E_SC_TharaelREF) ;Utility.Wait(2.4) Wait(2.0) - Levelsystem.SlowMotion(2) + _SlowMotion(2) endIf _00E_BloodyFXShader.Play(_00E_SC_TharaelREF) @@ -278,8 +295,8 @@ Function StartArenaCombat(Formlist flEnemies) Game.RequestAutoSave() _FS_Phasmalist_ControlQuest.MoveApparitionToPlayer() Game.EnablePlayerControls() - Levelsystem.RemoveSilence() - Levelsystem.SetAllowIdleChatter(False) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + AllowIdleChatter.SetValue(0) _00E_FS_NQR01_ArenaBattleMusic.Add() int iIndex = flEnemies.GetSize() @@ -371,7 +388,7 @@ EndFunction Function DisableCorpsesAndAdvanceStage(Formlist flEnemies, int iDesiredStage) _00E_TeleportGlobal.SetValueInt(0) - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) FS_NQR01_ArenaGuardREF.Enable() Wait(5) FadeToBlackIMOD.Apply() @@ -424,7 +441,7 @@ Function GiveRewardBattle01() SetObjectiveCompleted(20) PlayerREF.AddItem(Gold001, __Config_iBattle01_Reward) - Levelsystem.GiveEP(__Config_iBattle01_expReward) + _00E_EPHandler.GiveEP(__Config_iBattle01_expReward) EndFunction @@ -432,7 +449,7 @@ Function GiveRewardBattle02() SetObjectiveCompleted(20) PlayerREF.AddItem(Gold001, __Config_iBattle02_Reward) - Levelsystem.GiveEP(__Config_iBattle02_expReward) + _00E_EPHandler.GiveEP(__Config_iBattle02_expReward) EndFunction @@ -440,7 +457,7 @@ Function GiveRewardBattle03() SetObjectiveCompleted(20) PlayerREF.AddItem(Gold001, __Config_iBattle03_Reward) - Levelsystem.GiveEP(__Config_iBattle03_expReward) + _00E_EPHandler.GiveEP(__Config_iBattle03_expReward) EndFunction @@ -448,7 +465,7 @@ Function GiveRewardBattle04() SetObjectiveCompleted(20) PlayerREF.AddItem(Gold001, __Config_iBattle04_Reward) - Levelsystem.GiveEP(__Config_iBattle04_expReward) + _00E_EPHandler.GiveEP(__Config_iBattle04_expReward) EndFunction @@ -457,7 +474,7 @@ Function GiveRewardBattle05() SetObjectiveCompleted(20) ; Rasha says "can't pay you this time" ; PlayerREF.AddItem(Gold001, __Config_iBattle05_Reward) - Levelsystem.GiveEP(__Config_iBattle05_expReward) + _00E_EPHandler.GiveEP(__Config_iBattle05_expReward) bAfterBattle05TalkStage = 1 EndFunction @@ -505,7 +522,7 @@ EndFunction Function TharaelAppearInArena() - Levelsystem.SetAllowIdleChatter(False) + AllowIdleChatter.SetValue(0) _00E_SC_TharaelREF.Enable() SetObjectiveCompleted(35) _00E_SC_TharaelREF.MoveTo(FS_NQR01_TharaelAppearREF) @@ -548,8 +565,8 @@ Function TharaelStartCombat() Game.RequestAutoSave() _00E_A2_GhostwalkTeleportVFX.Stop(_00E_SC_TharaelREF) - Levelsystem.RemoveSilence() - Levelsystem.SetAllowIdleChatter(False) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + AllowIdleChatter.SetValue(0) _00E_FS_NQR01_ArenaBattleMusic.Add() Game.EnablePlayerControls() Game.SetPlayerAIDriven(False) @@ -612,7 +629,7 @@ Function StartSC05() SetStage(80) Game.ForceFirstPerson() _00E_TeleportGlobal.SetValueInt(0) - Levelsystem.SetAllowIdleChatter(True) + AllowIdleChatter.SetValue(1) FS_NQR01_ArenaGuardREF.Enable() FS_NQR01_PitFighterFacadeParentREF.Enable() FS_NQR01_PitFighterFacadeParentREF.MoveTo(FS_NQR01_Fistfighter01_Marker) @@ -639,12 +656,12 @@ Function GiveRewardEXP(bool bDeclined) _00E_SC_TharaelREF.UnEquipItemEx(_00E_FS_NQR05_Tharael_Dagger, 1, true) _00E_SC_TharaelREF.UnEquipItemEx(_00E_FS_NQR05_Tharael_Dagger, 2, true) - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() - Levelsystem.SetAllowIdleChatter(True) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() + AllowIdleChatter.SetValue(1) NQR01_SC05_Explanation.Stop() SetObjectiveCompleted(50) - Levelsystem.GiveEP(__Config_iRewardEXP) + _00E_EPHandler.GiveEP(__Config_iRewardEXP) Teleport(_00E_SC_TharaelREF, NQR01_SC01_PlayerStartFightMarker, true) _00E_SC_TharaelREF.AddItem(_00E_FS_NQR_TharaelsBow, 1, true) _00E_SC_TharaelREF.AddItem(_00E_FS_NQR_TharaelsArrows, 55, true) @@ -662,7 +679,7 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto int __Config_iBattle01_Reward = 150 int __Config_iBattle02_Reward = 250 @@ -841,3 +858,9 @@ Sound Property _00E_FS_NQR01_CrowdGaspM Auto ; 1: GiveRewardBattle05 done ; 2: everything done, no more talking with Rasha Int Property bAfterBattle05TalkStage = 0 Auto Conditional Hidden + +SPELL Property _00E_FS_NQR05_SlowMotionSP Auto + +Sound Property _00E_FS_NQR05_SlowMotion_IntroM Auto + +Sound Property _00E_FS_NQR05_SlowMotion_OutroM Auto diff --git a/source/scripts/_00e_peaceweedplayeraliasscript.psc b/source/scripts/_00e_peaceweedplayeraliasscript.psc index 53cf45fa..609dc68b 100644 --- a/source/scripts/_00e_peaceweedplayeraliasscript.psc +++ b/source/scripts/_00e_peaceweedplayeraliasscript.psc @@ -23,7 +23,6 @@ Sound Property _00E_FS_DecreaseArcaneFeverM Auto Message Property _00E_AlchAmbrosia_sArcaneFeverDecreased Auto Actor Property PlayerRef Auto -_00E_QuestFunctions Property Levelsystem Auto ;===================================================================================== @@ -340,7 +339,7 @@ Function _AdjustCameraPositionToSitting() bStoredCameraPositions = True fStoredOverShoulderPosX = Utility.GetINIFloat("fOverShoulderPosX:Camera") fStoredOverShoulderPosZ = Utility.GetINIFloat("fOverShoulderPosZ:Camera") - Levelsystem.LockCamera() + _00E_CameraControl.LockVanityCamera() EndIf _SetCameraPosition(0.0, -70.0) @@ -349,7 +348,7 @@ EndFunction Function _RestoreCameraPosition() If bStoredCameraPositions bStoredCameraPositions = False - Levelsystem.UnlockCamera() + _00E_CameraControl.UnlockVanityCamera() _SetCameraPosition(fStoredOverShoulderPosX, fStoredOverShoulderPosZ) EndIf EndFunction diff --git a/source/scripts/_00e_phasmalist_playeraliasscript.psc b/source/scripts/_00e_phasmalist_playeraliasscript.psc index 2d882d69..82841a01 100644 --- a/source/scripts/_00e_phasmalist_playeraliasscript.psc +++ b/source/scripts/_00e_phasmalist_playeraliasscript.psc @@ -9,10 +9,11 @@ Message Property _00E_Phasmalist_ForceDesummonMessage Auto Event OnLocationChange(Location akOldLoc, Location akNewLoc) If ControlQuest.IsBadApparitionLocation(akNewLoc) If ControlQuest.IsBadApparitionLocation(akOldLoc) == False && ControlQuest.IsApparitionSpawned() + Message.ResetHelpMessage("Empty") If akNewLoc && akNewLoc.HasKeyword(_00E_Phasmalist_NoSummonLocationTown) - _00E_QuestFunctions.ShowHelpMessage(_00E_Phasmalist_ForceDesummonMessageTown, 3.0) + _00E_Phasmalist_ForceDesummonMessageTown.ShowAsHelpMessage("Empty", 3.0, 1.0, 1) Else - _00E_QuestFunctions.ShowHelpMessage(_00E_Phasmalist_ForceDesummonMessage, 3.0) + _00E_Phasmalist_ForceDesummonMessage.ShowAsHelpMessage("Empty", 3.0, 1.0, 1) EndIf RegisterForSingleUpdate(6.0) EndIf diff --git a/source/scripts/_00e_phasmalist_transmute.psc b/source/scripts/_00e_phasmalist_transmute.psc index 8a33feb7..19124f13 100644 --- a/source/scripts/_00e_phasmalist_transmute.psc +++ b/source/scripts/_00e_phasmalist_transmute.psc @@ -4,7 +4,7 @@ Actor Caster Actor Target int SoundHandler -_00E_QuestFunctions Property Levelsystem Auto +Message Property _00E_Levelsystem_sEnemyHasToBeDead Auto Actor Property PlayerREF Auto Perk Property _00E_Class_Phasmalist_P08c_Talent_Transmute Auto @@ -25,7 +25,7 @@ SoulGem Property normalLoot Auto Event OnEffectStart(Actor akTarget, Actor akCaster) If !akTarget.IsDead() - Levelsystem._00E_Levelsystem_sEnemyHasToBeDead.Show() + _00E_Levelsystem_sEnemyHasToBeDead.Show() (PlayerREF as _00E_Game_TalentControlSC).SetTalentRecoveryTime(_00E_Phasmalist_A2_TransmuteShout, 0) Return Else diff --git a/source/scripts/_00e_phasmalist_workbench.psc b/source/scripts/_00e_phasmalist_workbench.psc index d9a7d2c2..c0cee75f 100644 --- a/source/scripts/_00e_phasmalist_workbench.psc +++ b/source/scripts/_00e_phasmalist_workbench.psc @@ -380,7 +380,7 @@ Function FinishPlacement() PlaceableTankMarkerRef.Enable() - _00E_QuestFunctions.WaitForReferenceToLoad(PlaceableTankMarkerRef) + _00E_Func_WaitForRef.WaitForReferenceToLoad(PlaceableTankMarkerRef) PlaceableTankMarkerRef.TranslateTo(mx, my, mz, 0, 0, fWorkbenchAngleZ + fOffsetAngleZ, FAST_TRANSLATION_SPEED, FAST_TRANSLATION_SPEED) diff --git a/source/scripts/_00e_placeablegrammophonplay.psc b/source/scripts/_00e_placeablegrammophonplay.psc index 650f9d82..1b2dec26 100644 --- a/source/scripts/_00e_placeablegrammophonplay.psc +++ b/source/scripts/_00e_placeablegrammophonplay.psc @@ -80,7 +80,7 @@ Event OnActivate(ObjectReference triggerRef) volume = 0.5 EndIf Sound.SetInstanceVolume(playbackId, volume) - RegisterForSingleUpdate(_00E_QuestFunctions.AdjustTimePeriodByEngineTimerError(MUSIC_LENGTH)) + RegisterForSingleUpdate(_00E_TimeControl.AdjustTimePeriodByEngineTimerError(MUSIC_LENGTH)) GoToState("") diff --git a/source/scripts/_00e_playerfunctions.psc b/source/scripts/_00e_playerfunctions.psc index e7069f86..bdc1f13a 100644 --- a/source/scripts/_00e_playerfunctions.psc +++ b/source/scripts/_00e_playerfunctions.psc @@ -1,10 +1,87 @@ -Scriptname _00E_PlayerFunctions extends actor +Scriptname _00E_PlayerFunctions extends Actor + +_00E_EnderalControls Property ControlRepository Auto + +Float fDefaultHeadTrackTimerOldValue = 0.0 +Float fStayHeadTrackTimerOldValue = 0.0 + +int function _GetScriptVersion() Global + return 1 +endFunction + +Event OnInit() + fDefaultHeadTrackTimerOldValue = Game.GetGameSettingFloat("fAIHoldDefaultHeadTrackTimer") + fStayHeadTrackTimerOldValue = Game.GetGameSettingFloat("fAIStayonScriptHeadtrack") + if ControlRepository == None + ControlRepository = Game.GetForm(0x493C2) as _00E_EnderalControls + endif +EndEvent + +Event OnPlayerLoadGame() + if ControlRepository == None + ControlRepository = Game.GetForm(0x493C2) as _00E_EnderalControls + endif + GetCombatMusicControl().InitCombatMusic() +EndEvent + +_00E_SkillControl function GetSkillControl() Global + return (Game.GetForm(0x14) as _00E_PlayerFunctions).ControlRepository.SkillControl +endfunction + +_00E_SympathyControl function GetSympathyControl() Global + return (Game.GetForm(0x14) as _00E_PlayerFunctions).ControlRepository.SympathyControl +endfunction + +_00E_SoundControl function GetSoundControl() Global + return (Game.GetForm(0x14) as _00E_PlayerFunctions).ControlRepository.SoundControl +endfunction + +_00E_VisionControl function GetVisionControl() Global + return (Game.GetForm(0x14) as _00E_PlayerFunctions).ControlRepository.VisionControl +endfunction + +_00E_CombatMusicControl function GetCombatMusicControl() Global + return (Game.GetForm(0x14) as _00E_PlayerFunctions).ControlRepository.CombatMusicControl +endfunction + +_00E_FadeToBlackControl function GetFadeToBlackControl() Global + return (Game.GetForm(0x14) as _00E_PlayerFunctions).ControlRepository.FadeToBlackControl +endfunction + +_00E_TeleportControl function GetTeleportControl() Global + return (Game.GetForm(0x14) as _00E_PlayerFunctions).ControlRepository.TeleportControl +endfunction + +_00E_SafeItemRemove function GetSafeItemRemove() Global + return (Game.GetForm(0x14) as _00E_PlayerFunctions).ControlRepository.SafeItemRemove +endfunction + +_00E_BrawlControl function GetBrawlControl() Global + return (Game.GetForm(0x14) as _00E_PlayerFunctions).ControlRepository.BrawlControl +endfunction + + +;===================================================================================== +; Stop/restart random headtracking +;===================================================================================== + +Function StopRandomHeadTracking() + ; Raise "change headtrack target" timers a lot so the NPCs would stare at what the scene tells them, without randomly switching to the player or other NPCs + Game.SetGameSettingFloat("fAIHoldDefaultHeadTrackTimer", 1000.0) + Game.SetGameSettingFloat("fAIStayonScriptHeadtrack", 1000.0) +EndFunction + +Function ResumeRandomHeadTracking() + Game.SetGameSettingFloat("fAIHoldDefaultHeadTrackTimer", fDefaultHeadTrackTimerOldValue) + Game.SetGameSettingFloat("fAIStayonScriptHeadtrack", fStayHeadTrackTimerOldValue) +EndFunction + ;===================================================================================== ; Equip/unequip torches ;===================================================================================== -Int Function GetHandSlotEx(int iHand) +Int Function _GetHandSlotEx(int iHand) ; By default, iHand = 0 for left hand, 1 for right hand ; In SKSE's "Equip Ex" functions though: iHand = 2 for left hand, 1 for right hand Return 2 - iHand @@ -17,7 +94,7 @@ Bool Function UnequipTorches(Form[] equippedTorches) If GetEquippedItemType(iHand) == 11 ; A torch is in the hand? Form torch = GetEquippedObject(iHand) If torch - UnequipItemEx(torch, GetHandSlotEx(iHand)) + UnequipItemEx(torch, _GetHandSlotEx(iHand)) equippedTorches[iHand] = torch unequipping = True EndIf @@ -35,7 +112,7 @@ Function ReequipTorches(Form[] equippedTorches) Form torch = equippedTorches[iHand] If torch If GetItemCount(torch) > 0 - EquipItemEx(torch, GetHandSlotEx(iHand), False, True) + EquipItemEx(torch, _GetHandSlotEx(iHand), False, True) EndIf ; "Forget" about the form to not keep it persistent if equippedTorches is a script's property or variable equippedTorches[iHand] = None @@ -43,155 +120,3 @@ Function ReequipTorches(Form[] equippedTorches) iHand += 1 EndWhile EndFunction - - -;===================================================================================== -; Combat music control -;===================================================================================== - -MusicType[] ActiveCombatMusics -MusicType[] StoppingCombatMusics -Int StoppingCombatMusicCounter = 0 - -Int Property COMBAT_MUSIC_LOCK_NONE = 0 AutoReadOnly -Int Property COMBAT_MUSIC_LOCK_START = 1 AutoReadOnly -Int Property COMBAT_MUSIC_LOCK_STOP = 2 AutoReadOnly -Int Property COMBAT_MUSIC_LOCK_FAILSAFE = 3 AutoReadOnly - -Int CombatMusicLockLevel = 0 ; = COMBAT_MUSIC_LOCK_NONE - -Function InitCombatMusic() - If ActiveCombatMusics.Length == 0 - ActiveCombatMusics = _NewMusicArray() - EndIf - - If StoppingCombatMusics.Length == 0 - StoppingCombatMusics = _NewMusicArray() - EndIf - - If StoppingCombatMusicCounter > 0 || ActiveCombatMusics[0] - GoToState("CombatMusicTracking") - EndIf -EndFunction - -Bool Function StartCombatMusic(MusicType newMusic) - ; Debug.Trace(self + ", StartCombatMusic, newMusic = " + newMusic) - - Bool result = False - - While CombatMusicLockLevel > COMBAT_MUSIC_LOCK_NONE - Utility.Wait(0.03) ; wait for two frames - EndWhile - CombatMusicLockLevel = COMBAT_MUSIC_LOCK_START - - Int Index = _AddUniqueMusicToArray(ActiveCombatMusics, newMusic) - If Index >= 0 - ActiveCombatMusics[Index].Add() - result = (Index == 0) ; Is this the first combat music in this fight? - EndIf - - StoppingCombatMusicCounter = 0 - - GoToState("CombatMusicTracking") - - CombatMusicLockLevel = COMBAT_MUSIC_LOCK_NONE - - Return result -EndFunction - -Function StopCombatMusic() - ; Debug.Trace(self + ", StopCombatMusic") - - While CombatMusicLockLevel > COMBAT_MUSIC_LOCK_NONE - If CombatMusicLockLevel == COMBAT_MUSIC_LOCK_START || CombatMusicLockLevel == COMBAT_MUSIC_LOCK_STOP - Return - EndIf - Utility.Wait(0.03) - EndWhile - CombatMusicLockLevel = COMBAT_MUSIC_LOCK_STOP - - Int Index = 0 - While Index < ActiveCombatMusics.Length && ActiveCombatMusics[Index] - ActiveCombatMusics[Index].Remove() - _AddUniqueMusicToArray(StoppingCombatMusics, ActiveCombatMusics[Index]) - Index += 1 - EndWhile - - ActiveCombatMusics = _NewMusicArray() - - StoppingCombatMusicCounter = 8 - - GoToState("CombatMusicTracking") - - CombatMusicLockLevel = COMBAT_MUSIC_LOCK_NONE -EndFunction - - -State CombatMusicTracking - - Event OnUpdate() - - ; _00E_EPUpdateFunctions that is also attached to the player, does the job of registering for updates. - ; That's why there is no RegisterForUpdate anywhere in this script. - - ; Debug.Trace("_00E_PlayerFunctions, OnUpdate") - - If IsInCombat() || CombatMusicLockLevel > COMBAT_MUSIC_LOCK_NONE - Return - EndIf - - If StoppingCombatMusicCounter > 0 - - CombatMusicLockLevel = COMBAT_MUSIC_LOCK_FAILSAFE - - ; Debug.Trace(self + ", OnUpdate: failsaving") - - Int Index = 0 - While Index < StoppingCombatMusics.Length && StoppingCombatMusics[Index] - StoppingCombatMusics[Index].Add() - StoppingCombatMusics[Index].Remove() - Index += 1 - EndWhile - - StoppingCombatMusicCounter -= 1 - If StoppingCombatMusicCounter <= 0 - StoppingCombatMusics = _NewMusicArray() - EndIf - - CombatMusicLockLevel = COMBAT_MUSIC_LOCK_NONE - - ElseIf ActiveCombatMusics[0] ; Failsafe in case StopCombatMusic is not called for whatever reason - - StopCombatMusic() - - Else - - GoToState("") - - EndIf - - EndEvent - -EndState - -MusicType[] Function _NewMusicArray() - Return New MusicType[10] -EndFunction - -Int Function _AddUniqueMusicToArray(MusicType[] musics, MusicType newMusic) - Int n = musics.Length - Int Index = 0 - - ; Loop through array until we reach the end or newMusic or an empty entry - While Index < n && musics[Index] != newMusic && musics[Index] != None - Index += 1 - EndWhile - - If Index < n && musics[Index] == None - musics[Index] = newMusic - Return Index - Else - Return -1 - EndIf -EndFunction - diff --git a/source/scripts/_00e_playerhousing_mannequincontrol.psc b/source/scripts/_00e_playerhousing_mannequincontrol.psc index 8b70a7b1..248b2171 100644 --- a/source/scripts/_00e_playerhousing_mannequincontrol.psc +++ b/source/scripts/_00e_playerhousing_mannequincontrol.psc @@ -226,6 +226,6 @@ Function FinishPlacement() Enable() - _00E_QuestFunctions.WaitForReferenceToLoad(self) + _00E_Func_WaitForRef.WaitForReferenceToLoad(self) ResetOnLoad() EndFunction diff --git a/source/scripts/_00e_posessionfxscript.psc b/source/scripts/_00e_posessionfxscript.psc index f0352b32..906d62a6 100644 --- a/source/scripts/_00e_posessionfxscript.psc +++ b/source/scripts/_00e_posessionfxscript.psc @@ -28,7 +28,6 @@ Sound Property _00E_VisionGlimpseWhisperM Auto _00E_FXPosessedMaleEyeEffect.Play(selfRef, -1) endif - endif ;if sex is female (currently not returned) play debug text to say this is now working if myActorBase.GetSex() == 1 if (selfRef.GetSleepState() == 3) diff --git a/source/scripts/_00e_questfunctions.psc b/source/scripts/_00e_questfunctions.psc deleted file mode 100644 index 8769bc2d..00000000 --- a/source/scripts/_00e_questfunctions.psc +++ /dev/null @@ -1,1333 +0,0 @@ -Scriptname _00E_QuestFunctions extends Quest Conditional -{This script is meant to be attached to any quests and serves as a Function library. Simply import it to call Global functions, and create a script property to access non-global functions} - -Import math -Import Utility - -int function _GetScriptVersion() Global - return 1 -endFunction - -;===================================================================================== -; EXP -;===================================================================================== - -Function GiveEP(int ToGive) - - If (PlayerREF as _00E_EPUpdateFunctions).receiveEP(ToGive) - ; Player receives EP - EndIf - -EndFunction - -;===================================================================================== -; SYMPATHY -;===================================================================================== - -Function ModSympathyNG(Actor akSympathyActor, int iSympathyMod, bool bIsFlirt = False, bool bStringOverride = False, String sOverride = "") - - Levelsystem_SympathyActor.ForceRefTo(akSympathyActor) - - ActorBase sympathyBase = akSympathyActor.GetActorBase() - - If sympathyBase == _00E_MC_Jespar - SympathyJespar.Mod(iSympathyMod) - ElseIf sympathyBase == _00E_MC_Calia - SympathyCalia.Mod(iSympathyMod) - ElseIf sympathyBase == _00E_CapitalCityMaelGroschenfrst - SympathyMaelGroschenfuerst.Mod(iSympathyMod) - ElseIf sympathyBase == _00E_SC_Dijaam - SympathyDijaam.Mod(iSympathyMod) - ElseIf sympathyBase == _00E_SC_Tharael - SympathyTharael.Mod(iSympathyMod) - ElseIf sympathyBase == _00E_MQ11c_Ryneus - SympathyRyneus.Mod(iSympathyMod) - ElseIf sympathyBase == _00E_MC_Yuslan - SympathyYuslan.Mod(iSympathyMod) - ElseIf sympathyBase == _00E_FS_NQ02_Esme - SympathyEsme.Mod(iSympathyMod) - EndIf - - If bIsFlirt - If sympathyBase == _00E_MC_Jespar - JesparFlirtCounter.SetValueInt(JesparFlirtCounter.GetValueInt() + 1) - ElseIf sympathyBase == _00E_MC_Calia - CaliaFlirtCounter.SetValueInt(CaliaFlirtCounter.GetValueInt() + 1) - ElseIf sympathyBase == _00E_SC_Dijaam - DijaamFlirtCounter.SetValueInt(DijaamFlirtCounter.GetValueInt() + 1) - ElseIf sympathyBase == _00E_SC_Tharael - TharaelFlirtCounter.SetValueInt(TharaelFlirtCounter.GetValueInt() + 1) - EndIf - EndIf - - String sActorName = sympathyBase.GetName() - - If !bStringOverride - If (iSympathyMod > 0) && (iSympathyMod <= 5) - _00E_Levelsystem_sApproves.Show() - ; Debug.Notification(sActorName + sLevelsystemAppreciate + ".") - ElseIf (iSympathyMod > 5) && (iSympathyMod <= 10) - _00E_Levelsystem_sAppreciates.Show() - ; Debug.Notification(sActorName + sLevelsystemAppreciateALot + ".") - ElseIf (iSympathyMod > 10) && (iSympathyMod <= 20) - _00E_Levelsystem_sAppreciatesALot.Show() - ; Debug.Notification(sActorName + sLevelsystemApproves + ".") - ElseIf (iSympathyMod < 0) && (iSympathyMod >= -5) - _00E_Levelsystem_sDislikes.Show() - ; Debug.Notification(sActorName + sLevelsystemDislikes + ".") - ElseIf (iSympathyMod < -5) && (iSympathyMod >= -10) - _00E_Levelsystem_sHurt.Show() - ; Debug.Notification(sActorName + sLevelsystemOffended + ".") - ElseIf (iSympathyMod < -10) && (iSympathyMod >= -20) - _00E_Levelsystem_sVeryHurt.Show() - ; Debug.Notification(sActorName + sLevelsystemVeryOffended + ".") - EndIf - Else - Debug.Notification(sActorName + sOverride) - EndIf - -EndFunction - -;===================================================================================== -; CAMERA -;===================================================================================== - -Function LockCamera() - - fCameraMaxDistance = Utility.GetINIFloat("fVanityModeMaxDist:Camera") - Utility.SetINIFloat("fVanityModeMaxDist:Camera", Utility.GetIniFloat("fVanityModeMinDist:Camera")) - -EndFunction - -Function UnlockCamera() - - Utility.SetINIFloat("fVanityModeMaxDist:Camera", fCameraMaxDistance) - -EndFunction - -;===================================================================================== -; GLOBAL FUNCTIONS -;===================================================================================== - -Function Brawl(Actor pTarget, Actor pTargetFriend = None) - - BrawlKeyword.SendStoryEvent(None, pTarget, pTargetFriend) - -EndFunction - -function PlayerAIWalkStop() Global - - Game.ShowFirstPersonGeometry(True) - Game.SetPlayerAIDriven(False) - Game.EnablePlayerControls() - -endFunction - -function PlayerAIWalk(bool abLockedSight = True) Global - - Game.ShowFirstPersonGeometry(False) - Game.SetPlayerAIDriven(True) - If abLockedSight == True - Game.DisablePlayerControls(true, true, true, true, true, true, true, true) - ElseIf abLockedSight == False - Game.DisablePlayerControls(true, true, true, False, true, true, true, true) - EndIf - -endFunction - -; 2.1: Do not use this function, call EnderalFunctions.DisableDialogueQuitting() instead -Function DisableDialogueQuitting() Global -{OBSOLETE. Disables the TAB Key during dialogue.} - EnderalFunctions.DisableDialogueQuitting() - Debug.Notification("Outdated _00E_QuestFunctions replacer detected!") -EndFunction - -Function RefreshFace() Global - - String facegen = "bUseFaceGenPreprocessedHeads:General" - Utility.SetINIBool(facegen, False) - Game.GetPlayer().QueueNiNodeUpdate() - Utility.SetINIBool(facegen, True) - -EndFunction - -Function ShowHelpMessage(Message msg, Float fDuration = 5.0, String sEvent = "Empty") Global - - Message.ResetHelpMessage(sEvent) - msg.ShowAsHelpMessage(sEvent, fDuration, 1.0, 1) - -EndFunction - -Function SafeMoveTo(ObjectReference refToMove, ObjectReference targetRef, Bool bFadeIn = False) Global - - ; A safer way to move an object reference to another ref than just MoveTo. - ; Mostly for actors to take their intended positions. - ; It's better for the actor to be already running a package that moves them to targetRef at the moment this function is called. - - refToMove.Disable() - refToMove.MoveTo(targetRef) - refToMove.Enable(bFadeIn) - -EndFunction - -Function SafeMoveTo_NoWait(ObjectReference refToMove, ObjectReference targetRef, Bool bFadeIn = False) Global - - ; A safer way to move an object reference to another ref than just MoveTo (without waiting for it to be fully enabled). - ; Mostly for actors to take their intended positions. - ; It's better for the actor to be already running a package that moves them to targetRef at the moment this function is called. - - refToMove.Disable() - refToMove.MoveTo(targetRef) - refToMove.EnableNoWait(bFadeIn) - -EndFunction - -Bool Function DistanceFailsafeMoveTo(ObjectReference refToMove, ObjectReference targetRef, Float fTooFarDistance) Global - - ; Moves refToMove to targetRef if refToMove is not within fTooFarDistance from targetRef. - ; Mostly for character travel failsafes in scenes. - - ; Debug.Trace("FailsafeMoveTo: refToMove = " + refToMove + "; d = " + refToMove.GetDistance(targetRef)) - If refToMove.GetDistance(targetRef) >= fTooFarDistance - refToMove.MoveTo(targetRef) - ; Debug.Trace("FailsafeMoveTo: refToMove = " + refToMove + " force-moved to marker") - Return True - Else - Return False - EndIf - -EndFunction - -Function WaitForReferenceToLoad(ObjectReference ref) Global - - Int maxIterationsToWait = 180 - While ref.Is3DLoaded() == False && maxIterationsToWait > 0 - ; Utility.Wait(0.02) - maxIterationsToWait -= 1 - EndWhile - -EndFunction - -Float Function NormalizeHour(Float fHour) Global - - If fHour >= 24.0 - Return (fHour - 24.0) - ElseIf fHour < 0.0 - Return (fHour + 24.0) - Else - Return fHour - EndIf - -EndFunction - -Bool Function HourIsInRange(Float fHour, Float fHourStart, Float fHourEnd) Global - - ; "Smart" test for fHour being withing a range. - ; Works both with "day" ranges (e.g., 06:00- 20:00) and with "night" ranges (e.g., 21:00-06:00) - - fHour = NormalizeHour(fHour) - fHourStart = NormalizeHour(fHourStart) - fHourEnd = NormalizeHour(fHourEnd) - - If fHourStart <= fHourEnd ; Something like 06:00 - 20:00 - Return (fHour >= fHourStart && fHour < fHourEnd) - Else ; Something like 20:00 - 06:00 - Return (fHour >= fHourStart || fHour < fHourEnd) - EndIf - -EndFunction - -Function EnableReferenceFormList(FormList referenceList) Global - - Int nItems = referenceList.GetSize() - Int i = 0 - - If nItems < 128 && nItems > 1 - Form[] refArray = referenceList.ToArray() - While i < nItems - (refArray[i] as ObjectReference).EnableNoWait() - i += 1 - EndWhile - Else - While i < nItems - (referenceList.GetAt(i) as ObjectReference).EnableNoWait() - i += 1 - EndWhile - EndIf - -EndFunction - -Function DisableReferenceFormList(FormList referenceList) Global - - Int nItems = referenceList.GetSize() - Int i = 0 - - If nItems < 128 && nItems > 1 - Form[] refArray = referenceList.ToArray() - While i < nItems - (refArray[i] as ObjectReference).DisableNoWait() - i += 1 - EndWhile - Else - While i < nItems - (referenceList.GetAt(i) as ObjectReference).DisableNoWait() - i += 1 - EndWhile - EndIf - -EndFunction - -Float Function AdjustTimePeriodByEngineTimerError(Float fUnadjustedPeriod) Global - - ; In SE, the game time runs slower than the real time by about 2.5/60 second - - Return fUnadjustedPeriod - (2.5 * Math.Floor(fUnadjustedPeriod) / 60.0) - -EndFunction - -Function PrintDebugMessage(String msg) Global - ; Dummy to fix error messages in Papyrus.log about missing function -EndFunction - -Function PDB(String msg) Global - ; Dummy to fix error messages in Papyrus.log about missing function -EndFunction - - - -;===================================================================================== -; GENERAL NON-GLOBAL FUNCTIONS -;===================================================================================== - -Function RemoveSilence() - - _00E_SilenceTransitionLowPriority02.Remove() - _00E_Music_Special_MQ12b_Samael.Remove() - _00E_SilenceLongTransitionHighPriority.Remove() - _00E_SilenceTransitionLowPriority.Remove() - _00E_SilenceTransitionHighPriority.Remove() - _00E_SilenceAbruptHighPriority.Remove() - _00E_Music_Special_TavernSilence.Remove() - AudioCategoryAMB.UnMute() - AudioCategoryAMBr.UnMute() - AudioCategorySFX.UnMute() - -EndFunction - -Function RemoveCombatSoundtracks() - - int iIndex = _00E_MUS_AllCombatSoundtracks.GetSize() - - while iIndex > 0 - iIndex -= 1 - MusicType musicToRemove = _00E_MUS_AllCombatSoundtracks.GetAt(iIndex) as MusicType - musicToRemove.Remove() - endwhile - -EndFunction - -Function ShowFailedMessage(String companionName = "Jespar") - - if companionName == "Jespar" && _00E_DisableQuestTutorials.GetValueInt() == 0 - _00E_Tutorial_Companions02_Jespar.Show() - ElseIf _00E_DisableQuestTutorials.GetValueInt() == 0 - _00E_Tutorial_Companions02_Calia.Show() - EndIf - -EndFunction - -Function ShowBrawlTutorial() - - If _00E_DisableSkillTutorials.GetValueInt() == 0 - Message.ResetHelpMessage("Brawl") - _00E_Tutorial_Brawl.ShowAsHelpMessage("Brawl", 3, 3, 1) - EndIf - -EndFunction - -Function PriestHeal() -{Called in dialoges with priests} - - PlayerREF.RestoreActorValue("Health", PlayerREF.GetActorValue("Health")) - _00E_PriestCureDiseases.Cast(PlayerREF, PlayerREF) - -EndFunction - -Function TeleportNPC(Actor NPCToTeleport, ObjectReference TeleportTarget) -{Teleport an NPC, with animations and FX} - - Weapon weap01 = NPCToTeleport.GetEquippedWeapon(0) - Weapon weap02 = NPCToTeleport.GetEquippedWeapon(1) - - If weap01 != None - NPCToTeleport.UnEquipItem(weap01) - EndIf - If weap02 != None - NPCToTeleport.UnEquipItem(weap02) - EndIf - NPCToTeleport.PlayIdle(IdleMagic_01) - _00E_TeleportCastSound.Play(NPCToTeleport) - Wait(3) - - if NPCToTeleport.GetActorBase().GetSex() == 0 - NPCToTeleport.PlayIdle(IdleT02AscendMale) - Else - NPCToTeleport.PlayIdle(IdleT02AscendFemale) - EndIf - - _00E_MagicProtectionSpellM.Play(NPCToTeleport) - Wait(4) - TimeFadeOut01FXS.Play(NPCToTeleport) - Wait(2) - _00E_A2_Ghostwalk_TeleportDoneSound.Play(NPCToTeleport) - - ObjectReference TeleportFXMarker = NPCToTeleport.PlaceAtMe(XMarkerHeading, 1) - TeleportFXMarker.MoveTo(NPCToTeleport, 0.0, 0.0, 100.0) - ObjectReference FXExplosion = TeleportFXMarker.PlaceAtMe(_00E_TeleportExplosion, 1) - _00E_NPCTeleportExplosionIMOD.Apply() - Game.ShakeCamera(afStrength = 0.2) - NPCToTeleport.MoveTo(TeleportTarget) - Debug.sendAnimationEvent(NPCToTeleport, "IdleWebEnterInstant") - NPCToTeleport.setActorValue("Variable03", 5) - TimeFadeOut01FXS.Stop(NPCToTeleport) - If NPCToTeleport.Is3DLoaded() - TimeFadeIn01FXS.Play(NPCToTeleport) - EndIf - Wait(0.5) - NPCToTeleport.playidle(WebIdleExit) - Wait(1) - TimeFadeIn01FXS.Stop(NPCToTeleport) - NPCToTeleport.setActorValue("Variable03", 0) - If weap01 != None - NPCToTeleport.EquipItem(weap01) - EndIf - If weap02 != None - NPCToTeleport.EquipItem(weap02) - EndIf - - Return - -EndFunction - -Function SetAllowIdleChatter(bool bAllow = False) - - if !bAllow - bAllowIdleChatter = False - SendModEvent("IdleChatterOff") - Elseif bAllow - bAllowIdleChatter = True - EndIf - -EndFunction - -Function ShowSynergyMessage() - - _00E_Levelsystem_sSynergyDiscovered.Show() - GiveEP(150) - - If _00E_AchievementsEnabled.GetValueInt() == 1 && !bUnlockedSynergyAchievement - Steam.UnlockAchievement("END_SYNERGY_01") - bUnlockedSynergyAchievement = true - EndIf - -EndFunction - -Function SkipTimeToHour(Float fNewHourOfDay, Float fMinHoursToSkip = 0.0) - - ; Progresses the current in-game time to the desired hour (and optionally, by no less than fMinHoursToSkip hours), moving to the next day if needed - - Float fCurHour = GameHour.GetValue() - If fNewHourOfDay <= fCurHour - fNewHourOfDay += 24.0 ; Go to the next day - EndIf - If (fNewHourOfDay - fCurHour) < fMinHoursToSkip - fNewHourOfDay += 24.0 ; Go to the next day - EndIf - GameHour.SetValue(fNewHourOfDay) - SendModEvent("TimeSkip") - -EndFunction - -Function SkipHours(Float fHoursToSkip) - - ; Progresses the current in-game time by fHoursToSkip hours - - GameHour.SetValue(GameHour.GetValue() + fHoursToSkip) - SendModEvent("TimeSkip") - -EndFunction - - -;===================================================================================== -; Player Teleport -;===================================================================================== - -Event OnUpdate() - Game.EnablePlayerControls() -EndEvent - -Function TeleportPlayer(ObjectReference TeleportTarget) - - Game.DisablePlayerControls(abCamSwitch = true) - Wait(3) - If PlayerREF.IsWeaponDrawn() - PlayerREF.SheatheWeapon() - EndIf - Wait(2) - TeleportIn() - PlayerREF.MoveTo(TeleportTarget) - TeleportOut() - RefreshFace() - -EndFunction - -Function TeleportIn() - - Game.ForceThirdPerson() - - if Player.GetSex() == 0 - PlayerREF.PlayIdle(IdleT02AscendMale) - Else - PlayerREF.PlayIdle(IdleT02AscendFemale) - EndIf - - _00E_MagicProtectionSpellM.Play(PlayerREF) - Wait(2.7) - TimeFadeOut01FXS.Play(PlayerREF) - Wait(1.3) - _00E_TeleportImod.Apply() - Wait(2) - -EndFunction - -Function TeleportOut() - - _00E_A2_Ghostwalk_TeleportDoneSound.Play(playerREF) - PlayerREF.PlaceAtMe(_00E_NPCOorbayaTeleportExplosionBlue, 1) - Debug.sendAnimationEvent(playerREF, "IdleWebEnterInstant") - PlayerREF.setActorValue("Variable03", 5) - TimeFadeOut01FXS.Stop(PlayerREF) - TimeFadeIn01FXS.Play(PlayerREF) - Wait(0.5) - PlayerREF.playidle(WebIdleExit) - TimeFadeIn01FXS.Stop(PlayerREF) - PlayerREF.setActorValue("Variable03", 0) - PlayerREF.DrawWeapon() - Wait(3) - Debug.SendAnimationEvent(PlayerREF, "IdleForceDefaultState") - PlayerREF.PlayIdle(IdleForceDefaultState) - PlayerREF.setActorValue("Variable03", 0) - Game.EnablePlayerControls() - _FS_Phasmalist_ControlQuest.MoveApparitionToPlayer() - RegisterForSingleUpdate(2) - -EndFunction - -;===================================================================================== -; FADE TO BLACK -;===================================================================================== - -Function FadeToBlackAndBack() - - FadeToBlackIMOD.Apply() - Wait(2.8) - FadeToBlackIMOD.PopTo(FadeToBlackHoldIMOD) - Wait(1.9) - FadeToBlackHoldIMOD.PopTo(FadeToBlackBackIMOD) - -EndFunction - -Function FadeToBlack() - - FadeToBlackIMOD.Apply() - Wait(2.8) - FadeToBlackIMOD.PopTo(FadeToBlackHoldImod) - -EndFunction - -Function FadeToBlackBack() - - FadeToBlackHoldImod.PopTo(FadeToBlackBackImod) - -EndFunction - - -;===================================================================================== -; VISION -;===================================================================================== - -function EndVision(bool ScenePlaying, Scene RunningScene = None) - - If PlayerREF.HasSpell(_00E_Vision_TimeSpell) - PlayerREF.RemoveSpell(_00E_Vision_TimeSpell) - ElseIf PlayerREF.HasSpell(_00E_Vision_NoTimeSpell) - PlayerREF.RemoveSpell(_00E_Vision_NoTimeSpell) - ElseIf PlayerREF.HasSpell(_00E_Vision_NoTimeSubtleSpell) - PlayerREF.RemoveSpell(_00E_Vision_NoTimeSubtleSpell) - EndIf - VisionLight.Delete() - If ScenePlaying == True && RunningScene.IsPlaying() - RunningScene.Stop() - EndIf - PlayerREF.MoveTo(PlayerVisionStartMarker) - -endFunction - -Function VisionEffectTimestop(bool bSilent = False, bool bCustomImod = False, bool bCustomMusic = False) - - If bCustomImod == False - _00E_VisionStartTimestopIMOD.Apply() - _00E_VisionImod.ApplyCrossFade(0.25) - EndIf - - PlayerREF.AddSpell(_00E_Vision_TimeSpell, False) - - if !bCustomMusic - _00E_SilenceAbruptHighPriority.Add() - EndIf - - MagRacialBattlecryFire.Play(PlayerREF) - fPlayerSpeedBeforeVision = PlayerREF.GetActorValue("SpeedMult") - PlayerREF.SetActorValue("SpeedMult", 35) - UpdateSpeed(PlayerREF) - - If !bSilent - VisionSound = _00E_VisionLPM.Play(PlayerREF) - EndIf - - _00E_VisionShaderParticles.Apply(0.5) - AudioCategoryFST.Mute() - - PlayerREF.SetGhost(True) - - PlayerVisionStartMarker = PlayerREF.PlaceAtMe(XMarker as form, 1, false, false) - PlayerVisionFailsaveMarker.MoveTo(PlayerREF) - Game.DisablePlayerControls(false, true, true, false, true, false, true, false) - Game.ForceFirstPerson() - Game.ShowFirstPersonGeometry(False) - Wait(0.100000) - -EndFunction - -Function VisionEffectTimestopStop(bool bMovementHasBeenLocked = False) - - float fSpeedMultBefore = PlayerREF.GetActorValue("speedMult") - - PlayerREF.SetGhost(False) - Game.DisablePlayerControls() - PlayerREF.SetActorValue("SpeedMult", PlayerSpeed) - PlayerREF.SetGhost(False) - AudioCategoryFST.UnMute() - UpdateSpeed(PlayerREF) - Game.ShowFirstPersonGeometry(True) - - If !bMovementHasBeenLocked - If PlayerVisionFailsaveMarker.GetDistance(PlayerREF) <= 1000 - PlayerREF.MoveTo(PlayerVisionStartMarker) - Elseif PlayerVisionFailsaveMarker.GetDistance(PlayerREF) >= 1000 - PlayerREF.MoveTo(PlayerVisionFailsaveMarker) - EndIf - EndIf - - PlayerREF.SetGhost(False) - Sound.StopInstance(VisionSound) - MAGConjurePortalClose.Play(PlayerREF) - _00E_SilenceAbruptHighPriority.Remove() - PlayerREF.RemoveSpell(_00E_Vision_TimeSpell) - _00E_VisionShaderParticles.Remove(0.5) - _00E_VisionEndImod.ApplyCrossFade(1) - Wait(0.5) - PlayerREF.SetActorValue("speedMult", fPlayerSpeedBeforeVision) - - If PlayerREF.GetActorValue("speedMult") < 50 - PlayerREF.SetActorValue("speedMult", 100) - EndIf - - UpdateSpeed(PlayerREF) - Game.EnablePlayerControls() - Game.SetPlayerAIDriven(0) - Game.ShowFirstPersonGeometry(True) - _00E_SilenceAbruptHighPriority.Remove() - -EndFunction - -Function VisionEffectNoTimestop(Formlist RefsInvolved, Formlist ActorsToFreeze, bool bCustomMusic = False) - - Game.ShowFirstPersonGeometry(False) - PlayerREF.SetAlpha(0.1) - PlayerREF.AddPerk(_00E_VisionPerk) - UpdateSpeed(PlayerREF) - MagRacialBattlecryFire.Play(PlayerREF) - - if !bCustomMusic - _00E_SilenceAbruptHighPriority.Add() - EndIf - - AudioCategoryFST.Mute() - PlayerVisionStartMarker = PlayerREF.PlaceAtMe(XMarker as form, 1, false, false) - PlayerVisionFailsaveMarker.MoveTo(PlayerREF) - PlayerREF.SetGhost(True) - VisionSound = _00E_VisionLPM.Play(PlayerREF) - _00E_VisionStartImod.Apply() - - If PlayerREF.IsInInterior() - _00E_VisionShaderParticles.Apply(0.5) - EndIf - - if RefsInvolved != None - int iIndex = RefsInvolved.GetSize() - - while iIndex > 0 - iIndex -= 1 - Actor VisionREF = RefsInvolved.GetAt(iIndex) as Actor - if VisionREF.IsDisabled() - VisionREF.EnableNoWait() - EndIf - VisionRef.SetAlpha(0.5) - MS04MemoryFXBody01VFX.Play(VisionREF) - EndWhile - endif - - if ActorsToFreeze != None - int iIndex02 = ActorsToFreeze.GetSize() - - while iIndex02 > 0 - iIndex02 -= 1 - Actor FreezeREF = ActorsToFreeze.GetAt(iIndex02) as Actor - FreezeREF.EnableAI(False) - EndWhile - endif - - _00E_MQ16_VisionIMOD.Remove() - _00E_VisionImod.ApplyCrossFade(1) - -EndFunction - -Function VisionEffectNoTimestopStop(Formlist RefsInvolved, Formlist ActorsToFreeze, bool bHasBeenRestrained = False) - - PlayerREF.SetAlpha(1.0) - Game.ShowFirstPersonGeometry(True) - - If !bHasBeenRestrained - If PlayerVisionFailsaveMarker.GetDistance(PlayerREF) <= 1000 - PlayerREF.MoveTo(PlayerVisionStartMarker) - Elseif PlayerVisionFailsaveMarker.GetDistance(PlayerREF) >= 1000 - PlayerREF.MoveTo(PlayerVisionFailsaveMarker) - EndIf - EndIf - - _00E_VisionEndImod.ApplyCrossFade(1) - If PlayerREF.IsInInterior() - _00E_VisionShaderParticles.Remove(0.5) - EndIf - - if RefsInvolved != None - int iIndex = RefsInvolved.GetSize() - - while iIndex > 0 - iIndex -= 1 - Actor VisionREF = RefsInvolved.GetAt(iIndex) as Actor - MS04MemoryFXBody01VFX.Stop(VisionREF) - VisionRef.SetAlpha(1) - EndWhile - endif - - if ActorsToFreeze != None - int iIndex02 = ActorsToFreeze.GetSize() - - while iIndex02 > 0 - iIndex02 -= 1 - Actor FreezeREF = ActorsToFreeze.GetAt(iIndex02) as Actor - FreezeREF.EnableAI(True) - EndWhile - endif - - AudioCategoryFST.UnMute() - PlayerREF.SetGhost(False) - Sound.StopInstance(VisionSound) - MAGConjurePortalClose.Play(PlayerREF) - _00E_SilenceAbruptHighPriority.Remove() - PlayerREF.RemovePerk(_00E_VisionPerk) - - If PlayerREF.GetActorValue("speedMult") < 50 - PlayerREF.SetActorValue("speedMult", 100) - EndIf - - UpdateSpeed(PlayerREF) - _00E_MQ16_VisionIMOD.Remove() - _00E_VisionImod.Remove() - -EndFunction - -Function UpdateSpeed(Actor SpeedUpdateActor) - - If SpeedUpdateActor.HasSpell(_00E_Vision_UpdateAb) - SpeedUpdateActor.RemoveSpell(_00E_Vision_UpdateAb) - EndIf - - SpeedUpdateActor.AddSpell(_00E_Vision_UpdateAb, False) - Wait(0.1) - SpeedUpdateActor.RemoveSpell(_00E_Vision_UpdateAb) - -EndFunction - -;===================================================================================== -; AREMOVE ITEMS SAFE -;===================================================================================== - -Function RemoveAllItemsSafeVersion(ObjectReference TransferToLoc = NONE) - If Gold001 == NONE || _00E_AllAmmos == NONE - Return - EndIf - - RemoveItemsIncrementally(Gold001, TransferToLoc) - Form[] arrows = _00E_AllAmmos.ToArray() - Int i = 0 - While i < arrows.Length - RemoveItemsIncrementally(arrows[i], TransferToLoc) - i += 1 - EndWhile - - If TransferToLoc == NONE - PlayerREF.removeAllItems(_00E_RemoveAllItems_TrashContainer, abRemoveQuestItems = false) - _00E_RemoveAllItems_TrashContainer.removeAllItems() - Else - PlayerREF.RemoveAllItems(akTransferTo = TransferToLoc, abRemoveQuestItems = true) - EndIf -EndFunction - -Function RemoveItemsIncrementally(Form akItem, ObjectReference TransferToLoc) - Int nCount = PlayerREF.GetItemCount(akItem) - If nCount > 3000000 && akItem == Gold001 - _00E_PleaseRemoveMoney.Show() - EndIf - While nCount > 0 - PlayerREF.RemoveItem(akItem, 10000, true, TransferToLoc) - nCount -= 10000 - EndWhile -EndFunction - -;===================================================================================== -; ADDED IN FORGOTTEN STORIES -;===================================================================================== - -Function SlowMotion(float fDuration = 5.0, bool bSound = true) - - PlayerREF.AddSpell(_00E_FS_NQR05_SlowMotionSP, False) - - if bSound - _00E_FS_NQR05_SlowMotion_IntroM.Play(PlayerREF) - endif - - Wait(fDuration) - - if bSound - _00E_FS_NQR05_SlowMotion_OutroM.Play(PlayerREF) - endif - - PlayerREF.RemoveSpell(_00E_FS_NQR05_SlowMotionSP) - -EndFunction - -Function UnsummonApparitionIfExists() Global - - _FS_Phasmalist_ControlQuest.UnsummonApparitionIfExists() - -EndFunction - -Function EndWerewolfModeWhenTransformed() Global - - ; This function ends the werewolf mode if the player is currently transformed, with no penalties. - _FS_TheriantrophistControlQuest.TransformBackIfTransformed() - ; Links to Theriantrophist script. - -EndFunction - -Function SetNPCAsCompanion(Actor akActor, bool bCompanion = True, int iCompanionHealth = 100, int iCompanionStamina = 100, int iCompanionMagicka = 100) Global -;Sets an NPC as companion, showing his health bar, making him friendly, unflagging him as ghost. Does the opposite when bCompanion is set to false. -;Additionally sets the AVs Health, Stamina, Magicka for the NPC companion - - If bCompanion - - akActor.SetRelationshipRank(Game.GetForm(0x14) as Actor, 3) - akActor.SetGhost(False) - akActor.getActorbase().SetEssential(true) ; just in case, had trouble with FS_NQR05 - akActor.SetPlayerTeammate(True) - akActor.IgnoreFriendlyHits() - akActor.SetActorValue("Health", iCompanionHealth) - akActor.SetActorValue("Stamina", iCompanionStamina) - akActor.SetActorValue("Magicka", iCompanionMagicka) - HealthBarManager.Show(akActor) - - Else - - akActor.SetGhost(True) - akActor.getActorbase().SetEssential(true) ; just in case, had trouble with FS_NQR05 - akActor.ResetHealthAndLimbs() - akActor.SetPlayerTeammate(False) - akActor.IgnoreFriendlyHits(False) - HealthBarManager.Hide(akActor) - - EndIf - -EndFunction - - -; SKILL BOOKS - -Message Property _00E_SkillbookWarning Auto - -Bool _SkillBookReadLocked = False - -Function _ReadSkillBook(String skillName, Int skillTopLimit, Form bookItem, Message msgSkillIncrease, GlobalVariable availablePoints, Message msgNoPoints) - Message failMsg = None - - While _SkillBookReadLocked - WaitMenuMode(0.1) - EndWhile - _SkillBookReadLocked = True - - ; DO NOT FORGET TO FALSE _SkillBookReadLocked ON RETURN - - If availablePoints.GetValue() >= 1 - Int curSkill = PlayerREF.GetBaseActorValue(skillName) as Int - - If curSkill >= skillTopLimit - failMsg = _00E_Levelsystem_sSkillTooWellDeveloped - ElseIf curSkill >= (skillTopLimit - 25) || (_00E_SkillbookWarning.Show() == 0) ; If cur. skill is within the book's limit or the player says "Yes" - ; Do skill increase - curSkill += 1 - PlayerREF.SetActorValue(skillName, curSkill) - availablePoints.Mod(-1) - _SkillBookReadLocked = False - msgSkillIncrease.Show(1, curSkill) - Return - EndIf - Else ; availablePoints < 1 - failMsg = msgNoPoints - EndIf - - ; Processing failed read - _SkillBookReadLocked = False - - If failMsg != None - failMsg.Show() - EndIf - - PlayerREF.AddItem(bookItem, 1, True) -EndFunction - -Function ReadPrimarySkillBook(String skillName, Int skillTopLimit, Form bookItem, Message msgSkillIncrease) - _ReadSkillBook(skillName, skillTopLimit, bookItem, msgSkillIncrease, Lernpunkte, _00E_Levelsystem_sNoMoreLearningPoints) -EndFunction - -Function ReadCraftingSkillBook(String skillName, Int skillTopLimit, Form bookItem, Message msgSkillIncrease) - _ReadSkillBook(skillName, skillTopLimit, bookItem, msgSkillIncrease, Handwerkspunkte, _00E_Levelsystem_sNoMoreCraftingPoints) -EndFunction - -Function ReadMemorySkillBook(String sClass, Int iTier, Message talentMessage, float fRecoveryTime02, float fRecoveryTime03, Potion PotionItem, Shout TaughtTalent, WordOfPower Word01, WordOfPower Word02, WordOfPower Word03, Perk Perk01, Perk Perk02, Perk Perk03) - While _MemoryBookReadLocked - WaitMenuMode(0.1) - EndWhile - _MemoryBookReadLocked = True - - int iButton = talentMessage.Show() - - if iButton == 0 - - if iTier == 1 - iRequiredPoints = iPointRequirementTier01 - Elseif iTier == 2 - iRequiredPoints = iPointRequirementTier02 - Else - iRequiredPoints = iPointRequirementTier03 - EndIf - - if RequirementsMetMemoryBook(iTier, Perk01, Perk02, Perk03, sClass) - TeachTalent(iTier, TaughtTalent, Perk01, Perk02, Perk03, Word01, Word02, Word03, fRecoveryTime02, fRecoveryTime03) - Else - - if bValidSkilllevel - - Message messageToShow = _00E_FS_A3_sMageClassName - - if sClass == "Rogue" - messageToShow = _00E_FS_A3_sRogueClassName - Elseif sClass == "Warrior" - messageToShow = _00E_FS_A3_sWarriorClassName - EndIf - Debug.Notification(_00E_FS_A3_sYouNeedSkillpoints.GetName() + " " + iRequiredPoints + _00E_FS_A3_sIn.GetName() + messageToShow.GetName() + _00E_FS_A3_sToUnlockThisClass.GetName()) - - EndIf - - PlayerREF.AddItem(PotionItem, 1, true) - - EndIf - _MemoryBookReadLocked = False - - Else - - PlayerREF.AddItem(PotionItem, 1, true) - _MemoryBookReadLocked = False - Return - - EndIf -EndFunction - -bool Function RequirementsMetMemoryBook(int iTier, Perk Perk01, Perk Perk02, Perk Perk03, string sClass) - - Formlist ClassFormList01 - Formlist ClassFormList02 - Formlist ClassFormList03 - - if (iTier == 3 && !PlayerREF.HasPerk(Perk02)) || (iTier == 2 && !PlayerREF.HasPerk(Perk01)) - - _00E_FS_A3_NeedToLearnOtherLevels.Show() - bValidSkilllevel = False - Return False - - Elseif (iTier == 1 && PlayerREF.HasPerk(Perk01)) || (iTier == 2 && PlayerREF.HasPerk(Perk02)) || (iTier == 3 && PlayerREF.HasPerk(Perk03)) - - _00E_FS_A3_AlreadyKnowThisLevel.Show() - bValidSkilllevel = False - Return False - - Else - - bValidSkilllevel = True - - if sClass == "Rogue" - ClassFormList01 = EspionagePerks - ClassFormList02 = TrickeryPerks - ClassFormList03 = VagabondPerks - - Elseif sClass == "Warrior" - ClassFormList01 = BastionPerks - ClassFormList02 = DerwishPerks - ClassFormList03 = RagePerks - - Elseif sClass == "Mage" - ClassFormList01 = ElementalismPerks - ClassFormList02 = LifeAndDeathPerks - ClassFormList03 = ManipulationPerks - EndIf - - int iTotalPointsInRequiredClass = (_00E_Func_GetPointsInClass.Run(ClassFormList01) + _00E_Func_GetPointsInClass.Run(ClassFormList02) + _00E_Func_GetPointsInClass.Run(ClassFormList03)) - if iTotalPointsInRequiredClass >= iRequiredPoints - Return True - Else - Return False - EndIf - - EndIf - -EndFunction - -Function TeachTalent(int iLevel, Shout TaughtTalent, Perk Perk01, Perk Perk02, Perk Perk03, WordOfPower Word01, WordOfPower Word02, WordOfPower Word03, float fRecoveryTime02, float fRecoveryTime03) - - if iLevel == 1 - - PlayerREF.AddPerk(Perk01) - PlayerREF.AddShout(TaughtTalent) - Game.UnlockWord(Word01) - Game.TeachWord(Word01) - - Elseif iLevel == 2 - - PlayerREF.AddPerk(Perk02) - Game.UnlockWord(Word02) - Game.TeachWord(Word02) - SetRecoveryTimeMemoryBook(2, TaughtTalent, fRecoveryTime02, fRecoveryTime03) - - Else - - PlayerREF.AddPerk(Perk03) - Game.UnlockWord(Word03) - Game.TeachWord(Word03) - SetRecoveryTimeMemoryBook(3, TaughtTalent, fRecoveryTime02, fRecoveryTime03) - - EndIf - - TalentPoints.Mod(-1) - - If _00E_AchievementsEnabled.GetValueInt() == 1 - Steam.UnlockAchievement("END_TALENT_BOOK_01") - EndIf - -EndFunction - -Function SetRecoveryTimeMemoryBook(int iWord, Shout TaughtTalent, float fRecoveryTime02, float fRecoveryTime03) -{This function handles the issue of cooldowns not depending on the value in the CK but on the duration the player presses the [Shout] key on his keyboard.} - - If iWord == 2 - TaughtTalent.SetNthRecoveryTime(0, fRecoveryTime02) - TaughtTalent.SetNthRecoveryTime(1, fRecoveryTime02) - Else - TaughtTalent.SetNthRecoveryTime(0, fRecoveryTime03) - TaughtTalent.SetNthRecoveryTime(1, fRecoveryTime03) - TaughtTalent.SetNthRecoveryTime(2, fRecoveryTime03) - EndIf - -EndFunction - - -Float fDefaultHeadTrackTimerOldValue = 0.0 -Float fStayHeadTrackTimerOldValue = 0.0 - -Function StopRandomHeadTracking() - ; Raise "change headtrack target" timers a lot so the NPCs would stare at what the scene tells them, without randomly switching to the player or other NPCs - If fDefaultHeadTrackTimerOldValue == 0.0 - fDefaultHeadTrackTimerOldValue = Game.GetGameSettingFloat("fAIHoldDefaultHeadTrackTimer") - Game.SetGameSettingFloat("fAIHoldDefaultHeadTrackTimer", 1000.0) - EndIf - If fStayHeadTrackTimerOldValue == 0.0 - fStayHeadTrackTimerOldValue = Game.GetGameSettingFloat("fAIStayonScriptHeadtrack") - Game.SetGameSettingFloat("fAIStayonScriptHeadtrack", 1000.0) - EndIf -EndFunction - -Function ResumeRandomHeadTracking() - If fDefaultHeadTrackTimerOldValue > 0.0 - Game.SetGameSettingFloat("fAIHoldDefaultHeadTrackTimer", fDefaultHeadTrackTimerOldValue) - fDefaultHeadTrackTimerOldValue = 0.0 - EndIf - If fStayHeadTrackTimerOldValue > 0.0 - Game.SetGameSettingFloat("fAIStayonScriptHeadtrack", fStayHeadTrackTimerOldValue) - fStayHeadTrackTimerOldValue = 0.0 - EndIf -EndFunction - - -;===================================================================================== -; PROPERTIES -;===================================================================================== - -int Property iMajorClassIndex Auto Conditional Hidden -int Property iMinorClassIndex Auto Conditional Hidden - -bool Property bAllowIdleChatter = True Auto Conditional Hidden ; Set this to true when NPCs shouldn't Idle around - -float Property fPlayerSpeedBeforeVision Auto Hidden -float Property fCameraMaxDistance Auto Hidden -float Property fBaseGravity Auto Hidden - -;Actor akPlayerCopy - -Sound Property _00E_FS_NQR05_SlowMotion_IntroM Auto -Sound Property _00E_FS_NQR05_SlowMotion_OutroM Auto - -ActorBase Property _00E_MC_Jespar Auto -ActorBase Property _00E_MC_Calia Auto -ActorBase Property _00E_SC_Tharael Auto -ActorBase Property _00E_SC_Dijaam Auto -ActorBase Property _00E_MQ11c_Ryneus Auto -ActorBase Property _00E_CapitalCityMaelGroschenfrst Auto -ActorBase Property _00E_MC_Yuslan Auto -ActorBase Property _00E_FS_NQ02_Esme Auto - -GlobalVariable Property SympathyTharael Auto -GlobalVariable Property SympathyJespar Auto -GlobalVariable Property SympathyDijaam Auto -GlobalVariable Property SympathyMaelGroschenfuerst Auto -GlobalVariable Property SympathyCalia Auto -GlobalVariable Property SympathyYuslan Auto -GlobalVariable Property SympathyEsme Auto - -GlobalVariable Property CaliaFlirtCounter Auto -GlobalVariable Property DijaamFlirtCounter Auto -GlobalVariable Property JesparFlirtCounter Auto -GlobalVariable Property TharaelFlirtCounter Auto - -GlobalVariable Property _00E_AchievementsEnabled Auto - -ReferenceAlias Property Levelsystem_SympathyActor Auto - -Formlist Property _00E_AllAmmos Auto - -MiscObject Property Gold001 Auto - -Message Property _00E_PleaseRemoveMoney Auto - -GlobalVariable Property GameHour Auto - -;--------------------------------------VISION----------------------------------- - -float PlayerSpeed -int VisionSound - -Perk Property _00E_VisionPerk Auto - -SoundCategory Property AudioCategoryFST Auto - -VisualEffect Property MS04MemoryFXBody01VFX Auto -ImageSpaceModifier Property _00E_VisionStartImod Auto -ImageSpaceModifier Property _00E_VisionIMOD Auto -ImageSpaceModifier Property _00E_VisionEndImod Auto -Sound Property _00E_VisionLPM Auto -Sound Property MagRacialBattlecryFire Auto -Sound Property MAGConjurePortalClose Auto - -Spell Property _00E_Vision_UpdateAb Auto - -MusicType Property _00E_SilenceTransitionLowPriority02 Auto -MusicType Property _00E_Music_Special_MQ12b_Samael Auto -MusicType Property _00E_SilenceLongTransitionHighPriority Auto -MusicType Property _00E_SilenceTransitionLowPriority Auto -MusicType Property _00E_SilenceTransitionHighPriority Auto -MusicType Property _00E_SilenceAbruptHighPriority Auto -MusicType Property _00E_Music_Special_TavernSilence Auto - -Formlist Property _00E_MUS_AllCombatSoundtracks Auto - -;--------------------------------------LEVELSYSTEM----------------------------------- - -GlobalVariable Property Handwerkspunkte auto -GlobalVariable Property SympathyRyneus auto -GlobalVariable Property Lernpunkte auto -GlobalVariable Property TalentPoints auto -GlobalVariable Property _00E_DisableQuestTutorials Auto -GlobalVariable Property _00E_DisableSkillTutorials Auto -Keyword Property BrawlKeyword Auto - -Message Property _00E_FS_A3_sYouNeedSkillpoints Auto -Message Property _00E_FS_A3_sIn Auto -Message Property _00E_FS_A3_sToUnlockThisClass Auto -Message Property _00E_FS_A3_sWarriorClassName Auto -Message Property _00E_FS_A3_sRogueClassName Auto -Message Property _00E_FS_A3_sMageClassName Auto -Message Property _00E_FS_A3_NeedToLearnOtherLevels Auto -Message Property _00E_FS_A3_AlreadyKnowThisLevel Auto - -int iPointRequirementTier01 = 5 -int iPointRequirementTier02 = 10 -int iPointRequirementTier03 = 15 - -int iRequiredPoints - -bool bValidSkilllevel - -Formlist Property EspionagePerks Auto -Formlist Property TrickeryPerks Auto -Formlist Property VagabondPerks Auto -Formlist Property BastionPerks Auto -Formlist Property DerwishPerks Auto -Formlist Property RagePerks Auto -Formlist Property ElementalismPerks Auto -Formlist Property LifeAndDeathPerks Auto -Formlist Property ManipulationPerks Auto - -Bool _MemoryBookReadLocked = False - -;-------------------------------------TELEPORT SCRIPT----------------------------------- - -VisualEffect Property MGTeleportInEffect Auto -Actor Property PlayerREF Auto -ActorBase Property Player Auto -EffectShader Property TimeFadeOut01FXS Auto -EffectShader Property TimeFadeIn01FXS Auto -Explosion Property _00E_TeleportExplosion Auto -Explosion Property _00E_NPCOorbayaTeleportExplosionBlue Auto - -Idle Property WebIdleExit Auto -Idle Property IdleT02AscendMale Auto -Idle Property IdleT02AscendFemale Auto -Idle Property IdleForceDefaultState Auto - -Static Property XMarkerHeading Auto - -Sound Property _00E_MagicProtectionSpellM Auto -Sound Property _00E_A2_Ghostwalk_TeleportDoneSound Auto -Sound Property _00E_TeleportCastSound Auto - -Message Property _00E_Tutorial_Brawl Auto -Message Property _00E_Tutorial_Companions02_Jespar Auto -Message Property _00E_Tutorial_Companions02_Calia Auto - -Message Property _00E_Levelsystem_sApproves Auto -Message Property _00E_Levelsystem_sAppreciates Auto -Message Property _00E_Levelsystem_sAppreciatesALot Auto -Message Property _00E_Levelsystem_sDislikes Auto -Message Property _00E_Levelsystem_sHurt Auto -Message Property _00E_Levelsystem_sVeryHurt Auto -Message Property _00E_Levelsystem_sDoesNotTrust Auto -Message Property _00E_Levelsystem_sExtremelyHurt Auto -Message Property _00E_Levelsystem_sIsHurt Auto - -Message Property _00E_Levelsystem_sSynergyDiscovered Auto -Message Property _00E_Levelsystem_sNoMoreCraftingPoints Auto -Message Property _00E_Levelsystem_sNoMoreLearningPoints Auto -Message Property _00E_Levelsystem_sSkillTooWellDeveloped Auto -Message Property _00E_Levelsystem_sSkillBy Auto -Message Property _00E_Levelsystem_sSkillTo Auto -Message Property _00E_Levelsystem_sSkillFrom Auto -Message Property _00E_Levelsystem_sSkillIncreased Auto -Message Property _00E_Levelsystem_sAbilityEnemyLevelTooHigh Auto -Message Property _00E_Levelsystem_sAbilityEnemyHasToBeAlive Auto -Message Property _00E_Levelsystem_sEnemyHasToBeDead Auto -Message Property _00E_Levelsystem_sAbilityEnemyTooFarAway Auto -Message Property _00E_Levelsystem_sAbilityTargetImmune Auto -Message Property _00E_Levelsystem_sAbilityMarkingRemoved Auto -Message Property _00E_Levelsystem_sEnemyMarked Auto -Message Property _00E_Levelsystem_sAbilityStanceStarted Auto -Message Property _00E_Levelsystem_sAbilityStanceEnded Auto -Message Property _00E_Levelsystem_sAbilityStanceQyrai Auto -Message Property _00E_Levelsystem_sAbilityStanceSkaragg Auto -Message Property _00E_Levelsystem_sEnemyAlreadyMarked Auto -Message Property _00E_Levelsystem_sEldritchBloodVictimMarked Auto -Message Property _00E_Levelsystem_sEldritchBloodAttackTargetMarked Auto -Message Property _00E_Levelsystem_sEldritchBloodAttackVictimMarkingRemoved Auto -Message Property _00E_Levelsystem_sEldritchBloodVictimMarkingRemoved Auto -Message Property _00E_Levelsystem_sGhostwalkEnemyTooCloseToWall Auto -Message Property _00E_DialogueQuitGame Auto - -ObjectReference Property PlayerVisionStartMarker Auto Hidden -ObjectReference Property PlayerVisionFailsaveMarker Auto Hidden -ObjectReference Property VisionLight Auto Hidden - -ObjectReference Property _00E_RemoveAllItems_TrashContainer Auto - -Idle Property IdleMagic_01 Auto - -Spell Property _00E_Vision_NoTimeSpell Auto -Spell Property _00E_Vision_NoTimeSubtleSpell Auto -Spell Property _00E_Vision_TimeSpell Auto -Spell Property _00E_PriestCureDiseases Auto -Spell Property _00E_FS_NQR05_SlowMotionSP Auto - -GlobalVariable Property _00E_HeadtrackGlobal Auto - -ImageSpaceModifier Property FadeToBlackIMOD Auto -ImageSpaceModifier Property FadeToBlackHoldIMOD Auto -ImageSpaceModifier Property FadeToBlackBackIMOD Auto -ImageSpaceModifier Property _00E_NPCTeleportExplosionIMOD Auto -ImageSpaceModifier Property _00E_TeleportImod Auto -ImageSpaceModifier Property _00E_VisionStartTimestopIMOD Auto -ImageSpaceModifier Property _00E_MQ16_VisionIMOD Auto - -ShaderParticleGeometry Property _00E_VisionShaderParticles Auto - -SoundCategory Property AudioCategoryAMB Auto -SoundCategory Property AudioCategoryAMBr Auto -SoundCategory Property AudioCategorySFX Auto - -Static Property XMarker Auto - -int doOnce -int done -float SpeedBefore - -bool bUnlockedSynergyAchievement - -;for re-equipping the player after the bathouse scene -Armor PlayerHelmet -Armor PlayerCuirass -Armor PlayerGauntlets -Armor PlayerBoots -Armor PlayerRing01 -Armor PlayerRing02 -Armor PlayerNecklace -Weapon RightHandWeapon -Weapon LeftHandWeapon -Spell RightHandSpell -Spell LeftHandSpell -Armor Shield diff --git a/source/scripts/_00e_removesilenceandcombatsoundtrack.psc b/source/scripts/_00e_removesilenceandcombatsoundtrack.psc index daff9813..ad074f13 100644 --- a/source/scripts/_00e_removesilenceandcombatsoundtrack.psc +++ b/source/scripts/_00e_removesilenceandcombatsoundtrack.psc @@ -4,8 +4,8 @@ Event OnTriggerEnter(ObjectReference akActionRef) if akActionRef == PlayerREF && !bDone bDone = True - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() EndIf EndEvent @@ -13,5 +13,3 @@ EndEvent bool bDone Actor Property PlayerREF Auto - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/_00e_scenestartscript.psc b/source/scripts/_00e_scenestartscript.psc index d113ff8d..f622fa31 100644 --- a/source/scripts/_00e_scenestartscript.psc +++ b/source/scripts/_00e_scenestartscript.psc @@ -5,13 +5,13 @@ Scriptname _00E_SceneStartScript extends ObjectReference ;===================================================================================== Event OnTrigger(ObjectReference akActionRef) -if(DoOnce == 0) +if(DoOnce == False) if(QuestForScene.GetStage() == QueststageForStart) Debug.Trace("Queststage ok") if(akActionRef == Game.GetPlayer()) - DoOnce = 1 + DoOnce = True StartScene.Start() if StartScene.IsPlaying() @@ -27,12 +27,10 @@ endevent ; PROPERTIES ;===================================================================================== -bool Done +bool DoOnce Scene Property StartScene Auto Quest Property QuestForScene Auto Int Property QueststageForStart Auto {Which stage is necessary for the triggerbox to take effect?} -Actor Property TriggerActor = PlayerREF Auto -{Which actor shall trigger the scene to begin? Default: Player} diff --git a/source/scripts/_00e_sermontriggerboxscript.psc b/source/scripts/_00e_sermontriggerboxscript.psc index 84e76302..e7daa899 100644 --- a/source/scripts/_00e_sermontriggerboxscript.psc +++ b/source/scripts/_00e_sermontriggerboxscript.psc @@ -48,7 +48,7 @@ Function TryStartSermonScene() ObjectReference preachMarkerRef = priestRef.GetLinkedRef() - If (priestRef.GetDistance(preachMarkerRef) > 1000.0) || (_00E_QuestFunctions.HourIsInRange(GameHour.GetValue(), __Config_SermonHourStart, __Config_SermonHourEnd) == False) + If (priestRef.GetDistance(preachMarkerRef) > 1000.0) || (_00E_TimeControl.HourIsInRange(GameHour.GetValue(), __Config_SermonHourStart, __Config_SermonHourEnd) == False) If bPlayerIsInside RegisterForSingleUpdate(5.0) EndIf diff --git a/source/scripts/_00e_setgamehourontriggerenter.psc b/source/scripts/_00e_setgamehourontriggerenter.psc index d9e2a54c..a0a019bf 100644 --- a/source/scripts/_00e_setgamehourontriggerenter.psc +++ b/source/scripts/_00e_setgamehourontriggerenter.psc @@ -3,12 +3,11 @@ Scriptname _00E_SetGamehourOnTriggerEnter extends ObjectReference Event OnTriggerEnter(ObjectReference akActionRef) If akActionRef == PlayerREF && Done == False Done = True - Levelsystem.SkipTimeToHour(__Config_DesiredTime) + _00E_TimeControl.SkipTimeToHour(__Config_DesiredTime) Disable() EndIf EndEvent Actor Property PlayerREF Auto -_00E_QuestFunctions Property Levelsystem Auto Float Property __Config_DesiredTime Auto -Bool Done \ No newline at end of file +Bool Done diff --git a/source/scripts/_00e_slowselfmesc.psc b/source/scripts/_00e_slowselfmesc.psc index 9725c278..6e1d7392 100644 --- a/source/scripts/_00e_slowselfmesc.psc +++ b/source/scripts/_00e_slowselfmesc.psc @@ -3,7 +3,7 @@ Scriptname _00E_SlowSelfMESC extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - Levelsystem.UpdateSpeed(akTarget) + _00E_PlayerFunctions.GetVisionControl().UpdateSpeed(akTarget) Game.ForceFirstPerson() Utility.SetINIFloat("fInAirFallingCharGravityMult:Havok", 0.1) @@ -11,9 +11,7 @@ EndEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) - Levelsystem.UpdateSpeed(akTarget) + _00E_PlayerFunctions.GetVisionControl().UpdateSpeed(akTarget) Utility.SetINIFloat("fInAirFallingCharGravityMult:Havok", 1.35) EndEvent - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/_00e_smokepipe_wall_sc.psc b/source/scripts/_00e_smokepipe_wall_sc.psc index df43d984..9270b87b 100644 --- a/source/scripts/_00e_smokepipe_wall_sc.psc +++ b/source/scripts/_00e_smokepipe_wall_sc.psc @@ -13,7 +13,7 @@ Event OnActivate(ObjectReference akActionRef) akSelfActor.TranslateToRef(Self, 100.0) If __Config_isSittingMarker - _00E_QuestFunctions.PrintDebugMessage("Is sitting marker, add spell.") + _00E_Debug.PrintMessage("Is sitting marker, add spell.") akSelfActor.AddSpell(_00E_Smoking_abSmokingSitting) Else akSelfActor.AddSpell(_00E_Smoking_abSmoking) diff --git a/source/scripts/_00e_smoking_absmokingsc.psc b/source/scripts/_00e_smoking_absmokingsc.psc index 8a7fd856..7000c8a2 100644 --- a/source/scripts/_00e_smoking_absmokingsc.psc +++ b/source/scripts/_00e_smoking_absmokingsc.psc @@ -12,14 +12,14 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) akSelfActor = akTarget as Actor If (akSelfActor.HasSpell(_00E_Smoking_abSmoking)) - ; _00E_QuestFunctions.PrintDebugMessage("Start smoking.") + ; _00E_Debug.PrintMessage("Start smoking.") EndIf StartSmokingAnimation() while !(akSelfActor.IsInCombat()) && (akSelfActor.HasSpell(_00E_Smoking_abSmoking)) - ; _00E_QuestFunctions.PrintDebugMessage("Loop smoking.") + ; _00E_Debug.PrintMessage("Loop smoking.") SmokingLoop() endwhile diff --git a/source/scripts/_00e_smoking_absmokingsittingsc.psc b/source/scripts/_00e_smoking_absmokingsittingsc.psc index 436e5e35..2fde39a8 100644 --- a/source/scripts/_00e_smoking_absmokingsittingsc.psc +++ b/source/scripts/_00e_smoking_absmokingsittingsc.psc @@ -12,14 +12,14 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) akSelfActor = akTarget as Actor If (akSelfActor.HasSpell(_00E_Smoking_abSmokingSitting)) - ; _00E_QuestFunctions.PrintDebugMessage("Start smoking.") + ; _00E_Debug.PrintMessage("Start smoking.") EndIf StartSmokingAnimationSitting() while !(akSelfActor.IsInCombat()) && (akSelfActor.HasSpell(_00E_Smoking_abSmokingSitting)) - ; _00E_QuestFunctions.PrintDebugMessage("Loop smoking.") + ; _00E_Debug.PrintMessage("Loop smoking.") SmokingLoopSitting() endwhile diff --git a/source/scripts/_00e_stanceloadfailsafesc.psc b/source/scripts/_00e_stanceloadfailsafesc.psc index 6cdc85c0..decd70c3 100644 --- a/source/scripts/_00e_stanceloadfailsafesc.psc +++ b/source/scripts/_00e_stanceloadfailsafesc.psc @@ -73,8 +73,6 @@ EndFunction ; PROPERTIES ;===================================================================================== -_00E_QuestFunctions Property Levelsystem Auto - Actor Property PlayerREF Auto Perk Property _00E_A1_QyranianStanceBlockPerk Auto diff --git a/source/scripts/_00e_suntemple_weathercontrolsc.psc b/source/scripts/_00e_suntemple_weathercontrolsc.psc index 4d90736d..c8e9cfb2 100644 --- a/source/scripts/_00e_suntemple_weathercontrolsc.psc +++ b/source/scripts/_00e_suntemple_weathercontrolsc.psc @@ -9,8 +9,8 @@ Event OnTriggerEnter(ObjectReference akActionRef) If MQ17.GetStage() > 5 _00E_MQ17_Purge_Weather.ForceActive(True) _00E_Music_Special_Cleansing.Add() - Levelsystem.RemoveSilence() - Levelsystem.RemoveCombatSoundtracks() + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_PlayerFunctions.GetCombatMusicControl().RemoveCombatSoundtracks() _00E_SilenceAbruptHighPriority.Remove() _00E_Music_Special_Cleansing.Add() EndIf @@ -36,7 +36,6 @@ bool bMQ11cWeatherFailsave Actor Property PlayerRef Auto Actor Property _00E_MC_LexREF Auto -_00E_QuestFunctions Property Levelsystem Auto _00E_MQ11c_Functions Property MQ11c Auto _00E_MQ14_Functions Property MQ14 Auto diff --git a/source/scripts/_00e_taverngames_gamlingtablesc.psc b/source/scripts/_00e_taverngames_gamlingtablesc.psc index ede528d9..9d82bbdf 100644 --- a/source/scripts/_00e_taverngames_gamlingtablesc.psc +++ b/source/scripts/_00e_taverngames_gamlingtablesc.psc @@ -2,7 +2,6 @@ Scriptname _00E_TavernGames_GamlingTableSC extends ObjectReference ; Tavern Game-Mechanics based on sagittarius22 "Tavern Games"-mods! -Import _00E_QuestFunctions Import Math ;===================================================================================== diff --git a/source/scripts/_00e_teleport_suntempleme.psc b/source/scripts/_00e_teleport_suntempleme.psc index 8c67de61..806b7896 100644 --- a/source/scripts/_00e_teleport_suntempleme.psc +++ b/source/scripts/_00e_teleport_suntempleme.psc @@ -11,9 +11,9 @@ Event OnEffectStart (Actor akTarket, Actor akCaster) MAGVampireSunlight.Play(PlayerREF) PlayerREF.AddItem(_01E_TeleportrolleSonnentempel, 1) Elseif ((_00E_TeleportGlobal.GetValueInt() == 1) && (MQ12b.GetStage() == 115) ||(MQ12b.GetStage() == 120)) - Levelsystem.TeleportPlayer(_00E_TeleportMarker_Suntemple) + _00E_PlayerFunctions.GetTeleportControl().TeleportPlayer(_00E_TeleportMarker_Suntemple) ElseIf (_00E_TeleportGlobal.GetValueInt() == 0) - Levelsystem.TeleportPlayer(_00E_TeleportMarker_Suntemple) + _00E_PlayerFunctions.GetTeleportControl().TeleportPlayer(_00E_TeleportMarker_Suntemple) EndIf EndEvent @@ -22,8 +22,6 @@ EndEvent ; PROPERTIES ;===================================================================================== -_00E_Questfunctions Property Levelsystem Auto - Worldspace Property Akropolis Auto Actor Property PlayerREF Auto diff --git a/source/scripts/_00e_teleportationmescript.psc b/source/scripts/_00e_teleportationmescript.psc index 2f5140f0..fee33974 100644 --- a/source/scripts/_00e_teleportationmescript.psc +++ b/source/scripts/_00e_teleportationmescript.psc @@ -29,7 +29,7 @@ Event OnEffectStart (Actor akTarket, Actor akCaster) If __Config_TeleportTargetMarker.GetParentCell() == ability_container _00E_Teleport_sNoTargetMarked.Show() Else - Levelsystem.TeleportPlayer(__Config_TeleportTargetMarker) + _00E_PlayerFunctions.GetTeleportControl().TeleportPlayer(__Config_TeleportTargetMarker) EndIf EndIf @@ -41,8 +41,6 @@ EndEvent bool bScrollAdded -_00E_Questfunctions Property Levelsystem Auto - WorldSpace Property Akropolis Auto Cell Property ability_container Auto diff --git a/source/scripts/_00e_test_companionpanelsc.psc b/source/scripts/_00e_test_companionpanelsc.psc deleted file mode 100644 index 2970e750..00000000 --- a/source/scripts/_00e_test_companionpanelsc.psc +++ /dev/null @@ -1,144 +0,0 @@ -Scriptname _00E_Test_CompanionPanelSC extends SKI_WidgetManager - - -float _scale = 1.0 -int _maxEntries = 5 -float _fadeInDuration = 250.0 -float _fadeOutDuration = 750.0 -float _moveDuration = 1000.0 -float _removeDuration = 15000.0 - -string function GetWidgetSource() - return "skyui/followerpanel.swf" -endFunction - -string function GetWidgetType() - return "EFFPanel" -endFunction - -int function GetVersion() - return 1 -endFunction - -float property Scale - float function get() - return _scale - endFunction - - function set(float a_val) - _scale = a_val - if (Ready) - UpdateWidgetScale() - endIf - endFunction -endProperty - -int Property MaxEntries - int function get() - return _maxEntries - endFunction - - function set(int a_val) - _maxEntries = a_val - if (Ready) - UpdateMaxEntries() - endIf - endFunction -endProperty - -float property FadeInDuration - float function get() - return _fadeInDuration - endFunction - - function set(float a_val) - _fadeInDuration = a_val - if (Ready) - UpdateFadeInDuration() - endIf - endFunction -endProperty - -float property FadeOutDuration - float function get() - return _fadeOutDuration - endFunction - - function set(float a_val) - _fadeOutDuration = a_val - if (Ready) - UpdateFadeOutDuration() - endIf - endFunction -endProperty - -float property MoveDuration - float function get() - return _moveDuration - endFunction - - function set(float a_val) - _moveDuration = a_val - if (Ready) - UpdateMoveDuration() - endIf - endFunction -endProperty - -float property RemoveDuration - float function get() - return _removeDuration - endFunction - - function set(float a_val) - _removeDuration = a_val - if (Ready) - UpdateRemoveDuration() - endIf - endFunction -endProperty - -; @override SKI_WidgetBase - -event OnWidgetReset() - parent.OnWidgetReset() - UpdateWidgetScale() - UpdateMaxEntries() - UpdateFadeInDuration() - UpdateFadeOutDuration() - UpdateMoveDuration() - UpdateRemoveDuration() - -endEvent - -Function UpdateWidgetScale() - UI.InvokeFloat(HUD_MENU, WidgetRoot + ".setScale", _scale * 100.0) -EndFunction - -Function UpdateMaxEntries() - UI.InvokeInt(HUD_MENU, WidgetRoot + ".setEntryCount", _maxEntries) -EndFunction - -Function UpdateFadeInDuration() - UI.InvokeFloat(HUD_MENU, WidgetRoot + ".setFadeInDuration", _fadeInDuration / 1000.0) -EndFunction - -Function UpdateFadeOutDuration() - UI.InvokeFloat(HUD_MENU, WidgetRoot + ".setFadeOutDuration", _fadeOutDuration / 1000.0) -EndFunction - -Function UpdateMoveDuration() - UI.InvokeFloat(HUD_MENU, WidgetRoot + ".setMoveDuration", _moveDuration / 1000.0) -EndFunction - -Function UpdateRemoveDuration() - UI.InvokeFloat(HUD_MENU, WidgetRoot + ".setRemoveDuration", _removeDuration) -EndFunction - -Function AddActors(Form aForm) - UI.InvokeForm(HUD_MENU, WidgetRoot + ".addPanelActors", aForm) -EndFunction - -Function RemoveActors(Form aForm) - UI.InvokeForm(HUD_MENU, WidgetRoot + ".removePanelActors", aForm) -EndFunction \ No newline at end of file diff --git a/source/scripts/_00e_test_script01.psc b/source/scripts/_00e_test_script01.psc deleted file mode 100644 index fbdabac7..00000000 --- a/source/scripts/_00e_test_script01.psc +++ /dev/null @@ -1,53 +0,0 @@ -Scriptname _00E_TEST_Script01 extends ObjectReference - - -Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) - - - If (akAggressor as actor) && (Utility.RandomInt(1, 100) <= iThrowBackChance) - - Debug.MessageBox("_00E_FS_A3_Mage_ThaumaturgicShieldSC Cool 2.") - - akAttacker = akAggressor as Actor - akProjectile.Delete() - - If (akSource as Spell) - - ReflectSpell(akSource as Spell) - - Elseif (akSource.HasKeyword(WeapTypeBow)) - - ReflectArrow(akSource as Weapon) - - EndIf - - Endif - - -EndEvent - - -;===================================================================================== -; FUNCTIONS -;===================================================================================== - -Function ReflectSpell(Spell spSpellToReflect) - -EndFunction - -Function ReflectArrow(Weapon wpBow) - -EndFunction - -;===================================================================================== -; PROPERTIES -;===================================================================================== - -Actor akAttacker - -int iThrowBackChance = 100 -; The likelihood that a spell will be reflected onto the caster - -Spell Property _00E_FS_A3_Mage_ThaumaturgicShieldArrowSP Auto - -Keyword Property WeapTypeBow Auto \ No newline at end of file diff --git a/source/scripts/_00e_testbossfightsc.psc b/source/scripts/_00e_testbossfightsc.psc index a4cb5555..0fe2e5e9 100644 --- a/source/scripts/_00e_testbossfightsc.psc +++ b/source/scripts/_00e_testbossfightsc.psc @@ -5,7 +5,6 @@ Scriptname _00E_TestBossFightSC extends ObjectReference Conditional ; placed on reference MQ17_CombatControllerREF in int cell ; MQ17BlackGuardian. -Import _00E_QuestFunctions Import Utility diff --git a/source/scripts/_00e_testmagiceffect.psc b/source/scripts/_00e_testmagiceffect.psc deleted file mode 100644 index ab693066..00000000 --- a/source/scripts/_00e_testmagiceffect.psc +++ /dev/null @@ -1,32 +0,0 @@ -Scriptname _00E_TestMagicEffect extends activemagiceffect - - -Event OnEffectStart(Actor akTarget, Actor akCaster) - - float fMagnitude = Self.GetMagnitude() - - if getnum - - if fMagnitude >= globalChymikumFireTolerance - - ; Poison effect - ; Message, chymikum too potent, need better tolerance - - Else - - - - EndIf - - -EndEvent - -;===================================================================================== -; FUNCTIONS -;===================================================================================== - - -;===================================================================================== -; PROPERTIES -;===================================================================================== - diff --git a/source/scripts/_00e_timecontrol.psc b/source/scripts/_00e_timecontrol.psc new file mode 100644 index 00000000..dfb3a99e --- /dev/null +++ b/source/scripts/_00e_timecontrol.psc @@ -0,0 +1,66 @@ +Scriptname _00E_TimeControl Hidden + +Function SkipTimeToHour(Float fNewHourOfDay, Float fMinHoursToSkip = 0.0) Global +{Progresses the current in-game time to the desired hour (and optionally, by no less than fMinHoursToSkip hours), moving to the next day if needed} + + GlobalVariable GameHourVar = Game.GetForm(0x38) as GlobalVariable + + Float fCurHour = GameHourVar.GetValue() + If fNewHourOfDay <= fCurHour + fNewHourOfDay += 24.0 ; Go to the next day + EndIf + If (fNewHourOfDay - fCurHour) < fMinHoursToSkip + fNewHourOfDay += 24.0 ; Go to the next day + EndIf + GameHourVar.SetValue(fNewHourOfDay) + GameHourVar.SendModEvent("TimeSkip") + +EndFunction + +;/ Unused +Function SkipHours(Float fHoursToSkip) Global +{Progresses the current in-game time by fHoursToSkip hours} + + GlobalVariable GameHourVar = Game.GetForm(0x38) as GlobalVariable + + GameHourVar.SetValue(GameHourVar.GetValue() + fHoursToSkip) + GameHourVar.SendModEvent("TimeSkip") + +EndFunction +/; + +Float Function NormalizeHour(Float fHour) Global + + If fHour >= 24.0 + Return (fHour - 24.0) + ElseIf fHour < 0.0 + Return (fHour + 24.0) + Else + Return fHour + EndIf + +EndFunction + +Bool Function HourIsInRange(Float fHour, Float fHourStart, Float fHourEnd) Global + + ; "Smart" test for fHour being withing a range. + ; Works both with "day" ranges (e.g., 06:00- 20:00) and with "night" ranges (e.g., 21:00-06:00) + + fHour = NormalizeHour(fHour) + fHourStart = NormalizeHour(fHourStart) + fHourEnd = NormalizeHour(fHourEnd) + + If fHourStart <= fHourEnd ; Something like 06:00 - 20:00 + Return (fHour >= fHourStart && fHour < fHourEnd) + Else ; Something like 20:00 - 06:00 + Return (fHour >= fHourStart || fHour < fHourEnd) + EndIf + +EndFunction + +Float Function AdjustTimePeriodByEngineTimerError(Float fUnadjustedPeriod) Global + + ; In SE, the game time runs slower than the real time by about 2.5/60 second + Return fUnadjustedPeriod - (2.5 * Math.Floor(fUnadjustedPeriod) / 60.0) + +EndFunction diff --git a/source/scripts/critterperch.psc b/source/scripts/critterperch.psc new file mode 100644 index 00000000..2a395460 --- /dev/null +++ b/source/scripts/critterperch.psc @@ -0,0 +1,7 @@ +scriptName critterPerch extends objectReference +{simple script to allow perches to be reserved} + +bool property reserved auto hidden +{should this object be invalidated for searches?} +objectReference property incoming auto hidden +{reference which has reserved me, and is assume to be incoming} \ No newline at end of file diff --git a/source/scripts/custom.psc b/source/scripts/custom.psc new file mode 100644 index 00000000..fe3dfce9 --- /dev/null +++ b/source/scripts/custom.psc @@ -0,0 +1,36 @@ +Scriptname Custom Hidden +import objectReference + + + +;This function takes in an ObjectReference and counts the number of linked refs that are in a linked Ref chain. +int Function countLinks(objectReference currentLink) global + ;Don't use this on a loop of linked refs. + int numPorts = 0 + while(currentLink) ; && (numPorts < 100)) ;runs until currentLink is None. + currentLink = currentLink.getLinkedRef() + numPorts = numPorts + 1 + endWhile + if numPorts < 100 + return numPorts + else +; debug.trace( "Too many links, or the linked refs are arranged in a loop." ) + return 0 + endif +endFunction + +;This function returns the Nth objectReference in a linked ref chain. +;The root link in the chain is 1 +objectReference Function goToLink(int linkNum, objectReference startRef ) global + int linkIndex = 1 + while(linkNum != linkIndex ) + linkIndex = linkIndex + 1 + objectReference nextRef = startRef.getLinkedRef() + if nextRef + startRef = nextRef + else +; debug.trace( "Tried to access None link in custom.GoToLink()" ) + endif + endWhile + return startRef +endFunction diff --git a/source/scripts/mq03_functions.psc b/source/scripts/mq03_functions.psc index b22777a8..97509454 100644 --- a/source/scripts/mq03_functions.psc +++ b/source/scripts/mq03_functions.psc @@ -3,7 +3,6 @@ Scriptname MQ03_Functions extends Quest ; This is the script on quest MQ04 (Wave Taming). Import Utility -Import _00E_QuestFunctions Import Math ;===================================================================================== @@ -78,7 +77,7 @@ EndFunction Function StartFollowing() MQ04_LishariFollowCounter.SetValueInt(1) _00E_MC_LishariREF.EvaluatePackage() - SetNPCAsCompanion(_00E_MC_LishariREF, true, 200, 100, 200) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_LishariREF, true, 200, 100, 200) EndFunction Function GivePlayerSpell() @@ -92,7 +91,7 @@ EndFunction Function StartSC03() - SetNPCAsCompanion(_00E_MC_LishariREF, false) + _00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_LishariREF, false) MQ04_SC3_DeadBodyComment.ForceStart() EndFunction @@ -214,8 +213,8 @@ Function FinishUp() PlayerREF.RemoveSpell(_00E_MQP03_MagicFeverSpell) _00E_MQ04_RitualAttachClouds.Stop(PlayerREF) EnvironmentScene02_StartBox.Enable() - Levelsystem.RemoveSilence() - Levelsystem.GiveEP(__Config_RewardEXP) + _00E_PlayerFunctions.GetSoundControl().RemoveSilence() + _00E_EPHandler.GiveEP(__Config_RewardEXP) Self.SetObjectiveCompleted(70) NQ41.SetStage(10) MQ05Prologue.Start() @@ -239,7 +238,7 @@ EndFunction Function GiveEPForStones() int TotalReward = (_00E_MQ04_StonesSaved.GetValueInt()*__Config_RewardEXP_PerStone) - Levelsystem.GiveEP(TotalReward) + _00E_EPHandler.GiveEP(TotalReward) EndFunction @@ -346,7 +345,6 @@ int Property __Config_RewardEXP Auto ObjectReference Property TranslateMarker Auto Hidden ObjectReference Property PlayerOrigin Auto Hidden -_00E_QuestFunctions Property Levelsystem Auto _00E_MQ05Prologue_Functions Property MQ05PrologueFunctions Auto Float Property StoneInterval Auto diff --git a/source/scripts/pf__00e_capitalcity_merrolbu_00147ea9.psc b/source/scripts/pf__00e_capitalcity_merrolbu_00147ea9.psc index 43f481fd..ac368fc9 100644 --- a/source/scripts/pf__00e_capitalcity_merrolbu_00147ea9.psc +++ b/source/scripts/pf__00e_capitalcity_merrolbu_00147ea9.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_CapitalCity_MerrolBu_00147EA9 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -;_00E_QuestFunctions.PrintDebugMessage("Smoking package started.") +;_00E_Debug.PrintMessage("Smoking package started.") ;akActor.AddSpell(_00E_Smoking_abSmoking) ;END CODE EndFunction @@ -14,7 +14,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(Actor akActor) ;BEGIN CODE -;_00E_QuestFunctions.PrintDebugMessage("Smoking package completed.") +;_00E_Debug.PrintMessage("Smoking package completed.") akActor.RemoveSpell(_00E_Smoking_abSmoking) ;END CODE EndFunction diff --git a/source/scripts/pf__00e_cq_d_01_dijaamforceg_00139df5.psc b/source/scripts/pf__00e_cq_d_01_dijaamforceg_00139df5.psc index 94818531..760711af 100644 --- a/source/scripts/pf__00e_cq_d_01_dijaamforceg_00139df5.psc +++ b/source/scripts/pf__00e_cq_d_01_dijaamforceg_00139df5.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_CQ_D_01_DijaamForceG_00139DF5 Extends Package Hidden ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Package ended.") +_00E_Debug.PrintMessage("Package ended.") ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Package started.") +_00E_Debug.PrintMessage("Package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf__00e_mq14_sc04_ignorecomb_00141d5b.psc b/source/scripts/pf__00e_mq14_sc04_ignorecomb_00141d5b.psc index 8bb0f856..f4c912bd 100644 --- a/source/scripts/pf__00e_mq14_sc04_ignorecomb_00141d5b.psc +++ b/source/scripts/pf__00e_mq14_sc04_ignorecomb_00141d5b.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_MQ14_SC04_IgnoreComb_00141D5B Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Cast shock effect.") +_00E_Debug.PrintMessage("Cast shock effect.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf__00e_nq_g_04_dijaamforceg_00139dfc.psc b/source/scripts/pf__00e_nq_g_04_dijaamforceg_00139dfc.psc index 39596316..559e3ca2 100644 --- a/source/scripts/pf__00e_nq_g_04_dijaamforceg_00139dfc.psc +++ b/source/scripts/pf__00e_nq_g_04_dijaamforceg_00139dfc.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_NQ_G_04_DijaamForceG_00139DFC Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_Questfunctions.PrintDebugMessage("Dijaam Bathtalk long") +_00E_Debug.PrintMessage("Dijaam Bathtalk long") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fc5.psc b/source/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fc5.psc index e098b379..06fdf346 100644 --- a/source/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fc5.psc +++ b/source/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fc5.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_NQ_G_07Dijaam_Dijaam_00146FC5 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("NQG07_Dijaam_SC4_ForceGreet Peek Package started.") +_00E_Debug.PrintMessage("NQG07_Dijaam_SC4_ForceGreet Peek Package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fdd.psc b/source/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fdd.psc index d8f7e87e..c9670419 100644 --- a/source/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fdd.psc +++ b/source/scripts/pf__00e_nq_g_07dijaam_dijaam_00146fdd.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_NQ_G_07Dijaam_Dijaam_00146FDD Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("_00E_NQ_G_07Dijaam_DijaamTravelToScarab_Pkg has started!") +_00E_Debug.PrintMessage("_00E_NQ_G_07Dijaam_DijaamTravelToScarab_Pkg has started!") ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("_00E_NQ_G_07Dijaam_DijaamTravelToScarab_Pkg has ended.") +_00E_Debug.PrintMessage("_00E_NQ_G_07Dijaam_DijaamTravelToScarab_Pkg has ended.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf__00e_nq_g_07mael_dijamwal_0013f9ce.psc b/source/scripts/pf__00e_nq_g_07mael_dijamwal_0013f9ce.psc index ad97d9b5..23e72e80 100644 --- a/source/scripts/pf__00e_nq_g_07mael_dijamwal_0013f9ce.psc +++ b/source/scripts/pf__00e_nq_g_07mael_dijamwal_0013f9ce.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_NQ_G_07Mael_DijamWal_0013F9CE Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintdebugMessage("Dijaam Walk Down Stairs Pkg Start") +_00E_Debug.PrintMessage("Dijaam Walk Down Stairs Pkg Start") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf__00e_nq_g_07mael_wuulasca_0013f727.psc b/source/scripts/pf__00e_nq_g_07mael_wuulasca_0013f727.psc index b7ba42e0..358f9802 100644 --- a/source/scripts/pf__00e_nq_g_07mael_wuulasca_0013f727.psc +++ b/source/scripts/pf__00e_nq_g_07mael_wuulasca_0013f727.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_NQ_G_07Mael_WuulasCa_0013F727 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Wuulas Cast Magic Start") +_00E_Debug.PrintMessage("Wuulas Cast Magic Start") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf__00e_nq_g_maelsitandtalk__0013c40e.psc b/source/scripts/pf__00e_nq_g_maelsitandtalk__0013c40e.psc index ffa910bd..72fccbd1 100644 --- a/source/scripts/pf__00e_nq_g_maelsitandtalk__0013c40e.psc +++ b/source/scripts/pf__00e_nq_g_maelsitandtalk__0013c40e.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_NQ_G_MaelSitAndTalk__0013C40E Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Mael Sit Talk Pkg start") +_00E_Debug.PrintMessage("Mael Sit Talk Pkg start") ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Mael Sit Talk Pkg end") +_00E_Debug.PrintMessage("Mael Sit Talk Pkg end") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf__00e_nq_g_maelsitandwrite_00139da6.psc b/source/scripts/pf__00e_nq_g_maelsitandwrite_00139da6.psc index ebebbbcf..12d3ee1c 100644 --- a/source/scripts/pf__00e_nq_g_maelsitandwrite_00139da6.psc +++ b/source/scripts/pf__00e_nq_g_maelsitandwrite_00139da6.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_NQ_G_MaelSitAndWrite_00139DA6 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Mael Sit Write Pkg start") +_00E_Debug.PrintMessage("Mael Sit Write Pkg start") ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Mael Sit Write Pkg end") +_00E_Debug.PrintMessage("Mael Sit Write Pkg end") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf__00e_testquest_perchpkg_0013a21c.psc b/source/scripts/pf__00e_testquest_perchpkg_0013a21c.psc index 07137698..07c0f07d 100644 --- a/source/scripts/pf__00e_testquest_perchpkg_0013a21c.psc +++ b/source/scripts/pf__00e_testquest_perchpkg_0013a21c.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_TestQuest_PerchPkg_0013A21C Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Package started.") +_00E_Debug.PrintMessage("Package started.") ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Package ended.") +_00E_Debug.PrintMessage("Package ended.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf__15e_flusshaim_huntertizi_00147e84.psc b/source/scripts/pf__15e_flusshaim_huntertizi_00147e84.psc index 0d9541b6..2c4a375d 100644 --- a/source/scripts/pf__15e_flusshaim_huntertizi_00147e84.psc +++ b/source/scripts/pf__15e_flusshaim_huntertizi_00147e84.psc @@ -5,7 +5,7 @@ Scriptname PF__15E_Flusshaim_HunterTizi_00147E84 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -;_00E_QuestFunctions.PrintDebugMessage("Smoking package started.") +;_00E_Debug.PrintMessage("Smoking package started.") ;akActor.AddSpell(_00E_Smoking_abSmoking) ;END CODE EndFunction @@ -14,7 +14,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(Actor akActor) ;BEGIN CODE -;_00E_QuestFunctions.PrintDebugMessage("Smoking package completed.") +;_00E_Debug.PrintMessage("Smoking package completed.") akActor.RemoveSpell(_00E_Smoking_abSmoking) ;END CODE EndFunction diff --git a/source/scripts/pf_a2_eldritchblood_followpa_000eef92.psc b/source/scripts/pf_a2_eldritchblood_followpa_000eef92.psc index 097cd99c..c6db4dab 100644 --- a/source/scripts/pf_a2_eldritchblood_followpa_000eef92.psc +++ b/source/scripts/pf_a2_eldritchblood_followpa_000eef92.psc @@ -5,7 +5,7 @@ Scriptname PF_A2_EldritchBlood_FollowPa_000EEF92 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Abilities, A2_EldritchBlood_FollowPackage now active on victim.") +_00E_Debug.PrintMessage("Abilities, A2_EldritchBlood_FollowPackage now active on victim.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_capitalcityheroldspeak8x1_000c2e26.psc b/source/scripts/pf_capitalcityheroldspeak8x1_000c2e26.psc index f5d082bd..53ab8a0a 100644 --- a/source/scripts/pf_capitalcityheroldspeak8x1_000c2e26.psc +++ b/source/scripts/pf_capitalcityheroldspeak8x1_000c2e26.psc @@ -5,7 +5,8 @@ Scriptname PF_CapitalCityHeroldSpeak8x1_000C2E26 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -ArkMarket_HeroldREF.CheckForHerold() +;Non-existing function +;ArkMarket_HeroldREF.CheckForHerold() ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_cqj05_sc01_playergetintop_0013fb3a.psc b/source/scripts/pf_cqj05_sc01_playergetintop_0013fb3a.psc index 86ec302c..1443a64d 100644 --- a/source/scripts/pf_cqj05_sc01_playergetintop_0013fb3a.psc +++ b/source/scripts/pf_cqj05_sc01_playergetintop_0013fb3a.psc @@ -5,7 +5,7 @@ Scriptname PF_CQJ05_SC01_PlayerGetIntoP_0013FB3A Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFUnctions.PrintDebugMessage("Ai Walk Jespar start.") +_00E_Debug.PrintMessage("Ai Walk Jespar start.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_fs_nq01_sc08_yuslantravel_0101c6a4.psc b/source/scripts/pf_fs_nq01_sc08_yuslantravel_0101c6a4.psc index 00e2d2a7..962a7b0f 100644 --- a/source/scripts/pf_fs_nq01_sc08_yuslantravel_0101c6a4.psc +++ b/source/scripts/pf_fs_nq01_sc08_yuslantravel_0101c6a4.psc @@ -5,7 +5,7 @@ Scriptname PF_FS_NQ01_SC08_YuslanTravel_0101C6A4 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Yuslan travel to house start.") +_00E_Debug.PrintMessage("Yuslan travel to house start.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq03_sc1_jesparpackageesc_0003193d.psc b/source/scripts/pf_mq03_sc1_jesparpackageesc_0003193d.psc index 3f2e9bb0..38d5f2e6 100644 --- a/source/scripts/pf_mq03_sc1_jesparpackageesc_0003193d.psc +++ b/source/scripts/pf_mq03_sc1_jesparpackageesc_0003193d.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ03_SC1_JesparPackageEsc_0003193D Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Jespar escort player to Konstantin pkg is running!") +_00E_Debug.PrintMessage("Jespar escort player to Konstantin pkg is running!") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq06_sc02_caliaforcegreet_0014f9d9.psc b/source/scripts/pf_mq06_sc02_caliaforcegreet_0014f9d9.psc index 61e4ca21..ef33bdce 100644 --- a/source/scripts/pf_mq06_sc02_caliaforcegreet_0014f9d9.psc +++ b/source/scripts/pf_mq06_sc02_caliaforcegreet_0014f9d9.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ06_SC02_CaliaForceGreet_0014F9D9 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ06_SC02_CaliaForceGreet package started.") +_00E_Debug.PrintMessage("MQ06_SC02_CaliaForceGreet package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq06_sc2_forcegreet_000d8ea7.psc b/source/scripts/pf_mq06_sc2_forcegreet_000d8ea7.psc index 79d92729..07901864 100644 --- a/source/scripts/pf_mq06_sc2_forcegreet_000d8ea7.psc +++ b/source/scripts/pf_mq06_sc2_forcegreet_000d8ea7.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ06_SC2_ForceGreet_000D8EA7 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ06_SC02_ForceGreet Package started.") +_00E_Debug.PrintMessage("MQ06_SC02_ForceGreet Package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq09_sc06_samaelgotoplate_00152859.psc b/source/scripts/pf_mq09_sc06_samaelgotoplate_00152859.psc index 4b651c58..5a6ee53a 100644 --- a/source/scripts/pf_mq09_sc06_samaelgotoplate_00152859.psc +++ b/source/scripts/pf_mq09_sc06_samaelgotoplate_00152859.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ09_SC06_SamaelGoToPlate_00152859 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ09_SC06_SamaelGoToPlate package has started.") +_00E_Debug.PrintMessage("MQ09_SC06_SamaelGoToPlate package has started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq10a_fathersitdown_00118471.psc b/source/scripts/pf_mq10a_fathersitdown_00118471.psc deleted file mode 100644 index 67eb4a20..00000000 --- a/source/scripts/pf_mq10a_fathersitdown_00118471.psc +++ /dev/null @@ -1,13 +0,0 @@ -;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment -;NEXT FRAGMENT INDEX 1 -Scriptname PF_MQ10a_FatherSitDown_00118471 Extends Package Hidden - -;BEGIN FRAGMENT Fragment_0 -Function Fragment_0(Actor akActor) -;BEGIN CODE -MiscUtil.PrintConsole("Father package is running.") -;END CODE -EndFunction -;END FRAGMENT - -;END FRAGMENT CODE - Do not edit anything between this and the begin comment diff --git a/source/scripts/pf_mq10a_sc1_eat_00119acf.psc b/source/scripts/pf_mq10a_sc1_eat_00119acf.psc index 7952bc05..8d0fd116 100644 --- a/source/scripts/pf_mq10a_sc1_eat_00119acf.psc +++ b/source/scripts/pf_mq10a_sc1_eat_00119acf.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ10a_SC1_Eat_00119ACF Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Package ended.") +_00E_Debug.PrintMessage("Package ended.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq11b_sc02_prisonersit_00117940.psc b/source/scripts/pf_mq11b_sc02_prisonersit_00117940.psc index dd9bf1ec..6cd20a59 100644 --- a/source/scripts/pf_mq11b_sc02_prisonersit_00117940.psc +++ b/source/scripts/pf_mq11b_sc02_prisonersit_00117940.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ11b_SC02_PrisonerSit_00117940 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Sit Package started.") +_00E_Debug.PrintMessage("Sit Package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq11b_sc05_jesparrevival_0014590d.psc b/source/scripts/pf_mq11b_sc05_jesparrevival_0014590d.psc index 0d501254..45cdb063 100644 --- a/source/scripts/pf_mq11b_sc05_jesparrevival_0014590d.psc +++ b/source/scripts/pf_mq11b_sc05_jesparrevival_0014590d.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ11b_SC05_JesparRevival_0014590D Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Revival package has staretd.") +_00E_Debug.PrintMessage("Revival package has staretd.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq12b_sc11_samaelkillnara_00133910.psc b/source/scripts/pf_mq12b_sc11_samaelkillnara_00133910.psc index 87f1a662..2816c39c 100644 --- a/source/scripts/pf_mq12b_sc11_samaelkillnara_00133910.psc +++ b/source/scripts/pf_mq12b_sc11_samaelkillnara_00133910.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ12b_SC11_SamaelKillNara_00133910 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Bla.") +_00E_Debug.PrintMessage("Bla.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq12b_sc1_forcegreet_0011b0a5.psc b/source/scripts/pf_mq12b_sc1_forcegreet_0011b0a5.psc index d0899ea2..580dfc1c 100644 --- a/source/scripts/pf_mq12b_sc1_forcegreet_0011b0a5.psc +++ b/source/scripts/pf_mq12b_sc1_forcegreet_0011b0a5.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ12b_SC1_ForceGreet_0011B0A5 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("ForceGreet Package running") +_00E_Debug.PrintMessage("ForceGreet Package running") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq12b_sc4_tealortraveltol_0011b10f.psc b/source/scripts/pf_mq12b_sc4_tealortraveltol_0011b10f.psc index 14244025..4ecb67d8 100644 --- a/source/scripts/pf_mq12b_sc4_tealortraveltol_0011b10f.psc +++ b/source/scripts/pf_mq12b_sc4_tealortraveltol_0011b10f.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ12b_SC4_TealorTravelToL_0011B10F Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Finished escort package.") +_00E_Debug.PrintMessage("Finished escort package.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq12b_sc6_test_001294c2.psc b/source/scripts/pf_mq12b_sc6_test_001294c2.psc index cc86a3a9..548ab469 100644 --- a/source/scripts/pf_mq12b_sc6_test_001294c2.psc +++ b/source/scripts/pf_mq12b_sc6_test_001294c2.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ12b_SC6_Test_001294C2 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("MQ12b_SC6_RunToMill Start package.") +_00E_Debug.PrintMessage("MQ12b_SC6_RunToMill Start package.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq12b_sc6_usecrank_001294ca.psc b/source/scripts/pf_mq12b_sc6_usecrank_001294ca.psc index f7e1cfae..5781ad53 100644 --- a/source/scripts/pf_mq12b_sc6_usecrank_001294ca.psc +++ b/source/scripts/pf_mq12b_sc6_usecrank_001294ca.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ12b_SC6_UseCrank_001294CA Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Close Gate package started") +_00E_Debug.PrintMessage("Close Gate package started") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq12b_sc8_traveltowallint_00129488.psc b/source/scripts/pf_mq12b_sc8_traveltowallint_00129488.psc index 548763ea..45b9b5c9 100644 --- a/source/scripts/pf_mq12b_sc8_traveltowallint_00129488.psc +++ b/source/scripts/pf_mq12b_sc8_traveltowallint_00129488.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ12b_SC8_TravelToWallInt_00129488 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Travel package SC8 running!") +_00E_Debug.PrintMessage("Travel package SC8 running!") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq13a_sc01_forcegreet_00136d19.psc b/source/scripts/pf_mq13a_sc01_forcegreet_00136d19.psc index ee1cac36..e1916b1c 100644 --- a/source/scripts/pf_mq13a_sc01_forcegreet_00136d19.psc +++ b/source/scripts/pf_mq13a_sc01_forcegreet_00136d19.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ13a_SC01_ForceGreet_00136D19 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMEssage("ForceGreet01 started.") +_00E_Debug.PrintMessage("ForceGreet01 started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq13b_sc04_caliaapproachk_00137fdd.psc b/source/scripts/pf_mq13b_sc04_caliaapproachk_00137fdd.psc index f41e6caf..419af4ac 100644 --- a/source/scripts/pf_mq13b_sc04_caliaapproachk_00137fdd.psc +++ b/source/scripts/pf_mq13b_sc04_caliaapproachk_00137fdd.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ13b_SC04_CaliaApproachK_00137FDD Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ13b_SC04 Calia Approach Package started.") +_00E_Debug.PrintMessage("MQ13b_SC04 Calia Approach Package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq13b_sc07_traveltoroom_00138014.psc b/source/scripts/pf_mq13b_sc07_traveltoroom_00138014.psc index 04db87da..2b72accb 100644 --- a/source/scripts/pf_mq13b_sc07_traveltoroom_00138014.psc +++ b/source/scripts/pf_mq13b_sc07_traveltoroom_00138014.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ13b_SC07_TravelToRoom_00138014 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PRintDebugMessage("Start travel package yaela") +_00E_Debug.PrintMessage("Start travel package yaela") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq13c_sc04_activatestairs_0013a208.psc b/source/scripts/pf_mq13c_sc04_activatestairs_0013a208.psc index 186965b1..5251aa73 100644 --- a/source/scripts/pf_mq13c_sc04_activatestairs_0013a208.psc +++ b/source/scripts/pf_mq13c_sc04_activatestairs_0013a208.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ13c_SC04_ActivateStairs_0013A208 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ13c_SC04_ActivateStairs package started.") +_00E_Debug.PrintMessage("MQ13c_SC04_ActivateStairs package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq13c_sc09_steelbirdcast_0013a1e9.psc b/source/scripts/pf_mq13c_sc09_steelbirdcast_0013a1e9.psc index 3edb7b23..652eca75 100644 --- a/source/scripts/pf_mq13c_sc09_steelbirdcast_0013a1e9.psc +++ b/source/scripts/pf_mq13c_sc09_steelbirdcast_0013a1e9.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ13c_SC09_SteelbirdCast_0013A1E9 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Steelbird cast package entered.") +_00E_Debug.PrintMessage("Steelbird cast package entered.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq14_sc04_traveltobeacon_00141d87.psc b/source/scripts/pf_mq14_sc04_traveltobeacon_00141d87.psc index 474405ad..91780868 100644 --- a/source/scripts/pf_mq14_sc04_traveltobeacon_00141d87.psc +++ b/source/scripts/pf_mq14_sc04_traveltobeacon_00141d87.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ14_SC04_TravelToBeacon_00141D87 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Travel to beacon package started.") +_00E_Debug.PrintMessage("Travel to beacon package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq15_sc04_tealorescort_02_00145880.psc b/source/scripts/pf_mq15_sc04_tealorescort_02_00145880.psc index 63292b89..31e1ee39 100644 --- a/source/scripts/pf_mq15_sc04_tealorescort_02_00145880.psc +++ b/source/scripts/pf_mq15_sc04_tealorescort_02_00145880.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ15_SC04_TealorEscort_02_00145880 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ15_SC04-Escort Package started.") +_00E_Debug.PrintMessage("MQ15_SC04-Escort Package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq15_sc05_useweaponondaug_001458b2.psc b/source/scripts/pf_mq15_sc05_useweaponondaug_001458b2.psc index ffe30b43..e8b12858 100644 --- a/source/scripts/pf_mq15_sc05_useweaponondaug_001458b2.psc +++ b/source/scripts/pf_mq15_sc05_useweaponondaug_001458b2.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ15_SC05_UseWeaponOnDaug_001458B2 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("MQ15_SC05_UseWeaponOnDaughter") +_00E_Debug.PrintMessage("MQ15_SC05_UseWeaponOnDaughter") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq16_sc01_travelto_00147132.psc b/source/scripts/pf_mq16_sc01_travelto_00147132.psc index 8bf624a8..1322f362 100644 --- a/source/scripts/pf_mq16_sc01_travelto_00147132.psc +++ b/source/scripts/pf_mq16_sc01_travelto_00147132.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ16_SC01_TravelTo_00147132 Extends Package Hidden ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(Actor akActor) ;BEGIN CODE -_00E_QUestFunctions.PrintDebugMessage("MQ16_SC01_TravelTo Run package has ended.") +_00E_Debug.PrintMessage("MQ16_SC01_TravelTo Run package has ended.") ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QUestFunctions.PrintDebugMessage("MQ16_SC01_TravelTo Run package has started.") +_00E_Debug.PrintMessage("MQ16_SC01_TravelTo Run package has started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq16_sc11_tealorruntobeac_0014869d.psc b/source/scripts/pf_mq16_sc11_tealorruntobeac_0014869d.psc index 07b31773..c9083e1b 100644 --- a/source/scripts/pf_mq16_sc11_tealorruntobeac_0014869d.psc +++ b/source/scripts/pf_mq16_sc11_tealorruntobeac_0014869d.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ16_SC11_TealorRunToBeac_0014869D Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Tealor run package started.") +_00E_Debug.PrintMessage("Tealor run package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq17_sc03_forcegreet_01_001496a6.psc b/source/scripts/pf_mq17_sc03_forcegreet_01_001496a6.psc index bf3e713e..6ab962f5 100644 --- a/source/scripts/pf_mq17_sc03_forcegreet_01_001496a6.psc +++ b/source/scripts/pf_mq17_sc03_forcegreet_01_001496a6.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ17_SC03_ForceGreet_01_001496A6 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ17_SC03_ForceGreet started.") +_00E_Debug.PrintMessage("MQ17_SC03_ForceGreet started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq17_sc06_companionrunfor_001496ca.psc b/source/scripts/pf_mq17_sc06_companionrunfor_001496ca.psc index c3d2e5ba..6be30b35 100644 --- a/source/scripts/pf_mq17_sc06_companionrunfor_001496ca.psc +++ b/source/scripts/pf_mq17_sc06_companionrunfor_001496ca.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ17_SC06_CompanionRunFor_001496CA Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Run for cover packge MQ17_SC16 started.") +_00E_Debug.PrintMessage("Run for cover packge MQ17_SC16 started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mq17_sc06_companionshootb_001496c3.psc b/source/scripts/pf_mq17_sc06_companionshootb_001496c3.psc index 3383cb37..aef8f269 100644 --- a/source/scripts/pf_mq17_sc06_companionshootb_001496c3.psc +++ b/source/scripts/pf_mq17_sc06_companionshootb_001496c3.psc @@ -5,7 +5,7 @@ Scriptname PF_MQ17_SC06_CompanionShootB_001496C3 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Shoot bow package started.") +_00E_Debug.PrintMessage("Shoot bow package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_mqp02_sc3_siriuswalkdown_00112e24.psc b/source/scripts/pf_mqp02_sc3_siriuswalkdown_00112e24.psc index 0bceec59..dd369c84 100644 --- a/source/scripts/pf_mqp02_sc3_siriuswalkdown_00112e24.psc +++ b/source/scripts/pf_mqp02_sc3_siriuswalkdown_00112e24.psc @@ -5,7 +5,7 @@ Scriptname PF_MQP02_SC3_SiriusWalkdown_00112E24 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("MQP02_SC3_SiriusWalkdown package started.") +_00E_Debug.PrintMessage("MQP02_SC3_SiriusWalkdown package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_nq17_sc4_anomalytraveltor_0003bd30.psc b/source/scripts/pf_nq17_sc4_anomalytraveltor_0003bd30.psc index f55e6ebb..1bcd765a 100644 --- a/source/scripts/pf_nq17_sc4_anomalytraveltor_0003bd30.psc +++ b/source/scripts/pf_nq17_sc4_anomalytraveltor_0003bd30.psc @@ -5,7 +5,7 @@ Scriptname PF_NQ17_SC4_AnomalyTravelToR_0003BD30 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("NQ17_SC4_AnomalyTravelToRys02 package started!") +_00E_Debug.PrintMessage("NQ17_SC4_AnomalyTravelToRys02 package started!") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_nq_g_02_hafnerprison_pkg_001371b4.psc b/source/scripts/pf_nq_g_02_hafnerprison_pkg_001371b4.psc index 7895099a..4d11f062 100644 --- a/source/scripts/pf_nq_g_02_hafnerprison_pkg_001371b4.psc +++ b/source/scripts/pf_nq_g_02_hafnerprison_pkg_001371b4.psc @@ -5,7 +5,7 @@ Scriptname PF_NQ_G_02_HafnerPrison_Pkg_001371B4 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Package gestartet") +_00E_Debug.PrintMessage("Package gestartet") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_nq_g_02_mendelusreturnhom_0013c3f6.psc b/source/scripts/pf_nq_g_02_mendelusreturnhom_0013c3f6.psc index a2f5810a..4b9b14ec 100644 --- a/source/scripts/pf_nq_g_02_mendelusreturnhom_0013c3f6.psc +++ b/source/scripts/pf_nq_g_02_mendelusreturnhom_0013c3f6.psc @@ -5,7 +5,7 @@ Scriptname PF_NQ_G_02_MendelusReturnHom_0013C3F6 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Walkoff Package started.") +_00E_Debug.PrintMessage("Walkoff Package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_nq_g_02_sc04_guardfollow__001371af.psc b/source/scripts/pf_nq_g_02_sc04_guardfollow__001371af.psc index a9c6d4b9..e4d11c73 100644 --- a/source/scripts/pf_nq_g_02_sc04_guardfollow__001371af.psc +++ b/source/scripts/pf_nq_g_02_sc04_guardfollow__001371af.psc @@ -5,7 +5,7 @@ Scriptname PF_NQ_G_02_SC04_GuardFollow__001371AF Extends Package Hidden ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("GuardFollow started.") +_00E_Debug.PrintMessage("GuardFollow started.") ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("GuardFollow changed.") +_00E_Debug.PrintMessage("GuardFollow changed.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_nq_g_02_walkoff_pkg_001371ad.psc b/source/scripts/pf_nq_g_02_walkoff_pkg_001371ad.psc index d9c43060..d8306a3a 100644 --- a/source/scripts/pf_nq_g_02_walkoff_pkg_001371ad.psc +++ b/source/scripts/pf_nq_g_02_walkoff_pkg_001371ad.psc @@ -5,7 +5,7 @@ Scriptname PF_NQ_G_02_Walkoff_Pkg_001371AD Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Walkoff Package started.") +_00E_Debug.PrintMessage("Walkoff Package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_nq_g_03_sc01_petrifiedtel_001380fb.psc b/source/scripts/pf_nq_g_03_sc01_petrifiedtel_001380fb.psc index 326d33fb..87b5902a 100644 --- a/source/scripts/pf_nq_g_03_sc01_petrifiedtel_001380fb.psc +++ b/source/scripts/pf_nq_g_03_sc01_petrifiedtel_001380fb.psc @@ -5,7 +5,7 @@ Scriptname PF_NQ_G_03_SC01_PetrifiedTel_001380FB Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Package started.") +_00E_Debug.PrintMessage("Package started.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_nqg07_sc04_dijaamfollowpl_0003bd70.psc b/source/scripts/pf_nqg07_sc04_dijaamfollowpl_0003bd70.psc index 3db8403f..13274980 100644 --- a/source/scripts/pf_nqg07_sc04_dijaamfollowpl_0003bd70.psc +++ b/source/scripts/pf_nqg07_sc04_dijaamfollowpl_0003bd70.psc @@ -5,7 +5,7 @@ Scriptname PF_NQG07_SC04_DijaamFollowPl_0003BD70 Extends Package Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(Actor akActor) ;BEGIN CODE -_00E_QuestFunctions.PDB("NQG07_SC04_DijaamFollowPlayer is playing!") +_00E_Debug.PrintMessage("NQG07_SC04_DijaamFollowPlayer is playing!") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/qf__00e_mq02_thevoid_0002eba1.psc b/source/scripts/qf__00e_mq02_thevoid_0002eba1.psc index a6051671..9837b8cd 100644 --- a/source/scripts/qf__00e_mq02_thevoid_0002eba1.psc +++ b/source/scripts/qf__00e_mq02_thevoid_0002eba1.psc @@ -130,7 +130,7 @@ EndFunction Function Fragment_42() ;BEGIN CODE Alias_JesparAlias.GetActorReference().EvaluatePackage() -_00E_Questfunctions.SetNPCAsCompanion(JesparREF, true, 200, 150, 100) +_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(JesparREF, true, 200, 150, 100) SetObjectiveCompleted(55) ;END CODE EndFunction @@ -302,7 +302,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_44 Function Fragment_44() ;BEGIN CODE -Levelsystem.GiveEP(640) +_00E_EPHandler.GiveEP(640) ;END CODE EndFunction ;END FRAGMENT @@ -348,6 +348,4 @@ Actor Property JesparRef Auto ObjectReference Property _00E_MQ02SchatulleRef Auto -_00E_QuestFunctions Property Levelsystem Auto - Actor Property MQ02_FireElemental Auto diff --git a/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc b/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc index e9c287f7..d04e3a03 100644 --- a/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc +++ b/source/scripts/qf__00e_nq01_largesteggsfind_00027d2d.psc @@ -71,7 +71,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.GiveEP(380) +_00E_EPHandler.GiveEP(380) Game.GetPlayer().RemoveItem(Raubvogelei, 5) Game.GetPlayer().AddItem(Gold, 90) SetObjectiveCompleted(20) @@ -93,6 +93,4 @@ MiscObject Property Gold Auto Ingredient Property Raubvogelei Auto -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf__00e_nq40_001518a6.psc b/source/scripts/qf__00e_nq40_001518a6.psc index 0f4ccdfe..db398967 100644 --- a/source/scripts/qf__00e_nq40_001518a6.psc +++ b/source/scripts/qf__00e_nq40_001518a6.psc @@ -28,11 +28,9 @@ EndFunction Function Fragment_6() ;BEGIN CODE CompleteAllObjectives() -Levelsystem.GiveEP(450) +_00E_EPHandler.GiveEP(450) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_ark_nq_isleofkor_0006a0ee.psc b/source/scripts/qf_ark_nq_isleofkor_0006a0ee.psc index 3dd1e5c3..29a51202 100644 --- a/source/scripts/qf_ark_nq_isleofkor_0006a0ee.psc +++ b/source/scripts/qf_ark_nq_isleofkor_0006a0ee.psc @@ -42,7 +42,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -Levelsystem.SkipTimeToHour(19.3) +_00E_TimeControl.SkipTimeToHour(19.3) Game.GetPlayer().MoveTo(LandingMarkerKor) SetObjectiveCompleted(5) ;END CODE @@ -75,7 +75,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - ObjectReference Property LandingMarkerKor Auto -_00E_QuestFunctions Property Levelsystem Auto - diff --git a/source/scripts/qf_cqc01_0013d0d6.psc b/source/scripts/qf_cqc01_0013d0d6.psc index f789b95a..ddc67a29 100644 --- a/source/scripts/qf_cqc01_0013d0d6.psc +++ b/source/scripts/qf_cqc01_0013d0d6.psc @@ -26,7 +26,7 @@ Quest __temp = self as Quest _00E_CQC01_Functions kmyQuest = __temp as _00E_CQC01_Functions ;END AUTOCAST ;BEGIN CODE -Levelsystem.ShowFailedMessage("Calia") +_00E_PlayerFunctions.GetSympathyControl().ShowFailedMessage("Calia") ;END CODE EndFunction ;END FRAGMENT @@ -44,5 +44,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_cqc02_0013e8b8.psc b/source/scripts/qf_cqc02_0013e8b8.psc index 421d7450..1efc0a71 100644 --- a/source/scripts/qf_cqc02_0013e8b8.psc +++ b/source/scripts/qf_cqc02_0013e8b8.psc @@ -22,7 +22,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -Levelsystem.ShowFailedMessage("Calia") +_00E_PlayerFunctions.GetSympathyControl().ShowFailedMessage("Calia") ;END CODE EndFunction ;END FRAGMENT @@ -54,5 +54,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_cqc03_0013e943.psc b/source/scripts/qf_cqc03_0013e943.psc index 52a6f5d6..ecd68bf5 100644 --- a/source/scripts/qf_cqc03_0013e943.psc +++ b/source/scripts/qf_cqc03_0013e943.psc @@ -52,11 +52,9 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -Levelsystem.ShowFailedMessage("Calia") +_00E_PlayerFunctions.GetSympathyControl().ShowFailedMessage("Calia") ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_cqc04_001344ec.psc b/source/scripts/qf_cqc04_001344ec.psc index 90c3342b..eef2ecf3 100644 --- a/source/scripts/qf_cqc04_001344ec.psc +++ b/source/scripts/qf_cqc04_001344ec.psc @@ -48,12 +48,10 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.ShowFailedMessage("Calia") +_00E_PlayerFunctions.GetSympathyControl().ShowFailedMessage("Calia") FailAllObjectives() ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_cqc05_00137084.psc b/source/scripts/qf_cqc05_00137084.psc index 49476336..33cefcfa 100644 --- a/source/scripts/qf_cqc05_00137084.psc +++ b/source/scripts/qf_cqc05_00137084.psc @@ -25,7 +25,7 @@ ReferenceAlias Property Alias_Player Auto ;BEGIN FRAGMENT Fragment_7 Function Fragment_7() ;BEGIN CODE -Levelsystem.ShowFailedMessage("Calia") +_00E_PlayerFunctions.GetSympathyControl().ShowFailedMessage("Calia") ;END CODE EndFunction ;END FRAGMENT @@ -104,5 +104,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_cqj02_0013c942.psc b/source/scripts/qf_cqj02_0013c942.psc index 97ea5b09..3dc986f7 100644 --- a/source/scripts/qf_cqj02_0013c942.psc +++ b/source/scripts/qf_cqj02_0013c942.psc @@ -62,7 +62,7 @@ Quest __temp = self as Quest _00E_CQJ02_Functions kmyQuest = __temp as _00E_CQJ02_Functions ;END AUTOCAST ;BEGIN CODE -Levelsystem.ShowFailedMessage() +_00E_PlayerFunctions.GetSympathyControl().ShowFailedMessage() kmyQuest.DespawnMessengerKid() ;END CODE EndFunction @@ -104,5 +104,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_cqj03_00141c09.psc b/source/scripts/qf_cqj03_00141c09.psc index 9c845d09..9192b52f 100644 --- a/source/scripts/qf_cqj03_00141c09.psc +++ b/source/scripts/qf_cqj03_00141c09.psc @@ -10,7 +10,7 @@ ReferenceAlias Property Alias_Jespar Auto ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.GiveEP(250) +_00E_EPHandler.GiveEP(250) SetObjectiveCompleted(5) ;END CODE EndFunction @@ -27,11 +27,9 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.ShowFailedMessage() +_00E_PlayerFunctions.GetSympathyControl().ShowFailedMessage() ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_cqj04_001344ed.psc b/source/scripts/qf_cqj04_001344ed.psc index 8c39937f..36b939ff 100644 --- a/source/scripts/qf_cqj04_001344ed.psc +++ b/source/scripts/qf_cqj04_001344ed.psc @@ -40,7 +40,7 @@ ReferenceAlias Property Alias_Jespar Auto ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -Levelsystem.ShowFailedMessage() +_00E_PlayerFunctions.GetSympathyControl().ShowFailedMessage() ;END CODE EndFunction ;END FRAGMENT @@ -106,5 +106,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_cqj05_00137085.psc b/source/scripts/qf_cqj05_00137085.psc index cf4f3b90..ba8a52f0 100644 --- a/source/scripts/qf_cqj05_00137085.psc +++ b/source/scripts/qf_cqj05_00137085.psc @@ -27,7 +27,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_8 Function Fragment_8() ;BEGIN CODE -Levelsystem.ShowFailedMessage() +_00E_PlayerFunctions.GetSympathyControl().ShowFailedMessage() ;END CODE EndFunction ;END FRAGMENT @@ -87,12 +87,10 @@ _00E_CQJ05_Functions kmyQuest = __temp as _00E_CQJ05_Functions ;END AUTOCAST ;BEGIN CODE Game.SetPlayerAiDriven(True) -_00E_QuestFUnctions.PlayerAiWalk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) kmyQuest.StartSC01() ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_environmentscene01_001296f6.psc b/source/scripts/qf_environmentscene01_001296f6.psc index 3bef972b..34239f7b 100644 --- a/source/scripts/qf_environmentscene01_001296f6.psc +++ b/source/scripts/qf_environmentscene01_001296f6.psc @@ -10,8 +10,8 @@ ReferenceAlias Property Alias_Betrunkener Auto ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -Levelsystem.ShowBrawlTutorial() -Levelsystem.Brawl(Betrunkener) +_00E_PlayerFunctions.GetBrawlControl().ShowBrawlTutorial() +_00E_PlayerFunctions.GetBrawlControl().Brawl(Betrunkener) ;END CODE EndFunction ;END FRAGMENT @@ -19,5 +19,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment actor Property Betrunkener Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_fs_nq04_00043e0b.psc b/source/scripts/qf_fs_nq04_00043e0b.psc index dc0db5ac..3e188448 100644 --- a/source/scripts/qf_fs_nq04_00043e0b.psc +++ b/source/scripts/qf_fs_nq04_00043e0b.psc @@ -27,12 +27,10 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.GiveEP(300) +_00E_EPHandler.GiveEP(300) SetObjectiveCompleted(10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_fs_nq11_0102e8d0.psc b/source/scripts/qf_fs_nq11_0102e8d0.psc index ac095e3c..747dc952 100644 --- a/source/scripts/qf_fs_nq11_0102e8d0.psc +++ b/source/scripts/qf_fs_nq11_0102e8d0.psc @@ -78,11 +78,9 @@ Quest __temp = self as Quest _00E_FS_NQ11_Functions kmyQuest = __temp as _00E_FS_NQ11_Functions ;END AUTOCAST ;BEGIN CODE -Levelsystem.GiveEP(150) +_00E_EPHandler.GiveEP(150) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_mq11c_asonginthesilence_0002ebaa.psc b/source/scripts/qf_mq11c_asonginthesilence_0002ebaa.psc index a15f22db..6e2e5d13 100644 --- a/source/scripts/qf_mq11c_asonginthesilence_0002ebaa.psc +++ b/source/scripts/qf_mq11c_asonginthesilence_0002ebaa.psc @@ -619,7 +619,7 @@ _00E_MQ11c_Functions kmyQuest = __temp as _00E_MQ11c_Functions ;END AUTOCAST ;BEGIN CODE kmyQuest.StartStealthMinigame() -Levelsystem.GiveEP(150) +_00E_EPHandler.GiveEP(150) ;END CODE EndFunction ;END FRAGMENT @@ -806,8 +806,6 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - Quest Property MQ10b Auto GlobalVariable Property _00E_TeleportGlobal Auto diff --git a/source/scripts/qf_mqp03_0007b1e5.psc b/source/scripts/qf_mqp03_0007b1e5.psc index b1604154..3ab843d8 100644 --- a/source/scripts/qf_mqp03_0007b1e5.psc +++ b/source/scripts/qf_mqp03_0007b1e5.psc @@ -116,7 +116,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_17 Function Fragment_17() ;BEGIN CODE -Levelsystem.GiveEP(150) +_00E_EPHandler.GiveEP(150) ;END CODE EndFunction ;END FRAGMENT @@ -146,5 +146,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_nq03_0006a2af.psc b/source/scripts/qf_nq03_0006a2af.psc index d047a762..be2ffc3c 100644 --- a/source/scripts/qf_nq03_0006a2af.psc +++ b/source/scripts/qf_nq03_0006a2af.psc @@ -17,7 +17,7 @@ Function Fragment_2() ;BEGIN CODE SetObjectivecompleted(20) CompleteAllObjectives() -Levelsystem.GiveEP(500) +_00E_EPHandler.GiveEP(500) ;END CODE EndFunction ;END FRAGMENT @@ -40,11 +40,9 @@ Function Fragment_1() ;BEGIN CODE SetObjectiveCompleted(15) CompleteAllObjectives() -Levelsystem.GiveEP(250) +_00E_EPHandler.GiveEP(250) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_Questfunctions Property Levelsystem Auto diff --git a/source/scripts/qf_nq10_elfride_000f7763.psc b/source/scripts/qf_nq10_elfride_000f7763.psc index a301d659..6dae0fa6 100644 --- a/source/scripts/qf_nq10_elfride_000f7763.psc +++ b/source/scripts/qf_nq10_elfride_000f7763.psc @@ -55,7 +55,7 @@ Quest __temp = self as Quest _00E_NQ10_Functions kmyQuest = __temp as _00E_NQ10_Functions ;END AUTOCAST ;BEGIN CODE -Levelsystem.GiveEP(315) +_00E_EPHandler.GiveEP(315) Game.GetPlayer().AddItem(_00E_WhisperweedIngredient, 10) SetObjectiveCompleted(10) kmyQuest.FinishQuest() @@ -68,5 +68,3 @@ EndFunction Scene Property NQ10_Elfride_Scene01 Auto Ingredient Property _00E_WhisperweedIngredient Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_nq12_0011a492.psc b/source/scripts/qf_nq12_0011a492.psc index 05fe6c5f..13fe4c1e 100644 --- a/source/scripts/qf_nq12_0011a492.psc +++ b/source/scripts/qf_nq12_0011a492.psc @@ -35,7 +35,7 @@ ReferenceAlias Property Alias_NQ12_Painting Auto ;BEGIN FRAGMENT Fragment_10 Function Fragment_10() ;BEGIN CODE -Levelsystem.GiveEP(400) +_00E_EPHandler.GiveEP(400) CompleteAllObjectives() Game.GetPlayer().AddItem(Gold001, 50) ;END CODE @@ -99,7 +99,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_9 Function Fragment_9() ;BEGIN CODE -Levelsystem.GiveEP(400) +_00E_EPHandler.GiveEP(400) CompleteAllObjectives() Game.GetPlayer().AddItem(Gold001, 110) ;END CODE @@ -145,5 +145,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment MiscObject Property Gold001 Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_nq15_00125367.psc b/source/scripts/qf_nq15_00125367.psc index 3b32e8cc..d0d0e992 100644 --- a/source/scripts/qf_nq15_00125367.psc +++ b/source/scripts/qf_nq15_00125367.psc @@ -186,7 +186,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_37 Function Fragment_37() ;BEGIN CODE -Levelsystem.GiveEP(440) +_00E_EPHandler.GiveEP(440) CompleteAllObjectives() ;END CODE EndFunction @@ -341,5 +341,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment Scene Property NQ15_SC0 Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_nq16_001278b4.psc b/source/scripts/qf_nq16_001278b4.psc index d1a83285..b05f5ea6 100644 --- a/source/scripts/qf_nq16_001278b4.psc +++ b/source/scripts/qf_nq16_001278b4.psc @@ -10,7 +10,7 @@ ReferenceAlias Property Alias_Brief Auto ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -Levelsystem.GiveEP(100) +_00E_EPHandler.GiveEP(100) SetObjectiveCompleted(10) ;END CODE EndFunction @@ -37,5 +37,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment ObjectReference Property NQ16Brief Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_nq17_00127b2e.psc b/source/scripts/qf_nq17_00127b2e.psc index adc402c4..32194ab2 100644 --- a/source/scripts/qf_nq17_00127b2e.psc +++ b/source/scripts/qf_nq17_00127b2e.psc @@ -72,7 +72,7 @@ EndFunction Function Fragment_17() ;BEGIN CODE SetObjectiveCompleted(50) -Levelsystem.GiveEP(1500) +_00E_EPHandler.GiveEP(1500) Game.GetPlayer().AddItem(Gold001, 390) ;END CODE EndFunction @@ -196,5 +196,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment MiscObject Property Gold001 Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_nq18_0012e193.psc b/source/scripts/qf_nq18_0012e193.psc index fc130cf7..b9803f9b 100644 --- a/source/scripts/qf_nq18_0012e193.psc +++ b/source/scripts/qf_nq18_0012e193.psc @@ -55,7 +55,7 @@ EndFunction Function Fragment_3() ;BEGIN CODE CompleteAllObjectives() -Levelsystem.GiveEP(1000) +_00E_EPHandler.GiveEP(1000) ;END CODE EndFunction ;END FRAGMENT @@ -64,6 +64,4 @@ EndFunction ObjectReference Property Schatulle Auto -_00E_QuestFunctions Property Levelsystem Auto - ObjectReference Property NQ18_MessageBox01REF Auto diff --git a/source/scripts/qf_nq19_0012e1fb.psc b/source/scripts/qf_nq19_0012e1fb.psc index 6579c8c3..e84c86be 100644 --- a/source/scripts/qf_nq19_0012e1fb.psc +++ b/source/scripts/qf_nq19_0012e1fb.psc @@ -40,7 +40,7 @@ ReferenceAlias Property Alias_Tiwon Auto ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.GiveEP(950) +_00E_EPHandler.GiveEP(950) ;END CODE EndFunction ;END FRAGMENT @@ -61,7 +61,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.GiveEP(800) +_00E_EPHandler.GiveEP(800) ;END CODE EndFunction ;END FRAGMENT @@ -78,5 +78,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_nq21_0014b7dc.psc b/source/scripts/qf_nq21_0014b7dc.psc index dbc2d125..7ce30d49 100644 --- a/source/scripts/qf_nq21_0014b7dc.psc +++ b/source/scripts/qf_nq21_0014b7dc.psc @@ -49,7 +49,7 @@ EndFunction Function Fragment_25() ;BEGIN CODE CompleteAllObjectives() -Levelsystem.GiveEP(1200) +_00E_EPHandler.GiveEP(1200) ;END CODE EndFunction ;END FRAGMENT @@ -88,7 +88,7 @@ Function Fragment_15() ;BEGIN CODE SetObjectiveFailed(30) SetObjectiveCompleted(35) -Levelsystem.GiveEP(1300) +_00E_EPHandler.GiveEP(1300) ;END CODE EndFunction ;END FRAGMENT @@ -96,7 +96,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_19 Function Fragment_19() ;BEGIN CODE -Levelsystem.Giveep(500) +_00E_EPHandler.GiveEP(500) ;END CODE EndFunction ;END FRAGMENT @@ -104,7 +104,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_23 Function Fragment_23() ;BEGIN CODE -Levelsystem.GiveEP(2100) +_00E_EPHandler.GiveEP(2100) CompleteAllObjectives() ;END CODE EndFunction @@ -113,7 +113,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_21 Function Fragment_21() ;BEGIN CODE -Levelsystem.GiveEP(1500) +_00E_EPHandler.GiveEP(1500) Alias_Kabar.GetReference().Disable() CompleteAllObjectives() ;END CODE @@ -162,5 +162,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment Scene Property NQ21_SC1 Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_nq25_0013f536.psc b/source/scripts/qf_nq25_0013f536.psc index 3ba1560b..9772c4b3 100644 --- a/source/scripts/qf_nq25_0013f536.psc +++ b/source/scripts/qf_nq25_0013f536.psc @@ -5,7 +5,7 @@ Scriptname QF_NQ25_0013F536 Extends Quest Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.GiveEP(3500) +_00E_EPHandler.GiveEP(3500) If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_BUTCHER_01") EndIf @@ -15,6 +15,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf_nq26_001469ed.psc b/source/scripts/qf_nq26_001469ed.psc index 86cdd7d1..5355ce4c 100644 --- a/source/scripts/qf_nq26_001469ed.psc +++ b/source/scripts/qf_nq26_001469ed.psc @@ -126,7 +126,7 @@ Quest __temp = self as Quest _00E_NQ26_Questfunctions kmyQuest = __temp as _00E_NQ26_Questfunctions ;END AUTOCAST ;BEGIN CODE -Levelsystem.GiveEP(3000) +_00E_EPHandler.GiveEP(3000) Game.GetPlayer().AddItem(_00E_NQ26YeraisSchlssel,1) CompleteAllObjectives() If _00E_AchievementsEnabled.GetValueInt() == 1 @@ -200,6 +200,4 @@ Scene Property NQ26_SC1 Auto Key Property _00E_NQ26YeraisSchlssel Auto -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/qf_nq31_0014bfeb.psc b/source/scripts/qf_nq31_0014bfeb.psc index a77432f8..1d370338 100644 --- a/source/scripts/qf_nq31_0014bfeb.psc +++ b/source/scripts/qf_nq31_0014bfeb.psc @@ -5,11 +5,9 @@ Scriptname QF_NQ31_0014BFEB Extends Quest Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.Giveep(500) +_00E_EPHandler.GiveEP(500) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/qf_nq_bounty01_000c3f71.psc b/source/scripts/qf_nq_bounty01_000c3f71.psc index e964f3d7..07d8677d 100644 --- a/source/scripts/qf_nq_bounty01_000c3f71.psc +++ b/source/scripts/qf_nq_bounty01_000c3f71.psc @@ -30,7 +30,7 @@ ReferenceAlias Property Alias_PaylasMapmarker Auto ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.GiveEP(200) +_00E_EPHandler.GiveEP(200) ;END CODE EndFunction ;END FRAGMENT @@ -38,7 +38,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -Levelsystem.GiveEP(250) +_00E_EPHandler.GiveEP(250) _00E_BountyCounter.SetValueInt(_00E_BountyCounter.GetValueInt()+1) If _00E_BountyCounter.GetValueInt() == 3 && _00E_AchievementsEnabled.GetValueInt() == 1 @@ -51,15 +51,13 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.GiveEP(150) +_00E_EPHandler.GiveEP(150) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - 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 925bdcd7..430dbae1 100644 --- a/source/scripts/qf_nq_bounty02_0011a491.psc +++ b/source/scripts/qf_nq_bounty02_0011a491.psc @@ -55,7 +55,7 @@ ReferenceAlias Property Alias_04PakPak Auto ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.GiveEP(300) +_00E_EPHandler.GiveEP(300) ;END CODE EndFunction ;END FRAGMENT @@ -63,7 +63,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_6 Function Fragment_6() ;BEGIN CODE -Levelsystem.GiveEP(600) +_00E_EPHandler.GiveEP(600) ;END CODE EndFunction ;END FRAGMENT @@ -71,7 +71,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -Levelsystem.Giveep(500) +_00E_EPHandler.GiveEP(500) ;END CODE EndFunction ;END FRAGMENT @@ -79,7 +79,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_9 Function Fragment_9() ;BEGIN CODE -Levelsystem.GiveEP(800) +_00E_EPHandler.GiveEP(800) ;END CODE EndFunction ;END FRAGMENT @@ -87,7 +87,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_11 Function Fragment_11() ;BEGIN CODE -Levelsystem.GiveEP(900) +_00E_EPHandler.GiveEP(900) ;END CODE EndFunction ;END FRAGMENT @@ -95,7 +95,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_13 Function Fragment_13() ;BEGIN CODE -Levelsystem.GiveEp(1300) +_00E_EPHandler.GiveEP(1300) _00E_BountyCounter.SetValueInt(_00E_BountyCounter.GetValueInt()+1) If _00E_BountyCounter.GetValueInt() == 3 && _00E_AchievementsEnabled.GetValueInt() == 1 @@ -108,7 +108,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.GiveEP(400) +_00E_EPHandler.GiveEP(400) ;END CODE EndFunction ;END FRAGMENT @@ -116,7 +116,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_8 Function Fragment_8() ;BEGIN CODE -Levelsystem.GiveEP(700) +_00E_EPHandler.GiveEP(700) ;END CODE EndFunction ;END FRAGMENT @@ -124,15 +124,13 @@ EndFunction ;BEGIN FRAGMENT Fragment_14 Function Fragment_14() ;BEGIN CODE -Levelsystem.GiveEp(1100) +_00E_EPHandler.GiveEP(1100) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - 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 71ae8b24..4b2575bc 100644 --- a/source/scripts/qf_nq_bounty03_0101c6a8.psc +++ b/source/scripts/qf_nq_bounty03_0101c6a8.psc @@ -25,7 +25,7 @@ ReferenceAlias Property Alias_Bounty_03_Myrad Auto ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.GiveEp(1300) +_00E_EPHandler.GiveEP(1300) _00E_BountyCounter.SetValueInt(_00E_BountyCounter.GetValueInt()+1) If _00E_BountyCounter.GetValueInt() == 3 && _00E_AchievementsEnabled.GetValueInt() == 1 @@ -38,7 +38,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.GiveEP(1000) +_00E_EPHandler.GiveEP(1000) ;END CODE EndFunction ;END FRAGMENT @@ -46,7 +46,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.GiveEP(700) +_00E_EPHandler.GiveEP(700) ;END CODE EndFunction ;END FRAGMENT @@ -56,5 +56,3 @@ EndFunction GlobalVariable Property _00E_BountyCounter Auto GlobalVariable Property _00E_AchievementsEnabled Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/resourceobjectscript.psc b/source/scripts/resourceobjectscript.psc index 87e0b5ad..fd298b61 100644 --- a/source/scripts/resourceobjectscript.psc +++ b/source/scripts/resourceobjectscript.psc @@ -172,7 +172,6 @@ Event OnAnimationEvent(ObjectReference akSource, string asEventName) sabotaged = True ; debug.trace(self + "Sabotage() calling WISabotageStart.SendStoryEvent([" + GetEditorLocation() +", [" + Self + "]])") - CWs.modObjectiveBySabotage(self) WISabotageStart.SendStoryEvent(GetEditorLocation(), Self) DamageObject(9999) ;the purpose of this is to set the destroyed flag in the destruction data so that guards no longer guard it, and civil war missions no longer fill with it in aliases. diff --git a/source/scripts/sf__00e_ark_nq01_theisleofko_00075802.psc b/source/scripts/sf__00e_ark_nq01_theisleofko_00075802.psc index d2ba16a7..a615e429 100644 --- a/source/scripts/sf__00e_ark_nq01_theisleofko_00075802.psc +++ b/source/scripts/sf__00e_ark_nq01_theisleofko_00075802.psc @@ -5,7 +5,7 @@ Scriptname SF__00E_Ark_NQ01_TheIsleOfKo_00075802 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -13,11 +13,11 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf__00e_genericdialogues_pri_0006ff3a.psc b/source/scripts/sf__00e_genericdialogues_pri_0006ff3a.psc index 21ad4488..e36eac56 100644 --- a/source/scripts/sf__00e_genericdialogues_pri_0006ff3a.psc +++ b/source/scripts/sf__00e_genericdialogues_pri_0006ff3a.psc @@ -15,7 +15,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -31,7 +31,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -43,4 +43,3 @@ ReferenceAlias Property PreachingMarker Auto ReferenceAlias Property Preaching_LookMarker Auto Idle Property IdleStop_Loose Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/sf_banditdialogue_nehrimesea_0013fb23.psc b/source/scripts/sf_banditdialogue_nehrimesea_0013fb23.psc index 4a408857..094b11bf 100644 --- a/source/scripts/sf_banditdialogue_nehrimesea_0013fb23.psc +++ b/source/scripts/sf_banditdialogue_nehrimesea_0013fb23.psc @@ -5,7 +5,7 @@ Scriptname SF_BanditDialogue_NehrimeseA_0013FB23 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -14,7 +14,7 @@ EndFunction Function Fragment_0() ;BEGIN CODE BanditDialogue.StartCombatFarm() -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -22,4 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_BanditDialogue_Functions Property BanditDialogue Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_barddialogue_thelastsunse_000ce2db.psc b/source/scripts/sf_barddialogue_thelastsunse_000ce2db.psc deleted file mode 100644 index a41d3604..00000000 --- a/source/scripts/sf_barddialogue_thelastsunse_000ce2db.psc +++ /dev/null @@ -1,31 +0,0 @@ -;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment -;NEXT FRAGMENT INDEX 7 -Scriptname SF_BardDialogue_TheLastSunse_000CE2DB Extends Scene Hidden - -;BEGIN FRAGMENT Fragment_0 -Function Fragment_0() -;BEGIN CODE -Debug.Messagebox("Everyone in position") -;END CODE -EndFunction -;END FRAGMENT - -;BEGIN FRAGMENT Fragment_2 -Function Fragment_2() -;BEGIN CODE -BardDialogue.SetLookAtBard() -;END CODE -EndFunction -;END FRAGMENT - -;BEGIN FRAGMENT Fragment_1 -Function Fragment_1(ReferenceAlias akAlias) -;BEGIN CODE -BardDialogue.FinishBardSong() -;END CODE -EndFunction -;END FRAGMENT - -;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_BardDialogueFunctions Property BardDialogue Auto diff --git a/source/scripts/sf_cqc02_sc01_caliatowerscen_0013e8bb.psc b/source/scripts/sf_cqc02_sc01_caliatowerscen_0013e8bb.psc index 3dd2f090..082a328d 100644 --- a/source/scripts/sf_cqc02_sc01_caliatowerscen_0013e8bb.psc +++ b/source/scripts/sf_cqc02_sc01_caliatowerscen_0013e8bb.psc @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -21,7 +21,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_6 Function Fragment_6() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -29,4 +29,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_CQC02_Functions Property CQC02 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_cqc05_sc02_caliaromance02_00140074.psc b/source/scripts/sf_cqc05_sc02_caliaromance02_00140074.psc index f416c783..5b2c21b0 100644 --- a/source/scripts/sf_cqc05_sc02_caliaromance02_00140074.psc +++ b/source/scripts/sf_cqc05_sc02_caliaromance02_00140074.psc @@ -21,7 +21,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() CQC05.ReEnableControlsIfNoRomance() ;END CODE EndFunction diff --git a/source/scripts/sf_cqc05_sc03_romance_001400b1.psc b/source/scripts/sf_cqc05_sc03_romance_001400b1.psc index ec186c38..f99cd507 100644 --- a/source/scripts/sf_cqc05_sc03_romance_001400b1.psc +++ b/source/scripts/sf_cqc05_sc03_romance_001400b1.psc @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_cqc06_sc01_caliagototaver_0014175b.psc b/source/scripts/sf_cqc06_sc01_caliagototaver_0014175b.psc index 634c3351..7d72a14f 100644 --- a/source/scripts/sf_cqc06_sc01_caliagototaver_0014175b.psc +++ b/source/scripts/sf_cqc06_sc01_caliagototaver_0014175b.psc @@ -7,7 +7,7 @@ Function Fragment_0() ;BEGIN CODE CQC06.EnableBand() CQC06.StartAnimationsFailsave() -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -16,7 +16,7 @@ EndFunction Function Fragment_3() ;BEGIN CODE CQC06.FadeOutAndPort() -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -32,7 +32,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -40,4 +40,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_CQC06_Functions Property CQC06 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_cqc06_sc02_room_001417b9.psc b/source/scripts/sf_cqc06_sc02_room_001417b9.psc index db50ec5c..aff2e879 100644 --- a/source/scripts/sf_cqc06_sc02_room_001417b9.psc +++ b/source/scripts/sf_cqc06_sc02_room_001417b9.psc @@ -15,7 +15,7 @@ Function Fragment_0() ;BEGIN CODE CQC06.FadeBack() CQC06.SetStage(25) -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -23,4 +23,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_CQC06_Functions Property CQC06 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_cqj04_sc01_jesparinredlan_0013cf2e.psc b/source/scripts/sf_cqj04_sc01_jesparinredlan_0013cf2e.psc index ecb4762d..5f60ceea 100644 --- a/source/scripts/sf_cqj04_sc01_jesparinredlan_0013cf2e.psc +++ b/source/scripts/sf_cqj04_sc01_jesparinredlan_0013cf2e.psc @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -29,7 +29,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -37,4 +37,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_CQJ04_Functions Property CQJ04 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_cqj05_sc01_wakeupsc_0013fa96.psc b/source/scripts/sf_cqj05_sc01_wakeupsc_0013fa96.psc index c7448d49..80384031 100644 --- a/source/scripts/sf_cqj05_sc01_wakeupsc_0013fa96.psc +++ b/source/scripts/sf_cqj05_sc01_wakeupsc_0013fa96.psc @@ -5,7 +5,7 @@ Scriptname SF_CQJ05_SC01_WakeUpSC_0013FA96 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_8 Function Fragment_8() ;BEGIN CODE -;_00E_QuestFunctions.PlayerAiWalkStop() +;_00E_Func_AIWalk.PlayerAIWalkStop() CQJ05.GetIntoPosition() ;END CODE EndFunction diff --git a/source/scripts/sf_cqj06_sc01_jespartavernsc_00141803.psc b/source/scripts/sf_cqj06_sc01_jespartavernsc_00141803.psc index 65125f8c..741d556d 100644 --- a/source/scripts/sf_cqj06_sc01_jespartavernsc_00141803.psc +++ b/source/scripts/sf_cqj06_sc01_jespartavernsc_00141803.psc @@ -29,7 +29,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -37,7 +37,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_10 Function Fragment_10() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -61,4 +61,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_CQJ06_Functions Property CQJ06 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_fs_cqt01_sc01_tharaelmemo_0200f75c.psc b/source/scripts/sf_fs_cqt01_sc01_tharaelmemo_0200f75c.psc index 593ab765..41c1c52b 100644 --- a/source/scripts/sf_fs_cqt01_sc01_tharaelmemo_0200f75c.psc +++ b/source/scripts/sf_fs_cqt01_sc01_tharaelmemo_0200f75c.psc @@ -37,7 +37,8 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -FS_CQT01.MoveTharaelFailsave() +;Non-existing function +;FS_CQT01.MoveTharaelFailsave() ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_fs_environmentscene02_sce_0202e311.psc b/source/scripts/sf_fs_environmentscene02_sce_0202e311.psc index 3a174de1..78da3506 100644 --- a/source/scripts/sf_fs_environmentscene02_sce_0202e311.psc +++ b/source/scripts/sf_fs_environmentscene02_sce_0202e311.psc @@ -5,7 +5,7 @@ Scriptname SF_FS_EnvironmentScene02_Sce_0202E311 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -14,11 +14,11 @@ EndFunction Function Fragment_0() ;BEGIN CODE GetOwningQuest().SetStage(10) -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_fs_nqr05_sc17_afterbossfi_01029a2d.psc b/source/scripts/sf_fs_nqr05_sc17_afterbossfi_01029a2d.psc index fb0ad1d9..8f11a22b 100644 --- a/source/scripts/sf_fs_nqr05_sc17_afterbossfi_01029a2d.psc +++ b/source/scripts/sf_fs_nqr05_sc17_afterbossfi_01029a2d.psc @@ -29,7 +29,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_28 Function Fragment_28() ;BEGIN CODE -;_00E_QuestFunctions.PlayerAiWalk(true) +;_00E_Func_AIWalk.PlayerAIWalk(true) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_fs_nqr05_sc19_fatherstory_0102a070.psc b/source/scripts/sf_fs_nqr05_sc19_fatherstory_0102a070.psc index 7fbb460a..c737dfbc 100644 --- a/source/scripts/sf_fs_nqr05_sc19_fatherstory_0102a070.psc +++ b/source/scripts/sf_fs_nqr05_sc19_fatherstory_0102a070.psc @@ -5,7 +5,7 @@ Scriptname SF_FS_NQR05_SC19_FatherStory_0102A070 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_27 Function Fragment_27() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalk(true) +_00E_Func_AIWalk.PlayerAIWalk(true) ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_25 Function Fragment_25() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() Game.DisablePlayerControls() ;END CODE EndFunction @@ -38,7 +38,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_26 Function Fragment_26() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_fs_nqr05_sc21_tharaelatch_0102b45f.psc b/source/scripts/sf_fs_nqr05_sc21_tharaelatch_0102b45f.psc index 4fd07123..ac0eb55f 100644 --- a/source/scripts/sf_fs_nqr05_sc21_tharaelatch_0102b45f.psc +++ b/source/scripts/sf_fs_nqr05_sc21_tharaelatch_0102b45f.psc @@ -29,7 +29,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_20 Function Fragment_20() ;BEGIN CODE -_00E_Questfunctions.PlayerAIWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() ;END CODE EndFunction ;END FRAGMENT @@ -37,7 +37,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_18 Function Fragment_18() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_lisharidialogue_sc01_lish_0013eb83.psc b/source/scripts/sf_lisharidialogue_sc01_lish_0013eb83.psc index 921177c7..1355d6c2 100644 --- a/source/scripts/sf_lisharidialogue_sc01_lish_0013eb83.psc +++ b/source/scripts/sf_lisharidialogue_sc01_lish_0013eb83.psc @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() LishariDialogue.FadeBack() ;END CODE EndFunction @@ -22,7 +22,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -_00E_QuestFunctions.PlayerAIWalk() +_00E_Func_AIWalk.PlayerAIWalk() ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq02_sc4_jesparpanoramasc_000c6639.psc b/source/scripts/sf_mq02_sc4_jesparpanoramasc_000c6639.psc index 1a7ab22b..9e1ec5d3 100644 --- a/source/scripts/sf_mq02_sc4_jesparpanoramasc_000c6639.psc +++ b/source/scripts/sf_mq02_sc4_jesparpanoramasc_000c6639.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ02_SC4_JesparPanoramaSc_000C6639 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -_00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_JesparREF, false) +_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, false) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq02_sc6_alfriedtraveltob_00133cd3.psc b/source/scripts/sf_mq02_sc6_alfriedtraveltob_00133cd3.psc index c68b9a27..9dda5e4a 100644 --- a/source/scripts/sf_mq02_sc6_alfriedtraveltob_00133cd3.psc +++ b/source/scripts/sf_mq02_sc6_alfriedtraveltob_00133cd3.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ02_SC6_AlfriedTravelToB_00133CD3 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Phase 1 ended.") +_00E_Debug.PrintMessage("Phase 1 ended.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq03_sc3_playermeetskonst_000cc957.psc b/source/scripts/sf_mq03_sc3_playermeetskonst_000cc957.psc index 7e129256..aae2f3c4 100644 --- a/source/scripts/sf_mq03_sc3_playermeetskonst_000cc957.psc +++ b/source/scripts/sf_mq03_sc3_playermeetskonst_000cc957.psc @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_8 Function Fragment_8() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -21,7 +21,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_7 Function Fragment_7() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -36,4 +36,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file +GlobalVariable Property AllowIdleChatter Auto \ No newline at end of file diff --git a/source/scripts/sf_mq04_sc3_deadbodycomment_000a2a36.psc b/source/scripts/sf_mq04_sc3_deadbodycomment_000a2a36.psc index 4e7480ab..e1c610fb 100644 --- a/source/scripts/sf_mq04_sc3_deadbodycomment_000a2a36.psc +++ b/source/scripts/sf_mq04_sc3_deadbodycomment_000a2a36.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ04_SC3_DeadBodyComment_000A2A36 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ04_SC3_DeadBodyComment has ended.") +_00E_Debug.PrintMessage("MQ04_SC3_DeadBodyComment has ended.") ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ04_SC3_DeadBodyComment is playing!") +_00E_Debug.PrintMessage("MQ04_SC3_DeadBodyComment is playing!") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq05_sc1_jorrekintroduces_01008a47.psc b/source/scripts/sf_mq05_sc1_jorrekintroduces_01008a47.psc deleted file mode 100644 index d101d05c..00000000 --- a/source/scripts/sf_mq05_sc1_jorrekintroduces_01008a47.psc +++ /dev/null @@ -1,11 +0,0 @@ -;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment -;NEXT FRAGMENT INDEX 7 -Scriptname SF_MQ05_SC1_JorrekIntroduces_01008A47 Extends Scene Hidden - -;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_BasicQuestFunctio Property BQF Auto - -_00E_QuestFunctions Property QuestFunctions Auto - -_00E_QuestFunctions Property QuestFunctions Auto diff --git a/source/scripts/sf_mq05_sc9_discussionandrit_00098543.psc b/source/scripts/sf_mq05_sc9_discussionandrit_00098543.psc index 0fd4e15d..8382064f 100644 --- a/source/scripts/sf_mq05_sc9_discussionandrit_00098543.psc +++ b/source/scripts/sf_mq05_sc9_discussionandrit_00098543.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ05_SC9_DiscussionAndRit_00098543 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -MQ05.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -20,5 +20,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_MQ05_Functions Property MQ05 Auto diff --git a/source/scripts/sf_mq05prologue_sc1_000ce2da.psc b/source/scripts/sf_mq05prologue_sc1_000ce2da.psc index 3219b9c0..b652e15a 100644 --- a/source/scripts/sf_mq05prologue_sc1_000ce2da.psc +++ b/source/scripts/sf_mq05prologue_sc1_000ce2da.psc @@ -5,11 +5,11 @@ Scriptname SF_MQ05Prologue_SC1_000CE2DA Extends Scene Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file +GlobalVariable Property AllowIdleChatter Auto \ No newline at end of file diff --git a/source/scripts/sf_mq06_sc1_playerencounters_000d24b7.psc b/source/scripts/sf_mq06_sc1_playerencounters_000d24b7.psc index e8ad3891..fe0e03d8 100644 --- a/source/scripts/sf_mq06_sc1_playerencounters_000d24b7.psc +++ b/source/scripts/sf_mq06_sc1_playerencounters_000d24b7.psc @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_37 Function Fragment_37() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -77,4 +77,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ06_Functions Property MQ06 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq06_sc2_playerwakesupdup_000d8e9e.psc b/source/scripts/sf_mq06_sc2_playerwakesupdup_000d8e9e.psc index 295df2e7..13f83361 100644 --- a/source/scripts/sf_mq06_sc2_playerwakesupdup_000d8e9e.psc +++ b/source/scripts/sf_mq06_sc2_playerwakesupdup_000d8e9e.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ06_SC2_PlayerWakesUpDUP_000D8E9E Extends Scene Hidden ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalk(true) +_00E_Func_AIWalk.PlayerAIWalk(true) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq06_sc4_tealorscene_000fe1fc.psc b/source/scripts/sf_mq06_sc4_tealorscene_000fe1fc.psc index ae426963..d67a1637 100644 --- a/source/scripts/sf_mq06_sc4_tealorscene_000fe1fc.psc +++ b/source/scripts/sf_mq06_sc4_tealorscene_000fe1fc.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ06_SC4_TealorScene_000FE1FC Extends Scene Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -13,11 +13,11 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc b/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc index cb189690..39f33ab7 100644 --- a/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc +++ b/source/scripts/sf_mq06_sc5_ritualscene_000fe207.psc @@ -22,7 +22,7 @@ EndFunction Function Fragment_7() ;BEGIN CODE MQ06.StartSilence() -_00E_QuestFunctions.PlayerAIWalk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) Game.ForceThirdPerson() ;END CODE EndFunction @@ -55,7 +55,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_9 Function Fragment_9() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq07a_sc12_jesparfinaldia_0010a751.psc b/source/scripts/sf_mq07a_sc12_jesparfinaldia_0010a751.psc index dabe4fda..a27e73ca 100644 --- a/source/scripts/sf_mq07a_sc12_jesparfinaldia_0010a751.psc +++ b/source/scripts/sf_mq07a_sc12_jesparfinaldia_0010a751.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ07A_SC12_JesparFinalDia_0010A751 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_10 Function Fragment_10() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) If GetOwningQuest().GetStage() == 187 Utility.Wait(3.0) ; Wait a bit for the player to end teleporting Else @@ -30,7 +30,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_8 Function Fragment_8() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -54,5 +54,5 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ07a_Functions Property MQ07A Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor Property PlayerREF Auto diff --git a/source/scripts/sf_mq07a_sc14_sigilstoneacti_0010a76f.psc b/source/scripts/sf_mq07a_sc14_sigilstoneacti_0010a76f.psc index 59ba7d28..96a79692 100644 --- a/source/scripts/sf_mq07a_sc14_sigilstoneacti_0010a76f.psc +++ b/source/scripts/sf_mq07a_sc14_sigilstoneacti_0010a76f.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ07A_SC14_SigilstoneActi_0010A76F Extends Scene Hidden ;BEGIN FRAGMENT Fragment_14 Function Fragment_14() ;BEGIN CODE -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -14,7 +14,7 @@ EndFunction Function Fragment_5() ;BEGIN CODE GetOwningQuest().SetStage(215) -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() MQ07A.EndSC14() ;END CODE EndFunction @@ -23,7 +23,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_10 Function Fragment_10() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -47,7 +47,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_9 Function Fragment_9() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -63,4 +63,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ07a_Functions Property MQ07A Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq07a_sc1_explanationinch_001065b8.psc b/source/scripts/sf_mq07a_sc1_explanationinch_001065b8.psc index 1eecc6cc..0155cb27 100644 --- a/source/scripts/sf_mq07a_sc1_explanationinch_001065b8.psc +++ b/source/scripts/sf_mq07a_sc1_explanationinch_001065b8.psc @@ -21,7 +21,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_13 Function Fragment_13() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -53,7 +53,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_14 Function Fragment_14() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -61,4 +61,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ07a_Functions Property MQ07A Auto -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file +GlobalVariable Property AllowIdleChatter Auto \ No newline at end of file diff --git a/source/scripts/sf_mq07a_sc7_kitchenscene_001067e3.psc b/source/scripts/sf_mq07a_sc7_kitchenscene_001067e3.psc index 8fcc454a..0cd21171 100644 --- a/source/scripts/sf_mq07a_sc7_kitchenscene_001067e3.psc +++ b/source/scripts/sf_mq07a_sc7_kitchenscene_001067e3.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ07A_SC7_KitchenScene_001067E3 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -13,11 +13,9 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/sf_mq07b_deusexmachina_scene_000a9aba.psc b/source/scripts/sf_mq07b_deusexmachina_scene_000a9aba.psc index 24827a5e..2a1a2e40 100644 --- a/source/scripts/sf_mq07b_deusexmachina_scene_000a9aba.psc +++ b/source/scripts/sf_mq07b_deusexmachina_scene_000a9aba.psc @@ -31,7 +31,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_36 Function Fragment_36() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) ;END CODE EndFunction ;END FRAGMENT @@ -55,7 +55,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_37 Function Fragment_37() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq07b_s7_abgabe_00102dec.psc b/source/scripts/sf_mq07b_s7_abgabe_00102dec.psc index 160f0db0..74eb6cf8 100644 --- a/source/scripts/sf_mq07b_s7_abgabe_00102dec.psc +++ b/source/scripts/sf_mq07b_s7_abgabe_00102dec.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ07b_S7_Abgabe_00102DEC Extends Scene Hidden ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) _00E_SilenceLongTransitionHighPriority.Add() ;END CODE EndFunction @@ -14,7 +14,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) _00E_SilenceLongTransitionHighPriority.Remove() ;END CODE EndFunction @@ -22,5 +22,5 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto MusicType Property _00E_SilenceLongTransitionHighPriority Auto diff --git a/source/scripts/sf_mq08_intothedeep_gototrai_000e1a26.psc b/source/scripts/sf_mq08_intothedeep_gototrai_000e1a26.psc index d3cbcd75..868a83cb 100644 --- a/source/scripts/sf_mq08_intothedeep_gototrai_000e1a26.psc +++ b/source/scripts/sf_mq08_intothedeep_gototrai_000e1a26.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ08_IntoTheDeep_GoToTrai_000E1A26 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ08_IntoTheDeep_GoToTrain2 has ended.") +_00E_Debug.PrintMessage("MQ08_IntoTheDeep_GoToTrain2 has ended.") ;END CODE EndFunction ;END FRAGMENT @@ -14,7 +14,7 @@ EndFunction Function Fragment_2() ;BEGIN CODE ;Debug.MessageBox("MQ08_IntoTheDeep_GoToTrain2 WTF?") -_00E_QuestFunctions.PDB("MQ08_IntoTheDeep_GoToTrain2 is playing.") +_00E_Debug.PrintMessage("MQ08_IntoTheDeep_GoToTrain2 is playing.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq08_intothedeep_gototrai_000ea944.psc b/source/scripts/sf_mq08_intothedeep_gototrai_000ea944.psc index 8023be1b..45b3fdf5 100644 --- a/source/scripts/sf_mq08_intothedeep_gototrai_000ea944.psc +++ b/source/scripts/sf_mq08_intothedeep_gototrai_000ea944.psc @@ -29,7 +29,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_11 Function Fragment_11() ;BEGIN CODE -_00E_QuestFunctions.PlayerAIWalk() +_00E_Func_AIWalk.PlayerAIWalk() ;END CODE EndFunction ;END FRAGMENT @@ -38,7 +38,7 @@ EndFunction Function Fragment_10() ;BEGIN CODE MQ09a.FadeBack() -_00E_QuestFunctions.PlayerAIWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq08_intothedeep_scenetem_000c673e.psc b/source/scripts/sf_mq08_intothedeep_scenetem_000c673e.psc index 8428c088..861ffa9e 100644 --- a/source/scripts/sf_mq08_intothedeep_scenetem_000c673e.psc +++ b/source/scripts/sf_mq08_intothedeep_scenetem_000c673e.psc @@ -15,8 +15,8 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -_00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_JesparREF, True, 450, 500, 100) -_00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_KonstantinREF, True, 400, 100, 540) +_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, True, 450, 500, 100) +_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_KonstantinREF, True, 400, 100, 540) ; Set Konstantin to help allies _00E_MC_KonstantinREF.AddToFaction(PlayerAlliesFaction) fOldKonstantinAssistance = _00E_MC_KonstantinREF.GetActorValue("Assistance") @@ -29,7 +29,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_18 Function Fragment_18() ;BEGIN CODE -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() _00E_MC_KonstantinREF.RemoveFromFaction(PlayerAlliesFaction) If fOldKonstantinAssistance >= 0.0 _00E_MC_KonstantinREF.SetActorValue("Assistance", fOldKonstantinAssistance) @@ -41,7 +41,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_12 Function Fragment_12() ;BEGIN CODE -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -75,9 +75,9 @@ EndFunction ;BEGIN FRAGMENT Fragment_6 Function Fragment_6() ;BEGIN CODE -_00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_JesparREF, false) -_00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_KonstantinREF, False) -Levelsystem.StopRandomHeadTracking() +_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, false) +_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_KonstantinREF, False) +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -85,7 +85,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_14 Function Fragment_14() ;BEGIN CODE -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -104,7 +104,6 @@ Actor Property _00E_MC_JesparREF Auto Actor Property _00E_MC_KonstantinREF Auto -_00E_QuestFunctions Property Levelsystem Auto Idle Property IdleStop_Loose Auto Faction Property PlayerAlliesFaction Auto Float fOldKonstantinAssistance = -1.0 diff --git a/source/scripts/sf_mq08_intothedeep_scenetem_000d0eaa.psc b/source/scripts/sf_mq08_intothedeep_scenetem_000d0eaa.psc index 00a0342b..fad1bc16 100644 --- a/source/scripts/sf_mq08_intothedeep_scenetem_000d0eaa.psc +++ b/source/scripts/sf_mq08_intothedeep_scenetem_000d0eaa.psc @@ -7,7 +7,7 @@ Function Fragment_29() ;BEGIN CODE _00E_MQ08_Questfunctions MQ08 = GetOwningQuest() as _00E_MQ08_Questfunctions MQ08.RemoveCombatMusic() -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -25,7 +25,7 @@ EndFunction Function Fragment_13() ;BEGIN CODE MQ09a.KonstantinStartCombat() -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -33,7 +33,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_40 Function Fragment_40() ;BEGIN CODE -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -76,7 +76,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_41 Function Fragment_41() ;BEGIN CODE -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -92,6 +92,3 @@ ObjectReference Property MQ08TempleInsideKonstantinPortmarker Auto ObjectReference Property _00E_MC_KonstantinREF Auto _00E_MQ08_Questfunctions Property MQ09a Auto - -_00E_QuestFunctions Property Levelsystem Auto - diff --git a/source/scripts/sf_mq08prologue_sc1_discussi_0010d1a1.psc b/source/scripts/sf_mq08prologue_sc1_discussi_0010d1a1.psc index 8beff947..7b3b07f7 100644 --- a/source/scripts/sf_mq08prologue_sc1_discussi_0010d1a1.psc +++ b/source/scripts/sf_mq08prologue_sc1_discussi_0010d1a1.psc @@ -22,7 +22,7 @@ EndFunction Function Fragment_0() ;BEGIN CODE GetOwningQuest().SetStage(45) -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -47,7 +47,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_9 Function Fragment_9() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -58,12 +58,12 @@ Function Fragment_3() _00E_MQ08aPrologue_Functions MQ08a = GetOwningQuest() as _00E_MQ08aPrologue_Functions MQ08a.CheckForCompanionQuests() MQ08a.AddSilence() -Levelsystem.SetAllowIdleChatter(False) -Levelsystem.StopRandomHeadTracking() +AllowIdleChatter.SetValue(0) +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq09_d1_sceneisle_000ea957.psc b/source/scripts/sf_mq09_d1_sceneisle_000ea957.psc index 83705ab6..f8d058be 100644 --- a/source/scripts/sf_mq09_d1_sceneisle_000ea957.psc +++ b/source/scripts/sf_mq09_d1_sceneisle_000ea957.psc @@ -7,7 +7,7 @@ Function Fragment_12() ;BEGIN CODE _00E_MQ09_QuestFunctions MQ09NG = GetOwningQuest() as _00E_MQ09_QuestFunctions MQ09NG.PlayerStandUp() -_00E_QuestFunctions.UnsummonApparitionIfExists() +_FS_Phasmalist_ControlQuest.UnsummonApparitionIfExists() ;END CODE EndFunction ;END FRAGMENT @@ -16,7 +16,7 @@ EndFunction Function Fragment_11() ;BEGIN CODE MQ09.RemoveSilences() -_00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_JesparREF, True, 550, 500, 100) +_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, True, 550, 500, 100) ;END CODE EndFunction ;END FRAGMENT @@ -41,7 +41,7 @@ EndFunction Function Fragment_2() ;BEGIN CODE GetOwningQuest().SetStage(20) -_00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_JesparREF, False) +_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, False) ;END CODE EndFunction ;END FRAGMENT @@ -49,8 +49,8 @@ EndFunction ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalkStop() -_00E_QuestFunctions.UnsummonApparitionIfExists() +_00E_Func_AIWalk.PlayerAIWalkStop() +_FS_Phasmalist_ControlQuest.UnsummonApparitionIfExists() ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq09_d3_hohescene_000eaa5f.psc b/source/scripts/sf_mq09_d3_hohescene_000eaa5f.psc index 05864998..28dc4db6 100644 --- a/source/scripts/sf_mq09_d3_hohescene_000eaa5f.psc +++ b/source/scripts/sf_mq09_d3_hohescene_000eaa5f.psc @@ -22,7 +22,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_13 Function Fragment_13() ;BEGIN CODE -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -30,7 +30,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() GetOwningQuest().SetStage(45) ;END CODE EndFunction @@ -39,5 +39,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ09_QuestFunctions Property MQ09 Auto -_00E_QuestFunctions Property Levelsystem Auto ObjectReference Property NearbyPhasmalistSoulSound Auto diff --git a/source/scripts/sf_mq09_d4_taranorscene_000eac86.psc b/source/scripts/sf_mq09_d4_taranorscene_000eac86.psc index b7e574f3..361be770 100644 --- a/source/scripts/sf_mq09_d4_taranorscene_000eac86.psc +++ b/source/scripts/sf_mq09_d4_taranorscene_000eac86.psc @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() Game.DisablePlayerControls(true, true, true, false, true, true, true) GetOwningQuest().SetStage(49) ;END CODE diff --git a/source/scripts/sf_mq09_d5_repeatforcegreets_000eac9a.psc b/source/scripts/sf_mq09_d5_repeatforcegreets_000eac9a.psc index c91dd07d..0a1008e8 100644 --- a/source/scripts/sf_mq09_d5_repeatforcegreets_000eac9a.psc +++ b/source/scripts/sf_mq09_d5_repeatforcegreets_000eac9a.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ09_D5_RepeatForceGreetS_000EAC9A Extends Scene Hidden ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ09_D5_RepeatForceGreetScene has ended.") +_00E_Debug.PrintMessage("MQ09_D5_RepeatForceGreetScene has ended.") ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ09_D5_RepeatForceGreetScene is playing!") +_00E_Debug.PrintMessage("MQ09_D5_RepeatForceGreetScene is playing!") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq09_d6_scene_000eac9d.psc b/source/scripts/sf_mq09_d6_scene_000eac9d.psc index 42d05725..4999b109 100644 --- a/source/scripts/sf_mq09_d6_scene_000eac9d.psc +++ b/source/scripts/sf_mq09_d6_scene_000eac9d.psc @@ -46,7 +46,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_26 Function Fragment_26() ;BEGIN CODE -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -86,7 +86,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_24 Function Fragment_24() ;BEGIN CODE -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -103,4 +103,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ09_QuestFunctions Property MQ09 Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/sf_mq10a_sc1_dreamsequencepa_0011846c.psc b/source/scripts/sf_mq10a_sc1_dreamsequencepa_0011846c.psc index 10ae8d69..478f99b3 100644 --- a/source/scripts/sf_mq10a_sc1_dreamsequencepa_0011846c.psc +++ b/source/scripts/sf_mq10a_sc1_dreamsequencepa_0011846c.psc @@ -23,7 +23,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_29 Function Fragment_29() ;BEGIN CODE -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -31,7 +31,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_26 Function Fragment_26() ;BEGIN CODE -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() MQ10a.AddSilence() ;END CODE EndFunction @@ -40,7 +40,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) ;END CODE EndFunction ;END FRAGMENT @@ -73,4 +73,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ10a_Functions Property MQ10a Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/sf_mq10b_sc2_temple_001080c3.psc b/source/scripts/sf_mq10b_sc2_temple_001080c3.psc index cb4c086b..24e33346 100644 --- a/source/scripts/sf_mq10b_sc2_temple_001080c3.psc +++ b/source/scripts/sf_mq10b_sc2_temple_001080c3.psc @@ -7,7 +7,7 @@ Function Fragment_9() ;BEGIN CODE _00E_MQ10b_Questfunctions MQ10b = GetOwningQuest() as _00E_MQ10b_Questfunctions MQ10b.AddSilence() -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -33,7 +33,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -45,7 +45,7 @@ GetOwningQuest().SetStage(55) GetOwningQuest().SetObjectiveDisplayed(37) _00E_MQ10b_Questfunctions MQ10b = GetOwningQuest() as _00E_MQ10b_Questfunctions MQ10b.LockDoors() -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -53,7 +53,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -61,7 +61,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_30 Function Fragment_30() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -84,4 +84,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq10b_sc3_lisharidead_0010bbbb.psc b/source/scripts/sf_mq10b_sc3_lisharidead_0010bbbb.psc index 705a6140..e9a231c0 100644 --- a/source/scripts/sf_mq10b_sc3_lisharidead_0010bbbb.psc +++ b/source/scripts/sf_mq10b_sc3_lisharidead_0010bbbb.psc @@ -21,7 +21,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -38,12 +38,12 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto ReferenceAlias Property Alias_Yuslan Auto diff --git a/source/scripts/sf_mq10b_sc4_tealor_0010bbba.psc b/source/scripts/sf_mq10b_sc4_tealor_0010bbba.psc index 05976a1d..09cd320c 100644 --- a/source/scripts/sf_mq10b_sc4_tealor_0010bbba.psc +++ b/source/scripts/sf_mq10b_sc4_tealor_0010bbba.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ10b_SC4_Tealor_0010BBBA Extends Scene Hidden ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -13,8 +13,8 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) -Levelsystem.RemoveSilence() ; Failsafe +AllowIdleChatter.SetValue(1) +_00E_PlayerFunctions.GetSoundControl().RemoveSilence() ; Failsafe ;END CODE EndFunction ;END FRAGMENT @@ -37,4 +37,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq11a_sc14_lefttowervisio_000ea818.psc b/source/scripts/sf_mq11a_sc14_lefttowervisio_000ea818.psc index 99c2c233..21e5bb7a 100644 --- a/source/scripts/sf_mq11a_sc14_lefttowervisio_000ea818.psc +++ b/source/scripts/sf_mq11a_sc14_lefttowervisio_000ea818.psc @@ -14,7 +14,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_10 Function Fragment_10() ;BEGIN CODE -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -30,4 +30,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ11a_Functions Property MQ11a Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/sf_mq11a_sc26_lastconversati_000eaeb3.psc b/source/scripts/sf_mq11a_sc26_lastconversati_000eaeb3.psc index 0e0d559b..bff510b5 100644 --- a/source/scripts/sf_mq11a_sc26_lastconversati_000eaeb3.psc +++ b/source/scripts/sf_mq11a_sc26_lastconversati_000eaeb3.psc @@ -21,7 +21,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -29,7 +29,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_6 Function Fragment_6() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -37,4 +37,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ11a_Functions Property MQ11a Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq11a_sc2_caliafrostcliff_000dd756.psc b/source/scripts/sf_mq11a_sc2_caliafrostcliff_000dd756.psc index 77bc9f73..c0c241b6 100644 --- a/source/scripts/sf_mq11a_sc2_caliafrostcliff_000dd756.psc +++ b/source/scripts/sf_mq11a_sc2_caliafrostcliff_000dd756.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ11a_SC2_CaliaFrostcliff_000DD756 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) MQ11a.MoveGuestsFailsave() ;END CODE EndFunction @@ -29,5 +29,5 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto _00E_MQ11a_Functions Property MQ11a Auto diff --git a/source/scripts/sf_mq11b_sc03_interrupt_00145912.psc b/source/scripts/sf_mq11b_sc03_interrupt_00145912.psc index 0fcb9601..6cb5987e 100644 --- a/source/scripts/sf_mq11b_sc03_interrupt_00145912.psc +++ b/source/scripts/sf_mq11b_sc03_interrupt_00145912.psc @@ -6,7 +6,7 @@ Scriptname SF_MQ11b_SC03_Interrupt_00145912 Extends Scene Hidden Function Fragment_8() ;BEGIN CODE StopTryingEnableBarrier() -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -60,7 +60,6 @@ Function StopTryingEnableBarrier() EndFunction _00E_MQ11b_Questfunctions Property MQ11b Auto -_00E_QuestFunctions Property Levelsystem Auto ReferenceAlias Property Alias_Jespar Auto ReferenceAlias Property Alias_Adila Auto ReferenceAlias Property Alias_SC02_CaptiveMarker Auto diff --git a/source/scripts/sf_mq11b_sc2_00117933.psc b/source/scripts/sf_mq11b_sc2_00117933.psc index a9c09125..cdea7cec 100644 --- a/source/scripts/sf_mq11b_sc2_00117933.psc +++ b/source/scripts/sf_mq11b_sc2_00117933.psc @@ -21,7 +21,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_18 Function Fragment_18() ;BEGIN CODE -Levelsystem.StopRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).StopRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -53,7 +53,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_19 Function Fragment_19() ;BEGIN CODE -Levelsystem.ResumeRandomHeadTracking() +(Game.GetPlayer() as _00E_PlayerFunctions).ResumeRandomHeadTracking() ;END CODE EndFunction ;END FRAGMENT @@ -69,4 +69,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ11b_Questfunctions Property MQ11b Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/sf_mq12a_sc1_insert1ststone_0011b08a.psc b/source/scripts/sf_mq12a_sc1_insert1ststone_0011b08a.psc index 986c086a..ceaff29b 100644 --- a/source/scripts/sf_mq12a_sc1_insert1ststone_0011b08a.psc +++ b/source/scripts/sf_mq12a_sc1_insert1ststone_0011b08a.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ12a_SC1_Insert1stStone_0011B08A Extends Scene Hidden ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -21,7 +21,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -37,4 +37,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ12a_Functions Property MQ12a Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq12a_sc2_insert2ndstone_0011b08b.psc b/source/scripts/sf_mq12a_sc2_insert2ndstone_0011b08b.psc index 644589c0..0d31f6e5 100644 --- a/source/scripts/sf_mq12a_sc2_insert2ndstone_0011b08b.psc +++ b/source/scripts/sf_mq12a_sc2_insert2ndstone_0011b08b.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ12a_SC2_Insert2ndStone_0011B08B Extends Scene Hidden ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -21,7 +21,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -37,4 +37,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ12a_Functions Property MQ12a Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq12a_sc3_insert3rdstone_0011b08c.psc b/source/scripts/sf_mq12a_sc3_insert3rdstone_0011b08c.psc index 0ef91cd1..a889659f 100644 --- a/source/scripts/sf_mq12a_sc3_insert3rdstone_0011b08c.psc +++ b/source/scripts/sf_mq12a_sc3_insert3rdstone_0011b08c.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ12a_SC3_Insert3rdStone_0011B08C Extends Scene Hidden ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -46,4 +46,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ12a_Functions Property MQ12a Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq12b_sc14_templescene02_00133d31.psc b/source/scripts/sf_mq12b_sc14_templescene02_00133d31.psc index cb965915..4280a09a 100644 --- a/source/scripts/sf_mq12b_sc14_templescene02_00133d31.psc +++ b/source/scripts/sf_mq12b_sc14_templescene02_00133d31.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ12b_SC14_TempleScene02_00133D31 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -39,7 +39,7 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ12b_Functions Property MQ12b Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto ObjectReference Property MQ12b_SC14_LeoraMarkerREF Auto diff --git a/source/scripts/sf_mq12b_sc15_templescene03_00133d5d.psc b/source/scripts/sf_mq12b_sc15_templescene03_00133d5d.psc index 523a7e6e..8520b8a1 100644 --- a/source/scripts/sf_mq12b_sc15_templescene03_00133d5d.psc +++ b/source/scripts/sf_mq12b_sc15_templescene03_00133d5d.psc @@ -5,11 +5,11 @@ Scriptname SF_MQ12b_SC15_TempleScene03_00133D5D Extends Scene Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq12b_sc16_flavor_0014cea3.psc b/source/scripts/sf_mq12b_sc16_flavor_0014cea3.psc index 57f9add6..f38d4b69 100644 --- a/source/scripts/sf_mq12b_sc16_flavor_0014cea3.psc +++ b/source/scripts/sf_mq12b_sc16_flavor_0014cea3.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ12b_SC16_Flavor_0014CEA3 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ12b_SC16_Flavor is playing!") +_00E_Debug.PrintMessage("MQ12b_SC16_Flavor is playing!") ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -_00E_QuestFunctions.PDB("MQ12b_SC16_Flavor has ended.") +_00E_Debug.PrintMessage("MQ12b_SC16_Flavor has ended.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq12b_sc1_lexilexplains_0011b0a2.psc b/source/scripts/sf_mq12b_sc1_lexilexplains_0011b0a2.psc index 13cf3aa8..9b6b6895 100644 --- a/source/scripts/sf_mq12b_sc1_lexilexplains_0011b0a2.psc +++ b/source/scripts/sf_mq12b_sc1_lexilexplains_0011b0a2.psc @@ -6,11 +6,11 @@ Scriptname SF_MQ12b_SC1_LexilExplains_0011B0A2 Extends Scene Hidden Function Fragment_2() ;BEGIN CODE GetOwningQuest().SetStage(15) -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq12b_sc2_attack_0011b0ab.psc b/source/scripts/sf_mq12b_sc2_attack_0011b0ab.psc index 1d331569..825aa958 100644 --- a/source/scripts/sf_mq12b_sc2_attack_0011b0ab.psc +++ b/source/scripts/sf_mq12b_sc2_attack_0011b0ab.psc @@ -21,7 +21,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_6 Function Fragment_6() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -37,4 +37,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ12b_Functions Property MQ12b Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq12c_sc03_dream_00134595.psc b/source/scripts/sf_mq12c_sc03_dream_00134595.psc index 65524515..9681a900 100644 --- a/source/scripts/sf_mq12c_sc03_dream_00134595.psc +++ b/source/scripts/sf_mq12c_sc03_dream_00134595.psc @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) MQ12c.SetTimescale() ;END CODE EndFunction diff --git a/source/scripts/sf_mq13a_sc01_lexyuslan_00136d17.psc b/source/scripts/sf_mq13a_sc01_lexyuslan_00136d17.psc index a10dd56a..9b6894d0 100644 --- a/source/scripts/sf_mq13a_sc01_lexyuslan_00136d17.psc +++ b/source/scripts/sf_mq13a_sc01_lexyuslan_00136d17.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ13a_SC01_LexYuslan_00136D17 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -13,11 +13,11 @@ EndFunction ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq13c_sc01_moveelevatorup_0013b5e5.psc b/source/scripts/sf_mq13c_sc01_moveelevatorup_0013b5e5.psc index b8b7e664..7a76c3e5 100644 --- a/source/scripts/sf_mq13c_sc01_moveelevatorup_0013b5e5.psc +++ b/source/scripts/sf_mq13c_sc01_moveelevatorup_0013b5e5.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ13c_SC01_MoveElevatorUp_0013B5E5 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq13c_sc09_killscene_0013b5dd.psc b/source/scripts/sf_mq13c_sc09_killscene_0013b5dd.psc index c3bdc2cc..d64072bd 100644 --- a/source/scripts/sf_mq13c_sc09_killscene_0013b5dd.psc +++ b/source/scripts/sf_mq13c_sc09_killscene_0013b5dd.psc @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_24 Function Fragment_24() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq14_sc01_funeral_00141c5a.psc b/source/scripts/sf_mq14_sc01_funeral_00141c5a.psc index 87e8ba40..8ab3b76b 100644 --- a/source/scripts/sf_mq14_sc01_funeral_00141c5a.psc +++ b/source/scripts/sf_mq14_sc01_funeral_00141c5a.psc @@ -14,7 +14,7 @@ EndFunction Function Fragment_1() ;BEGIN CODE MQ14.DespawnFuneralScene() -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -22,7 +22,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -Levelsystem.SEtAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -30,4 +30,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ14_Functions Property MQ14 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq14_sc06_interrogation_001433e1.psc b/source/scripts/sf_mq14_sc06_interrogation_001433e1.psc index fb3a088d..ae4e30c3 100644 --- a/source/scripts/sf_mq14_sc06_interrogation_001433e1.psc +++ b/source/scripts/sf_mq14_sc06_interrogation_001433e1.psc @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -45,4 +45,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ14_Functions Property MQ14 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq14_sc07_planning_0014342f.psc b/source/scripts/sf_mq14_sc07_planning_0014342f.psc index 859b2e10..5ca58fbc 100644 --- a/source/scripts/sf_mq14_sc07_planning_0014342f.psc +++ b/source/scripts/sf_mq14_sc07_planning_0014342f.psc @@ -5,7 +5,7 @@ Scriptname SF_MQ14_SC07_Planning_0014342F Extends Scene Hidden ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -38,13 +38,13 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto Actor Property _00E_MC_LeoraREF Auto Light Property Torch01 Auto \ No newline at end of file diff --git a/source/scripts/sf_mq14_sc08_lastspeech_0014344c.psc b/source/scripts/sf_mq14_sc08_lastspeech_0014344c.psc index 2d93034d..51e5425e 100644 --- a/source/scripts/sf_mq14_sc08_lastspeech_0014344c.psc +++ b/source/scripts/sf_mq14_sc08_lastspeech_0014344c.psc @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -37,7 +37,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_9 Function Fragment_9() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -45,4 +45,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ14_Functions Property MQ14 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_mq14_sc09_tealor_00144738.psc b/source/scripts/sf_mq14_sc09_tealor_00144738.psc index 12c312ad..35297419 100644 --- a/source/scripts/sf_mq14_sc09_tealor_00144738.psc +++ b/source/scripts/sf_mq14_sc09_tealor_00144738.psc @@ -12,5 +12,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/sf_mq16_sc06_assault_001484d8.psc b/source/scripts/sf_mq16_sc06_assault_001484d8.psc index 6dc7c36f..0800c34d 100644 --- a/source/scripts/sf_mq16_sc06_assault_001484d8.psc +++ b/source/scripts/sf_mq16_sc06_assault_001484d8.psc @@ -30,7 +30,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_11 Function Fragment_11() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq16_sc10_temple_03_001485f2.psc b/source/scripts/sf_mq16_sc10_temple_03_001485f2.psc index 944de99e..308d55ec 100644 --- a/source/scripts/sf_mq16_sc10_temple_03_001485f2.psc +++ b/source/scripts/sf_mq16_sc10_temple_03_001485f2.psc @@ -38,8 +38,8 @@ EndFunction ;BEGIN FRAGMENT Fragment_34 Function Fragment_34() ;BEGIN CODE -_00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_TealorREF, False) -_00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_YuslanREF, False) +_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_TealorREF, False) +_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_YuslanREF, False) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq17_sc10_launchsequence_0014bebe.psc b/source/scripts/sf_mq17_sc10_launchsequence_0014bebe.psc index 0c0f697f..446ca8e9 100644 --- a/source/scripts/sf_mq17_sc10_launchsequence_0014bebe.psc +++ b/source/scripts/sf_mq17_sc10_launchsequence_0014bebe.psc @@ -29,7 +29,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_9 Function Fragment_9() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) Game.ForceFirstPerson() ;END CODE EndFunction diff --git a/source/scripts/sf_mq18a_sc01_dreamsequence_0014bf1e.psc b/source/scripts/sf_mq18a_sc01_dreamsequence_0014bf1e.psc index c85766f8..9aaf9f84 100644 --- a/source/scripts/sf_mq18a_sc01_dreamsequence_0014bf1e.psc +++ b/source/scripts/sf_mq18a_sc01_dreamsequence_0014bf1e.psc @@ -38,7 +38,7 @@ EndFunction Function Fragment_2() ;BEGIN CODE MQ18a.PortCompanion(MQ18a.MQ18a_Companion_001) -_00E_QuestFunctions.PlayerAiWalk(True) +_00E_Func_AIWalk.PlayerAIWalk(True) ;END CODE EndFunction ;END FRAGMENT @@ -46,7 +46,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_10 Function Fragment_10() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() Game.DisablePlayerControls(false, true, true, false, true, false, false) ;END CODE EndFunction diff --git a/source/scripts/sf_mq18a_sc02_starcity_0014bfdc.psc b/source/scripts/sf_mq18a_sc02_starcity_0014bfdc.psc index 6aba9e5f..7448ce6d 100644 --- a/source/scripts/sf_mq18a_sc02_starcity_0014bfdc.psc +++ b/source/scripts/sf_mq18a_sc02_starcity_0014bfdc.psc @@ -29,7 +29,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -_00E_QuestFunctions.PlayerAIWalk() +_00E_Func_AIWalk.PlayerAIWalk() MQ18a.SlowSpeed() MQ18a.StartMusic() ;END CODE @@ -39,7 +39,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_8 Function Fragment_8() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_mq_p02_anewlife_veiledwom_01006ca7.psc b/source/scripts/sf_mq_p02_anewlife_veiledwom_01006ca7.psc index 46bd22a8..bd256055 100644 --- a/source/scripts/sf_mq_p02_anewlife_veiledwom_01006ca7.psc +++ b/source/scripts/sf_mq_p02_anewlife_veiledwom_01006ca7.psc @@ -4,6 +4,4 @@ Scriptname SF_MQ_P02_ANewLife_VeiledWom_01006CA7 Extends Scene Hidden ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - _00e_mqp02_functions Property MQP02 Auto diff --git a/source/scripts/sf_mqp02_sc4_veiledwomanappe_0007bbcf.psc b/source/scripts/sf_mqp02_sc4_veiledwomanappe_0007bbcf.psc index d4df5371..524bf1e4 100644 --- a/source/scripts/sf_mqp02_sc4_veiledwomanappe_0007bbcf.psc +++ b/source/scripts/sf_mqp02_sc4_veiledwomanappe_0007bbcf.psc @@ -29,7 +29,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) MQP02.SetObjectiveCompleted(10) ;END CODE EndFunction diff --git a/source/scripts/sf_nq15_sc5_001276fb.psc b/source/scripts/sf_nq15_sc5_001276fb.psc index 1da61882..550d3f33 100644 --- a/source/scripts/sf_nq15_sc5_001276fb.psc +++ b/source/scripts/sf_nq15_sc5_001276fb.psc @@ -5,7 +5,7 @@ Scriptname SF_NQ15_SC5_001276FB Extends Scene Hidden ;BEGIN FRAGMENT Fragment_14 Function Fragment_14() ;BEGIN CODE -_00E_QUestFunctions.PlayerAIWAlk(False) +_00E_Func_AIWalk.PlayerAIWalk(False) ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_10 Function Fragment_10() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/sf_nq_g_04_sc01_maelwrite_00139da8.psc b/source/scripts/sf_nq_g_04_sc01_maelwrite_00139da8.psc index 110bf447..c2b638f7 100644 --- a/source/scripts/sf_nq_g_04_sc01_maelwrite_00139da8.psc +++ b/source/scripts/sf_nq_g_04_sc01_maelwrite_00139da8.psc @@ -14,7 +14,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -22,7 +22,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -37,4 +37,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_nq_g_04_sc03_dijaamencoun_00139dc2.psc b/source/scripts/sf_nq_g_04_sc03_dijaamencoun_00139dc2.psc index e88307c3..049307f9 100644 --- a/source/scripts/sf_nq_g_04_sc03_dijaamencoun_00139dc2.psc +++ b/source/scripts/sf_nq_g_04_sc03_dijaamencoun_00139dc2.psc @@ -5,7 +5,7 @@ Scriptname SF_NQ_G_04_SC03_DijaamEncoun_00139DC2 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -_00E_QuestFunctions.PlayerAiWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_8 Function Fragment_8() ;BEGIN CODE -_00E_QuestFunctions.PlayerAIWalk() +_00E_Func_AIWalk.PlayerAIWalk() NQ_G_04.StripPlayer() ;END CODE EndFunction diff --git a/source/scripts/sf_nq_g_05_sc03_dijaamtalk_0013c3f8.psc b/source/scripts/sf_nq_g_05_sc03_dijaamtalk_0013c3f8.psc index ffa7bf1b..5a58ecb4 100644 --- a/source/scripts/sf_nq_g_05_sc03_dijaamtalk_0013c3f8.psc +++ b/source/scripts/sf_nq_g_05_sc03_dijaamtalk_0013c3f8.psc @@ -5,7 +5,7 @@ Scriptname SF_NQ_G_05_SC03_DijaamTalk_0013C3F8 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_6 Function Fragment_6() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(true) +AllowIdleChatter.SetValue(1) NQ_G_05.RemoveSilence() ;END CODE EndFunction @@ -23,7 +23,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_5 Function Fragment_5() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -48,4 +48,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_NQ_G_05_Functions Property NQ_G_05 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_nq_g_06_sc02_dijaamtalkat_0013cfc1.psc b/source/scripts/sf_nq_g_06_sc02_dijaamtalkat_0013cfc1.psc index d68312b6..1fe5bd0a 100644 --- a/source/scripts/sf_nq_g_06_sc02_dijaamtalkat_0013cfc1.psc +++ b/source/scripts/sf_nq_g_06_sc02_dijaamtalkat_0013cfc1.psc @@ -5,7 +5,7 @@ Scriptname SF_NQ_G_06_SC02_DijaamTalkAt_0013CFC1 Extends Scene Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -_00E_QuestFunctions.PlayerAIWalk() +_00E_Func_AIWalk.PlayerAIWalk() ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -_00E_QuestFunctions.PlayerAIWalkStop() +_00E_Func_AIWalk.PlayerAIWalkStop() GetOwningQuest().SetStage(20) ;END CODE EndFunction diff --git a/source/scripts/sf_nq_g_07dijaam_sc05_theate_0013fa43.psc b/source/scripts/sf_nq_g_07dijaam_sc05_theate_0013fa43.psc index 34d23308..337aec4b 100644 --- a/source/scripts/sf_nq_g_07dijaam_sc05_theate_0013fa43.psc +++ b/source/scripts/sf_nq_g_07dijaam_sc05_theate_0013fa43.psc @@ -58,7 +58,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_21 Function Fragment_21() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -85,4 +85,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_NQ_G_07_Functions Property NQ_G_07 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_nq_g_07dijaam_sc07_dijaam_00147066.psc b/source/scripts/sf_nq_g_07dijaam_sc07_dijaam_00147066.psc index 4fad05f4..78c47564 100644 --- a/source/scripts/sf_nq_g_07dijaam_sc07_dijaam_00147066.psc +++ b/source/scripts/sf_nq_g_07dijaam_sc07_dijaam_00147066.psc @@ -70,7 +70,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_11 Function Fragment_11() ;BEGIN CODE -_00E_QuestFunctions.PlayerAIWalk() +_00E_Func_AIWalk.PlayerAIWalk() Debug.ToggleMenus() ;END CODE EndFunction diff --git a/source/scripts/sf_nq_g_07mael_sc01_maelmiss_0013f6f3.psc b/source/scripts/sf_nq_g_07mael_sc01_maelmiss_0013f6f3.psc index ff0bf2e6..5f377c04 100644 --- a/source/scripts/sf_nq_g_07mael_sc01_maelmiss_0013f6f3.psc +++ b/source/scripts/sf_nq_g_07mael_sc01_maelmiss_0013f6f3.psc @@ -21,7 +21,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_3 Function Fragment_3() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -45,7 +45,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -53,4 +53,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_NQ_G_07_Functions Property NQ_G_07 Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/sf_testquest_testscene_0013fa9e.psc b/source/scripts/sf_testquest_testscene_0013fa9e.psc deleted file mode 100644 index 22fa23bd..00000000 --- a/source/scripts/sf_testquest_testscene_0013fa9e.psc +++ /dev/null @@ -1,23 +0,0 @@ -;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment -;NEXT FRAGMENT INDEX 14 -Scriptname SF_TestQuest_TestScene_0013FA9E Extends Scene Hidden - -;BEGIN FRAGMENT Fragment_0 -Function Fragment_0() -;BEGIN CODE -;d -;END CODE -EndFunction -;END FRAGMENT - -;BEGIN FRAGMENT Fragment_8 -Function Fragment_8() -;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Test Scene is playing!") -;END CODE -EndFunction -;END FRAGMENT - -;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_TestQuestFunctions Property TestQuest Auto diff --git a/source/scripts/sf_z_conversations_tealorand_001489a4.psc b/source/scripts/sf_z_conversations_tealorand_001489a4.psc index 8adb98ed..98131550 100644 --- a/source/scripts/sf_z_conversations_tealorand_001489a4.psc +++ b/source/scripts/sf_z_conversations_tealorand_001489a4.psc @@ -14,7 +14,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_1 Function Fragment_1() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT @@ -22,7 +22,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) GetOwningQuest().SetStage(10) ;END CODE EndFunction @@ -33,4 +33,4 @@ EndFunction Actor Property _00E_MC_TealorREF Auto Actor Property _00E_MC_JorrekREF Auto -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0003341f.psc b/source/scripts/tif__0003341f.psc index 128e4062..faa482c4 100644 --- a/source/scripts/tif__0003341f.psc +++ b/source/scripts/tif__0003341f.psc @@ -6,12 +6,9 @@ Scriptname TIF__0003341F Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -15) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00033432.psc b/source/scripts/tif__00033432.psc index 1f8ff96d..f9fcaa82 100644 --- a/source/scripts/tif__00033432.psc +++ b/source/scripts/tif__00033432.psc @@ -6,11 +6,9 @@ Scriptname TIF__00033432 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00043b25.psc b/source/scripts/tif__00043b25.psc index 6f9fa904..5fd5a97b 100644 --- a/source/scripts/tif__00043b25.psc +++ b/source/scripts/tif__00043b25.psc @@ -6,11 +6,9 @@ Scriptname TIF__00043B25 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00043b30.psc b/source/scripts/tif__00043b30.psc index ebb8c3c9..dd4c2a80 100644 --- a/source/scripts/tif__00043b30.psc +++ b/source/scripts/tif__00043b30.psc @@ -6,11 +6,9 @@ Scriptname TIF__00043B30 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00043b44.psc b/source/scripts/tif__00043b44.psc index fc7ccc6d..9085c68b 100644 --- a/source/scripts/tif__00043b44.psc +++ b/source/scripts/tif__00043b44.psc @@ -6,7 +6,7 @@ Scriptname TIF__00043B44 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0004416b.psc b/source/scripts/tif__0004416b.psc index 08160d4f..fa217eb0 100644 --- a/source/scripts/tif__0004416b.psc +++ b/source/scripts/tif__0004416b.psc @@ -6,7 +6,7 @@ Scriptname TIF__0004416B Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00047c12.psc b/source/scripts/tif__00047c12.psc index dfa2c271..1743dff1 100644 --- a/source/scripts/tif__00047c12.psc +++ b/source/scripts/tif__00047c12.psc @@ -6,7 +6,7 @@ Scriptname TIF__00047C12 Extends TopicInfo Hidden Function Fragment_3(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(25) +_00E_EPHandler.GiveEP(25) ;END CODE EndFunction ;END FRAGMENT @@ -27,5 +27,3 @@ EndFunction MiscObject Property Gold001 Auto GlobalVariable Property _00E_RhetorikCounter Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000707ab.psc b/source/scripts/tif__000707ab.psc index 710becf1..1fd21374 100644 --- a/source/scripts/tif__000707ab.psc +++ b/source/scripts/tif__000707ab.psc @@ -17,7 +17,7 @@ EndFunction Function Fragment_3(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(25) +_00E_EPHandler.GiveEP(25) ;END CODE EndFunction ;END FRAGMENT @@ -27,5 +27,3 @@ EndFunction MiscObject Property Gold001 Auto GlobalVariable Property _00E_RhetorikCounter Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00074ad1.psc b/source/scripts/tif__00074ad1.psc index b790cf83..223b4cd2 100644 --- a/source/scripts/tif__00074ad1.psc +++ b/source/scripts/tif__00074ad1.psc @@ -6,11 +6,9 @@ Scriptname TIF__00074AD1 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00074ae2.psc b/source/scripts/tif__00074ae2.psc index 3f70fecc..b14584e5 100644 --- a/source/scripts/tif__00074ae2.psc +++ b/source/scripts/tif__00074ae2.psc @@ -6,12 +6,10 @@ Scriptname TIF__00074AE2 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000753c4.psc b/source/scripts/tif__000753c4.psc index 3e2323cd..1dd32626 100644 --- a/source/scripts/tif__000753c4.psc +++ b/source/scripts/tif__000753c4.psc @@ -6,11 +6,9 @@ Scriptname TIF__000753C4 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.FadeToBlackAndBack() +_00E_PlayerFunctions.GetFadeToBlackControl().FadeToBlackAndBack() ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0007a7f9.psc b/source/scripts/tif__0007a7f9.psc index 3f256979..132a7f63 100644 --- a/source/scripts/tif__0007a7f9.psc +++ b/source/scripts/tif__0007a7f9.psc @@ -7,7 +7,7 @@ Function Fragment_2(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE MQ02.PlayerDrinkWine() -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT @@ -15,4 +15,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ02_Functions Property MQ02 Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00090903.psc b/source/scripts/tif__00090903.psc index 64337652..0f0aa46a 100644 --- a/source/scripts/tif__00090903.psc +++ b/source/scripts/tif__00090903.psc @@ -6,11 +6,9 @@ Scriptname TIF__00090903 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00090907.psc b/source/scripts/tif__00090907.psc index 40b33d48..d8d9ea67 100644 --- a/source/scripts/tif__00090907.psc +++ b/source/scripts/tif__00090907.psc @@ -6,11 +6,9 @@ Scriptname TIF__00090907 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00090909.psc b/source/scripts/tif__00090909.psc index 70e6b64b..7684f1ec 100644 --- a/source/scripts/tif__00090909.psc +++ b/source/scripts/tif__00090909.psc @@ -6,12 +6,9 @@ Scriptname TIF__00090909 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0009090c.psc b/source/scripts/tif__0009090c.psc index 2f24fb3f..59e5953e 100644 --- a/source/scripts/tif__0009090c.psc +++ b/source/scripts/tif__0009090c.psc @@ -6,12 +6,10 @@ Scriptname TIF__0009090C Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0009090e.psc b/source/scripts/tif__0009090e.psc index 5d58c489..15bdd0d0 100644 --- a/source/scripts/tif__0009090e.psc +++ b/source/scripts/tif__0009090e.psc @@ -15,11 +15,9 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00092a25.psc b/source/scripts/tif__00092a25.psc index d2f264e5..d38a4152 100644 --- a/source/scripts/tif__00092a25.psc +++ b/source/scripts/tif__00092a25.psc @@ -15,12 +15,9 @@ EndFunction Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00092a26.psc b/source/scripts/tif__00092a26.psc index f568cb1e..ba579938 100644 --- a/source/scripts/tif__00092a26.psc +++ b/source/scripts/tif__00092a26.psc @@ -6,11 +6,9 @@ Scriptname TIF__00092A26 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00092a29.psc b/source/scripts/tif__00092a29.psc index c31a6bf3..48a867b1 100644 --- a/source/scripts/tif__00092a29.psc +++ b/source/scripts/tif__00092a29.psc @@ -15,11 +15,9 @@ EndFunction Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00092a2d.psc b/source/scripts/tif__00092a2d.psc index 94cf1e9d..17b0cf62 100644 --- a/source/scripts/tif__00092a2d.psc +++ b/source/scripts/tif__00092a2d.psc @@ -6,11 +6,9 @@ Scriptname TIF__00092A2D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00095190.psc b/source/scripts/tif__00095190.psc index 16a47377..b5259477 100644 --- a/source/scripts/tif__00095190.psc +++ b/source/scripts/tif__00095190.psc @@ -6,12 +6,9 @@ Scriptname TIF__00095190 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00095192.psc b/source/scripts/tif__00095192.psc index a62cc75b..59b1f211 100644 --- a/source/scripts/tif__00095192.psc +++ b/source/scripts/tif__00095192.psc @@ -6,11 +6,9 @@ Scriptname TIF__00095192 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0009519a.psc b/source/scripts/tif__0009519a.psc index 21cb269f..3ab28c85 100644 --- a/source/scripts/tif__0009519a.psc +++ b/source/scripts/tif__0009519a.psc @@ -6,11 +6,9 @@ Scriptname TIF__0009519A Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 15) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000951a8.psc b/source/scripts/tif__000951a8.psc index b3672923..2986c817 100644 --- a/source/scripts/tif__000951a8.psc +++ b/source/scripts/tif__000951a8.psc @@ -6,11 +6,9 @@ Scriptname TIF__000951A8 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000951b5.psc b/source/scripts/tif__000951b5.psc index f758a643..fa4b2493 100644 --- a/source/scripts/tif__000951b5.psc +++ b/source/scripts/tif__000951b5.psc @@ -6,11 +6,9 @@ Scriptname TIF__000951B5 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000951ba.psc b/source/scripts/tif__000951ba.psc index 211bab0a..357252ce 100644 --- a/source/scripts/tif__000951ba.psc +++ b/source/scripts/tif__000951ba.psc @@ -6,11 +6,9 @@ Scriptname TIF__000951BA Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000a8370.psc b/source/scripts/tif__000a8370.psc index e30c5667..4536fb38 100644 --- a/source/scripts/tif__000a8370.psc +++ b/source/scripts/tif__000a8370.psc @@ -15,7 +15,7 @@ EndFunction Function Fragment_2(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(_00E_MC_CaliaREF, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(_00E_MC_CaliaREF, -10) ;END CODE EndFunction ;END FRAGMENT @@ -23,5 +23,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment actor Property _00E_MC_CaliaREF Auto -_00E_QuestFunctions Property Levelsystem Auto - diff --git a/source/scripts/tif__000a8378.psc b/source/scripts/tif__000a8378.psc index 9833c76e..9c6afafb 100644 --- a/source/scripts/tif__000a8378.psc +++ b/source/scripts/tif__000a8378.psc @@ -6,7 +6,7 @@ Scriptname TIF__000A8378 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(_00E_MC_CaliaREF, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(_00E_MC_CaliaREF, 10) ;END CODE EndFunction ;END FRAGMENT @@ -23,5 +23,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment actor Property _00E_MC_CaliaREF Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000a8385.psc b/source/scripts/tif__000a8385.psc index 751cf810..6e6c6481 100644 --- a/source/scripts/tif__000a8385.psc +++ b/source/scripts/tif__000a8385.psc @@ -6,7 +6,7 @@ Scriptname TIF__000A8385 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(_00E_MC_CaliaREF, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(_00E_MC_CaliaREF, -5) ;END CODE EndFunction ;END FRAGMENT @@ -14,5 +14,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment actor Property _00E_MC_CaliaREF Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000a8398.psc b/source/scripts/tif__000a8398.psc index 77a3af68..d0cdeb0b 100644 --- a/source/scripts/tif__000a8398.psc +++ b/source/scripts/tif__000a8398.psc @@ -6,7 +6,7 @@ Scriptname TIF__000A8398 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(250) +_00E_EPHandler.GiveEP(250) _00E_RhetorikCounter.SetValueInt(_00E_RhetorikCounter.GetValueInt()+1) ;END CODE EndFunction @@ -14,6 +14,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__000c3fe6.psc b/source/scripts/tif__000c3fe6.psc index 74a4facb..fcefea4f 100644 --- a/source/scripts/tif__000c3fe6.psc +++ b/source/scripts/tif__000c3fe6.psc @@ -6,11 +6,9 @@ Scriptname TIF__000C3FE6 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, - 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, - 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000c55d5.psc b/source/scripts/tif__000c55d5.psc index 7e552a0c..11ffb7e4 100644 --- a/source/scripts/tif__000c55d5.psc +++ b/source/scripts/tif__000c55d5.psc @@ -6,11 +6,9 @@ Scriptname TIF__000C55D5 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000c55d9.psc b/source/scripts/tif__000c55d9.psc index f3505c69..0a8c3282 100644 --- a/source/scripts/tif__000c55d9.psc +++ b/source/scripts/tif__000c55d9.psc @@ -6,11 +6,9 @@ Scriptname TIF__000C55D9 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000c656c.psc b/source/scripts/tif__000c656c.psc index 5487314c..fabdc12b 100644 --- a/source/scripts/tif__000c656c.psc +++ b/source/scripts/tif__000c656c.psc @@ -6,7 +6,7 @@ Scriptname TIF__000C656C Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT @@ -14,4 +14,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment GlobalVariable Property SympathyJespar Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000c6589.psc b/source/scripts/tif__000c6589.psc index e70ff621..4f8a7f9f 100644 --- a/source/scripts/tif__000c6589.psc +++ b/source/scripts/tif__000c6589.psc @@ -15,7 +15,7 @@ EndFunction Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT @@ -23,5 +23,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment GlobalVariable Property SympathyJespar Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000cad6c.psc b/source/scripts/tif__000cad6c.psc index 46f08d00..cd5e67f9 100644 --- a/source/scripts/tif__000cad6c.psc +++ b/source/scripts/tif__000cad6c.psc @@ -6,11 +6,9 @@ Scriptname TIF__000CAD6C Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000ce0e4.psc b/source/scripts/tif__000ce0e4.psc index 80372321..d68be7dd 100644 --- a/source/scripts/tif__000ce0e4.psc +++ b/source/scripts/tif__000ce0e4.psc @@ -6,7 +6,7 @@ Scriptname TIF__000CE0E4 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) GetOwningQuest().SetStage(55) ;END CODE EndFunction @@ -14,4 +14,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__000ce11f.psc b/source/scripts/tif__000ce11f.psc index 6dcf6dc1..c8c33b6c 100644 --- a/source/scripts/tif__000ce11f.psc +++ b/source/scripts/tif__000ce11f.psc @@ -6,7 +6,7 @@ Scriptname TIF__000CE11F Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Dialoge fragment called.") +_00E_Debug.PrintMessage("Dialoge fragment called.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/tif__000d03fe.psc b/source/scripts/tif__000d03fe.psc index 58b21028..fca4024e 100644 --- a/source/scripts/tif__000d03fe.psc +++ b/source/scripts/tif__000d03fe.psc @@ -12,5 +12,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property MQ09a Auto diff --git a/source/scripts/tif__000d0405.psc b/source/scripts/tif__000d0405.psc index 9966f14b..bef4e9e9 100644 --- a/source/scripts/tif__000d0405.psc +++ b/source/scripts/tif__000d0405.psc @@ -12,7 +12,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - - -_00E_QuestFunctions Property MQ09a Auto diff --git a/source/scripts/tif__000d8e52.psc b/source/scripts/tif__000d8e52.psc index 20b26add..7903a888 100644 --- a/source/scripts/tif__000d8e52.psc +++ b/source/scripts/tif__000d8e52.psc @@ -16,11 +16,9 @@ EndFunction Function Fragment_2(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000d8e66.psc b/source/scripts/tif__000d8e66.psc index d596137f..a22887b2 100644 --- a/source/scripts/tif__000d8e66.psc +++ b/source/scripts/tif__000d8e66.psc @@ -6,11 +6,9 @@ Scriptname TIF__000D8E66 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000d8e6c.psc b/source/scripts/tif__000d8e6c.psc index b840baf4..6924307c 100644 --- a/source/scripts/tif__000d8e6c.psc +++ b/source/scripts/tif__000d8e6c.psc @@ -6,11 +6,9 @@ Scriptname TIF__000D8E6C Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000d9b3a.psc b/source/scripts/tif__000d9b3a.psc index ddc47157..cce44351 100644 --- a/source/scripts/tif__000d9b3a.psc +++ b/source/scripts/tif__000d9b3a.psc @@ -6,11 +6,9 @@ Scriptname TIF__000D9B3A Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000d9b3e.psc b/source/scripts/tif__000d9b3e.psc index 542006c1..ad2834ed 100644 --- a/source/scripts/tif__000d9b3e.psc +++ b/source/scripts/tif__000d9b3e.psc @@ -6,11 +6,9 @@ Scriptname TIF__000D9B3E Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000d9b47.psc b/source/scripts/tif__000d9b47.psc index 755d73c4..fcc3a2cf 100644 --- a/source/scripts/tif__000d9b47.psc +++ b/source/scripts/tif__000d9b47.psc @@ -15,11 +15,9 @@ EndFunction Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000e03ca.psc b/source/scripts/tif__000e03ca.psc index 1a1cd30d..2cf28f52 100644 --- a/source/scripts/tif__000e03ca.psc +++ b/source/scripts/tif__000e03ca.psc @@ -6,11 +6,12 @@ Scriptname TIF__000E03CA Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.PriestHeal() +Actor PlayerREF = Game.GetForm(0x14) as Actor +_00E_PriestCureDiseases.Cast(PlayerREF, PlayerREF) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +Spell Property _00E_PriestCureDiseases Auto diff --git a/source/scripts/tif__000e0422.psc b/source/scripts/tif__000e0422.psc index c93c8177..b8ea9134 100644 --- a/source/scripts/tif__000e0422.psc +++ b/source/scripts/tif__000e0422.psc @@ -6,7 +6,7 @@ Scriptname TIF__000E0422 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -_00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_JesparREF, False) +_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_JesparREF, False) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/tif__000e486d.psc b/source/scripts/tif__000e486d.psc index b996f001..416a4298 100644 --- a/source/scripts/tif__000e486d.psc +++ b/source/scripts/tif__000e486d.psc @@ -6,11 +6,9 @@ Scriptname TIF__000E486D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(50) +_00E_EPHandler.GiveEP(50) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000e486e.psc b/source/scripts/tif__000e486e.psc index 6990e11d..bb9fe15b 100644 --- a/source/scripts/tif__000e486e.psc +++ b/source/scripts/tif__000e486e.psc @@ -8,7 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE CapitalCityUajaanVuulGlobal.SetValueInt(1) Game.GetPlayer().AddItem(Gold001, 1) -Levelsystem.GiveEP(50) +_00E_EPHandler.GiveEP(50) NQ33.SetStage(10) _00E_RhetorikCounter.SetValueInt(_00E_RhetorikCounter.GetValueInt()+1) ;END CODE @@ -21,8 +21,6 @@ GlobalVariable Property CapitalCityUajaanVuulGlobal Auto MiscObject Property Gold001 Auto -_00E_QuestFunctions Property Levelsystem Auto - Quest Property NQ33 Auto GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__000e99f0.psc b/source/scripts/tif__000e99f0.psc index 14f16555..29df15ef 100644 --- a/source/scripts/tif__000e99f0.psc +++ b/source/scripts/tif__000e99f0.psc @@ -6,7 +6,7 @@ Scriptname TIF__000E99F0 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -15) ;END CODE EndFunction ;END FRAGMENT @@ -25,5 +25,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ08_Questfunctions Property MQ09a Auto -_00E_QuestFunctions Property Levelsystem Auto - diff --git a/source/scripts/tif__000e99f1.psc b/source/scripts/tif__000e99f1.psc index 0ccaa9a7..70c6bc24 100644 --- a/source/scripts/tif__000e99f1.psc +++ b/source/scripts/tif__000e99f1.psc @@ -6,11 +6,9 @@ Scriptname TIF__000E99F1 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000e99f7.psc b/source/scripts/tif__000e99f7.psc index 68a95755..7b3c85dc 100644 --- a/source/scripts/tif__000e99f7.psc +++ b/source/scripts/tif__000e99f7.psc @@ -6,11 +6,9 @@ Scriptname TIF__000E99F7 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000e99f8.psc b/source/scripts/tif__000e99f8.psc index 0da7ccc0..70dc0d5e 100644 --- a/source/scripts/tif__000e99f8.psc +++ b/source/scripts/tif__000e99f8.psc @@ -6,7 +6,7 @@ Scriptname TIF__000E99F8 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT @@ -14,4 +14,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_MQ08_Questfunctions Property MQ09a Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000e99ff.psc b/source/scripts/tif__000e99ff.psc index bf994e56..3be4b0b1 100644 --- a/source/scripts/tif__000e99ff.psc +++ b/source/scripts/tif__000e99ff.psc @@ -13,4 +13,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_Questfunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000ea7a9.psc b/source/scripts/tif__000ea7a9.psc index 179c5c0d..d4abed2d 100644 --- a/source/scripts/tif__000ea7a9.psc +++ b/source/scripts/tif__000ea7a9.psc @@ -6,11 +6,9 @@ Scriptname TIF__000EA7A9 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000eacf8.psc b/source/scripts/tif__000eacf8.psc index ff39c6af..ff2e1fdb 100644 --- a/source/scripts/tif__000eacf8.psc +++ b/source/scripts/tif__000eacf8.psc @@ -6,11 +6,9 @@ Scriptname TIF__000EACF8 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__000ead42.psc b/source/scripts/tif__000ead42.psc index be90eaea..15becaed 100644 --- a/source/scripts/tif__000ead42.psc +++ b/source/scripts/tif__000ead42.psc @@ -6,7 +6,7 @@ Scriptname TIF__000EAD42 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(50) +_00E_EPHandler.GiveEP(50) _00E_RhetorikCounter.SetValueInt(_00E_RhetorikCounter.GetValueInt()+1) ;END CODE EndFunction @@ -14,6 +14,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__00107f5a.psc b/source/scripts/tif__00107f5a.psc index 0adb40e4..2c5d4beb 100644 --- a/source/scripts/tif__00107f5a.psc +++ b/source/scripts/tif__00107f5a.psc @@ -8,7 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE if !bAskedJespar bAskedJespar = True -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) endif ;END CODE EndFunction @@ -16,5 +16,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto bool Property bAskedJespar Auto Hidden diff --git a/source/scripts/tif__0010a65e.psc b/source/scripts/tif__0010a65e.psc index df17babd..a49bb2c5 100644 --- a/source/scripts/tif__0010a65e.psc +++ b/source/scripts/tif__0010a65e.psc @@ -7,11 +7,11 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE EnderalFunctions.DisableDialogueQuitting() -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0010a65f.psc b/source/scripts/tif__0010a65f.psc index 743f4c64..7ddfa8c6 100644 --- a/source/scripts/tif__0010a65f.psc +++ b/source/scripts/tif__0010a65f.psc @@ -7,11 +7,11 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE EnderalFunctions.DisableDialogueQuitting() -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0010a82c.psc b/source/scripts/tif__0010a82c.psc index 6ace871f..db530adf 100644 --- a/source/scripts/tif__0010a82c.psc +++ b/source/scripts/tif__0010a82c.psc @@ -6,7 +6,7 @@ Scriptname TIF__0010A82C Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -22,4 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0010a82e.psc b/source/scripts/tif__0010a82e.psc index e5750a23..b2355285 100644 --- a/source/scripts/tif__0010a82e.psc +++ b/source/scripts/tif__0010a82e.psc @@ -7,11 +7,11 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE EnderalFunctions.DisableDialogueQuitting() -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0010a850.psc b/source/scripts/tif__0010a850.psc index bf63a492..dc4f5c4b 100644 --- a/source/scripts/tif__0010a850.psc +++ b/source/scripts/tif__0010a850.psc @@ -8,11 +8,11 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE akSpeaker.EvaluatePackage() EnderalFunctions.DisableDialogueQuitting() -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0010a851.psc b/source/scripts/tif__0010a851.psc index 6981db80..071d7c03 100644 --- a/source/scripts/tif__0010a851.psc +++ b/source/scripts/tif__0010a851.psc @@ -8,11 +8,11 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE akSpeaker.EvaluatePackage() EnderalFunctions.DisableDialogueQuitting() -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0010a85c.psc b/source/scripts/tif__0010a85c.psc index 0af99a5c..cac359bd 100644 --- a/source/scripts/tif__0010a85c.psc +++ b/source/scripts/tif__0010a85c.psc @@ -6,7 +6,7 @@ Scriptname TIF__0010A85C Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT @@ -22,4 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__00119bb3.psc b/source/scripts/tif__00119bb3.psc index 149677af..b92210e8 100644 --- a/source/scripts/tif__00119bb3.psc +++ b/source/scripts/tif__00119bb3.psc @@ -6,7 +6,7 @@ Scriptname TIF__00119BB3 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.Brawl(akSpeaker) +_00E_PlayerFunctions.GetBrawlControl().Brawl(akSpeaker) GetOwningQuest().SetStage(20) Utility.Wait(2) _00E_Tutorial_Brawl.ShowAsHelpMessage("NQ11Brawl", 5, 1, 1) @@ -17,5 +17,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto Message Property _00E_Tutorial_Brawl Auto diff --git a/source/scripts/tif__0011b021.psc b/source/scripts/tif__0011b021.psc index a30e2225..ba4e3916 100644 --- a/source/scripts/tif__0011b021.psc +++ b/source/scripts/tif__0011b021.psc @@ -6,12 +6,10 @@ Scriptname TIF__0011B021 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.RemoveSilence() +_00E_PlayerFunctions.GetSoundControl().RemoveSilence() EnderalFunctions.DisableDialogueQuitting() ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0011b1fb.psc b/source/scripts/tif__0011b1fb.psc index a17f0876..54e78bbf 100644 --- a/source/scripts/tif__0011b1fb.psc +++ b/source/scripts/tif__0011b1fb.psc @@ -6,7 +6,7 @@ Scriptname TIF__0011B1FB Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.FadeToBlackAndBack() +_00E_PlayerFunctions.GetFadeToBlackControl().FadeToBlackAndBack() ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013454f.psc b/source/scripts/tif__0013454f.psc index 80eac001..7460d925 100644 --- a/source/scripts/tif__0013454f.psc +++ b/source/scripts/tif__0013454f.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013454F Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -25) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -25) ;END CODE EndFunction ;END FRAGMENT @@ -22,5 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto GlobalVariable Property RomanceLockedJespar Auto diff --git a/source/scripts/tif__00134550.psc b/source/scripts/tif__00134550.psc index 7e472984..a7d23006 100644 --- a/source/scripts/tif__00134550.psc +++ b/source/scripts/tif__00134550.psc @@ -15,7 +15,7 @@ EndFunction Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -25) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -25) ;END CODE EndFunction ;END FRAGMENT @@ -23,4 +23,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment GlobalVariable Property RomanceLockedCalia Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00134551.psc b/source/scripts/tif__00134551.psc index 023e1108..5f0fd60a 100644 --- a/source/scripts/tif__00134551.psc +++ b/source/scripts/tif__00134551.psc @@ -6,11 +6,9 @@ Scriptname TIF__00134551 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 15) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00134555.psc b/source/scripts/tif__00134555.psc index 49419b4e..7ec82693 100644 --- a/source/scripts/tif__00134555.psc +++ b/source/scripts/tif__00134555.psc @@ -6,11 +6,9 @@ Scriptname TIF__00134555 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -15) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00134561.psc b/source/scripts/tif__00134561.psc index 8d52aff4..91daa208 100644 --- a/source/scripts/tif__00134561.psc +++ b/source/scripts/tif__00134561.psc @@ -6,7 +6,7 @@ Scriptname TIF__00134561 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10, true) RomanceLockedCalia.SetValueInt(1) ;END CODE EndFunction @@ -14,6 +14,5 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto GlobalVariable Property RomanceLockedCalia Auto diff --git a/source/scripts/tif__00134562.psc b/source/scripts/tif__00134562.psc index 93f28f8d..310f953e 100644 --- a/source/scripts/tif__00134562.psc +++ b/source/scripts/tif__00134562.psc @@ -6,7 +6,7 @@ Scriptname TIF__00134562 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10, true) RomanceLockedJespar.SetValueInt(1) ;END CODE EndFunction @@ -14,5 +14,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto GlobalVariable Property RomanceLockedJespar Auto diff --git a/source/scripts/tif__00134563.psc b/source/scripts/tif__00134563.psc index 49846b7d..27ecd15c 100644 --- a/source/scripts/tif__00134563.psc +++ b/source/scripts/tif__00134563.psc @@ -6,11 +6,9 @@ Scriptname TIF__00134563 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__001346e0.psc b/source/scripts/tif__001346e0.psc index 83589b50..bdf34795 100644 --- a/source/scripts/tif__001346e0.psc +++ b/source/scripts/tif__001346e0.psc @@ -6,11 +6,9 @@ Scriptname TIF__001346E0 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__001346e3.psc b/source/scripts/tif__001346e3.psc index 96b95157..82692698 100644 --- a/source/scripts/tif__001346e3.psc +++ b/source/scripts/tif__001346e3.psc @@ -6,11 +6,9 @@ Scriptname TIF__001346E3 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 15) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__001346e7.psc b/source/scripts/tif__001346e7.psc index fd63b75e..d8b896fb 100644 --- a/source/scripts/tif__001346e7.psc +++ b/source/scripts/tif__001346e7.psc @@ -6,11 +6,9 @@ Scriptname TIF__001346E7 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00137134.psc b/source/scripts/tif__00137134.psc index a5f46802..4cf4deaf 100644 --- a/source/scripts/tif__00137134.psc +++ b/source/scripts/tif__00137134.psc @@ -6,7 +6,7 @@ Scriptname TIF__00137134 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(25) +_00E_EPHandler.GiveEP(25) ;END CODE EndFunction ;END FRAGMENT @@ -26,6 +26,4 @@ EndFunction _00E_NQ_G_03_Functions Property NQ_G_03 Auto -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__001378ed.psc b/source/scripts/tif__001378ed.psc index 508934d5..7b3a133c 100644 --- a/source/scripts/tif__001378ed.psc +++ b/source/scripts/tif__001378ed.psc @@ -6,11 +6,9 @@ Scriptname TIF__001378ED Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__001378ef.psc b/source/scripts/tif__001378ef.psc index 33d7e5b4..f1fbc106 100644 --- a/source/scripts/tif__001378ef.psc +++ b/source/scripts/tif__001378ef.psc @@ -6,11 +6,9 @@ Scriptname TIF__001378EF Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__001380d2.psc b/source/scripts/tif__001380d2.psc index 950ba927..d8422b01 100644 --- a/source/scripts/tif__001380d2.psc +++ b/source/scripts/tif__001380d2.psc @@ -6,7 +6,7 @@ Scriptname TIF__001380D2 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(25) +_00E_EPHandler.GiveEP(25) ;END CODE EndFunction ;END FRAGMENT @@ -25,6 +25,4 @@ EndFunction _00E_NQ_G_03_Functions Property NQ_G_03 Auto -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0013999e.psc b/source/scripts/tif__0013999e.psc index 36592131..a191335d 100644 --- a/source/scripts/tif__0013999e.psc +++ b/source/scripts/tif__0013999e.psc @@ -4,4 +4,3 @@ Scriptname TIF__0013999E Extends TopicInfo Hidden ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_NQ_G_00_Functions Property NQ_G_00 Auto diff --git a/source/scripts/tif__00139cfa.psc b/source/scripts/tif__00139cfa.psc index afd6bdff..ce98285e 100644 --- a/source/scripts/tif__00139cfa.psc +++ b/source/scripts/tif__00139cfa.psc @@ -6,12 +6,9 @@ Scriptname TIF__00139CFA Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d0a.psc b/source/scripts/tif__00139d0a.psc index 2b95a0f4..3962a0df 100644 --- a/source/scripts/tif__00139d0a.psc +++ b/source/scripts/tif__00139d0a.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D0A Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d13.psc b/source/scripts/tif__00139d13.psc index 627d6a46..1ec28376 100644 --- a/source/scripts/tif__00139d13.psc +++ b/source/scripts/tif__00139d13.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D13 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d18.psc b/source/scripts/tif__00139d18.psc index 9692f2ed..06e3699d 100644 --- a/source/scripts/tif__00139d18.psc +++ b/source/scripts/tif__00139d18.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D18 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d1a.psc b/source/scripts/tif__00139d1a.psc index aaabab58..2184892f 100644 --- a/source/scripts/tif__00139d1a.psc +++ b/source/scripts/tif__00139d1a.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D1A Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d33.psc b/source/scripts/tif__00139d33.psc index 61d9bf30..9a51f8d9 100644 --- a/source/scripts/tif__00139d33.psc +++ b/source/scripts/tif__00139d33.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D33 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d37.psc b/source/scripts/tif__00139d37.psc index 042a29be..a1b810fd 100644 --- a/source/scripts/tif__00139d37.psc +++ b/source/scripts/tif__00139d37.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D37 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d3e.psc b/source/scripts/tif__00139d3e.psc index afa75c4d..5554c435 100644 --- a/source/scripts/tif__00139d3e.psc +++ b/source/scripts/tif__00139d3e.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D3E Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d4b.psc b/source/scripts/tif__00139d4b.psc index 7b43448d..0ada01fd 100644 --- a/source/scripts/tif__00139d4b.psc +++ b/source/scripts/tif__00139d4b.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D4B Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d4d.psc b/source/scripts/tif__00139d4d.psc index 609d45af..4bdbb97b 100644 --- a/source/scripts/tif__00139d4d.psc +++ b/source/scripts/tif__00139d4d.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D4D Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d50.psc b/source/scripts/tif__00139d50.psc index 8d74306d..2210680e 100644 --- a/source/scripts/tif__00139d50.psc +++ b/source/scripts/tif__00139d50.psc @@ -15,11 +15,9 @@ EndFunction Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d61.psc b/source/scripts/tif__00139d61.psc index 324bf9ac..9a2f3061 100644 --- a/source/scripts/tif__00139d61.psc +++ b/source/scripts/tif__00139d61.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D61 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d64.psc b/source/scripts/tif__00139d64.psc index 1658a510..da4168f3 100644 --- a/source/scripts/tif__00139d64.psc +++ b/source/scripts/tif__00139d64.psc @@ -6,7 +6,7 @@ Scriptname TIF__00139D64 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(30) +_00E_EPHandler.GiveEP(30) ;END CODE EndFunction ;END FRAGMENT @@ -23,5 +23,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__00139d6e.psc b/source/scripts/tif__00139d6e.psc index 048affdf..50a4c042 100644 --- a/source/scripts/tif__00139d6e.psc +++ b/source/scripts/tif__00139d6e.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D6E Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d70.psc b/source/scripts/tif__00139d70.psc index a9492554..78c33c34 100644 --- a/source/scripts/tif__00139d70.psc +++ b/source/scripts/tif__00139d70.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D70 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d7a.psc b/source/scripts/tif__00139d7a.psc index 11949b31..6be62477 100644 --- a/source/scripts/tif__00139d7a.psc +++ b/source/scripts/tif__00139d7a.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D7A Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139d80.psc b/source/scripts/tif__00139d80.psc index 90a5a574..5aebfdb2 100644 --- a/source/scripts/tif__00139d80.psc +++ b/source/scripts/tif__00139d80.psc @@ -6,11 +6,9 @@ Scriptname TIF__00139D80 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00139efc.psc b/source/scripts/tif__00139efc.psc index 5fe2b1a7..c11d5cdb 100644 --- a/source/scripts/tif__00139efc.psc +++ b/source/scripts/tif__00139efc.psc @@ -8,7 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE if !MQ14.IsObjectiveCompleted(0) MQ14.SetObjectiveCompleted(0) - Levelsystem.GiveEP(150) + _00E_EPHandler.GiveEP(150) endif ;END CODE EndFunction @@ -16,5 +16,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto Quest Property MQ14 Auto diff --git a/source/scripts/tif__00139f89.psc b/source/scripts/tif__00139f89.psc index 0677db36..519f2cfd 100644 --- a/source/scripts/tif__00139f89.psc +++ b/source/scripts/tif__00139f89.psc @@ -6,7 +6,7 @@ Scriptname TIF__00139F89 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(150) +_00E_EPHandler.GiveEP(150) _00E_RhetorikCounter.SetValueInt(_00E_RhetorikCounter.GetValueInt()+1) ;END CODE EndFunction @@ -14,6 +14,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0013c24d.psc b/source/scripts/tif__0013c24d.psc index 0e256879..064f6bc1 100644 --- a/source/scripts/tif__0013c24d.psc +++ b/source/scripts/tif__0013c24d.psc @@ -6,12 +6,9 @@ Scriptname TIF__0013C24D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c255.psc b/source/scripts/tif__0013c255.psc index bcfad178..7550e478 100644 --- a/source/scripts/tif__0013c255.psc +++ b/source/scripts/tif__0013c255.psc @@ -7,7 +7,7 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE EnderalFunctions.DisableDialogueQuitting() -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) GetOwningQuest().SetObjectiveCompleted(5) ;END CODE EndFunction @@ -15,4 +15,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0013c25a.psc b/source/scripts/tif__0013c25a.psc index 2440ad55..3e020e8e 100644 --- a/source/scripts/tif__0013c25a.psc +++ b/source/scripts/tif__0013c25a.psc @@ -6,12 +6,9 @@ Scriptname TIF__0013C25A Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c25b.psc b/source/scripts/tif__0013c25b.psc index 1ece6ca2..a3698b8c 100644 --- a/source/scripts/tif__0013c25b.psc +++ b/source/scripts/tif__0013c25b.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C25B Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c25f.psc b/source/scripts/tif__0013c25f.psc index e4462ed4..27c0d4f1 100644 --- a/source/scripts/tif__0013c25f.psc +++ b/source/scripts/tif__0013c25f.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C25F Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c265.psc b/source/scripts/tif__0013c265.psc index 9641b2c2..c098b530 100644 --- a/source/scripts/tif__0013c265.psc +++ b/source/scripts/tif__0013c265.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C265 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c26a.psc b/source/scripts/tif__0013c26a.psc index f226748a..d71e1424 100644 --- a/source/scripts/tif__0013c26a.psc +++ b/source/scripts/tif__0013c26a.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C26A Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c26b.psc b/source/scripts/tif__0013c26b.psc deleted file mode 100644 index 00498e56..00000000 --- a/source/scripts/tif__0013c26b.psc +++ /dev/null @@ -1,16 +0,0 @@ -;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment -;NEXT FRAGMENT INDEX 1 -Scriptname TIF__0013C26B Extends TopicInfo Hidden - -;BEGIN FRAGMENT Fragment_0 -Function Fragment_0(ObjectReference akSpeakerRef) -Actor akSpeaker = akSpeakerRef as Actor -;BEGIN CODE -CQJ01.AddMusic() -;END CODE -EndFunction -;END FRAGMENT - -;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_CQJ01_Functions Property CQJ01 Auto diff --git a/source/scripts/tif__0013c3a3.psc b/source/scripts/tif__0013c3a3.psc index 7a409bb6..60c55d16 100644 --- a/source/scripts/tif__0013c3a3.psc +++ b/source/scripts/tif__0013c3a3.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C3A3 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_Questfunctions Property Levelsystem AUto diff --git a/source/scripts/tif__0013c3ab.psc b/source/scripts/tif__0013c3ab.psc index 3fb8a48f..0fb09647 100644 --- a/source/scripts/tif__0013c3ab.psc +++ b/source/scripts/tif__0013c3ab.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C3AB Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_Questfunctions Property Levelsystem AUto diff --git a/source/scripts/tif__0013c3ba.psc b/source/scripts/tif__0013c3ba.psc index b446f415..67afc0f1 100644 --- a/source/scripts/tif__0013c3ba.psc +++ b/source/scripts/tif__0013c3ba.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C3BA Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -25) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -25) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_Questfunctions Property Levelsystem AUto diff --git a/source/scripts/tif__0013c3be.psc b/source/scripts/tif__0013c3be.psc index 835bb599..181a89cc 100644 --- a/source/scripts/tif__0013c3be.psc +++ b/source/scripts/tif__0013c3be.psc @@ -16,7 +16,7 @@ EndFunction Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 15) ;END CODE EndFunction ;END FRAGMENT @@ -24,5 +24,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment Globalvariable Property _00E_NQ_G_05_ToldDijaam Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c3bf.psc b/source/scripts/tif__0013c3bf.psc index 94460489..a4bb7850 100644 --- a/source/scripts/tif__0013c3bf.psc +++ b/source/scripts/tif__0013c3bf.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C3BF Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c3c1.psc b/source/scripts/tif__0013c3c1.psc index d9928e87..18ab56dc 100644 --- a/source/scripts/tif__0013c3c1.psc +++ b/source/scripts/tif__0013c3c1.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C3C1 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_Questfunctions Property Levelsystem AUto diff --git a/source/scripts/tif__0013c3c4.psc b/source/scripts/tif__0013c3c4.psc index 7153671a..08f41870 100644 --- a/source/scripts/tif__0013c3c4.psc +++ b/source/scripts/tif__0013c3c4.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C3C4 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -15) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c3c9.psc b/source/scripts/tif__0013c3c9.psc index d21b7a9c..58c4b72e 100644 --- a/source/scripts/tif__0013c3c9.psc +++ b/source/scripts/tif__0013c3c9.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C3C9 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c3cf.psc b/source/scripts/tif__0013c3cf.psc index c4340a06..b6614f86 100644 --- a/source/scripts/tif__0013c3cf.psc +++ b/source/scripts/tif__0013c3cf.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C3CF Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c3e0.psc b/source/scripts/tif__0013c3e0.psc index 2e5eb131..dca35850 100644 --- a/source/scripts/tif__0013c3e0.psc +++ b/source/scripts/tif__0013c3e0.psc @@ -6,12 +6,9 @@ Scriptname TIF__0013C3E0 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_Questfunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c8ee.psc b/source/scripts/tif__0013c8ee.psc index 71fd9ba6..14912f1f 100644 --- a/source/scripts/tif__0013c8ee.psc +++ b/source/scripts/tif__0013c8ee.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013C8EE Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -15, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -15, false, false) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c8f2.psc b/source/scripts/tif__0013c8f2.psc index 9140f96b..024cabda 100644 --- a/source/scripts/tif__0013c8f2.psc +++ b/source/scripts/tif__0013c8f2.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C8F2 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c906.psc b/source/scripts/tif__0013c906.psc index 126bb974..4d3fca20 100644 --- a/source/scripts/tif__0013c906.psc +++ b/source/scripts/tif__0013c906.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C906 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c90b.psc b/source/scripts/tif__0013c90b.psc index fb902b7f..eb3f3369 100644 --- a/source/scripts/tif__0013c90b.psc +++ b/source/scripts/tif__0013c90b.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013C90B Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, false, false) EnderalFunctions.DisableDialogueQuitting() ;END CODE EndFunction @@ -15,4 +15,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_CQJ02_Functions Property CQJ02 Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c90c.psc b/source/scripts/tif__0013c90c.psc index d4703a1c..f6ae5bf6 100644 --- a/source/scripts/tif__0013c90c.psc +++ b/source/scripts/tif__0013c90c.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013C90C Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, false, false) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c92b.psc b/source/scripts/tif__0013c92b.psc index a68a1d80..3aaafb51 100644 --- a/source/scripts/tif__0013c92b.psc +++ b/source/scripts/tif__0013c92b.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C92B Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c93a.psc b/source/scripts/tif__0013c93a.psc index a055ba73..eef2ee1c 100644 --- a/source/scripts/tif__0013c93a.psc +++ b/source/scripts/tif__0013c93a.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C93A Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013c93b.psc b/source/scripts/tif__0013c93b.psc index 763685ab..112e6fdd 100644 --- a/source/scripts/tif__0013c93b.psc +++ b/source/scripts/tif__0013c93b.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013C93B Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013cec7.psc b/source/scripts/tif__0013cec7.psc index 47dd832a..3e4dc26c 100644 --- a/source/scripts/tif__0013cec7.psc +++ b/source/scripts/tif__0013cec7.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013CEC7 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013ceca.psc b/source/scripts/tif__0013ceca.psc index ea39eea2..1bf194d7 100644 --- a/source/scripts/tif__0013ceca.psc +++ b/source/scripts/tif__0013ceca.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013CECA Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013cecf.psc b/source/scripts/tif__0013cecf.psc index 4c57bf0d..74b08145 100644 --- a/source/scripts/tif__0013cecf.psc +++ b/source/scripts/tif__0013cecf.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013CECF Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013ced4.psc b/source/scripts/tif__0013ced4.psc index 1b48622b..08d206f3 100644 --- a/source/scripts/tif__0013ced4.psc +++ b/source/scripts/tif__0013ced4.psc @@ -6,12 +6,9 @@ Scriptname TIF__0013CED4 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013ced8.psc b/source/scripts/tif__0013ced8.psc index 72e35a55..a605ca07 100644 --- a/source/scripts/tif__0013ced8.psc +++ b/source/scripts/tif__0013ced8.psc @@ -6,12 +6,9 @@ Scriptname TIF__0013CED8 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013cedc.psc b/source/scripts/tif__0013cedc.psc index fcc0cf05..cfcdec3f 100644 --- a/source/scripts/tif__0013cedc.psc +++ b/source/scripts/tif__0013cedc.psc @@ -6,12 +6,9 @@ Scriptname TIF__0013CEDC Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013cee0.psc b/source/scripts/tif__0013cee0.psc index 7853bcfb..3782dff4 100644 --- a/source/scripts/tif__0013cee0.psc +++ b/source/scripts/tif__0013cee0.psc @@ -6,11 +6,11 @@ Scriptname TIF__0013CEE0 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -15, false, true, Levelsystem._00E_Levelsystem_sIsHurt.GetName()) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -15, false, true, _00E_Levelsystem_sIsHurt.GetName()) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +Message Property _00E_Levelsystem_sIsHurt Auto diff --git a/source/scripts/tif__0013cee9.psc b/source/scripts/tif__0013cee9.psc index 8419c4dc..38848a7d 100644 --- a/source/scripts/tif__0013cee9.psc +++ b/source/scripts/tif__0013cee9.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013CEE9 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Debug.Notification("Jespar" + Levelsystem._00E_Levelsystem_sDoesNotTrust.GetName()) +Debug.Notification("Jespar" + _00E_Levelsystem_sDoesNotTrust.GetName()) ;END CODE EndFunction ;END FRAGMENT @@ -22,4 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +Message Property _00E_Levelsystem_sDoesNotTrust Auto diff --git a/source/scripts/tif__0013cf78.psc b/source/scripts/tif__0013cf78.psc index 3e2d20ac..3dd50d2a 100644 --- a/source/scripts/tif__0013cf78.psc +++ b/source/scripts/tif__0013cf78.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013CF78 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -15) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013cf79.psc b/source/scripts/tif__0013cf79.psc index 4be464aa..e9482f0d 100644 --- a/source/scripts/tif__0013cf79.psc +++ b/source/scripts/tif__0013cf79.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013CF79 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -15) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013cf7d.psc b/source/scripts/tif__0013cf7d.psc index 9c403fc6..6ecbb4d2 100644 --- a/source/scripts/tif__0013cf7d.psc +++ b/source/scripts/tif__0013cf7d.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013CF7D Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 15) ;END CODE EndFunction ;END FRAGMENT @@ -23,4 +23,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_NQ_G_06_Functions Property NQ_G_06 Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013cf84.psc b/source/scripts/tif__0013cf84.psc index 9c7250cd..74cae99e 100644 --- a/source/scripts/tif__0013cf84.psc +++ b/source/scripts/tif__0013cf84.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013CF84 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013cf8c.psc b/source/scripts/tif__0013cf8c.psc index e1fdd7d2..d22470a1 100644 --- a/source/scripts/tif__0013cf8c.psc +++ b/source/scripts/tif__0013cf8c.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013CF8C Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT @@ -24,6 +24,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__0013cf8d.psc b/source/scripts/tif__0013cf8d.psc index ca353fd0..86a88314 100644 --- a/source/scripts/tif__0013cf8d.psc +++ b/source/scripts/tif__0013cf8d.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013CF8D Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT @@ -24,7 +24,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__0013cf9a.psc b/source/scripts/tif__0013cf9a.psc index 1d16e914..fc1311b3 100644 --- a/source/scripts/tif__0013cf9a.psc +++ b/source/scripts/tif__0013cf9a.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013CF9A Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, 1) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, 1) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013cfa1.psc b/source/scripts/tif__0013cfa1.psc index abc4b77d..9b0e61b2 100644 --- a/source/scripts/tif__0013cfa1.psc +++ b/source/scripts/tif__0013cfa1.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013CFA1 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -20) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -20) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013cfa2.psc b/source/scripts/tif__0013cfa2.psc index d9693259..a1ce4a97 100644 --- a/source/scripts/tif__0013cfa2.psc +++ b/source/scripts/tif__0013cfa2.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013CFA2 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -20) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -20) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013cfb4.psc b/source/scripts/tif__0013cfb4.psc index 3a20f786..2361023d 100644 --- a/source/scripts/tif__0013cfb4.psc +++ b/source/scripts/tif__0013cfb4.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013CFB4 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) _00E_NQ_G_05_TalkedAboutRodas.SetValueInt(1) ;END CODE EndFunction @@ -14,6 +14,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_Questfunctions Property Levelsystem AUto - GlobalVariable Property _00E_NQ_G_05_TalkedAboutRodas Auto diff --git a/source/scripts/tif__0013d03d.psc b/source/scripts/tif__0013d03d.psc index cf5c609b..f778a93c 100644 --- a/source/scripts/tif__0013d03d.psc +++ b/source/scripts/tif__0013d03d.psc @@ -6,13 +6,9 @@ Scriptname TIF__0013D03D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto - diff --git a/source/scripts/tif__0013d049.psc b/source/scripts/tif__0013d049.psc index 99085b66..9660bdd7 100644 --- a/source/scripts/tif__0013d049.psc +++ b/source/scripts/tif__0013d049.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013D049 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013d04d.psc b/source/scripts/tif__0013d04d.psc index 360b0f3e..60de7ac8 100644 --- a/source/scripts/tif__0013d04d.psc +++ b/source/scripts/tif__0013d04d.psc @@ -6,12 +6,9 @@ Scriptname TIF__0013D04D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto - diff --git a/source/scripts/tif__0013d04e.psc b/source/scripts/tif__0013d04e.psc index 83c75de2..41e1d7ce 100644 --- a/source/scripts/tif__0013d04e.psc +++ b/source/scripts/tif__0013d04e.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013D04E Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013d054.psc b/source/scripts/tif__0013d054.psc index 075f09c3..385aef7e 100644 --- a/source/scripts/tif__0013d054.psc +++ b/source/scripts/tif__0013d054.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013D054 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT @@ -21,6 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto - diff --git a/source/scripts/tif__0013d05a.psc b/source/scripts/tif__0013d05a.psc index f847a554..ce916d48 100644 --- a/source/scripts/tif__0013d05a.psc +++ b/source/scripts/tif__0013d05a.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013D05A Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013d061.psc b/source/scripts/tif__0013d061.psc index 7e368938..b972ac9d 100644 --- a/source/scripts/tif__0013d061.psc +++ b/source/scripts/tif__0013d061.psc @@ -6,12 +6,9 @@ Scriptname TIF__0013D061 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto - diff --git a/source/scripts/tif__0013d06d.psc b/source/scripts/tif__0013d06d.psc index db089d3f..ddba6104 100644 --- a/source/scripts/tif__0013d06d.psc +++ b/source/scripts/tif__0013d06d.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013D06D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e857.psc b/source/scripts/tif__0013e857.psc index 7acea1c3..32c9caba 100644 --- a/source/scripts/tif__0013e857.psc +++ b/source/scripts/tif__0013e857.psc @@ -6,12 +6,10 @@ Scriptname TIF__0013E857 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - diff --git a/source/scripts/tif__0013e859.psc b/source/scripts/tif__0013e859.psc index 2dcb8879..f41965ab 100644 --- a/source/scripts/tif__0013e859.psc +++ b/source/scripts/tif__0013e859.psc @@ -6,12 +6,9 @@ Scriptname TIF__0013E859 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5, false, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5, false, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e85c.psc b/source/scripts/tif__0013e85c.psc index b42b2464..f88f5b6f 100644 --- a/source/scripts/tif__0013e85c.psc +++ b/source/scripts/tif__0013e85c.psc @@ -6,12 +6,9 @@ Scriptname TIF__0013E85C Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e85d.psc b/source/scripts/tif__0013e85d.psc index 95eedc28..d23ba1ac 100644 --- a/source/scripts/tif__0013e85d.psc +++ b/source/scripts/tif__0013e85d.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E85D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e861.psc b/source/scripts/tif__0013e861.psc index f50aa849..b715869b 100644 --- a/source/scripts/tif__0013e861.psc +++ b/source/scripts/tif__0013e861.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E861 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10, true, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10, true, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e865.psc b/source/scripts/tif__0013e865.psc index 8b6106fc..565b9563 100644 --- a/source/scripts/tif__0013e865.psc +++ b/source/scripts/tif__0013e865.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E865 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e87d.psc b/source/scripts/tif__0013e87d.psc index abd5f1a3..88d8b9d8 100644 --- a/source/scripts/tif__0013e87d.psc +++ b/source/scripts/tif__0013e87d.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013E87D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -_00E_QuestFunctions.PDB("Say fragment 1") +_00E_Debug.PrintMessage("Say fragment 1") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/tif__0013e87e.psc b/source/scripts/tif__0013e87e.psc index de62b196..900e1231 100644 --- a/source/scripts/tif__0013e87e.psc +++ b/source/scripts/tif__0013e87e.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013E87E Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -_00E_QuestFunctions.PDB("Say fragment 2") +_00E_Debug.PrintMessage("Say fragment 2") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/tif__0013e87f.psc b/source/scripts/tif__0013e87f.psc index b63c99d7..a20d8f22 100644 --- a/source/scripts/tif__0013e87f.psc +++ b/source/scripts/tif__0013e87f.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013E87F Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -_00E_QuestFunctions.PDB("Say fragment 3") +_00E_Debug.PrintMessage("Say fragment 3") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/tif__0013e881.psc b/source/scripts/tif__0013e881.psc index b46da56d..0e1b7ae9 100644 --- a/source/scripts/tif__0013e881.psc +++ b/source/scripts/tif__0013e881.psc @@ -15,11 +15,9 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -15) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e883.psc b/source/scripts/tif__0013e883.psc index 03dac066..17e2740b 100644 --- a/source/scripts/tif__0013e883.psc +++ b/source/scripts/tif__0013e883.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E883 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e88a.psc b/source/scripts/tif__0013e88a.psc index 2ab3a00b..9b81389e 100644 --- a/source/scripts/tif__0013e88a.psc +++ b/source/scripts/tif__0013e88a.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E88A Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e901.psc b/source/scripts/tif__0013e901.psc index 1515e7a2..2916e808 100644 --- a/source/scripts/tif__0013e901.psc +++ b/source/scripts/tif__0013e901.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E901 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e902.psc b/source/scripts/tif__0013e902.psc index 66635bef..a22cf965 100644 --- a/source/scripts/tif__0013e902.psc +++ b/source/scripts/tif__0013e902.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E902 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e904.psc b/source/scripts/tif__0013e904.psc index 37a073a7..6f38fbfb 100644 --- a/source/scripts/tif__0013e904.psc +++ b/source/scripts/tif__0013e904.psc @@ -6,11 +6,11 @@ Scriptname TIF__0013E904 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0013e905.psc b/source/scripts/tif__0013e905.psc index 2a0368ef..f46abd7d 100644 --- a/source/scripts/tif__0013e905.psc +++ b/source/scripts/tif__0013e905.psc @@ -6,11 +6,11 @@ Scriptname TIF__0013E905 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0013e907.psc b/source/scripts/tif__0013e907.psc index 315a68cf..2ce92e9c 100644 --- a/source/scripts/tif__0013e907.psc +++ b/source/scripts/tif__0013e907.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E907 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e90c.psc b/source/scripts/tif__0013e90c.psc index 609d77d0..0889c0c6 100644 --- a/source/scripts/tif__0013e90c.psc +++ b/source/scripts/tif__0013e90c.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E90C Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e90e.psc b/source/scripts/tif__0013e90e.psc index f6af1cc8..6bd66d51 100644 --- a/source/scripts/tif__0013e90e.psc +++ b/source/scripts/tif__0013e90e.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E90E Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10, true) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e90f.psc b/source/scripts/tif__0013e90f.psc index 1a88d2d8..e14347d8 100644 --- a/source/scripts/tif__0013e90f.psc +++ b/source/scripts/tif__0013e90f.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E90F Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e912.psc b/source/scripts/tif__0013e912.psc index 6a49d12b..dc013e9d 100644 --- a/source/scripts/tif__0013e912.psc +++ b/source/scripts/tif__0013e912.psc @@ -15,11 +15,9 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -15) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e91b.psc b/source/scripts/tif__0013e91b.psc index b1cd9809..e605d289 100644 --- a/source/scripts/tif__0013e91b.psc +++ b/source/scripts/tif__0013e91b.psc @@ -15,11 +15,9 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -25) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -25) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e983.psc b/source/scripts/tif__0013e983.psc index 523b4a6e..32053e38 100644 --- a/source/scripts/tif__0013e983.psc +++ b/source/scripts/tif__0013e983.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E983 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e995.psc b/source/scripts/tif__0013e995.psc index f7bb696f..1f522b80 100644 --- a/source/scripts/tif__0013e995.psc +++ b/source/scripts/tif__0013e995.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E995 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e998.psc b/source/scripts/tif__0013e998.psc index 57dfcfd6..9c774c55 100644 --- a/source/scripts/tif__0013e998.psc +++ b/source/scripts/tif__0013e998.psc @@ -15,11 +15,9 @@ EndFunction Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10, true, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10, true, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e99d.psc b/source/scripts/tif__0013e99d.psc index 9a6b57a2..9555b747 100644 --- a/source/scripts/tif__0013e99d.psc +++ b/source/scripts/tif__0013e99d.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E99D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e99e.psc b/source/scripts/tif__0013e99e.psc index 7521c337..2a78e056 100644 --- a/source/scripts/tif__0013e99e.psc +++ b/source/scripts/tif__0013e99e.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013E99E Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -25) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -25) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e9a4.psc b/source/scripts/tif__0013e9a4.psc index 8210460c..9bbf35ee 100644 --- a/source/scripts/tif__0013e9a4.psc +++ b/source/scripts/tif__0013e9a4.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E9A4 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013e9ae.psc b/source/scripts/tif__0013e9ae.psc index 8fc3fce9..4e79da24 100644 --- a/source/scripts/tif__0013e9ae.psc +++ b/source/scripts/tif__0013e9ae.psc @@ -7,10 +7,10 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE GetOwningQuest().SetStage(53) -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0013e9b2.psc b/source/scripts/tif__0013e9b2.psc index 107c24ef..1ff63a10 100644 --- a/source/scripts/tif__0013e9b2.psc +++ b/source/scripts/tif__0013e9b2.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013E9B2 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013eaa3.psc b/source/scripts/tif__0013eaa3.psc index 6e4b3323..ffa7fc38 100644 --- a/source/scripts/tif__0013eaa3.psc +++ b/source/scripts/tif__0013eaa3.psc @@ -6,11 +6,9 @@ Scriptname TIF__0013EAA3 Extends TopicInfo Hidden Function Fragment_3(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(30) +_00E_EPHandler.GiveEP(30) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0013f5a5.psc b/source/scripts/tif__0013f5a5.psc index dd30607b..67b66daf 100644 --- a/source/scripts/tif__0013f5a5.psc +++ b/source/scripts/tif__0013f5a5.psc @@ -7,11 +7,11 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE GetOwningQuest().SetStage(15) -Levelsystem.SetAllowIdleChatter(True) +AllowIdleChatter.SetValue(1) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__0013f69a.psc b/source/scripts/tif__0013f69a.psc index dce5660c..8386c392 100644 --- a/source/scripts/tif__0013f69a.psc +++ b/source/scripts/tif__0013f69a.psc @@ -15,12 +15,11 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(30) +_00E_EPHandler.GiveEP(30) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_Questfunctions Property Levelsystem Auto GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0013fa6a.psc b/source/scripts/tif__0013fa6a.psc index f7345138..51601a09 100644 --- a/source/scripts/tif__0013fa6a.psc +++ b/source/scripts/tif__0013fa6a.psc @@ -15,12 +15,11 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -50, false, true, Levelsystem._00E_Levelsystem_sExtremelyHurt.GetName()) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -50, false, true, _00E_Levelsystem_sExtremelyHurt.GetName()) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - +Message Property _00E_Levelsystem_sExtremelyHurt Auto diff --git a/source/scripts/tif__0013fa89.psc b/source/scripts/tif__0013fa89.psc index f03f52f2..e6bb42fb 100644 --- a/source/scripts/tif__0013fa89.psc +++ b/source/scripts/tif__0013fa89.psc @@ -6,7 +6,7 @@ Scriptname TIF__0013FA89 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -25) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -25) ;END CODE EndFunction ;END FRAGMENT @@ -22,5 +22,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - diff --git a/source/scripts/tif__0014004a.psc b/source/scripts/tif__0014004a.psc index fe589c7d..512977a2 100644 --- a/source/scripts/tif__0014004a.psc +++ b/source/scripts/tif__0014004a.psc @@ -6,11 +6,9 @@ Scriptname TIF__0014004A Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -25) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -25) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00141739.psc b/source/scripts/tif__00141739.psc index 753b95a0..24986dce 100644 --- a/source/scripts/tif__00141739.psc +++ b/source/scripts/tif__00141739.psc @@ -6,11 +6,9 @@ Scriptname TIF__00141739 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00141745.psc b/source/scripts/tif__00141745.psc index 7dafab73..aa2b77a7 100644 --- a/source/scripts/tif__00141745.psc +++ b/source/scripts/tif__00141745.psc @@ -7,7 +7,7 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE if _00E_MQ09a_FogvilleHist_SayOnce.GetValue() == 0 - Levelsystem.GiveEP(150) + _00E_EPHandler.GiveEP(150) _00E_MQ09a_FogvilleHist_SayOnce.SetValue(1) endif GetOwningQuest().SetObjectiveCompleted(47) @@ -17,6 +17,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_MQ09a_FogvilleHist_SayOnce Auto diff --git a/source/scripts/tif__0014174b.psc b/source/scripts/tif__0014174b.psc index 35976af8..d977b808 100644 --- a/source/scripts/tif__0014174b.psc +++ b/source/scripts/tif__0014174b.psc @@ -6,11 +6,9 @@ Scriptname TIF__0014174B Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00141bfd.psc b/source/scripts/tif__00141bfd.psc index fd3ef6a4..7d2b1fb5 100644 --- a/source/scripts/tif__00141bfd.psc +++ b/source/scripts/tif__00141bfd.psc @@ -6,11 +6,9 @@ Scriptname TIF__00141BFD Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -LEvelsystem.ModSympathyNG(akSpeaker, 20, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 20, true) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00141bff.psc b/source/scripts/tif__00141bff.psc index 87f812ad..08ba2bc1 100644 --- a/source/scripts/tif__00141bff.psc +++ b/source/scripts/tif__00141bff.psc @@ -6,11 +6,9 @@ Scriptname TIF__00141BFF Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -LEvelsystem.ModSympathyNG(akSpeaker, 15, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 15, true) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00141c00.psc b/source/scripts/tif__00141c00.psc index f16ae403..df0995f5 100644 --- a/source/scripts/tif__00141c00.psc +++ b/source/scripts/tif__00141c00.psc @@ -6,11 +6,9 @@ Scriptname TIF__00141C00 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00141c03.psc b/source/scripts/tif__00141c03.psc index 0b877a7d..443674e8 100644 --- a/source/scripts/tif__00141c03.psc +++ b/source/scripts/tif__00141c03.psc @@ -6,11 +6,9 @@ Scriptname TIF__00141C03 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00141c05.psc b/source/scripts/tif__00141c05.psc index 0101b7a0..d250961b 100644 --- a/source/scripts/tif__00141c05.psc +++ b/source/scripts/tif__00141c05.psc @@ -6,11 +6,9 @@ Scriptname TIF__00141C05 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00141c06.psc b/source/scripts/tif__00141c06.psc index 7d470b50..988043ed 100644 --- a/source/scripts/tif__00141c06.psc +++ b/source/scripts/tif__00141c06.psc @@ -6,12 +6,9 @@ Scriptname TIF__00141C06 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00141cfd.psc b/source/scripts/tif__00141cfd.psc deleted file mode 100644 index 6c7ccc1e..00000000 --- a/source/scripts/tif__00141cfd.psc +++ /dev/null @@ -1,15 +0,0 @@ -;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment -;NEXT FRAGMENT INDEX 1 -Scriptname TIF__00141CFD Extends TopicInfo Hidden - -;BEGIN FRAGMENT Fragment_0 -Function Fragment_0(ObjectReference akSpeakerRef) -Actor akSpeaker = akSpeakerRef as Actor -;BEGIN CODE -_00E_MQ14_Functions MQ14 = GetOwningQuest() as _00E_MQ14_Functions -MQ14.StartZyklusMusic() -;END CODE -EndFunction -;END FRAGMENT - -;END FRAGMENT CODE - Do not edit anything between this and the begin comment diff --git a/source/scripts/tif__00146f01.psc b/source/scripts/tif__00146f01.psc index c91ecd48..96a2bf60 100644 --- a/source/scripts/tif__00146f01.psc +++ b/source/scripts/tif__00146f01.psc @@ -15,12 +15,11 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(30) +_00E_EPHandler.GiveEP(30) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_Questfunctions Property Levelsystem Auto GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__00146f09.psc b/source/scripts/tif__00146f09.psc index 4082b6e9..9ebe502c 100644 --- a/source/scripts/tif__00146f09.psc +++ b/source/scripts/tif__00146f09.psc @@ -6,7 +6,7 @@ Scriptname TIF__00146F09 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00146f29.psc b/source/scripts/tif__00146f29.psc index e003ac01..927e8cbb 100644 --- a/source/scripts/tif__00146f29.psc +++ b/source/scripts/tif__00146f29.psc @@ -6,7 +6,7 @@ Scriptname TIF__00146F29 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(40) +_00E_EPHandler.GiveEP(40) ;END CODE EndFunction ;END FRAGMENT @@ -25,5 +25,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_NQ_G_07_Functions Property NQ_G_07 Auto -_00E_QuestFunctions Property Levelsystem Auto GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__00146f6f.psc b/source/scripts/tif__00146f6f.psc index c11c0a5e..bcdc69d1 100644 --- a/source/scripts/tif__00146f6f.psc +++ b/source/scripts/tif__00146f6f.psc @@ -16,7 +16,7 @@ EndFunction Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(50) +_00E_EPHandler.GiveEP(50) ;END CODE EndFunction ;END FRAGMENT @@ -25,6 +25,4 @@ EndFunction _00E_NQ_G_07_Functions Property NQ_G_07 Auto -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__00146f8d.psc b/source/scripts/tif__00146f8d.psc index 54caba1b..a97cc6d1 100644 --- a/source/scripts/tif__00146f8d.psc +++ b/source/scripts/tif__00146f8d.psc @@ -6,11 +6,9 @@ Scriptname TIF__00146F8D Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00146f8e.psc b/source/scripts/tif__00146f8e.psc index 649eb4e8..5becbbca 100644 --- a/source/scripts/tif__00146f8e.psc +++ b/source/scripts/tif__00146f8e.psc @@ -7,11 +7,11 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE EnderalFunctions.DisableDialogueQuitting() -Levelsystem.SetAllowIdleChatter(False) +AllowIdleChatter.SetValue(0) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto +GlobalVariable Property AllowIdleChatter Auto diff --git a/source/scripts/tif__00146fac.psc b/source/scripts/tif__00146fac.psc index 55c54056..6f9772c8 100644 --- a/source/scripts/tif__00146fac.psc +++ b/source/scripts/tif__00146fac.psc @@ -6,7 +6,7 @@ Scriptname TIF__00146FAC Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00148480.psc b/source/scripts/tif__00148480.psc index 72c78462..b96c2012 100644 --- a/source/scripts/tif__00148480.psc +++ b/source/scripts/tif__00148480.psc @@ -6,7 +6,7 @@ Scriptname TIF__00148480 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Say fragment 1.") +_00E_Debug.PrintMessage("Say fragment 1.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/tif__00148481.psc b/source/scripts/tif__00148481.psc index 55855c97..e2a8c2c4 100644 --- a/source/scripts/tif__00148481.psc +++ b/source/scripts/tif__00148481.psc @@ -6,7 +6,7 @@ Scriptname TIF__00148481 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Say fragment 2.") +_00E_Debug.PrintMessage("Say fragment 2.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/tif__00148482.psc b/source/scripts/tif__00148482.psc index 025d6c39..213994a5 100644 --- a/source/scripts/tif__00148482.psc +++ b/source/scripts/tif__00148482.psc @@ -6,7 +6,7 @@ Scriptname TIF__00148482 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Say fragment 3.") +_00E_Debug.PrintMessage("Say fragment 3.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/tif__00148483.psc b/source/scripts/tif__00148483.psc index 1dca0fec..66261529 100644 --- a/source/scripts/tif__00148483.psc +++ b/source/scripts/tif__00148483.psc @@ -6,7 +6,7 @@ Scriptname TIF__00148483 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Say fragment 4.") +_00E_Debug.PrintMessage("Say fragment 4.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/tif__00148484.psc b/source/scripts/tif__00148484.psc index 22fb6cc8..19c870d7 100644 --- a/source/scripts/tif__00148484.psc +++ b/source/scripts/tif__00148484.psc @@ -6,7 +6,7 @@ Scriptname TIF__00148484 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -_00E_QuestFunctions.PrintDebugMessage("Say fragment 5.") +_00E_Debug.PrintMessage("Say fragment 5.") ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/tif__001494eb.psc b/source/scripts/tif__001494eb.psc index 3e73bd33..279b6a6a 100644 --- a/source/scripts/tif__001494eb.psc +++ b/source/scripts/tif__001494eb.psc @@ -6,7 +6,7 @@ Scriptname TIF__001494EB Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(50) +_00E_EPHandler.GiveEP(50) ;END CODE EndFunction ;END FRAGMENT @@ -22,6 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0014bc90.psc b/source/scripts/tif__0014bc90.psc index 44ea29a7..b51e3964 100644 --- a/source/scripts/tif__0014bc90.psc +++ b/source/scripts/tif__0014bc90.psc @@ -7,7 +7,7 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE Game.GetPlayer().AddItem(Gold001, 150) -Levelsystem.GiveEP(150) +_00E_EPHandler.GiveEP(150) GetOwningQuest().SetStage(15) ;END CODE EndFunction @@ -16,5 +16,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment MiscObject Property Gold001 Auto - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0014caaf.psc b/source/scripts/tif__0014caaf.psc index 395dd2d9..ca8bb16c 100644 --- a/source/scripts/tif__0014caaf.psc +++ b/source/scripts/tif__0014caaf.psc @@ -6,7 +6,7 @@ Scriptname TIF__0014CAAF Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(250) +_00E_EPHandler.GiveEP(250) ArkGenericDialogue.bPlayerHasHadMithConversation = True If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_PRINCE_MITH_01") @@ -17,7 +17,6 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto _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 391594bc..7f25d02b 100644 --- a/source/scripts/tif__0014cac8.psc +++ b/source/scripts/tif__0014cac8.psc @@ -6,7 +6,7 @@ Scriptname TIF__0014CAC8 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(250) +_00E_EPHandler.GiveEP(250) ArkGenericDialogue.bPlayerHasHadMithConversation = True If _00E_AchievementsEnabled.GetValueInt() == 1 Steam.UnlockAchievement("END_PRINCE_MITH_01") @@ -17,8 +17,6 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - _00E_Ark_GenericDialogueFunctions Property ArkGenericDialogue Auto GlobalVariable Property _00E_AchievementsEnabled Auto diff --git a/source/scripts/tif__0014cad8.psc b/source/scripts/tif__0014cad8.psc index d8bcaea7..916bf9f7 100644 --- a/source/scripts/tif__0014cad8.psc +++ b/source/scripts/tif__0014cad8.psc @@ -7,7 +7,7 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE MQ10b.SetObjectiveCompleted(35) -Levelsystem.GiveEP(100) +_00E_EPHandler.GiveEP(100) ;END CODE EndFunction ;END FRAGMENT @@ -15,4 +15,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment Quest Property MQ10b Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0014f502.psc b/source/scripts/tif__0014f502.psc index bd355046..2dce210c 100644 --- a/source/scripts/tif__0014f502.psc +++ b/source/scripts/tif__0014f502.psc @@ -8,7 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE Game.GetPlayer().AddItem(Gold001, 140) _00E_NQ01GipfenstuermerDone.SetValue(1) -Levelsystem.GiveEP(380) +_00E_EPHandler.GiveEP(380) Game.GetPlayer().RemoveItem(_00E_RaubvogeleiGipfelstuermer, 4) NQ01.SetObjectiveCompleted(40) ;END CODE @@ -22,5 +22,4 @@ MiscObject Property Gold001 Auto Ingredient Property _00E_RaubvogeleiGipfelstuermer Auto Quest Property NQ01 Auto -_00E_Questfunctions Property Levelsystem Auto GlobalVariable Property _00E_NQ01GipfenstuermerDone Auto diff --git a/source/scripts/tif__0014f508.psc b/source/scripts/tif__0014f508.psc index 8b436a57..70a4dbf9 100644 --- a/source/scripts/tif__0014f508.psc +++ b/source/scripts/tif__0014f508.psc @@ -8,7 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE Game.GetPlayer().AddItem(Gold001, 440) _00E_NQ01FeuervogelDone.SetValue(1) -Levelsystem.GiveEP(600) +_00E_EPHandler.GiveEP(600) Game.GetPlayer().RemoveItem(_00E_RaubvogeleiFeuervogelei, 4) NQ01.SetObjectiveCompleted(30) ;END CODE @@ -23,4 +23,3 @@ MiscObject Property Gold001 Auto Quest Property NQ01 Auto Ingredient Property _00E_RaubvogeleiFeuervogelei Auto -_00E_Questfunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__0014f50a.psc b/source/scripts/tif__0014f50a.psc index a2f74d61..d679f1df 100644 --- a/source/scripts/tif__0014f50a.psc +++ b/source/scripts/tif__0014f50a.psc @@ -8,7 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE Game.GetPlayer().AddItem(Gold001, 140) _00E_NQ01LaubmoeveneierDone.SetValue(1) -Levelsystem.GiveEP(380) +_00E_EPHandler.GiveEP(380) Game.GetPlayer().RemoveItem(_00E_RaubvogeleiLaubmvenei, 4) NQ01.SetObjectiveCompleted(50) ;END CODE @@ -23,5 +23,4 @@ MiscObject Property Gold001 Auto Ingredient Property _00E_RaubvogeleiLaubmvenei Auto -_00E_Questfunctions Property Levelsystem Auto Quest Property NQ01 Auto diff --git a/source/scripts/tif__0014f989.psc b/source/scripts/tif__0014f989.psc index ae94c8fe..27536380 100644 --- a/source/scripts/tif__0014f989.psc +++ b/source/scripts/tif__0014f989.psc @@ -6,7 +6,7 @@ Scriptname TIF__0014F989 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true) ;END CODE EndFunction ;END FRAGMENT @@ -23,5 +23,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto Idle Property IdleStop_Loose Auto diff --git a/source/scripts/tif__0014f993.psc b/source/scripts/tif__0014f993.psc index 1d009613..e4b365a1 100644 --- a/source/scripts/tif__0014f993.psc +++ b/source/scripts/tif__0014f993.psc @@ -6,11 +6,9 @@ Scriptname TIF__0014F993 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true, false) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true, false) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00150004.psc b/source/scripts/tif__00150004.psc index a6ca6ebe..800894bb 100644 --- a/source/scripts/tif__00150004.psc +++ b/source/scripts/tif__00150004.psc @@ -6,11 +6,9 @@ Scriptname TIF__00150004 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00150005.psc b/source/scripts/tif__00150005.psc index cd412341..7764fe46 100644 --- a/source/scripts/tif__00150005.psc +++ b/source/scripts/tif__00150005.psc @@ -6,7 +6,7 @@ Scriptname TIF__00150005 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5, true) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5, true) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00150006.psc b/source/scripts/tif__00150006.psc index 9d083490..0001aa7a 100644 --- a/source/scripts/tif__00150006.psc +++ b/source/scripts/tif__00150006.psc @@ -6,11 +6,9 @@ Scriptname TIF__00150006 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0015000c.psc b/source/scripts/tif__0015000c.psc index 73a39983..b88cb42c 100644 --- a/source/scripts/tif__0015000c.psc +++ b/source/scripts/tif__0015000c.psc @@ -6,11 +6,9 @@ Scriptname TIF__0015000C Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__00153b40.psc b/source/scripts/tif__00153b40.psc index 70966656..9446faf5 100644 --- a/source/scripts/tif__00153b40.psc +++ b/source/scripts/tif__00153b40.psc @@ -6,11 +6,9 @@ Scriptname TIF__00153B40 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0100435e.psc b/source/scripts/tif__0100435e.psc index da1d1040..6ab295d9 100644 --- a/source/scripts/tif__0100435e.psc +++ b/source/scripts/tif__0100435e.psc @@ -6,11 +6,9 @@ Scriptname TIF__0100435E Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0100e33d.psc b/source/scripts/tif__0100e33d.psc index f3bcef22..2cc1f34d 100644 --- a/source/scripts/tif__0100e33d.psc +++ b/source/scripts/tif__0100e33d.psc @@ -6,11 +6,9 @@ Scriptname TIF__0100E33D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0100e356.psc b/source/scripts/tif__0100e356.psc index 142d7f72..82f60dd6 100644 --- a/source/scripts/tif__0100e356.psc +++ b/source/scripts/tif__0100e356.psc @@ -15,11 +15,9 @@ EndFunction Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -30) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -30) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0100e35b.psc b/source/scripts/tif__0100e35b.psc index 51f199f8..b7cb1502 100644 --- a/source/scripts/tif__0100e35b.psc +++ b/source/scripts/tif__0100e35b.psc @@ -6,7 +6,7 @@ Scriptname TIF__0100E35B Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(60) +_00E_EPHandler.GiveEP(60) ;END CODE EndFunction ;END FRAGMENT @@ -22,6 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0100e35e.psc b/source/scripts/tif__0100e35e.psc index d7913ecd..c646993d 100644 --- a/source/scripts/tif__0100e35e.psc +++ b/source/scripts/tif__0100e35e.psc @@ -6,7 +6,7 @@ Scriptname TIF__0100E35E Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 25) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 25) ;END CODE EndFunction ;END FRAGMENT @@ -24,4 +24,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment _00E_FS_NQ01_Functions Property FS_NQ01 Auto -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__010132f1.psc b/source/scripts/tif__010132f1.psc index dd4d53ca..ab66357c 100644 --- a/source/scripts/tif__010132f1.psc +++ b/source/scripts/tif__010132f1.psc @@ -6,11 +6,9 @@ Scriptname TIF__010132F1 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101c5a3.psc b/source/scripts/tif__0101c5a3.psc index 40b52221..a6547212 100644 --- a/source/scripts/tif__0101c5a3.psc +++ b/source/scripts/tif__0101c5a3.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101C5A3 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101c5a8.psc b/source/scripts/tif__0101c5a8.psc index 7b5061fa..a843bf08 100644 --- a/source/scripts/tif__0101c5a8.psc +++ b/source/scripts/tif__0101c5a8.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101C5A8 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101c5b4.psc b/source/scripts/tif__0101c5b4.psc index fb5ddc44..95114ec3 100644 --- a/source/scripts/tif__0101c5b4.psc +++ b/source/scripts/tif__0101c5b4.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101C5B4 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101c5e4.psc b/source/scripts/tif__0101c5e4.psc index ea945a7a..bd78f684 100644 --- a/source/scripts/tif__0101c5e4.psc +++ b/source/scripts/tif__0101c5e4.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101C5E4 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_Questfunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__0101c5eb.psc b/source/scripts/tif__0101c5eb.psc index bc516cf2..37a58572 100644 --- a/source/scripts/tif__0101c5eb.psc +++ b/source/scripts/tif__0101c5eb.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101C5EB Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101c5f2.psc b/source/scripts/tif__0101c5f2.psc index b89bc795..45bc4a71 100644 --- a/source/scripts/tif__0101c5f2.psc +++ b/source/scripts/tif__0101c5f2.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101C5F2 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101c602.psc b/source/scripts/tif__0101c602.psc index 2b6ea37c..b446b7ce 100644 --- a/source/scripts/tif__0101c602.psc +++ b/source/scripts/tif__0101c602.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101C602 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101c608.psc b/source/scripts/tif__0101c608.psc index 76b3405f..6bf9fd77 100644 --- a/source/scripts/tif__0101c608.psc +++ b/source/scripts/tif__0101c608.psc @@ -6,7 +6,7 @@ Scriptname TIF__0101C608 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(45) +_00E_EPHandler.GiveEP(45) _00E_RhetorikCounter.SetValueInt(_00E_RhetorikCounter.GetValueInt()+1) ;END CODE EndFunction @@ -14,6 +14,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0101c60a.psc b/source/scripts/tif__0101c60a.psc index 3f419361..d86e1e58 100644 --- a/source/scripts/tif__0101c60a.psc +++ b/source/scripts/tif__0101c60a.psc @@ -15,11 +15,9 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101c614.psc b/source/scripts/tif__0101c614.psc index f5eee586..a16558f8 100644 --- a/source/scripts/tif__0101c614.psc +++ b/source/scripts/tif__0101c614.psc @@ -6,12 +6,11 @@ Scriptname TIF__0101C614 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(FS_NQR02_TharaelREF, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(FS_NQR02_TharaelREF, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto Actor Property FS_NQR02_TharaelREF Auto diff --git a/source/scripts/tif__0101c61b.psc b/source/scripts/tif__0101c61b.psc index cce3b96f..11dbcaf5 100644 --- a/source/scripts/tif__0101c61b.psc +++ b/source/scripts/tif__0101c61b.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101C61B Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101c61c.psc b/source/scripts/tif__0101c61c.psc index f737a363..2e5b7874 100644 --- a/source/scripts/tif__0101c61c.psc +++ b/source/scripts/tif__0101c61c.psc @@ -6,7 +6,7 @@ Scriptname TIF__0101C61C Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT @@ -23,6 +23,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_FS_NQR02_SparedQalian Auto diff --git a/source/scripts/tif__0101c61d.psc b/source/scripts/tif__0101c61d.psc index 02034c44..a8975970 100644 --- a/source/scripts/tif__0101c61d.psc +++ b/source/scripts/tif__0101c61d.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101C61D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QUestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101c621.psc b/source/scripts/tif__0101c621.psc index 6898e500..bce12ee6 100644 --- a/source/scripts/tif__0101c621.psc +++ b/source/scripts/tif__0101c621.psc @@ -6,13 +6,11 @@ Scriptname TIF__0101C621 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(FS_NQR02_TharaelREF, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(FS_NQR02_TharaelREF, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto Actor Property FS_NQR02_TharaelREF Auto diff --git a/source/scripts/tif__0101c638.psc b/source/scripts/tif__0101c638.psc index 19d4a8e3..6ca48838 100644 --- a/source/scripts/tif__0101c638.psc +++ b/source/scripts/tif__0101c638.psc @@ -6,12 +6,11 @@ Scriptname TIF__0101C638 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(FS_NQR02_TharaelREF, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(FS_NQR02_TharaelREF, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto Actor Property FS_NQR02_TharaelREF Auto diff --git a/source/scripts/tif__0101c7ae.psc b/source/scripts/tif__0101c7ae.psc index 7818e88d..ccb70146 100644 --- a/source/scripts/tif__0101c7ae.psc +++ b/source/scripts/tif__0101c7ae.psc @@ -6,7 +6,7 @@ Scriptname TIF__0101C7AE Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(40) +_00E_EPHandler.GiveEP(40) ;END CODE EndFunction ;END FRAGMENT @@ -22,6 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0101c8e7.psc b/source/scripts/tif__0101c8e7.psc index de59def5..265822bc 100644 --- a/source/scripts/tif__0101c8e7.psc +++ b/source/scripts/tif__0101c8e7.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101C8E7 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101e84c.psc b/source/scripts/tif__0101e84c.psc index 43fe5935..b98c17ef 100644 --- a/source/scripts/tif__0101e84c.psc +++ b/source/scripts/tif__0101e84c.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101E84C Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101e84f.psc b/source/scripts/tif__0101e84f.psc index 5a582645..2ed1fabf 100644 --- a/source/scripts/tif__0101e84f.psc +++ b/source/scripts/tif__0101e84f.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101E84F Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101e854.psc b/source/scripts/tif__0101e854.psc index 4d3c79cb..91f69865 100644 --- a/source/scripts/tif__0101e854.psc +++ b/source/scripts/tif__0101e854.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101E854 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101eac9.psc b/source/scripts/tif__0101eac9.psc index 64a4c408..cfd183ba 100644 --- a/source/scripts/tif__0101eac9.psc +++ b/source/scripts/tif__0101eac9.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101EAC9 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101eacf.psc b/source/scripts/tif__0101eacf.psc index 1d87c024..985f586a 100644 --- a/source/scripts/tif__0101eacf.psc +++ b/source/scripts/tif__0101eacf.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101EACF Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101ead7.psc b/source/scripts/tif__0101ead7.psc index c3a89c5c..f37339ce 100644 --- a/source/scripts/tif__0101ead7.psc +++ b/source/scripts/tif__0101ead7.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101EAD7 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101eae0.psc b/source/scripts/tif__0101eae0.psc index 732117d8..694f2354 100644 --- a/source/scripts/tif__0101eae0.psc +++ b/source/scripts/tif__0101eae0.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101EAE0 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101eae7.psc b/source/scripts/tif__0101eae7.psc index d9bd037e..0f913ddf 100644 --- a/source/scripts/tif__0101eae7.psc +++ b/source/scripts/tif__0101eae7.psc @@ -12,5 +12,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101eae9.psc b/source/scripts/tif__0101eae9.psc index 5492c518..6f309868 100644 --- a/source/scripts/tif__0101eae9.psc +++ b/source/scripts/tif__0101eae9.psc @@ -6,11 +6,9 @@ Scriptname TIF__0101EAE9 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property LEvelsystem Auto diff --git a/source/scripts/tif__0101eaf8.psc b/source/scripts/tif__0101eaf8.psc index 7612a88f..3fe1bb26 100644 --- a/source/scripts/tif__0101eaf8.psc +++ b/source/scripts/tif__0101eaf8.psc @@ -6,7 +6,7 @@ Scriptname TIF__0101EAF8 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101ed9d.psc b/source/scripts/tif__0101ed9d.psc index 3bfa0d4d..1c491ec0 100644 --- a/source/scripts/tif__0101ed9d.psc +++ b/source/scripts/tif__0101ed9d.psc @@ -18,11 +18,9 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 15) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 15) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0101f1fb.psc b/source/scripts/tif__0101f1fb.psc index faafd694..ef49caf9 100644 --- a/source/scripts/tif__0101f1fb.psc +++ b/source/scripts/tif__0101f1fb.psc @@ -15,13 +15,11 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(55) +_00E_EPHandler.GiveEP(55) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__01024ba1.psc b/source/scripts/tif__01024ba1.psc index b291485d..277e06d4 100644 --- a/source/scripts/tif__01024ba1.psc +++ b/source/scripts/tif__01024ba1.psc @@ -6,11 +6,9 @@ Scriptname TIF__01024BA1 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -20) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -20) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__01024ba8.psc b/source/scripts/tif__01024ba8.psc index 60fc0d22..2928b8ce 100644 --- a/source/scripts/tif__01024ba8.psc +++ b/source/scripts/tif__01024ba8.psc @@ -6,11 +6,9 @@ Scriptname TIF__01024BA8 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0102524c.psc b/source/scripts/tif__0102524c.psc index ea7587c9..a3001309 100644 --- a/source/scripts/tif__0102524c.psc +++ b/source/scripts/tif__0102524c.psc @@ -6,7 +6,7 @@ Scriptname TIF__0102524C Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__01025258.psc b/source/scripts/tif__01025258.psc index 92fe3a8b..b2fbe3a3 100644 --- a/source/scripts/tif__01025258.psc +++ b/source/scripts/tif__01025258.psc @@ -6,7 +6,7 @@ Scriptname TIF__01025258 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__01025259.psc b/source/scripts/tif__01025259.psc index c34a43cc..6fe14076 100644 --- a/source/scripts/tif__01025259.psc +++ b/source/scripts/tif__01025259.psc @@ -6,11 +6,9 @@ Scriptname TIF__01025259 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__0102526d.psc b/source/scripts/tif__0102526d.psc index d1c34c32..cd6702dd 100644 --- a/source/scripts/tif__0102526d.psc +++ b/source/scripts/tif__0102526d.psc @@ -6,11 +6,9 @@ Scriptname TIF__0102526D Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01025277.psc b/source/scripts/tif__01025277.psc index fb68f93a..c57c5ef6 100644 --- a/source/scripts/tif__01025277.psc +++ b/source/scripts/tif__01025277.psc @@ -6,11 +6,9 @@ Scriptname TIF__01025277 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01025289.psc b/source/scripts/tif__01025289.psc index 734a8056..b7d45efe 100644 --- a/source/scripts/tif__01025289.psc +++ b/source/scripts/tif__01025289.psc @@ -6,11 +6,9 @@ Scriptname TIF__01025289 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01025299.psc b/source/scripts/tif__01025299.psc index aa9f197c..ac87afb2 100644 --- a/source/scripts/tif__01025299.psc +++ b/source/scripts/tif__01025299.psc @@ -6,7 +6,7 @@ Scriptname TIF__01025299 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(50) +_00E_EPHandler.GiveEP(50) ;END CODE EndFunction ;END FRAGMENT @@ -22,6 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__01028e51.psc b/source/scripts/tif__01028e51.psc index 05a04748..2743d39a 100644 --- a/source/scripts/tif__01028e51.psc +++ b/source/scripts/tif__01028e51.psc @@ -6,11 +6,9 @@ Scriptname TIF__01028E51 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01028e52.psc b/source/scripts/tif__01028e52.psc index b05347ff..6e9d019a 100644 --- a/source/scripts/tif__01028e52.psc +++ b/source/scripts/tif__01028e52.psc @@ -6,11 +6,9 @@ Scriptname TIF__01028E52 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01028e61.psc b/source/scripts/tif__01028e61.psc index c18c7e8c..d72288af 100644 --- a/source/scripts/tif__01028e61.psc +++ b/source/scripts/tif__01028e61.psc @@ -6,11 +6,9 @@ Scriptname TIF__01028E61 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01028e66.psc b/source/scripts/tif__01028e66.psc index 150d20fa..5c99479e 100644 --- a/source/scripts/tif__01028e66.psc +++ b/source/scripts/tif__01028e66.psc @@ -6,11 +6,9 @@ Scriptname TIF__01028E66 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01028f05.psc b/source/scripts/tif__01028f05.psc index 160a2b2d..a8feabaa 100644 --- a/source/scripts/tif__01028f05.psc +++ b/source/scripts/tif__01028f05.psc @@ -6,11 +6,9 @@ Scriptname TIF__01028F05 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01028f06.psc b/source/scripts/tif__01028f06.psc index a2c3ec91..cabd380d 100644 --- a/source/scripts/tif__01028f06.psc +++ b/source/scripts/tif__01028f06.psc @@ -6,7 +6,7 @@ Scriptname TIF__01028F06 Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__01028f15.psc b/source/scripts/tif__01028f15.psc index 26d82fc2..14dc74d0 100644 --- a/source/scripts/tif__01028f15.psc +++ b/source/scripts/tif__01028f15.psc @@ -6,11 +6,9 @@ Scriptname TIF__01028F15 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01028f16.psc b/source/scripts/tif__01028f16.psc index d277ada6..feb4215f 100644 --- a/source/scripts/tif__01028f16.psc +++ b/source/scripts/tif__01028f16.psc @@ -6,11 +6,9 @@ Scriptname TIF__01028F16 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01028f39.psc b/source/scripts/tif__01028f39.psc index 691912b0..0446fae5 100644 --- a/source/scripts/tif__01028f39.psc +++ b/source/scripts/tif__01028f39.psc @@ -6,11 +6,9 @@ Scriptname TIF__01028F39 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01028f44.psc b/source/scripts/tif__01028f44.psc index 003eb971..d0497da7 100644 --- a/source/scripts/tif__01028f44.psc +++ b/source/scripts/tif__01028f44.psc @@ -6,11 +6,9 @@ Scriptname TIF__01028F44 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01028f6b.psc b/source/scripts/tif__01028f6b.psc index 89e7f2de..7c34da81 100644 --- a/source/scripts/tif__01028f6b.psc +++ b/source/scripts/tif__01028f6b.psc @@ -6,7 +6,7 @@ Scriptname TIF__01028F6B Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(60) +_00E_EPHandler.GiveEP(60) ;END CODE EndFunction ;END FRAGMENT @@ -22,6 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0102988a.psc b/source/scripts/tif__0102988a.psc index 081d9f80..3737a3b3 100644 --- a/source/scripts/tif__0102988a.psc +++ b/source/scripts/tif__0102988a.psc @@ -6,7 +6,7 @@ Scriptname TIF__0102988A Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0102988e.psc b/source/scripts/tif__0102988e.psc index 04365fb7..960813bf 100644 --- a/source/scripts/tif__0102988e.psc +++ b/source/scripts/tif__0102988e.psc @@ -6,11 +6,9 @@ Scriptname TIF__0102988E Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01029890.psc b/source/scripts/tif__01029890.psc index 41668e60..5384ebd2 100644 --- a/source/scripts/tif__01029890.psc +++ b/source/scripts/tif__01029890.psc @@ -6,11 +6,9 @@ Scriptname TIF__01029890 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__010298ba.psc b/source/scripts/tif__010298ba.psc index ba2b9bbf..cac274fd 100644 --- a/source/scripts/tif__010298ba.psc +++ b/source/scripts/tif__010298ba.psc @@ -6,11 +6,9 @@ Scriptname TIF__010298BA Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__010298c3.psc b/source/scripts/tif__010298c3.psc index e1e84581..b02ed6de 100644 --- a/source/scripts/tif__010298c3.psc +++ b/source/scripts/tif__010298c3.psc @@ -6,11 +6,9 @@ Scriptname TIF__010298C3 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__010298cc.psc b/source/scripts/tif__010298cc.psc index fe50da5c..d219c670 100644 --- a/source/scripts/tif__010298cc.psc +++ b/source/scripts/tif__010298cc.psc @@ -6,7 +6,7 @@ Scriptname TIF__010298CC Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(70) +_00E_EPHandler.GiveEP(70) ;END CODE EndFunction ;END FRAGMENT @@ -23,6 +23,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__01029a92.psc b/source/scripts/tif__01029a92.psc index 24e7b6d9..2dae53fc 100644 --- a/source/scripts/tif__01029a92.psc +++ b/source/scripts/tif__01029a92.psc @@ -6,11 +6,9 @@ Scriptname TIF__01029A92 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01029a9a.psc b/source/scripts/tif__01029a9a.psc index 980aaf89..31fc47cc 100644 --- a/source/scripts/tif__01029a9a.psc +++ b/source/scripts/tif__01029a9a.psc @@ -6,11 +6,9 @@ Scriptname TIF__01029A9A Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01029aad.psc b/source/scripts/tif__01029aad.psc index 54495af4..e9201362 100644 --- a/source/scripts/tif__01029aad.psc +++ b/source/scripts/tif__01029aad.psc @@ -6,11 +6,9 @@ Scriptname TIF__01029AAD Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01029ab1.psc b/source/scripts/tif__01029ab1.psc index 9716ed82..be581ba6 100644 --- a/source/scripts/tif__01029ab1.psc +++ b/source/scripts/tif__01029ab1.psc @@ -6,11 +6,9 @@ Scriptname TIF__01029AB1 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01029ac0.psc b/source/scripts/tif__01029ac0.psc index b50228d3..54712cd3 100644 --- a/source/scripts/tif__01029ac0.psc +++ b/source/scripts/tif__01029ac0.psc @@ -6,11 +6,9 @@ Scriptname TIF__01029AC0 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01029ad5.psc b/source/scripts/tif__01029ad5.psc index e5e79cc4..25d14a48 100644 --- a/source/scripts/tif__01029ad5.psc +++ b/source/scripts/tif__01029ad5.psc @@ -6,11 +6,9 @@ Scriptname TIF__01029AD5 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__01029adf.psc b/source/scripts/tif__01029adf.psc index 26f82dc1..17166c73 100644 --- a/source/scripts/tif__01029adf.psc +++ b/source/scripts/tif__01029adf.psc @@ -6,11 +6,9 @@ Scriptname TIF__01029ADF Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -20) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -20) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/tif__0102a005.psc b/source/scripts/tif__0102a005.psc index 7222ddbd..e02d3248 100644 --- a/source/scripts/tif__0102a005.psc +++ b/source/scripts/tif__0102a005.psc @@ -6,11 +6,9 @@ Scriptname TIF__0102A005 Extends TopicInfo Hidden Function Fragment_4(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0102a00d.psc b/source/scripts/tif__0102a00d.psc index 5b51f7a9..130d2487 100644 --- a/source/scripts/tif__0102a00d.psc +++ b/source/scripts/tif__0102a00d.psc @@ -6,11 +6,9 @@ Scriptname TIF__0102A00D Extends TopicInfo Hidden Function Fragment_2(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0102a033.psc b/source/scripts/tif__0102a033.psc index f5ba84d1..61de7864 100644 --- a/source/scripts/tif__0102a033.psc +++ b/source/scripts/tif__0102a033.psc @@ -17,13 +17,13 @@ EndFunction Function Fragment_2(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(40) +_00E_EPHandler.GiveEP(40) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem auto + GlobalVariable Property _00E_FS_NQR05_TharaelLoyalToPlayer auto GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0102a464.psc b/source/scripts/tif__0102a464.psc index fad0f8da..891af8b9 100644 --- a/source/scripts/tif__0102a464.psc +++ b/source/scripts/tif__0102a464.psc @@ -6,7 +6,7 @@ Scriptname TIF__0102A464 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(70) +_00E_EPHandler.GiveEP(70) ;END CODE EndFunction ;END FRAGMENT @@ -22,6 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0102a90e.psc b/source/scripts/tif__0102a90e.psc index 7f0dc8b0..6364e188 100644 --- a/source/scripts/tif__0102a90e.psc +++ b/source/scripts/tif__0102a90e.psc @@ -6,11 +6,9 @@ Scriptname TIF__0102A90E Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0102b428.psc b/source/scripts/tif__0102b428.psc index 393ea6c5..7774ef1b 100644 --- a/source/scripts/tif__0102b428.psc +++ b/source/scripts/tif__0102b428.psc @@ -6,11 +6,9 @@ Scriptname TIF__0102B428 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.FadeToBlackAndBack() +_00E_PlayerFunctions.GetFadeToBlackControl().FadeToBlackAndBack() ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0102b42f.psc b/source/scripts/tif__0102b42f.psc index 7aceefbf..1975ed36 100644 --- a/source/scripts/tif__0102b42f.psc +++ b/source/scripts/tif__0102b42f.psc @@ -6,10 +6,9 @@ Scriptname TIF__0102B42F Extends TopicInfo Hidden Function Fragment_2(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0102c5bc.psc b/source/scripts/tif__0102c5bc.psc index 5dc43f51..774085b3 100644 --- a/source/scripts/tif__0102c5bc.psc +++ b/source/scripts/tif__0102c5bc.psc @@ -6,7 +6,7 @@ Scriptname TIF__0102C5BC Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(40) +_00E_EPHandler.GiveEP(40) ;END CODE EndFunction ;END FRAGMENT @@ -22,6 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0102e04b.psc b/source/scripts/tif__0102e04b.psc index d34eb171..bac021a1 100644 --- a/source/scripts/tif__0102e04b.psc +++ b/source/scripts/tif__0102e04b.psc @@ -6,7 +6,7 @@ Scriptname TIF__0102E04B Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(50) +_00E_EPHandler.GiveEP(50) ;END CODE EndFunction ;END FRAGMENT @@ -22,6 +22,4 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0102e369.psc b/source/scripts/tif__0102e369.psc index 31ab0d59..18cafa75 100644 --- a/source/scripts/tif__0102e369.psc +++ b/source/scripts/tif__0102e369.psc @@ -6,11 +6,9 @@ Scriptname TIF__0102E369 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00e_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0102e373.psc b/source/scripts/tif__0102e373.psc index a564cdd0..7f38ddca 100644 --- a/source/scripts/tif__0102e373.psc +++ b/source/scripts/tif__0102e373.psc @@ -6,11 +6,9 @@ Scriptname TIF__0102E373 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00e_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0102e646.psc b/source/scripts/tif__0102e646.psc index 5235c3b4..e8a91acd 100644 --- a/source/scripts/tif__0102e646.psc +++ b/source/scripts/tif__0102e646.psc @@ -15,13 +15,11 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(25) +_00E_EPHandler.GiveEP(25) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_Questfunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0102e658.psc b/source/scripts/tif__0102e658.psc index b3799e82..cb6ab397 100644 --- a/source/scripts/tif__0102e658.psc +++ b/source/scripts/tif__0102e658.psc @@ -16,13 +16,11 @@ EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(25) +_00E_EPHandler.GiveEP(25) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto - GlobalVariable Property _00E_RhetorikCounter Auto diff --git a/source/scripts/tif__0102ee99.psc b/source/scripts/tif__0102ee99.psc index cff21415..64ffd56c 100644 --- a/source/scripts/tif__0102ee99.psc +++ b/source/scripts/tif__0102ee99.psc @@ -6,7 +6,7 @@ Scriptname TIF__0102EE99 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.TeleportNPC(FS_EnvironmentScene05_RhalaimREF, _00E_NPCDumpMarker) +_00E_PlayerFunctions.GetTeleportControl().TeleportNPC(FS_EnvironmentScene05_RhalaimREF, _00E_NPCDumpMarker) GetOwningQuest().SetStage(10) ;END CODE EndFunction @@ -14,7 +14,5 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_Questfunctions Property Levelsystem Auto Actor Property FS_EnvironmentScene05_RhalaimREF Auto ObjectReference Property _00E_NPCDumpMarker Auto \ No newline at end of file diff --git a/source/scripts/tif__02001bef.psc b/source/scripts/tif__02001bef.psc index 171c9d4b..289eb289 100644 --- a/source/scripts/tif__02001bef.psc +++ b/source/scripts/tif__02001bef.psc @@ -6,11 +6,9 @@ Scriptname TIF__02001BEF Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__02006be5.psc b/source/scripts/tif__02006be5.psc index ad18faab..2240fe7f 100644 --- a/source/scripts/tif__02006be5.psc +++ b/source/scripts/tif__02006be5.psc @@ -6,11 +6,10 @@ Scriptname TIF__02006BE5 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(60) +_00E_EPHandler.GiveEP(60) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0200a724.psc b/source/scripts/tif__0200a724.psc deleted file mode 100644 index 8b993f26..00000000 --- a/source/scripts/tif__0200a724.psc +++ /dev/null @@ -1,17 +0,0 @@ -;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment -;NEXT FRAGMENT INDEX 1 -Scriptname TIF__0200A724 Extends TopicInfo Hidden - -;BEGIN FRAGMENT Fragment_0 -Function Fragment_0(ObjectReference akSpeakerRef) -Actor akSpeaker = akSpeakerRef as Actor -;BEGIN CODE -NQ02.AddKP(NQ02.FS_NQ02_D03_Lager_9) -NQ02.FS_NQ02_D03_Lager_9 = True -;END CODE -EndFunction -;END FRAGMENT - -;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_NQ02_NewHorizons_Library Property NQ02 Auto diff --git a/source/scripts/tif__0200f6bd.psc b/source/scripts/tif__0200f6bd.psc index 1688e43a..7ca96794 100644 --- a/source/scripts/tif__0200f6bd.psc +++ b/source/scripts/tif__0200f6bd.psc @@ -6,7 +6,7 @@ Scriptname TIF__0200F6BD Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(70) +_00E_EPHandler.GiveEP(70) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0200f731.psc b/source/scripts/tif__0200f731.psc index 6268e096..f406d565 100644 --- a/source/scripts/tif__0200f731.psc +++ b/source/scripts/tif__0200f731.psc @@ -6,11 +6,9 @@ Scriptname TIF__0200F731 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property LEvelsystem Auto diff --git a/source/scripts/tif__0200f738.psc b/source/scripts/tif__0200f738.psc index c8c595c2..b8af8117 100644 --- a/source/scripts/tif__0200f738.psc +++ b/source/scripts/tif__0200f738.psc @@ -13,4 +13,3 @@ EndFunction ;END FRAGMENT CODE - Do not edit anything between this and the begin comment -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0200f757.psc b/source/scripts/tif__0200f757.psc index 44ae9d79..a410b2eb 100644 --- a/source/scripts/tif__0200f757.psc +++ b/source/scripts/tif__0200f757.psc @@ -6,11 +6,9 @@ Scriptname TIF__0200F757 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0200f78c.psc b/source/scripts/tif__0200f78c.psc index d2ceb755..1987bf87 100644 --- a/source/scripts/tif__0200f78c.psc +++ b/source/scripts/tif__0200f78c.psc @@ -6,11 +6,9 @@ Scriptname TIF__0200F78C Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0200f7ad.psc b/source/scripts/tif__0200f7ad.psc index 35e79d11..047f4707 100644 --- a/source/scripts/tif__0200f7ad.psc +++ b/source/scripts/tif__0200f7ad.psc @@ -6,7 +6,7 @@ Scriptname TIF__0200F7AD Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT @@ -21,5 +21,3 @@ EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0200f7bf.psc b/source/scripts/tif__0200f7bf.psc index 8b1a6a49..4f9e4f04 100644 --- a/source/scripts/tif__0200f7bf.psc +++ b/source/scripts/tif__0200f7bf.psc @@ -6,11 +6,9 @@ Scriptname TIF__0200F7BF Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, 10) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, 10) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__0200f7c5.psc b/source/scripts/tif__0200f7c5.psc index 4474ebd2..9a94cc1e 100644 --- a/source/scripts/tif__0200f7c5.psc +++ b/source/scripts/tif__0200f7c5.psc @@ -6,11 +6,9 @@ Scriptname TIF__0200F7C5 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.ModSympathyNG(akSpeaker, -5) +_00E_PlayerFunctions.GetSympathyControl().ModSympathyNG(akSpeaker, -5) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto diff --git a/source/scripts/tif__02011ec1.psc b/source/scripts/tif__02011ec1.psc index d800cc30..48ba4aea 100644 --- a/source/scripts/tif__02011ec1.psc +++ b/source/scripts/tif__02011ec1.psc @@ -6,11 +6,9 @@ Scriptname TIF__02011EC1 Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -Levelsystem.GiveEP(50) +_00E_EPHandler.GiveEP(50) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment - -_00E_QuestFunctions Property Levelsystem Auto \ No newline at end of file diff --git a/source/scripts/weaponrackactivatescript.psc b/source/scripts/weaponrackactivatescript.psc new file mode 100644 index 00000000..e7f78aa7 --- /dev/null +++ b/source/scripts/weaponrackactivatescript.psc @@ -0,0 +1,496 @@ +Scriptname WeaponRackActivateSCRIPT extends ObjectReference Hidden +{Activating this causes the players currently equipped weapon to be placed on the rack} +import game +import debug +import utility +import quest + + +;------------------------------------------- + +int Property RackType = 1 Auto +{The type of rack this script is on: Default = 1 +1 = Standard Weapon Rack (Includes Regular, Mount, and CoA Weapon Racks) +2 = COA Shield Rack +3 = COA Weapon Rack (Both left and right) +4 = Table-top Dagger Rack +} + +Bool Property Patch14COARacks = FALSE Auto + +Message Property Patch14WeaponRackNoBowMESSAGE Auto + +Message Property WeaponRackActivateMESSAGE Auto +{Message you get when activate the weapon rack for the very first time} + +Message Property WeaponRackNoShieldMESSAGE Auto +{Message you get when you activate the shield rack without a shield equipped} + +Message Property WeaponRackNoWeaponMESSAGE Auto +{Message you get when you activate the weapon rack without a weapon equipped} + +Message Property WeaponRackNoDaggerMESSAGE Auto +{Message you get when you activate the weapon rack and a dagger isn't allowed to be placed} + +Message Property WeaponRackNoBowMESSAGE Auto +{Message you get when you activate the weapon rack and a bow isn't allowed to be placed} + +Message Property WeaponRackOnlyDaggerMESSAGE Auto +{Message you get when you can only place daggers in the rack and try to place something else} + +Int Property ButtonPressed Auto Hidden +{Button that was pressed when WeaponRackActivateMESSAGE is displayed} + +Bool Property AlreadyInit Auto Hidden +{If true this reference won't run it's intialization a second time} + +Bool Property MessageAlreadyShown Auto Hidden +GlobalVariable Property WRackGlobal Auto +{Global that determines if you have seen the help message yet or not} + +;Keywords for the type of xMarkers +Keyword Property WRackGreatSword Auto +Keyword Property WRackWarhammer Auto +Keyword Property WRackBattleaxe Auto +Keyword Property WRackBow Auto +Keyword Property WRackSword Auto +Keyword Property WRackMace Auto +Keyword Property WRackWarAxe Auto +Keyword Property WRackStaff Auto +Keyword Property WRackShield Auto +Keyword Property WRackTrigger Auto + +;Keyword for types of weapons +Keyword Property WeaponTypeBattleAxe Auto +Keyword Property WeaponTypeBow Auto +Keyword Property WeaponTypeDagger Auto +Keyword Property WeaponTypeGreatSword Auto +Keyword Property WeaponTypeMace Auto +Keyword Property WeaponTypeStaff Auto +Keyword Property WeaponTypeSword Auto +Keyword Property WeaponTypeWarAxe Auto +Keyword Property WeaponTypeWarhammer Auto +Keyword Property ArmorShield Auto + +;Where to place the specific weapon types on the rack, so they look correct +ObjectReference Property GreatSwordMarker Auto Hidden +ObjectReference Property WarhammerMarker Auto Hidden +ObjectReference Property BattleaxeMarker Auto Hidden +ObjectReference Property BowMarker Auto Hidden +ObjectReference Property SwordMarker Auto Hidden +ObjectReference Property MaceMarker Auto Hidden +ObjectReference Property WaraxeMarker Auto Hidden +ObjectReference Property StaffMarker Auto Hidden +ObjectReference Property ShieldMarker Auto Hidden +ObjectReference Property TriggerMarker Auto Hidden + +;Handles the starting weapon stuff +Keyword Property WRackStartingWeapon Auto Hidden +ObjectReference Property StartingWeapon Auto Hidden + +Int Property ItemType Auto Hidden +{The type of weapon the player is trying to place (1H Sword, 2H Sword, 1H Axe, etc...)} + +Weapon Property PlayersEquippedWeapon Auto Hidden +{The players currently equipped weapon} + +Armor Property PlayersEquippedShield Auto Hidden +{The players currently equipped shield} + +ObjectReference Property PlayersDroppedWeapon Auto Hidden +{The Weapon/ObjectReference we force the player to drop} + +Int Property PlayersEquippedWeaponType Auto Hidden +{This is the type of weapon the player currently has equipped} + +;------------------------------------------- +EVENT OnCellAttach() + Trace("DARYL - " + self + " running OnCellLoad() and AlreadyInit = " + AlreadyInit) + TriggerMarker = GetLinkedRef(WRackTrigger) + Trace("DARYL - " + self + " The TriggerMarker is " + TriggerMarker) + If (TriggerMarker) && (TriggerMarker.IsEnabled()) && (TriggerMarker.GetTriggerObjectCount() == 0) + Self.Enable() + endif + if (TriggerMarker) && (AlreadyInit == FALSE) && (TriggerMarker.IsEnabled()) + ; Set up all my possible Xmarkers for the weapon locations + ;Trace("DARYL - " + self + " Running the OnLoad EVENT") + ;GreatSwordMarker = GetLinkedRef(WRackGreatSword) + ;Trace("DARYL - " + self + " The GreatswordMarker is " + GreatSwordMarker) + ;WarhammerMarker = GetLinkedRef(WRackWarhammer) + ;Trace("DARYL - " + self + " The Warhammer Marker is " + WarhammerMarker) + ;BattleaxeMarker = GetLinkedRef(WRackBattleaxe) + ;Trace("DARYL - " + self + " The Battleaxe Marker is " + BattleaxeMarker) + ;BowMarker = GetLinkedRef(WRackBow) + ;Trace("DARYL - " + self + " The Bow Marker is " + BowMarker) + ;SwordMarker = GetLinkedRef(WRackSword) + ;Trace("DARYL - " + self + " The Sword Marker is " + SwordMarker) + ;MaceMarker = GetLinkedRef(WRackMace) + ;Trace("DARYL - " + self + " The Mace Marker is " + MaceMarker) + ;WaraxeMarker = GetLinkedRef(WRackWaraxe) + ;Trace("DARYL - " + self + " The Waraxe Marker is " + WaraxeMarker) + ;StaffMarker = GetLinkedRef(WRackStaff) + ;Trace("DARYL - " + self + " The Staff Marker is " + StaffMarker) + StartingWeapon = GetLinkedRef() + Trace("DARYL - " + self + " The Starting Weapon is " + StartingWeapon) + + if (StartingWeapon) + if StartingWeapon.Is3DLoaded() + if StartingWeapon.GetParentCell() == self.GetParentCell() + Trace("DARYL - " + self + " Has a starting weapon") + HandleStartingWeapon() + endif + endif + else + Trace("DARYL - " + self + " Doesn't have a starting weapon") + ;Do nothing + endif + + AlreadyInit = TRUE + else + ;Do nothing + endif + + TriggerMarker = NONE + + Trace("DARYL - " + self + " finishing OnCellLoad() and AlreadyInit = " + AlreadyInit) +endEVENT + + +Auto STATE EmptyRack + EVENT onActivate(ObjectReference TriggerRef) + + + + ;--------------------------------------------------- + ;START------------------Standard Rack + ;----------------------------------------- + If ((RackType == 1) && (Patch14COARacks == FALSE)) + ; This is the Standard Weapon Rack + + if (TriggerRef == Game.GetPlayer() as Actor) + ; Only the player can activate this + + MessageAlreadyShown = WRackGlobal.GetValue() + + if (MessageAlreadyShown == FALSE) + ; If the help message hasn't been shown before then show it. + WeaponRackActivateMESSAGE.Show() + WRackGlobal.SetValue(1) + else + Trace("DARYL - " + self + " Player activated the weapon rack") + PlayersEquippedWeaponType = Game.GetPlayer().GetEquippedItemType(1) + ; Get the EquippedItemType that is in the players right hand + + if (PlayersEquippedWeaponType == 0) || (PlayersEquippedWeaponType == 9) || (PlayersEquippedWeaponType == 10) || (PlayersEquippedWeaponType == 11) + ; If the player is unarmed, or has a spell/shield/torch equipped, tell him he needs a weapon equipped. + WeaponRackNoWeaponMESSAGE.Show() + + ;elseif (PlayersEquippedWeaponType == 2) + ; If the player has a dagger equipped tell him it doesn't fit. + ;WeaponRackNoDaggerMESSAGE.Show() + + else + + HandleWeaponPlacement() + ; Grabs the weapon from the player and places it in the correct place. + + endif + + endif + + endif + ;----------------------------------------- + ;END------------------Standard Rack + ;--------------------------------------------------- + + + + ;--------------------------------------------------- + ;START------------------Wall Mount Shield Rack + ;----------------------------------------- + elseIf ((RackType == 2) && (Patch14COARacks == FALSE)) + ;This is the CoA Shield Rack + + if (TriggerRef == Game.GetPlayer() as Actor) + ; Only the player can activate this + + MessageAlreadyShown = WRackGlobal.GetValue() + + if (MessageAlreadyShown == FALSE) + ; If the help message hasn't been shown before then show it. + WeaponRackActivateMESSAGE.Show() + WRackGlobal.SetValue(1) + else + Trace("DARYL - " + self + " Player activated the shield rack") + Trace("DARYL - " + self + " Player has shield " + Game.GetPlayer().GetEquippedShield() + " base object equipped") + ; PlayersEquippedWeaponType = Game.GetPlayer().GetEquippedItemType(0) + ; Get the EquippedItemType that is in the players left hand + + if (Game.GetPlayer().GetEquippedShield()) + ; Grabs the weapon from the player and places it in the correct place. + HandleWeaponPlacement() + + + else + ; If the player doesn't have a shield equipped tell him he needs one. + WeaponRackNoShieldMESSAGE.Show() + + + endif + + endif + + endif + ;----------------------------------------- + ;END------------------Wall Mount Shield Rack + ;--------------------------------------------------- + + + + ;--------------------------------------------------- + ;START------------------COA Weapon Rack + ;----------------------------------------- + elseIf ((RackType == 3) || (Patch14COARacks == TRUE)) + ; This is the COA Weapon Rack + + if (TriggerRef == Game.GetPlayer() as Actor) + ; Only the player can activate this + + MessageAlreadyShown = WRackGlobal.GetValue() + + if (MessageAlreadyShown == FALSE) + ; If the help message hasn't been shown before then show it. + WeaponRackActivateMESSAGE.Show() + WRackGlobal.SetValue(1) + else + Trace("DARYL - " + self + " Player activated the COA weapon rack") + PlayersEquippedWeaponType = Game.GetPlayer().GetEquippedItemType(1) + ; Get the EquippedItemType that is in the players right hand + + if (PlayersEquippedWeaponType == 0) || (PlayersEquippedWeaponType == 9) || (PlayersEquippedWeaponType == 10) || (PlayersEquippedWeaponType == 11) + ; If the player is unarmed, or has a spell/shield/torch equipped, tell him he needs a weapon equipped. + WeaponRackNoWeaponMESSAGE.Show() + + elseif (PlayersEquippedWeaponType == 2) + ; If the player has a dagger equipped tell him it doesn't fit. + WeaponRackNoDaggerMESSAGE.Show() + + elseif (PlayersEquippedWeaponType == 7) || (PlayersEquippedWeaponType == 12) + ; If the player has a bow equipped tell him it doesn't fit. + Patch14WeaponRackNoBowMESSAGE.Show() + + else + + HandleWeaponPlacement() + ; Grabs the weapon from the player and places it in the correct place. + + endif + + endif + + endif + ;----------------------------------------- + ;END------------------COA Weapon Rack + ;--------------------------------------------------- + + + + ;--------------------------------------------------- + ;START------------------Table-Top Dagger Rack + ;----------------------------------------- + elseIf ((RackType == 4) && (Patch14COARacks == FALSE)) + ; This is the Standard Weapon Rack + + if (TriggerRef == Game.GetPlayer() as Actor) + ; Only the player can activate this + + MessageAlreadyShown = WRackGlobal.GetValue() + + if (MessageAlreadyShown == FALSE) + ; If the help message hasn't been shown before then show it. + WeaponRackActivateMESSAGE.Show() + WRackGlobal.SetValue(1) + else + Trace("DARYL - " + self + " Player activated the weapon rack") + PlayersEquippedWeaponType = Game.GetPlayer().GetEquippedItemType(1) + ; Get the EquippedItemType that is in the players right hand + + if (PlayersEquippedWeaponType != 2) + ; If the player is trying to place anything but a dagger tell him he can't. + WeaponRackOnlyDaggerMESSAGE.Show() + + else + + HandleWeaponPlacement() + ; Grabs the weapon from the player and places it in the correct place. + + endif + + endif + + endif + ;----------------------------------------- + ;END------------------Table-Top Dagger Rack + ;--------------------------------------------------- + endif + + endEVENT +endSTATE + + +Function HandleWeaponPlacement(bool ForStartingWeapon = FALSE) + ; Grabs the weapon from the player and places it in the correct place. + + if (ForStartingWeapon) + Trace("DARYL - " + self + " Handling Starting Weapon") + ;Don't do the player stuff + else + Trace("DARYL - " + self + " Handling Players Weapon") + + If (RackType == 2) + Trace("DARYL - " + self + " Player currently has weapon type " + PlayersEquippedWeaponType + " in his left hand.") + ;PlayersEquippedShield = Game.GetPlayer().GetEquippedWeapon(TRUE) + ; Find out what shield the player currently has equipped + + Trace("DARYL - " + self + " Player has shield " + Game.GetPlayer().GetEquippedShield() + " base object equipped") + PlayersDroppedWeapon = Game.GetPlayer().DropObject(Game.GetPlayer().GetEquippedShield(), 1) + ; Force the weapon to be dropped, and get it's reference + + Trace("DARYL - " + self + " Dropped " + PlayersEquippedShield + " shield from players inventory as " + PlayersDroppedWeapon) + else + Trace("DARYL - " + self + " Player currently has weapon type " + PlayersEquippedWeaponType + " in his right hand.") + PlayersEquippedWeapon = Game.GetPlayer().GetEquippedWeapon() + ; Find out what weapon the player currently has equipped + + Trace("DARYL - " + self + " Player has " + PlayersEquippedWeapon + " base object equipped") + PlayersDroppedWeapon = Game.GetPlayer().DropObject(PlayersEquippedWeapon, 1) + ; Force the weapon to be dropped, and get it's reference + + Trace("DARYL - " + self + " Dropped " + PlayersEquippedWeapon + " from players inventory as " + PlayersDroppedWeapon) + endif + + if (PlayersDroppedweapon) + int Count = 0 + While(!PlayersDroppedweapon.Is3DLoaded()) && (Count < 10) + ; Have to wait to make sure the item is dropped before setting it's motion type, or else I get a "Object has no 3D" error. + Utility.Wait(0.1) + Count += 1 + EndWhile + endif + + endif + + + + PlayersDroppedWeapon.SetMotionType(Motion_Keyframed, false) + ; Tell the weapon to ignore all forms of physic interaction + Trace("DARYL - " + self + " Disabling physics on " + PlayersDroppedWeapon) + + TriggerMarker = GetLinkedRef(WRackTrigger) + + ; Handle the placement of the weapon + if PlayersDroppedWeapon.HasKeyword(WeaponTypeSword) + ; 1H Sword + Trace("DARYL - " + self + " Moving " + PlayersEquippedWeaponType + " to the SwordMarker") + PlayersDroppedWeapon.MoveToNode(TriggerMarker, "SwordPivot01") + + + elseif PlayersDroppedWeapon.HasKeyword(WeaponTypeWarAxe) + ; 1H Axe + Trace("DARYL - " + self + " Moving " + PlayersEquippedWeaponType + " to the WaraxeMarker") + PlayersDroppedWeapon.MoveToNode(TriggerMarker, "WarAxePivot01") + + + elseif PlayersDroppedWeapon.HasKeyword(WeaponTypeMace) + ; Mace + Trace("DARYL - " + self + " Moving " + PlayersEquippedWeaponType + " to the MaceMarker") + PlayersDroppedWeapon.MoveToNode(TriggerMarker, "MacePivot01") + + + elseif PlayersDroppedWeapon.HasKeyword(WeaponTypeGreatSword) + ; 2H Sword + Trace("DARYL - " + self + " Moving " + PlayersEquippedWeaponType + " to the GreatSwordMarker") + PlayersDroppedWeapon.MoveToNode(TriggerMarker, "GreatSwordPivot01") + + + elseif PlayersDroppedWeapon.HasKeyword(WeaponTypeBattleAxe) + ; 2H Axe + Trace("DARYL - " + self + " Moving " + PlayersEquippedWeaponType + " to the BattleaxeMarker") + PlayersDroppedWeapon.MoveToNode(TriggerMarker, "BattleAxePivot01") + + + elseif PlayersDroppedWeapon.HasKeyword(WeaponTypeWarhammer) + ; Warhammer + Trace("DARYL - " + self + " Moving " + PlayersEquippedWeaponType + " to the WarhammerMarker") + PlayersDroppedWeapon.MoveToNode(TriggerMarker, "WarhammerPivot01") + + + elseif PlayersDroppedWeapon.HasKeyword(WeaponTypeBow) + ; Bow + Trace("DARYL - " + self + " Moving " + PlayersEquippedWeaponType + " to the BowMarker") + PlayersDroppedWeapon.MoveToNode(TriggerMarker, "BowPivot01") + + + elseif PlayersDroppedWeapon.HasKeyword(WeaponTypeStaff) + ; Staff + Trace("DARYL - " + self + " Moving players dropped weapon" + PlayersDroppedWeapon + " of type " + PlayersEquippedWeaponType + " to the StaffMarker") + PlayersDroppedWeapon.MoveToNode(TriggerMarker, "StaffPivot01") + + elseif PlayersDroppedWeapon.HasKeyword(WeaponTypeDagger) + ; Staff + Trace("DARYL - " + self + " Moving players dropped weapon" + PlayersDroppedWeapon + " of type " + PlayersEquippedWeaponType + " to the DaggerMarker") + PlayersDroppedWeapon.MoveToNode(TriggerMarker, "DaggerPivot01") + + elseif PlayersDroppedWeapon.HasKeyword(ArmorShield) + ; Staff + Trace("DARYL - " + self + " Moving players dropped weapon" + PlayersDroppedWeapon + " of type " + PlayersEquippedWeaponType + " to the ShieldMarker") + PlayersDroppedWeapon.MoveToNode(TriggerMarker, "ShieldPivot01") + + + endif + + TriggerMarker = NONE + + +EndFunction + + + +Function HandleStartingWeapon() + + If (RackType == 1) + ; If this is a standard rack... + if StartingWeapon.HasKeyword(ArmorShield) + ;Don't do anything + else + ; ...and doesn't have a dagger then place the weapon. + PlayersDroppedWeapon = StartingWeapon + HandleWeaponPlacement(TRUE) + endif + + elseIf (RackType == 2) + ; If this is a shield rack... + if StartingWeapon.HasKeyword(ArmorShield) + PlayersDroppedWeapon = StartingWeapon + HandleWeaponPlacement(TRUE) + else + ;don't do anything + endif + + elseIf (RackType == 3) + ; If this is a COA weapon rack... + if StartingWeapon.HasKeyword(WeaponTypeDagger) + ;Don't do anything + elseif StartingWeapon.HasKeyword(ArmorShield) + ;Don't do anything + elseif StartingWeapon.HasKeyword(WeaponTypeBow) + ;Don't do anything + else + ; ...and doesn't have a dagger then place the weapon. + PlayersDroppedWeapon = StartingWeapon + HandleWeaponPlacement(TRUE) + endif + + endif + +EndFunction diff --git a/source/scripts/weaponracktriggerscript.psc b/source/scripts/weaponracktriggerscript.psc index 4d662f0c..456e2a30 100644 --- a/source/scripts/weaponracktriggerscript.psc +++ b/source/scripts/weaponracktriggerscript.psc @@ -1,20 +1,14 @@ -Scriptname WeaponRackTriggerSCRIPT extends ObjectReference Hidden - -;Modifications by Sclerocephalus - debug version 3.4 (10/21/2013) -;modified by taleden - rev 4 (2013-11-01) -;Modifications by DayDreamer - version 5.0 (2014 Mar 15) +Scriptname WeaponRackTriggerSCRIPT extends ObjectReference Hidden import game import debug import utility -;------------------------------------------- - Keyword Property WRackActivator Auto ;The activator we must disable if there is already something in this trigger ObjectReference Property ActivatorRef Auto Hidden -;/// + ;Reference that is currently in the trigger ObjectReference Property RefCurrentlyInTrig Auto Hidden @@ -22,238 +16,87 @@ ObjectReference Property RefCurrentlyInTrig Auto Hidden Bool Property HasBeenTriggered Auto Hidden Int Property numInTrig Auto Hidden -///; + Bool Property AlreadyInit Auto Hidden Bool Property IgnoreArmor = FALSE Auto -;------------------------------------------- -;*** USKP Properties *** - -Keyword Property ArmorShield Auto - -;------------------------------------------- -;*** USKP Variables *** - -WeaponRackActivateScript ActivatorScript = None - -;/------------------------------------------ - Handle mis-configured triggers. - - Returns False for success. -/; -Bool Function CheckConfiguration(String CallingEvent) - - GoToState("ActivatorBusy") - - If WRackActivator == None - ; script was deleted, properties missing - ;~ Trace(Self + CallingEvent + "() CHECK: WRackActivator == None; 'ActivatorBusy' state.") - Return True - EndIf - - ActivatorRef = GetLinkedRef(WRackActivator) - If ActivatorRef == Self - ; hand fixed, don't disable - ;~ Trace(Self + CallingEvent + "() CHECK: WRackActivator == Self; 'ActivatorBusy' state.") - ActivatorRef = None - Return True - EndIf - - If ActivatorRef == None - Trace(Self + CallingEvent + "() ERROR: missing WRackActivator; 'ActivatorBusy' state.") - Return True - EndIf - - ActivatorScript = ActivatorRef As WeaponRackActivateScript - If ActivatorScript == None - Trace(Self + CallingEvent + "() ERROR: missing WeaponRackActivateScript; 'ActivatorBusy' state.") - ActivatorRef = None - Return True - EndIf - - If isDisabled() - GoToState("TriggerDisabled") - ActivatorRef.DisableNoWait() - ;~ Trace(Self + CallingEvent + "() CHECK: is disabled; set 'TriggerDisabled' state; " + ActivatorRef + " disabled too.") - ActivatorRef = NONE - ActivatorScript = NONE - Return True - EndIf - - Return False - -EndFunction - -;------------------------------------------- - -EVENT OnCellDetach(); replace OnReset() +EVENT OnReset() AlreadyInit = FALSE - + ;Trace("DARYL - " + self + " running OnReset() and AlreadyInit = " + AlreadyInit) endEVENT -;/------------------------------------------ - This event must be present to catch extant USKP 2.0.0 racks, - or otherwise without known state. - - This is present solely for backward compatibility. -/; -EVENT OnCellAttach(); replace OnCellLoad() - - TriggerSetup("Trigger:OnCellAttach") - +EVENT OnLoad() + ;Trace("DARYL - " + self + " running OnLoad() and AlreadyInit = " + AlreadyInit) + if (AlreadyInit == FALSE) && (self.IsEnabled()) + ActivatorRef = GetLinkedRef(WRackActivator) + if (ActivatorRef) + ActivatorRef.Enable() + endif + ActivatorRef = NONE + AlreadyInit = TRUE + ;Trace("DARYL - " + self + " The Activator Ref is " + ActivatorRef) + else + ;Do nothing + endif + ;Trace("DARYL - " + self + " finishing OnLoad() and AlreadyInit = " + AlreadyInit) endEVENT -;/------------------------------------------ - This state must be present to catch extant USKP 1.3.3 racks. - - (1) The activator is known to be missing, but can be resuscitated. - - (2) The activator status is currently being tested. Suppress redundant - OnLoad() and trigger events. - - (3) The activator is either enabled (and the rack empty, so the trigger - won't be needed anyway) or running a placement procedure. OnTriggerLeave() - events during placement are from adjacent racks ("cross-activation") or - from a temporary loss of the item's 3D during a MoveToNode command. - Skip them to prevent the items from being mis-interpreted as having been - grabbed from the rack. -/; -STATE ActivatorBusy - - EVENT OnCellAttach() - endEVENT - - EVENT OnLoad() - endEVENT - - EVENT OnTriggerLeave(ObjectReference ItemRef) - ;~ Trace(Self + "ActivatorBusy:OnTriggerLeave() " + ItemRef + "; Base = " + ItemRef.GetBaseObject()) - endEVENT - -endSTATE - -;/------------------------------------------ - This state must be present to catch extant USKP 2.0.1 racks. - - The activator has been detected by OnCellAttach(), this trigger is - currently disabled. Allows OnLoad() to setup. -/; -STATE TriggerDisabled - - EVENT OnCellAttach() - endEVENT - -;/ Catch newly enabled racks with player present. - - Starting items must be done upon constructing the rack at a - workbench in a player home. OnCellAttach() does not fire. -/; - EVENT OnLoad() - - If Self == None - Trace(Self + "OnLoad() ERROR!") - return - EndIf +;EVENT OnCellLoad() +; ;Trace("DARYL - " + self + " running OnCellLoad() and AlreadyInit = " + AlreadyInit) +; if (AlreadyInit == FALSE) && (self.IsEnabled()) +; ActivatorRef = GetLinkedRef(WRackActivator) +; AlreadyInit = TRUE +; ;Trace("DARYL - " + self + " The Activator Ref is " + ActivatorRef) +; else +; ;Do nothing +; endif +; ;Trace("DARYL - " + self + " finishing OnCellLoad() and AlreadyInit = " + AlreadyInit) +;endEVENT - Cell parentCell = GetParentCell() - If parentCell == None - Trace(Self + "OnLoad() ERROR: GetParentCell == None") - return - EndIf - - If !parentCell.IsAttached() - Trace(Self + "OnLoad() ERROR: parentCell=" + parentCell + " !IsAttached()") - return - EndIf - - TriggerSetup("TriggerDisabled:OnLoad") - - endEVENT - - EVENT OnTriggerLeave(ObjectReference ItemRef) - ;~ Trace(Self + "TriggerDisabled:OnTriggerLeave() " + ItemRef + "; Base = " + ItemRef.GetBaseObject()) - endEVENT - -endSTATE -;/------------------------------------------ - This is a vanilla state and must be present to catch extant vanilla racks. - However, the contents have been significantly revised. -/; auto STATE WaitingForReference - -;/ Catch newly enabled racks without player present. - - Previously placed items must be renewed on every cell attach, - re-adjusting to current game mesh defined nodes. -/; - EVENT OnCellAttach() - - TriggerSetup("WFR:OnCellAttach") - - endEVENT - - EVENT OnLoad() + EVENT onTriggerEnter(objectReference triggerRef) + ;Trace("DARYL - " + self + " Just OnTriggerEntered by " + triggerref) + + if (IgnoreArmor == TRUE) && (triggerRef.GetBaseObject() as Armor) + ;Trace("DARYL - " + self + " I'm ignoring armor, and this is armor, so I'm doing nothing.") + ;Do Nothing + else + ;Trace("DARYL - " + self + " I'm updating as normal") + ;numInTrig = (numInTrig + 1) + HasBeenTriggered = TRUE + ActivatorRef = GetLinkedRef(WRackActivator) + if ActivatorRef + ActivatorRef.Disable() + endif + ActivatorRef = NONE + endif + + endEVENT - -;/ It would be nice if we could filter out spurious events fired by bouncing - clutter etc, but we can't call any native methods on triggerRef such as - GetBaseObject() -- if the retrieved item was scripted, then by the time - this runs it may already be in the player's inventory and our pointer - will be broken. So we'll have to make do with just comparing the pointer - itself to our other stored pointers. --taleden -/; EVENT OnTriggerLeave(objectReference triggerRef) + ;Trace("DARYL - " + self + " A References has EXITED, refs in this trigger now = " + numInTrig) + + if (IgnoreArmor == TRUE) && (triggerRef.GetBaseObject() as Armor) + ;Trace("DARYL - " + self + " I'm ignoring armor, and this is armor, so I'm doing nothing.") + ;Do Nothing + else + ;Trace("DARYL - " + self + " I'm updating as normal") + ;numInTrig = (numInTrig - 1) + endif + + if (GetTriggerObjectCount() == 0) + ActivatorRef = GetLinkedRef(WRackActivator) + + HasBeenTriggered = FALSE + ActivatorRef.Enable() - If CheckConfiguration("WFR:OnTriggerLeave") - return - EndIf - ; state ActivatorBusy - - If !ActivatorRef.IsDisabled() - ;~ Trace(Self + "OnTriggerLeave() CHECK: activator was enabled; 'ActivatorBusy' state.") ActivatorRef = NONE - ActivatorScript = NONE - return - EndIf - - If ActivatorScript.RackWasTriggered(triggerRef, GetTriggerObjectCount()) - GoToState("WaitingForReference") - ;~ Trace(Self + "OnTriggerLeave() retain 'WaitingForReference' state.") - EndIf - - ActivatorRef = NONE - ActivatorScript = NONE + endif endEVENT endSTATE -;/------------------------------------------ - TriggerSetup() CheckConfiguration() immediately changes state, - suppressing OnLoad() and trigger events. - - Called from OnLoad() and OnCellAttach() both here and there. -/; -Function TriggerSetup(String CallingEvent) - - Bool wasHandled = AlreadyInit - AlreadyInit = True - If wasHandled - ;~ Trace(Self + CallingEvent + "() TriggerSetup() was handled.") - Return - EndIf - - If CheckConfiguration(CallingEvent) - Return - EndIf - ; state ActivatorBusy - -;~ Trace(Self + CallingEvent + "() " + ActivatorRef + " update setup.") - ActivatorScript.ActivatorSetup(CallingEvent) - - ActivatorRef = NONE - ActivatorScript = NONE -EndFunction diff --git a/strings/enderal - forgotten stories_english.dlstrings b/strings/enderal - forgotten stories_english.dlstrings index 7eb1932d..6e05e833 100644 Binary files a/strings/enderal - forgotten stories_english.dlstrings and b/strings/enderal - forgotten stories_english.dlstrings differ diff --git a/strings/enderal - forgotten stories_english.ilstrings b/strings/enderal - forgotten stories_english.ilstrings index 63f9cfe1..a291b904 100644 Binary files a/strings/enderal - forgotten stories_english.ilstrings and b/strings/enderal - forgotten stories_english.ilstrings differ diff --git a/strings/enderal - forgotten stories_english.strings b/strings/enderal - forgotten stories_english.strings index d78d6824..4d21f109 100644 Binary files a/strings/enderal - forgotten stories_english.strings and b/strings/enderal - forgotten stories_english.strings differ