34 lines
953 B
C#
34 lines
953 B
C#
using Terraria.ModLoader;
|
|
namespace CalamityMod.Items.Placeables.FurnitureProfaned
|
|
{
|
|
public class ProfanedPlatform : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
item.width = 8;
|
|
item.height = 10;
|
|
item.maxStack = 999;
|
|
item.useTurn = true;
|
|
item.autoReuse = true;
|
|
item.useAnimation = 15;
|
|
item.useTime = 10;
|
|
item.useStyle = 1;
|
|
item.consumable = true;
|
|
item.createTile = ModContent.TileType<Tiles.FurnitureProfaned.ProfanedPlatform>();
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
ModRecipe recipe = new ModRecipe(mod);
|
|
recipe.AddIngredient(ModContent.ItemType<ProfanedRock>());
|
|
recipe.SetResult(this, 2);
|
|
recipe.AddTile(412);
|
|
recipe.AddRecipe();
|
|
}
|
|
}
|
|
}
|