It's all the same error, you just got to check spelling and stuff.
i need help again
error
c:\Users\thorn\Documents\My Games\Terraria\ModLoader\Mod Sources\ThePlusPack\Items\Armor\LightBringerChestplate.cs(35,40) : error CS0118: 'ThePlusPack.Items.LightBar' is a 'type' but is used like a 'variable'
c:\Users\thorn\Documents\My Games\Terraria\ModLoader\Mod Sources\ThePlusPack\Items\Armor\LightBringerChestplate.cs(35,13) : error CS1502: The best overloaded method match for 'Terraria.ModLoader.ModRecipe.AddIngredient(Terraria.ModLoader.Mod, string, int)' has some invalid arguments
c:\Users\thorn\Documents\My Games\Terraria\ModLoader\Mod Sources\ThePlusPack\Items\Armor\LightBringerChestplate.cs(35,40) : error CS1503: Argument 2: cannot convert from 'ThePlusPack.Items.LightBar' to 'string'
c:\Users\thorn\Documents\My Games\Terraria\ModLoader\Mod Sources\ThePlusPack\Items\Armor\LightBringerLegs.cs(35,40) : error CS0118: 'ThePlusPack.Items.LightBar' is a 'type' but is used like a 'variable'
c:\Users\thorn\Documents\My Games\Terraria\ModLoader\Mod Sources\ThePlusPack\Items\Armor\LightBringerLegs.cs(35,13) : error CS1502: The best overloaded method match for 'Terraria.ModLoader.ModRecipe.AddIngredient(Terraria.ModLoader.Mod, string, int)' has some invalid arguments
c:\Users\thorn\Documents\My Games\Terraria\ModLoader\Mod Sources\ThePlusPack\Items\Armor\LightBringerLegs.cs(35,40) : error CS1503: Argument 2: cannot convert from 'ThePlusPack.Items.LightBar' to 'string'
c:\Users\thorn\Documents\My Games\Terraria\ModLoader\Mod Sources\ThePlusPack\Items\Armor\LightBringerMask.cs(41,40) : error CS0118: 'ThePlusPack.Items.LightBar' is a 'type' but is used like a 'variable'
c:\Users\thorn\Documents\My Games\Terraria\ModLoader\Mod Sources\ThePlusPack\Items\Armor\LightBringerMask.cs(41,13) : error CS1502: The best overloaded method match for 'Terraria.ModLoader.ModRecipe.AddIngredient(Terraria.ModLoader.Mod, string, int)' has some invalid arguments
c:\Users\thorn\Documents\My Games\Terraria\ModLoader\Mod Sources\ThePlusPack\Items\Armor\LightBringerMask.cs(41,40) : error CS1503: Argument 2: cannot convert from 'ThePlusPack.Items.LightBar' to 'string'
c:\Users\thorn\Documents\My Games\Terraria\ModLoader\Mod Sources\ThePlusPack\Items\Weapons\LightBringer.cs(36,34) : error CS0023: Operator '.' cannot be applied to operand of type '<null>'
coding
using System.Collections.Generic;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace ThePlusPack.Items
{
public class LightBar : ModItem
{
public override void SetDefaults()
{
item.name = "Light Bar";
item.width = 20;
item.height = 20;
item.maxStack = 99;
AddTooltip("THE BARS OF PHYSICAL LIGHT!!");
item.value = 100;
item.rare = 7;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.Hellstone, 3);
recipe.AddIngredient(ItemID.Meteorite, 3);
recipe.AddTile(TileID.Furnaces);
recipe.SetResult(this, 1);
recipe.AddRecipe();
recipe = new ModRecipe(mod);
recipe.AddRecipeGroup("ExampleMod:ExampleItem");
recipe.SetResult(this, 1);
recipe.AddRecipe();