using CalamityMod.Items.Materials; using CalamityMod.Rarities; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.LabFinders { [LegacyName("MysteriousMechanism")] public class LabSeekingMechanism : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.DraedonItems"; public override void SetStaticDefaults() { Item.ResearchUnlockCount = 5; } public override void SetDefaults() { Item.width = 24; Item.height = 26; Item.value = Item.sellPrice(silver: 50); Item.rare = ModContent.RarityType(); } public override void AddRecipes() { CreateRecipe(). AddIngredient(4). AddIngredient(4). AddRecipeGroup("IronBar", 10). AddTile(TileID.Anvils). Register(); } } }