Wack ass shop code support

This commit is contained in:
mountaindrew10 committed 2023-04-18 01:09:27 -05:00
1 parent 8b62cc2c0f
commit ab4c6d69a1
1 file changed
+3 -1
+3 -1
View File
@@ -313,7 +313,9 @@ namespace CalamityMod.NPCs.TownNPCs
NPCShop shop = new(Type);
shop.AddWithCustomValue(ItemID.HeartreachPotion, Item.buyPrice(gold: 4), potionSells, Condition.HappyEnough)
.AddWithCustomValue(ItemID.LifeforcePotion, Item.buyPrice(gold: (NPC.downedMoonlord ? 16 : Main.hardMode ? 8 : 4)), potionSells, Condition.HappyEnough)
.AddWithCustomValue(ItemID.LifeforcePotion, Item.buyPrice(gold: 4), potionSells, Condition.HappyEnough, Condition.PreHardmode)
.AddWithCustomValue(ItemID.LifeforcePotion, Item.buyPrice(gold: 8), potionSells, Condition.HappyEnough, Condition.Hardmode, Condition.NotDownedMoonLord)
.AddWithCustomValue(ItemID.LifeforcePotion, Item.buyPrice(gold: 16), potionSells, Condition.HappyEnough, Condition.DownedMoonLord)
.AddWithCustomValue(ItemID.LovePotion, Item.buyPrice(silver: 25), potionSells, Condition.HappyEnough)
.AddWithCustomValue(ModContent.ItemType<GrapeBeer>(), Item.buyPrice(silver: 30))
.AddWithCustomValue(ModContent.ItemType<RedWine>(), Item.buyPrice(gold: 1))