26 lines
707 B
C#
26 lines
707 B
C#
using Terraria;
|
|
using Terraria.ModLoader;
|
|
using Terraria.ID;
|
|
|
|
namespace CalamityMod.Items.Materials
|
|
{
|
|
[LegacyName("VictoryShard")]
|
|
public class PearlShard : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Materials";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 25;
|
|
ItemID.Sets.SortingPriorityMaterials[Type] = 60; // Meteorite
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 20;
|
|
Item.height = 26;
|
|
Item.maxStack = 9999;
|
|
Item.value = Item.sellPrice(silver: 3);
|
|
Item.rare = ItemRarityID.Green;
|
|
} }
|
|
}
|