quickstart script

Quickstart script.

Creates a quickstart world for testing mods.

config settings should be a created in a table retured from config-quickstart.lua

Usage

-- For use with STDLIB Events
if DEBUG then
  require('__stdlib__/stdlib/scripts/quickstart').register_events()
end
--If not using stdlibs event system
local quickstart = require('__stdlib__/stdlib/scripts/quickstart')
script.on_event(defines.events.on_player_created, function()
 quickstart.on_player_created() -- can be wrapped in an if DEBUG type check
end)