Files
CalamityModPublic/Items/Placeables/Walls/ProfanedSlabWall.cs
T
Altixal c04db10819 Recipe newlines
+ Sea Minnow Jar recipe edit
2023-10-01 12:17:52 +07:00

38 lines
1.1 KiB
C#

using CalamityMod.Items.Placeables.FurnitureProfaned;
using Terraria.ID;
using Terraria.ModLoader;
using WallTiles = CalamityMod.Walls;
namespace CalamityMod.Items.Placeables.Walls
{
public class ProfanedSlabWall : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 400;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 7;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createWall = ModContent.WallType<WallTiles.ProfanedSlabWall>();
}
public override void AddRecipes()
{
CreateRecipe(4).
AddIngredient<ProfanedSlab>().
AddTile(TileID.WorkBenches).
Register();
}
}
}