fix shop listings and item prices

This commit is contained in:
Nathanael Overton committed 2026-05-27 18:55:48 -04:00
1 parent 63fb350d33
commit 2cdcc2cf6b
7 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -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;
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Placeables.Furniture
{
Item.DefaultToPlaceableTile(ModContent.TileType<GluttonyBlenderTile>());
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;
}
}
+1 -1
View File
@@ -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()
+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.Items.Potions.Alcohol
public override void SetDefaults()
{
Item.DefaultToFood(20, 32, ModContent.BuffType<BaconOilBuff>(), CalamityUtils.MinutesToFrames(6), true);
Item.value = Item.sellPrice(silver: 2);
Item.value = Item.sellPrice(silver: 6);
Item.rare = ItemRarityID.Blue;
}
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Potions.Food
public override void SetDefaults()
{
Item.DefaultToFood(70, 48, ModContent.BuffType<Malnourished>(), 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)
+1 -1
View File
@@ -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;
}
+2 -2
View File
@@ -270,7 +270,6 @@ namespace CalamityMod.NPCs.TownNPCs
shop.Add<TheHousingContract>()
.Add<RageBait>()
.Add<TheConcoction>()
.Add<OddVoucher>()
.Add<TheElixir>()
.Add<TrustyOldRod>()
.Add<GluttonyBlender>()
@@ -279,9 +278,10 @@ namespace CalamityMod.NPCs.TownNPCs
.Add<FishStocks>()
.Add<TheSandwich>()
.Add<BaconOil>()
.Add<TheGift>()
.Add<CombatVoucher>(Condition.DownedGoblinArmy)
.Add<AggressiveVoucher>(Condition.DownedGoblinArmy)
.Add<CombatVoucher>(Condition.DownedGoblinArmy)
.Add<OddVoucher>(Condition.DownedGoblinArmy)
.Add<UnbreakableVoucher>(Condition.DownedGoblinArmy)
.Add<HurriedVoucher>(Condition.DownedGoblinArmy)
.Add<OmniGun>(Condition.DownedGolem)