1.0.9 • Published 9 years ago
tboi-reisen v1.0.9
tboi-reisen
The Binding Of Isaac: Afterbirth+ mod compiler
Setup
This script requires npm and nodejs installed
npm i -g tboi-reisen
Usage
tboi-reisen main.lua output.lua
Flags
--no-import- disable import feature--no-dbg- disable dbg-script injection--production- disable dbg-script (for production builds)--watch- watch input file for changes and recompile it
What it does
- It injects debug script in the end (can be disabled by
--no-dbgargument)
Right now, it implements only one function - log('String'), which renders string on MC_POST_RENDER event

- It let's you use
importin your lua scripts to combine several files together (can be disabled by--no-importargument)
Example 1:
main.lua
-- Code
import useless_crap from 'useless_crap.lua'
-- Codeuseless_crap.lua
this_is_a = 'bucket'
return this_is_aoutput.lua (generated by script)
-- Code
local useless_crap = (function()
this_is_a = 'bucket'
return this_is_a
end)()
-- CodeExample 2:
main.lua
-- Code
import 'theres_more.lua'
-- Codetheres_more.lua
local bucket = 'Dear god!'output.lua (generated by script)
-- Code
local bucket = 'Dear god!'
-- Code