This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using CalamityMod.Items.DraedonMisc;
|
|
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Tiles.DraedonStructures;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
namespace CalamityMod.Items.Placeables.DraedonStructures
|
|
{
|
|
public class LaboratoryServerItem : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Placeables";
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 12;
|
|
Item.height = 12;
|
|
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<LaboratoryServer>();
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<LaboratoryPlating>(12).
|
|
AddIngredient<DubiousPlating>().
|
|
AddIngredient<DraedonPowerCell>(15).
|
|
AddTile(TileID.Anvils).
|
|
Register();
|
|
}
|
|
}
|
|
}
|