Files
CalamityModPublic/Items/Placeables/DraedonStructures/SecurityChest.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

28 lines
857 B
C#

using CalamityMod.Items.Materials;
using CalamityMod.Tiles.DraedonStructures;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.DraedonStructures
{
public class SecurityChest : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.DefaultToPlaceableTile(ModContent.TileType<SecurityChestTile>());
Item.value = Item.sellPrice(silver: 1); // Non-standard Draedon's furniture: uses Chest prices
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<LaboratoryPlating>(8).
AddRecipeGroup("IronBar", 2).
AddTile(TileID.Anvils).
Register();
}
}
}