Quarry

by Shylie

Mine ores without an ore patch. Probably compatible with any mod.

Content
5 years ago
0.14 - 0.17
123
Mining

b Quarry 1.5.1 "bad argument #1 to load 'insert' (table expected, got nil)

7 years ago

Failed to load mod "quarry 1.5.1"
quarry/data.lua:8__quarry__/prototypes/productivity.lua:13: bad argument #1 to load 'insert' (table expected, got nil)

thats the error message :P
i read the forum on this error in 1.5.0 and did what the guy said and even that didn't fix it :P really don't know whats going on lol. this is the bit of code im guessing it meant:

end

data:extend({recipe})
end

-- allow productivity
table.insert(data.raw.module["productivity-module"].limitation, recipeName)
table.insert(data.raw.module["productivity-module-2"].limitation, recipeName)
table.insert(data.raw.module["productivity-module-3"].limitation, recipeName)

ok i dont know what any of that means but its what im guessing is causing the problem lol :D

7 years ago

oh. "table expected, got nil"

I'll fix this when 0.15 comes out. Probably incompatible with mods that add ores currently, as this bug pops up. Works fine with vanilla ores.

7 years ago

:p thanks for the tip of the ores. ima try and look into it. y'know? for science! (and quarries lol)

7 years ago

all that should be needed is checking that recipeName isn't a nil value

6 years ago

i only have vanilla ores and it still doesn't work

New response