This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
34 lines
1.0 KiB
C#
34 lines
1.0 KiB
C#
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Tiles.Abyss;
|
|
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.width = 26;
|
|
Item.height = 22;
|
|
Item.maxStack = 9999;
|
|
Item.useTurn = true;
|
|
Item.autoReuse = true;
|
|
Item.useAnimation = 15;
|
|
Item.useTime = 10;
|
|
Item.useStyle = ItemUseStyleID.Swing;
|
|
Item.consumable = true;
|
|
Item.value = 500;
|
|
Item.createTile = ModContent.TileType<RustyChestTile>();
|
|
}
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<HardenedSulphurousSandstone>(8).
|
|
AddRecipeGroup("IronBar", 2).
|
|
AddTile(TileID.Anvils).
|
|
Register();
|
|
}
|
|
}
|
|
}
|