tboi-reisen
v1.0.9
Published
The Binding Of Isaac: Afterbirth+ mod compiler
Downloads
3
Readme
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-dbg
argument)
Right now, it implements only one function - log('String')
, which renders string on MC_POST_RENDER
event
- It let's you use
import
in your lua scripts to combine several files together (can be disabled by--no-import
argument)
Example 1:
main.lua
-- Code
import useless_crap from 'useless_crap.lua'
-- Code
useless_crap.lua
this_is_a = 'bucket'
return this_is_a
output.lua (generated by script)
-- Code
local useless_crap = (function()
this_is_a = 'bucket'
return this_is_a
end)()
-- Code
Example 2:
main.lua
-- Code
import 'theres_more.lua'
-- Code
theres_more.lua
local bucket = 'Dear god!'
output.lua (generated by script)
-- Code
local bucket = 'Dear god!'
-- Code