Get an error when attempting to add things to bobinserters
Posted: Tue Aug 16, 2022 10:44 pm
Somewhere in the control file, something makes me get this error message:
__BobInserters-Early-T2-Research__/control.lua:1: attempt to index global 'bobmods' (a nil value)
stack traceback:
__BobInserters-Early-T2-Research__/control.lua:1: in main chunk
What could be causing this? I know it is the control.lua file, as all its contents were added in the latest version of the mod, and the mod worked before then.
The entirety of the mod files: The control.lua file: Edit:
I realize that I need to also attach the bob inserters file, as my code makes no sense otherwise. please make note I am new to modding.
Edit 2:
my intent with this is to add 2 more levels to the long inserters technology, and move the 2nd level back to logistics 2, which I have already done.
The technology files:
__BobInserters-Early-T2-Research__/control.lua:1: attempt to index global 'bobmods' (a nil value)
stack traceback:
__BobInserters-Early-T2-Research__/control.lua:1: in main chunk
What could be causing this? I know it is the control.lua file, as all its contents were added in the latest version of the mod, and the mod worked before then.
The entirety of the mod files: The control.lua file: Edit:
I realize that I need to also attach the bob inserters file, as my code makes no sense otherwise. please make note I am new to modding.
Edit 2:
my intent with this is to add 2 more levels to the long inserters technology, and move the 2nd level back to logistics 2, which I have already done.
The technology files: