Add dofile() to Lua
This lets PK3 files (not WAD and other formats) decide of the order in which to load their Lua scripts, by creating a Init.lua entry at the root (actual root, not the Lua folder) and then calling dofile("Path/To/Some/Script.lua") to load individual scripts (inside the Lua folder this time).
Edited by LJ Sonic