Page 1 of 1

[Fixed] Little problem with recipe

Posted: Wed Mar 30, 2016 11:35 pm
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?

Re: Little problem with recipe

Posted: Thu Mar 31, 2016 12:26 am
by DaveMcW
It expects a } because your list ends there. Add a comma on line 52 to continue the list.

Re: Little problem with recipe

Posted: Thu Mar 31, 2016 12:32 am
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