From 79e9c27c8aaa313cccc20e550e9821cb7e724db1 Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Sat, 20 Aug 2022 09:04:16 -0400 Subject: [PATCH] more journey sorting --- Items/Tools/ClimateChange/AridArtifact.cs | 5 +++++ Items/Tools/ClimateChange/TorrentialTear.cs | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Items/Tools/ClimateChange/AridArtifact.cs b/Items/Tools/ClimateChange/AridArtifact.cs index 1d37c79094..aff98734d2 100644 --- a/Items/Tools/ClimateChange/AridArtifact.cs +++ b/Items/Tools/ClimateChange/AridArtifact.cs @@ -25,6 +25,11 @@ namespace CalamityMod.Items.Tools.ClimateChange Item.UseSound = SoundID.Item66; } + public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup) + { + itemGroup = ContentSamples.CreativeHelper.ItemGroup.EventItem; + } + public override bool CanUseItem(Player player) { return DownedBossSystem.downedDesertScourge; diff --git a/Items/Tools/ClimateChange/TorrentialTear.cs b/Items/Tools/ClimateChange/TorrentialTear.cs index 1a3d18854b..37fe5d505b 100644 --- a/Items/Tools/ClimateChange/TorrentialTear.cs +++ b/Items/Tools/ClimateChange/TorrentialTear.cs @@ -27,6 +27,11 @@ namespace CalamityMod.Items.Tools.ClimateChange Item.consumable = false; } + public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup) + { + itemGroup = ContentSamples.CreativeHelper.ItemGroup.EventItem; + } + public override bool CanUseItem(Player player) { return !Main.slimeRain;