24 lines
617 B
C#
24 lines
617 B
C#
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items
|
|
{
|
|
public class EncryptedSchematic : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DisplayName.SetDefault("Encrypted Schematic");
|
|
Tooltip.SetDefault("It's impossible to decipher"); // But not for long.
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
item.width = 42;
|
|
item.height = 42;
|
|
item.rare = ItemRarityID.Red;
|
|
item.Calamity().customRarity = CalamityRarity.DraedonRust;
|
|
item.maxStack = 999;
|
|
}
|
|
}
|
|
}
|