From 0113b4bb4752311cfb03375cde4679d38d3dab74 Mon Sep 17 00:00:00 2001 From: Merkalto Date: Wed, 13 Apr 2022 12:28:59 -0500 Subject: [PATCH] Horseshoe Recipe is now very cheap. Calcium potions craft in yields of 4. Calcium potion is now 20 silver. Calcium potion buff now lasts for 20 mins. --- Items/Potions/CalciumPotion.cs | 12 ++++++------ NPCs/CalamityGlobalTownNPC.cs | 2 +- Utilities/CalamityRecipes.cs | 4 +--- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Items/Potions/CalciumPotion.cs b/Items/Potions/CalciumPotion.cs index 787c7b831a..6382f5f284 100644 --- a/Items/Potions/CalciumPotion.cs +++ b/Items/Potions/CalciumPotion.cs @@ -20,7 +20,7 @@ namespace CalamityMod.Items.Potions Item.height = 18; Item.useTurn = true; Item.maxStack = 30; - Item.value = Item.buyPrice(0, 2, 0, 0); + Item.value = Item.buyPrice(0, 0, 20, 0); Item.rare = ItemRarityID.Blue; Item.useAnimation = 17; Item.useTime = 17; @@ -28,20 +28,20 @@ namespace CalamityMod.Items.Potions Item.UseSound = SoundID.Item3; Item.consumable = true; Item.buffType = ModContent.BuffType(); - Item.buffTime = CalamityUtils.SecondsToFrames(900f); + Item.buffTime = CalamityUtils.SecondsToFrames(1200f); } public override void AddRecipes() { - CreateRecipe(). - AddIngredient(ItemID.BottledWater). + CreateRecipe(4). + AddIngredient(ItemID.BottledWater, 4). AddIngredient(). AddTile(TileID.Bottles). Register(); - CreateRecipe(). + CreateRecipe(4). AddIngredient(ItemID.BottledWater). - AddIngredient(10). + AddIngredient(). AddTile(TileID.AlchemyTable). Register(); } diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index 1735085e1a..96909cd7a0 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -1370,7 +1370,7 @@ namespace CalamityMod.NPCs if (type == NPCID.SkeletonMerchant) { - SetShopItem(ref shop, ref nextSlot, ItemType(), true, Item.buyPrice(0, 1, 0, 0)); + SetShopItem(ref shop, ref nextSlot, ItemType(), true, Item.buyPrice(0, 0, 20, 0)); SetShopItem(ref shop, ref nextSlot, ItemID.Marrow, Main.hardMode, Item.buyPrice(0, 36)); } } diff --git a/Utilities/CalamityRecipes.cs b/Utilities/CalamityRecipes.cs index 47278b21a2..7a9838e4ec 100644 --- a/Utilities/CalamityRecipes.cs +++ b/Utilities/CalamityRecipes.cs @@ -1078,9 +1078,7 @@ namespace CalamityMod // Lucky Horseshoe r = CreateRecipe(ItemID.LuckyHorseshoe); - r.AddIngredient(ItemID.SunplateBlock, 10); - r.AddIngredient(ItemID.Cloud, 10); - r.AddRecipeGroup("AnyGoldBar", 5); + r.AddRecipeGroup("AnyGoldBar", 8); r.AddTile(TileID.Anvils); r.Register();