- Merged Crimson alternatives into removed Night items - Fixed Abyss Gravel Wall -> Abyss Gravel recipe not working - Absolute consistency for furniture set recipes
36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using CalamityMod.Tiles.Furniture.CraftingStations;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
namespace CalamityMod.Items.Placeables.FurnitureStatigel
|
|
{
|
|
public class StatigelPlatform : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Placeables";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 200;
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 8;
|
|
Item.height = 10;
|
|
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.StatigelPlatform>();
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe(2).
|
|
AddIngredient<StatigelBlock>().
|
|
Register();
|
|
}
|
|
}
|
|
}
|