Files
CalamityModPublic/Items/DraedonMisc/CodebreakerBase.cs
T
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00

38 lines
1.2 KiB
C#

using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.DraedonStructures;
using CalamityMod.Tiles.DraedonSummoner;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.DraedonMisc
{
public class CodebreakerBase : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.DraedonItems";
public override void SetDefaults()
{
Item.width = 42;
Item.height = 32;
Item.useStyle = ItemUseStyleID.Swing;
Item.useTurn = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.autoReuse = true;
Item.consumable = true;
Item.maxStack = 9999;
Item.rare = ItemRarityID.Orange;
Item.createTile = ModContent.TileType<CodebreakerTile>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ChargingStationItem>().
AddIngredient<MysteriousCircuitry>(20).
AddIngredient<DubiousPlating>(35).
AddTile(TileID.Anvils).
Register();
}
}
}