33 lines
983 B
C#
33 lines
983 B
C#
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Placeables.Ores
|
|
{
|
|
public class CryonicOre : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Placeables";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 100;
|
|
ItemID.Sets.SortingPriorityMaterials[Type] = 90; // Chlorophyte Ore
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.createTile = ModContent.TileType<Tiles.Ores.CryonicOre>();
|
|
Item.useStyle = ItemUseStyleID.Swing;
|
|
Item.useTurn = true;
|
|
Item.useAnimation = 15;
|
|
Item.useTime = 10;
|
|
Item.autoReuse = true;
|
|
Item.consumable = true;
|
|
Item.width = 13;
|
|
Item.height = 10;
|
|
Item.maxStack = 9999;
|
|
Item.value = Item.sellPrice(silver: 12);
|
|
Item.rare = ItemRarityID.Pink;
|
|
}
|
|
}
|
|
}
|