Files
CalamityModPublic/Items/Materials/Necroplasm.cs
T
mountaindrew10 584db35e50 1 - Polterplasm > Necroplasm.
2 - Polterplasm Dye > Necroplasmic Dye.
3 - Removed Polterghast's other names.
2024-03-08 19:25:31 -06:00

34 lines
994 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Materials
{
[LegacyName("Phantoplasm")]
public class Necroplasm : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Materials";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 25;
Main.RegisterItemAnimation(Item.type, new DrawAnimationVertical(5, 6));
ItemID.Sets.AnimatesAsSoul[Type] = true;
ItemID.Sets.SortingPriorityMaterials[Type] = 110;
}
public override void SetDefaults()
{
Item.width = 24;
Item.height = 52;
Item.maxStack = 9999;
Item.value = Item.sellPrice(gold: 1);
Item.rare = ItemRarityID.Purple;
}
public override Color? GetAlpha(Color lightColor) => new Color(200, 200, 200, 0);
}
}