1.0.9 • Published 7 years ago

tboi-reisen v1.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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 Arar rar

  • 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
1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago