Files
CalamityModPublic/Items/Armor/Vanity/SignusMask.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

28 lines
674 B
C#

using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Armor.Vanity
{
[AutoloadEquip(EquipType.Head)]
public class SignusMask : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Armor.Vanity";
public override void SetStaticDefaults()
{
if (Main.netMode != NetmodeID.Server)
ArmorIDs.Head.Sets.DrawHead[Item.headSlot] = false;
}
public override void SetDefaults()
{
Item.width = 28;
Item.height = 20;
Item.rare = ItemRarityID.Blue;
Item.vanity = true;
}
}
}