HTOTM: FUSION
Original Post
Why the hell isn't there any Toribash scripting documentation?
I am an aspiring scripter looking for information on Toribash's API for Lua scripting. I am trying to find out if running Toribash in realtime is possible, and for this I need to know how all the hooks, functions and their parameters work. However, I cannot do that when any links to it are from old posts on this forum that are either dead or contain incomplete information.

I'm already somewhat familiar with the Lua scripting language, but this is stopping me from where I really need to be right now, so any help in the right direction is much appreciated.

Thanks in advance.
Having to ask in discord or anywhere else is kinda annoying so I also wish there was some clear documentation, I wrote a script asking on discord mostly...
- Gann4Life -
Check out data/script/system/system_defines.lua, it has all Toribash API functions listed with comments there.
If you use VSCode, get this extension to make use of autocompletion and suggestions. Most UI building functionality (UIElement class and its derivatives) also have EmmyLua compatible documentation.

For other editors that support Language Server Protocol, check https://github.com/LuaLS/lua-language-server
Last edited by sir; Apr 15, 2024 at 11:29 AM.