25 lines
612 B
C#
25 lines
612 B
C#
using Terraria;
|
|
using Terraria.ModLoader;
|
|
using Terraria.ID;
|
|
|
|
namespace CalamityMod.Items.Materials
|
|
{
|
|
public class Stardust : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Materials";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 100;
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 30;
|
|
Item.height = 26;
|
|
Item.maxStack = 9999;
|
|
Item.value = Item.sellPrice(silver: 3);
|
|
Item.rare = ItemRarityID.LightRed;
|
|
}
|
|
}
|
|
}
|