Files
CalamityModPublic/Items/Armor/GemTech/GemTechSchynbaulds.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 System.Collections.Generic;
using CalamityMod.Items.Materials;
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.CraftingStations;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Armor.GemTech
{
[AutoloadEquip(EquipType.Legs)]
public class GemTechSchynbaulds : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Armor.PostMoonLord";
public override void SetDefaults()
{
Item.width = 28;
Item.height = 26;
Item.defense = 24;
Item.value = CalamityGlobalItem.Rarity15BuyPrice;
Item.rare = ModContent.RarityType<Violet>();
Item.Calamity().donorItem = true;
}
public override void ModifyTooltips(List<TooltipLine> tooltips) => GemTechHeadgear.ModifySetTooltips(this, tooltips);
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ExoPrism>(12).
AddIngredient<GalacticaSingularity>(4).
AddIngredient<CoreofCalamity>(2).
AddTile<DraedonsForge>().
Register();
}
}
}