30 lines
894 B
C#
30 lines
894 B
C#
using Terraria;
|
|
using Terraria.GameContent;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Materials
|
|
{
|
|
public class BloodSample : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Materials";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 25;
|
|
ItemID.Sets.SortingPriorityMaterials[Type] = 68; // Sturdy Fossil
|
|
ItemTrader.ChlorophyteExtractinator.AddOption_OneWay(Type, 1, ModContent.ItemType<RottenMatter>(), 1);
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 26;
|
|
Item.height = 34;
|
|
Item.maxStack = 9999;
|
|
Item.value = Item.buyPrice(0, 0, 50, 0);
|
|
Item.rare = ItemRarityID.Orange;
|
|
|
|
Item.MakeUsableWithChlorophyteExtractinator();
|
|
}
|
|
}
|
|
}
|