27 lines
693 B
C#
27 lines
693 B
C#
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace ForgottenWawiTech.Content.Items.Materials
|
|
{
|
|
public class RGBAlloy : ModItem
|
|
{
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 20;
|
|
Item.height = 20;
|
|
Item.maxStack = 9999;
|
|
Item.rare = ItemRarityID.White;
|
|
Item.value = Item.buyPrice(gold: 50);
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe()
|
|
.AddIngredient(ModContent.ItemType<RGBass>(), 1)
|
|
.AddIngredient(ModContent.ItemType<VisorShard>(), 5)
|
|
.AddTile(TileID.Anvils)
|
|
.Register();
|
|
}
|
|
}
|
|
} |