Files
CalamityModPublic/Items/Placeables/FurnitureStatigel/StatigelBookcase.cs
T
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00

33 lines
1.0 KiB
C#

using CalamityMod.Tiles.Furniture.CraftingStations;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureStatigel
{
public class StatigelBookcase : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.width = 28;
Item.height = 20;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.FurnitureStatigel.StatigelBookcase>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<StatigelBlock>(20).
AddIngredient(ItemID.Book, 10).
AddTile<StaticRefiner>().
Register();
}
}
}