35 lines
951 B
C#
35 lines
951 B
C#
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Rarities;
|
|
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.rare = ModContent.RarityType<DarkOrange>();
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<MysteriousCircuitry>(4).
|
|
AddIngredient<DubiousPlating>(4).
|
|
AddRecipeGroup("IronBar", 10).
|
|
AddTile(TileID.Anvils).
|
|
Register();
|
|
}
|
|
}
|
|
}
|