Files
CalamityModPublic/Items/Placeables/Furniture/RustyChest.cs
T
Altixal 490afcfe29 bulk TILE changes part 1
- Used
- Added a sell value to Draedon lab furniture (30 copper)
- Above not applied to standard furniture -- Lab doors now sell for 40 copper like other doors
- White rarity applied to non-significant lab furniture
- Reduced most Calamity torch prices from 1 silver to 12 copper (biome torch price)
- Spawn rate candle recipe tweaks
- Added sell price of 40 gold to Altar of the Accursed
- Added sell price of 2 gold to most other crafting stations & Astral Beacon
- Added sell price to monoliths and adjusted obtainment for a couple
- Added sell price to a couple more misc furniture items
2024-09-18 00:55:17 +07:00

26 lines
819 B
C#

using CalamityMod.Items.Materials;
using CalamityMod.Tiles.Abyss;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture
{
public class RustyChest : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.DefaultToPlaceableTile(ModContent.TileType<RustyChestTile>());
Item.value = Item.sellPrice(silver: 10); // Special: generated chest price
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<HardenedSulphurousSandstone>(8).
AddRecipeGroup("IronBar", 2).
AddTile(TileID.Anvils).
Register();
}
}
}