Files
CalamityModPublic/Items/Placeables/FurnitureProfaned/ProfanedClock.cs
T
2022-06-13 19:07:50 -05:00

38 lines
1.1 KiB
C#

using CalamityMod.Tiles.Furniture.CraftingStations;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureProfaned
{
public class ProfanedClock : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
}
public override void SetDefaults()
{
Item.width = 26;
Item.height = 22;
Item.maxStack = 99;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.FurnitureProfaned.ProfanedClock>();
}
public override void AddRecipes()
{
CreateRecipe(1).
AddRecipeGroup("IronBar", 3).
AddIngredient(ItemID.Glass, 6).
AddIngredient(ModContent.ItemType<ProfanedRock>(), 10).
AddTile(ModContent.TileType<ProfanedCrucible>()).
Register();
}
}
}