From 4bb9d56b24fd520cd3036ed0b1987372cb26cada Mon Sep 17 00:00:00 2001 From: Alex Gilbert Date: Tue, 3 Dec 2024 23:19:36 -0500 Subject: [PATCH] - Update luck skill name and behavior for the new one --- .../Constants/Modded/ArchipelagoSkillNames.cs | 2 +- .../Items/Unlocks/Modded/ModSkillUnlockManager.cs | 8 +------- .../Locations/CodeInjections/Vanilla/SkillInjections.cs | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/StardewArchipelago/Constants/Modded/ArchipelagoSkillNames.cs b/StardewArchipelago/Constants/Modded/ArchipelagoSkillNames.cs index 9d3e177de..037b30144 100644 --- a/StardewArchipelago/Constants/Modded/ArchipelagoSkillNames.cs +++ b/StardewArchipelago/Constants/Modded/ArchipelagoSkillNames.cs @@ -12,7 +12,7 @@ public class ArchipelagoSkillNames public class ArchipelagoSkillIds { - public const string LUCK = "Luck"; + public const string LUCK = "moonslime.Luck"; public const string BINNING = "drbirbdev.Binning"; public const string MAGIC = "spacechase0.Magic"; public const string ARCHAEOLOGY = "moonslime.Archaeology"; diff --git a/StardewArchipelago/Items/Unlocks/Modded/ModSkillUnlockManager.cs b/StardewArchipelago/Items/Unlocks/Modded/ModSkillUnlockManager.cs index a066e139a..475a11f9a 100644 --- a/StardewArchipelago/Items/Unlocks/Modded/ModSkillUnlockManager.cs +++ b/StardewArchipelago/Items/Unlocks/Modded/ModSkillUnlockManager.cs @@ -41,13 +41,7 @@ public void RegisterUnlocks(IDictionary _skillToModName = new() { { Skill.Magic, ModNames.MAGIC }, { Skill.Binning, ModNames.BINNING }, { Skill.Cooking, ModNames.COOKING }, - { Skill.Archaeology, ModNames.ARCHAEOLOGY }, { Skill.Socializing, ModNames.SOCIALIZING }, + { Skill.Archaeology, ModNames.ARCHAEOLOGY }, { Skill.Socializing, ModNames.SOCIALIZING }, { Skill.Luck, ModNames.LUCK }, }; private static ILogger _logger;