The Factorio Standard Library is a project to bring Factorio modders high-quality, commonly-required utilities and tools.
Lua libraries for use by other mods and submods that are parts of a larger mod.
How do you set this skip_script_protections option to true for /stdlib_1.4.6/stdlib/event/event.lua:63? Do I set it on my controller.lua? If so how?
if not config.skip_script_protections then ... end
I figured it out. The following made it work.
local config = require('stdlib/stdlib/config') config.skip_script_protections = true
local Event = require('stdlib/stdlib/event/event')
That is the correct way to do it. I will put it on the list to add better documentation for this.