From 2cdcc2cf6bb7ce86fb85a17a26271bb40e6b5bd1 Mon Sep 17 00:00:00 2001 From: Nathanael Overton Date: Wed, 27 May 2026 18:55:48 -0400 Subject: [PATCH] fix shop listings and item prices --- Items/Accessories/FishStocks.cs | 4 ++-- Items/Placeables/Furniture/GluttonyBlender.cs | 4 ++-- Items/Placeables/Furniture/TheMonument.cs | 2 +- Items/Potions/Alcohol/BaconOil.cs | 2 +- Items/Potions/Food/TheSandwich.cs | 2 +- Items/Potions/TheConcoction.cs | 2 +- NPCs/TownNPCs/ShadySalesman.cs | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Items/Accessories/FishStocks.cs b/Items/Accessories/FishStocks.cs index a5fab55a28..80066d8354 100644 --- a/Items/Accessories/FishStocks.cs +++ b/Items/Accessories/FishStocks.cs @@ -14,10 +14,10 @@ namespace CalamityMod.Items.Accessories { Item.width = 30; Item.height = 38; - Item.value = CalamityGlobalItem.RarityBlueBuyPrice; + Item.value = Item.sellPrice(gold: 1); Item.rare = ItemRarityID.Blue; Item.accessory = true; - } + public override void UpdateAccessory(Player player, bool hideVisual) { player.Calamity().fishStocks = true; diff --git a/Items/Placeables/Furniture/GluttonyBlender.cs b/Items/Placeables/Furniture/GluttonyBlender.cs index f4355809c8..f02730dbab 100644 --- a/Items/Placeables/Furniture/GluttonyBlender.cs +++ b/Items/Placeables/Furniture/GluttonyBlender.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Items.Placeables.Furniture { Item.DefaultToPlaceableTile(ModContent.TileType()); Item.rare = ItemRarityID.Orange; - Item.value = Item.buyPrice(gold: 5); + Item.value = Item.sellPrice(gold: 2); } } @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Placeables.Furniture public override void SetDefaults() { Item.DefaultToFood(32, 30, BuffID.WellFed3, CalamityUtils.MinutesToFrames(30)); - Item.value = Item.sellPrice(gold: 1); + Item.value = Item.sellPrice(gold: 2); Item.rare = ItemRarityID.Orange; } } diff --git a/Items/Placeables/Furniture/TheMonument.cs b/Items/Placeables/Furniture/TheMonument.cs index 4f57836dea..9d503effcc 100644 --- a/Items/Placeables/Furniture/TheMonument.cs +++ b/Items/Placeables/Furniture/TheMonument.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Placeables.Furniture Item.width = 40; Item.height = 50; Item.rare = ItemRarityID.Pink; - Item.value = Item.buyPrice(gold: 5); + Item.value = Item.sellPrice(gold: 5); } public override void Load() diff --git a/Items/Potions/Alcohol/BaconOil.cs b/Items/Potions/Alcohol/BaconOil.cs index d3b20577ee..54a518776d 100644 --- a/Items/Potions/Alcohol/BaconOil.cs +++ b/Items/Potions/Alcohol/BaconOil.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Potions.Alcohol public override void SetDefaults() { Item.DefaultToFood(20, 32, ModContent.BuffType(), CalamityUtils.MinutesToFrames(6), true); - Item.value = Item.sellPrice(silver: 2); + Item.value = Item.sellPrice(silver: 6); Item.rare = ItemRarityID.Blue; } diff --git a/Items/Potions/Food/TheSandwich.cs b/Items/Potions/Food/TheSandwich.cs index f99710a8c7..1a35ab12f9 100644 --- a/Items/Potions/Food/TheSandwich.cs +++ b/Items/Potions/Food/TheSandwich.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Potions.Food public override void SetDefaults() { Item.DefaultToFood(70, 48, ModContent.BuffType(), CalamityUtils.MinutesToFrames(10)); - Item.value = Item.sellPrice(silver: 20); + Item.value = Item.sellPrice(silver: 4); Item.rare = ItemRarityID.Blue; } public override void UseAnimation(Player player) diff --git a/Items/Potions/TheConcoction.cs b/Items/Potions/TheConcoction.cs index 0c9ebf0c0c..c35ed90bbd 100644 --- a/Items/Potions/TheConcoction.cs +++ b/Items/Potions/TheConcoction.cs @@ -32,7 +32,7 @@ namespace CalamityMod.Items.Potions public override void SetDefaults() { Item.DefaultToHealingPotion(50, 56, 500); - Item.value = Item.sellPrice(silver: 60); + Item.value = Item.sellPrice(silver: 20); Item.rare = ItemRarityID.Green; } diff --git a/NPCs/TownNPCs/ShadySalesman.cs b/NPCs/TownNPCs/ShadySalesman.cs index 569296d0d5..19f524257c 100644 --- a/NPCs/TownNPCs/ShadySalesman.cs +++ b/NPCs/TownNPCs/ShadySalesman.cs @@ -270,7 +270,6 @@ namespace CalamityMod.NPCs.TownNPCs shop.Add() .Add() .Add() - .Add() .Add() .Add() .Add() @@ -279,9 +278,10 @@ namespace CalamityMod.NPCs.TownNPCs .Add() .Add() .Add() + .Add() .Add(Condition.DownedGoblinArmy) .Add(Condition.DownedGoblinArmy) - .Add(Condition.DownedGoblinArmy) + .Add(Condition.DownedGoblinArmy) .Add(Condition.DownedGoblinArmy) .Add(Condition.DownedGoblinArmy) .Add(Condition.DownedGolem)