diff --git a/scripts/_00e_theriantrophist_alchemycontrol.pex b/scripts/_00e_theriantrophist_alchemycontrol.pex index 4fe133e3..0e909a07 100644 Binary files a/scripts/_00e_theriantrophist_alchemycontrol.pex and b/scripts/_00e_theriantrophist_alchemycontrol.pex differ diff --git a/scripts/_00e_theriantrophist_update_12.pex b/scripts/_00e_theriantrophist_update_12.pex deleted file mode 100644 index f3a58ecc..00000000 Binary files a/scripts/_00e_theriantrophist_update_12.pex and /dev/null differ diff --git a/source/scripts/_00e_autosavesystem_functions.psc b/source/scripts/_00e_autosavesystem_functions.psc index 44bb12d5..802c520d 100644 --- a/source/scripts/_00e_autosavesystem_functions.psc +++ b/source/scripts/_00e_autosavesystem_functions.psc @@ -24,7 +24,7 @@ Event OnUpdate() EndEvent -; called from _00E_PlayerSetUpScript in Maintenance() to update ini setting fAutosaveEveryXMins in case it was changed +; called from _00E_AutosaveIntervalAlias to update ini setting fAutosaveEveryXMins in case it was changed Function UpdateAutoSaveInterval() fUpdateTime = Utility.GetIniFloat("fAutosaveEveryXMins:SaveGame") diff --git a/source/scripts/_00e_theriantrophist_alchemycontrol.psc b/source/scripts/_00e_theriantrophist_alchemycontrol.psc index ed266ec0..5e9fd84d 100644 --- a/source/scripts/_00e_theriantrophist_alchemycontrol.psc +++ b/source/scripts/_00e_theriantrophist_alchemycontrol.psc @@ -81,7 +81,7 @@ bool bDoneDarkBlood = false bool bDoneChymikum = false Int curScriptVersion = 0 -Int Property LATEST_SCRIPT_VERSION = 5 AutoReadOnly +Int Property LATEST_SCRIPT_VERSION = 6 AutoReadOnly Potion[] aCreatedPotions string[] aPotionNames @@ -408,11 +408,8 @@ Function _InitAchemyControl() Int oldScriptVersion = curScriptVersion curScriptVersion = LATEST_SCRIPT_VERSION - If oldScriptVersion < 5 - RemoveAllInventoryEventFilters() - UnregisterForAllMenus() - UnregisterForUpdate() - _00E_Theriantrophist_Update_12.Run(self) + If oldScriptVersion < 6 + ; EndIf EndIf diff --git a/source/scripts/_00e_theriantrophist_update_12.psc b/source/scripts/_00e_theriantrophist_update_12.psc deleted file mode 100644 index 0e7d31fb..00000000 --- a/source/scripts/_00e_theriantrophist_update_12.psc +++ /dev/null @@ -1,25 +0,0 @@ -scriptname _00E_Theriantrophist_Update_12 Hidden - -function Run(_00E_Theriantrophist_AlchemyControl PlayerAlias) global - - Int SKSEVer = SKSE.GetVersion() - - if SKSEVer >= 2 && (SKSE.GetPluginVersion("JContainers64") > 0 || SKSE.GetPluginVersion("JContainersVR") > 0) - - Potion k - int potionNames = JMap.getObj(JDB.root(), "EnderalFS.RenamedPotions") - int potionModels = JMap.getObj(JDB.root(), "EnderalFS.ModelChangedPotions") - - if potionNames > 0 - k = JFormMap.nextKey(potionNames, previousKey = None, endKey = None) as Potion - while k != None - PlayerAlias._addNamedPotion(k, JFormMap.getStr(potionNames, k), JFormMap.getStr(potionModels, k)) - k = JFormMap.nextKey(potionNames, k, endKey = None) as Potion - endwhile - JFormMap.clear(potionNames) - JFormMap.clear(potionModels) - endif - - endif - -endfunction