Can you insert your entire code? Then I could help you find the issue.
If you kept the order of your function definitions, you need to change the order a bit, I will talk you through once posted the new code.
Thank you for your help CptMercury
I did as said use "local", however I had to miss somewhere because I have as error "line 72: attempt to call global 'checkMod'
local function autoMenu()
API.setTable("Automatic", autoMode, "", 3, 13, 6, 6)
API.setTable("Manual", manualMode, "", 15, 25, 6, 6)
if steamReactor then
API.setTable("Reactor", reactorMenu, "", 5, 18, 19, 19)
API.setTable("Turbine", turbineMenu, "", 22, 35, 19, 19)
checkMode() <-- on this line
I recommend joining the discord server, there you can get support and talk to other members of the server.
Download link for the pack: https://drive.google.com/open?id=1QBcmUJvBjldiBgTRpQQ6Cs_nvdB6aK7d
The pack zip includes a batch file installer, it's not necessary to run, just copies the files to your mods and config folders. If you know how I suggest installing them manually
IP address: zefsvanillaplus.g.akliz.net
Cooking For Blockheads
Good Ol' Currency Mod
Fast Leaf Decay
Spice Of Life Carrot Edition
Vivecraft Forge Extensions