[Fixed] Little problem with recipe

Place to get help with not working mods / modding interface.
User avatar
Solar's Wrath
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Mar 21, 2016 8:09 pm
Contact:

[Fixed] Little problem with recipe

Post by Solar's Wrath »

I am working on a mod and well it keeps giving me this error

Image

Code: Select all

  {
    type = "recipe",
    name = "bronze-mix",
    category = "advanced-crafting",
    energy_required = 4,
    ingredients = 
	{
	  { "copper-powder", 4},
	  { "tin-powder", 1}
	},
    result = "bronze-mix"
	result_count = 5
  },
This is my code between line 42 and line 54 (Not fixed) at those precise line. I went through it over and over. I seriously don't see where the problem is...
Can someone help me?
Last edited by Solar's Wrath on Thu Mar 31, 2016 12:33 am, edited 1 time in total.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3733
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Little problem with recipe

Post by DaveMcW »

It expects a } because your list ends there. Add a comma on line 52 to continue the list.
User avatar
Solar's Wrath
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Mar 21, 2016 8:09 pm
Contact:

Re: Little problem with recipe

Post by Solar's Wrath »

Actually there is more recipe beyond that one about "bronze-mix"

But I put the coma and it worked, thanks alot :D
Post Reply

Return to “Modding help”