25 lines
870 B
C#
25 lines
870 B
C#
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Placeables.Furniture.BossRelics
|
|
{
|
|
public class SignusRelic : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Placeables";
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
// Vanilla has many useful methods like these, use them! This substitutes setting Item.createTile and Item.placeStyle aswell as setting a few values that are common across all placeable items
|
|
Item.DefaultToPlaceableTile(ModContent.TileType<Tiles.Furniture.BossRelics.SignusRelic>(), 0);
|
|
|
|
Item.width = 30;
|
|
Item.height = 40;
|
|
Item.maxStack = 9999;
|
|
Item.rare = ItemRarityID.Master;
|
|
Item.master = true; // This makes sure that "Master" displays in the tooltip, as the rarity only changes the item name color
|
|
Item.value = Item.buyPrice(0, 5);
|
|
}
|
|
}
|
|
}
|