Lukas04
Official Terrarian
c:\Users\Brown\Documents\My Games\Terraria\ModLoader\Mod Sources\CursesOfInnocence\Items\CursesOfInnocence.cs(38,32) : error CS0117: 'Terraria.ID.ItemID' does not contain a definition for 'LamentOfInnocence'
when i put null, it told me this-
c:\Users\Brown\Documents\My Games\Terraria\ModLoader\Mod Sources\CursesOfInnocence\Items\CursesOfInnocence.cs(37,30) : error CS0103: The name 'LamentOfInnocence' does not exist in the current context
Replace the Recipe Line with
Code:
recipe.AddIngredient(null,"LamentOfInnocence", 1);
If you look at the code you not Only make ItemID to null,you cange some thing more
Compare
Code:
recipe.AddIngredient(null,"WingSkelett", 1);
to
recipe.AddIngredient(ItemID.Wood, 50);
YOu need to change the . to , and add " " Around the Item Name