diff --git a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_Blacklist.txt b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_Blacklist.txt index 3477e05..3934b01 100644 --- a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_Blacklist.txt +++ b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_Blacklist.txt @@ -16,9 +16,19 @@ LLEQSET_Blacklist_Add_Tag("EquipmentSets_Ignored"); //REGION UPDATER PROC -LLEQSET_System_UpdateDatabases() +LeaderUpdater_ModUpdated("EquipmentSets", "LaughingLeader", _Version) +AND +_Version == "1.0.0.0" THEN LLEQSET_Blacklist_InitBlacklist(); + +PROC +LeaderUpdater_ModUpdated("EquipmentSets", "LaughingLeader", _Version) +AND +NOT DB_LLEQSET_Blacklist("Template", "RC_FTJ_Amulet_SourceCollar_8bf8b97c-556e-4e69-8fc7-39241783dcc1") +THEN +LLEQSET_Blacklist_Add_Template("RC_FTJ_Amulet_SourceCollar_8bf8b97c-556e-4e69-8fc7-39241783dcc1"); +LeaderLog_Log("DEBUG", "[LLEQSET:Blacklist] Updated from version [",_Version,"]. Added missing source collar template to blacklist."); //END_REGION //REGION ADDING diff --git a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager_Menu.txt b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager_Menu.txt index b3c3571..65cc335 100644 --- a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager_Menu.txt +++ b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager_Menu.txt @@ -17,7 +17,9 @@ DB_LLEQSET_SetManager_DefaultSetNames("Set4", "Set 4"); DB_LLEQSET_SetManager_DefaultSetNames("Set5", "Set 5"); PROC -LLEQSET_System_UpdateDatabases() +LeaderUpdater_ModUpdated("EquipmentSets", "LaughingLeader", _Version) +AND +_Version == "-1" THEN LLEQSET_Menu_InitializeSettings(); //END_REGION diff --git a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager_NamingWizard.txt b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager_NamingWizard.txt index e62dd2d..89eb33f 100644 --- a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager_NamingWizard.txt +++ b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager_NamingWizard.txt @@ -23,7 +23,9 @@ LLEQSET_NamingInterface_AddWord("Thievery"); //REGION UPDATER PROC -LLEQSET_System_UpdateDatabases() +LeaderUpdater_ModUpdated("EquipmentSets", "LaughingLeader", _Version) +AND +_Version == "-1" THEN LLEQSET_NamingInterface_InitSettings(); LeaderLog_Log("DEBUG","[LLEQSET:NamingInterface] Databases updated."); diff --git a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager__Main.txt b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager__Main.txt index 488aea7..c088c21 100644 --- a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager__Main.txt +++ b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_SetManager__Main.txt @@ -50,7 +50,9 @@ LLEQSET_System_ClearExistingDatabase("DB_LLEQSET_SetManager_EquipRate", 1); DB_LLEQSET_SetManager_EquipRate(100); PROC -LLEQSET_System_UpdateDatabases() +LeaderUpdater_ModUpdated("EquipmentSets", "LaughingLeader", _Version) +AND +_Version == "-1" THEN LLEQSET_SetManager_InitializeSettings(); //END_REGION diff --git a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_ZZZ_Updater.txt b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_ZZZ_Updater.txt index 0de0545..5a614cc 100644 --- a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_ZZZ_Updater.txt +++ b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET_ZZZ_Updater.txt @@ -2,7 +2,7 @@ Version 1 SubGoalCombiner SGC_AND INITSECTION LLEQSET_Updater_InitSettings(); -LeaderUpdater_Register_Mod("EquipmentSets", "LaughingLeader", "1.0.0.0"); +LeaderUpdater_Register_Mod("EquipmentSets", "LaughingLeader", "1.0.0.5"); LeaderUpdater_Register_ActiveGoal("EquipmentSets", "LaughingLeader", "LLEQSET_ZZZ_Updater"); //DB_LLEQSET_Dependencies(_Mod, _Author, _GlobalFlag) KBSECTION @@ -16,9 +16,9 @@ DB_LLEQSET_Dependencies("NamingWizard", "LaughingLeader", "LLEQSET_Global_Naming //REGION MOD_UPDATING PROC -LLEQSET_System_UpdateDatabases() +LeaderUpdater_ModUpdated("EquipmentSets", "LaughingLeader", _Version) THEN -LeaderLog_Log("DEBUG","[LLEQSET][Updater] Databases updated."); +LeaderLog_Log("DEBUG", "[LLEQSET:Updater] Updated from version [",_Version,"]"); PROC LLEQSET_Updater_UnregisterMod() @@ -30,10 +30,9 @@ LeaderUpdater_UnregisterMod("EquipmentSets", "LaughingLeader"); IF GameStarted(_,_) AND -LeaderUpdater_QRY_ModUpdateNeeded("EquipmentSets", "LaughingLeader", "1.0.0.0") +LeaderUpdater_QRY_ModUpdateNeeded("EquipmentSets", "LaughingLeader", "1.0.0.5") THEN -LeaderUpdater_Register_Mod("EquipmentSets", "LaughingLeader", "1.0.0.0"); -LLEQSET_System_UpdateDatabases(); +LeaderUpdater_Register_Mod("EquipmentSets", "LaughingLeader", "1.0.0.5"); //END_REGION //REGION MOD_DETECTION @@ -44,7 +43,7 @@ DB_LLEQSET_Dependencies(_Mod, _Author, _GlobalFlag) AND LeaderUpdater_QRY_ModIsActive(_Mod, _Author) THEN -LeaderLog_Log("DEBUG","[LLEQSET][Updater] Mod ",_Mod," by ", _Author," is active."); +LeaderLog_Log("DEBUG","[LLEQSET:Updater] Mod ",_Mod," by ", _Author," is active."); GlobalSetFlag(_GlobalFlag); PROC diff --git a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET__System.txt b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET__System.txt index 21ca3b2..fcae5e0 100644 --- a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET__System.txt +++ b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/Story/RawFiles/Goals/LLEQSET__System.txt @@ -75,7 +75,9 @@ SysClear("DB_LLEQSET_Temp_TracedCharacterValue", 2); SysClear("DB_LLEQSET_Temp_ItemSlot", 3); PROC -LLEQSET_System_UpdateDatabases() +LeaderUpdater_ModUpdated("EquipmentSets", "LaughingLeader", _Version) +AND +_Version == "-1" THEN LLEQSET_System_InitializeSettings(); //END_REGION diff --git a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/meta.lsx b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/meta.lsx index ce4cb93..973f5b2 100644 --- a/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/meta.lsx +++ b/Mods/EquipmentSets_5137eeed-ea15-4635-861f-c6c616503cd3/meta.lsx @@ -1,6 +1,6 @@ -
+
@@ -12,7 +12,7 @@ - + @@ -32,7 +32,7 @@ - +