Scal robes
This commit is contained in:
1 parent
ef1dfed855
commit
d315e217f7
2 files changed
+8
No files matched your search
@@ -1,5 +1,6 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using Terraria;
|
||||
|
||||
namespace CalamityMod.Items.Armor.Vanity
|
||||
{
|
||||
@@ -10,6 +11,13 @@ namespace CalamityMod.Items.Armor.Vanity
|
||||
{
|
||||
SacrificeTotal = 1;
|
||||
DisplayName.SetDefault("Calamitous Robes");
|
||||
|
||||
if (Main.netMode != NetmodeID.Server)
|
||||
{
|
||||
var equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Body);
|
||||
ArmorIDs.Body.Sets.HidesArms[equipSlot] = true;
|
||||
ArmorIDs.Body.Sets.HidesTopSkin[equipSlot] = true;
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 6.7 KiB |
Reference in new issue
Block a user