24 lines
620 B
C#
24 lines
620 B
C#
using Terraria;
|
|
using Terraria.ModLoader;
|
|
using Terraria.ID;
|
|
|
|
namespace CalamityMod.Items.Materials
|
|
{
|
|
public class InfectedArmorPlating : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Materials";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 25;
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 20;
|
|
Item.height = 20;
|
|
Item.maxStack = 9999;
|
|
Item.value = Item.buyPrice(0, 5, 0, 0);
|
|
Item.rare = ItemRarityID.Yellow;
|
|
} }
|
|
}
|