[SOLVED] Error message on launch
Posted: Sat Jul 16, 2016 7:39 pm
So I'm making a mod which has multiple tiers of labs. I call them 'lab-*tier number*'
When I launch the game I get this error:

I have researches before and after it. NOTE: this is modifying a research already in the game.
This is the part of the code it refers to (line 1064 to 1100):
So, what is wrong with it as I have looked and there should be no reason for it to give me that error for what I can see. I am what you would call a 'noob' at lua.
When I launch the game I get this error:

I have researches before and after it. NOTE: this is modifying a research already in the game.
This is the part of the code it refers to (line 1064 to 1100):
Code: Select all
{
type = "technology",
name = "research-effectivity-1",
icon = "__base__/graphics/technology/research-effectivity.png",
effects =
{
{
type = "laboratory-speed",
modifier = 0.2
},
{
type = "unlock-recipe",
recipe = "lab-2"
},
{
type = "unlock-recipe",
recipe = "lab-3"
},
{
type = "unlock-recipe",
recipe = "lab-4"
},
},
prerequisites = {"electronics"},
unit =
{
count = 100,
ingredients =
{
{"science-pack-1", 1},
{"science-pack-2", 1}
},
time = 30
},
upgrade = true,
order = "c-m-a"
},