From e0fcf8d066dc133cfd2f60fdfbc92a91ce1ba8d7 Mon Sep 17 00:00:00 2001 From: GinYuH <> Date: Sat, 8 Oct 2022 21:06:24 -0700 Subject: [PATCH] Gel Darts and Slime Puppet are now Statigel weapons --- Items/TreasureBags/SlimeGodBag.cs | 3 +-- Items/Weapons/Rogue/GelDart.cs | 10 ++++++++++ Items/Weapons/Summon/SlimePuppetStaff.cs | 10 ++++++++++ NPCs/SlimeGod/SlimeGodCore.cs | 3 +-- NPCs/TownNPCs/THIEF.cs | 5 ----- 5 files changed, 22 insertions(+), 9 deletions(-) diff --git a/Items/TreasureBags/SlimeGodBag.cs b/Items/TreasureBags/SlimeGodBag.cs index ffb1a059f2..42bb4924bf 100644 --- a/Items/TreasureBags/SlimeGodBag.cs +++ b/Items/TreasureBags/SlimeGodBag.cs @@ -70,8 +70,7 @@ namespace CalamityMod.Items.TreasureBags ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), - ModContent.ItemType() + ModContent.ItemType() })); // Equipment diff --git a/Items/Weapons/Rogue/GelDart.cs b/Items/Weapons/Rogue/GelDart.cs index bfb35fc67a..7fcfa40c21 100644 --- a/Items/Weapons/Rogue/GelDart.cs +++ b/Items/Weapons/Rogue/GelDart.cs @@ -56,5 +56,15 @@ namespace CalamityMod.Items.Weapons.Rogue } return true; } + + public override void AddRecipes() + { + CreateRecipe(333). + AddIngredient(2). + AddIngredient(ItemID.Gel, 6). + AddIngredient(ItemID.HellstoneBar, 1). + AddTile(). + Register(); + } } } diff --git a/Items/Weapons/Summon/SlimePuppetStaff.cs b/Items/Weapons/Summon/SlimePuppetStaff.cs index 4294c1997d..5dbb086a54 100644 --- a/Items/Weapons/Summon/SlimePuppetStaff.cs +++ b/Items/Weapons/Summon/SlimePuppetStaff.cs @@ -51,5 +51,15 @@ namespace CalamityMod.Items.Weapons.Summon } return false; } + + public override void AddRecipes() + { + CreateRecipe(). + AddIngredient(22). + AddIngredient(ItemID.Gel, 25). + AddIngredient(ItemID.HellstoneBar, 6). + AddTile(). + Register(); + } } } diff --git a/NPCs/SlimeGod/SlimeGodCore.cs b/NPCs/SlimeGod/SlimeGodCore.cs index 7ba8e581a0..12e13e6510 100644 --- a/NPCs/SlimeGod/SlimeGodCore.cs +++ b/NPCs/SlimeGod/SlimeGodCore.cs @@ -602,8 +602,7 @@ namespace CalamityMod.NPCs.SlimeGod ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType() }; normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, weapons)); diff --git a/NPCs/TownNPCs/THIEF.cs b/NPCs/TownNPCs/THIEF.cs index 1df2c38bd0..d644beab4f 100644 --- a/NPCs/TownNPCs/THIEF.cs +++ b/NPCs/TownNPCs/THIEF.cs @@ -297,11 +297,6 @@ namespace CalamityMod.NPCs.TownNPCs shop.item[nextSlot].SetDefaults(ItemID.TrapsightPotion); shop.item[nextSlot].shopCustomPrice = Item.buyPrice(0, 1, 0, 0); nextSlot++; - if (DownedBossSystem.downedSlimeGod) - { - shop.item[nextSlot].SetDefaults(ModContent.ItemType()); - nextSlot++; - } if (Main.hardMode) { shop.item[nextSlot].SetDefaults(ModContent.ItemType());