Rewrited and improved version of old TBoI mod, Isaac On Twitch. There are new features in this mod:
- Internal web server instead file input/output system for external data exchange
- New callbacks system. Increase performance and code quality
- File-splitting. No more 4K lines in main.lua
- External Item Description support
- Fixed game saves
As before, run Isaac with --luadebug
launch parameter
For debug, you can use next commands in Isaac command line (~):
iotr showcallbacks
- show all active callbacks for items, trinkets and events
iotr storage
- show current mod storage in JSON format
iotr allpassive
- spawn all passive items from Twitch mod in current room
iotr allactive
- spawn all active items from Twitch mod in current room
iotr toggleshader [shadername]
- enable/disable shader from mod
iotr setshader [shadername] [paramname] [paramvalue]
- set parameter for shader from mod
iotr debugtextfollow [text]
- add text for every entity in room
iotr launchevent [eventname]
- launch event by name
iotr getgridentity
- get gridEntity type under the player
iotr getroomsize
- get size of current room
-
content
- Contains xml-files for Isaac mod API -
locale
- Contains localization filesmain.lua
- Root localization storage[language_code].lua
- Localization for different languages
-
resources
- Contains media-sources and files for replacing -
scripts
- Contains .lua files for Twitch modativeItems.lua
- List of all active items from modcallbacks.lua
- Main callbacks for mod, like saving gameclasses.lua
- Mod classes, like active events or subscriberscmd.lua
- Commands for Isaac command lineenums.lua
- Lists of different objects, like colors or enemiesevents.lua
- Events listpassiveItems.lua
- List of all passive items from modhelper.lua
- Additional functions for comfort developingmechanics.lua
- Gameplay mechanics, like bits and twitch heartslocale.lua
- Localization dataserver.lua
- Twitch mod server for receiveng/sending datasprites.lua
- Contains UI and etc sprites from modshaders.lua
- Contains shaders paramssounds.lua
- Contains sounds from modtrinkets.lua
- List of all trinkets from mod
-
main.lua
- Main mod script, contains root mod object -
metadata.xml
- Mod config