Hello, I'm looking to make a standard radio UI mod. I know Lua, but have no idea how to use it in beam and have not found any useful documentation after checking for a couple of hours. How do I make one? Does it support standard Lua libraries (or others like http requests/os)? Where can I find general API docs? Thank you!
So... I spent a little while working on an example mod for you. I'll probably use it to introduce others as well. If you need any help understanding something, or have any suggestions, feel free to let me know. You can put the mod in mods/unpacked (create the folder if it doesn't exist). Unpack exampleMod.zip into it (make sure to not have exampleMod/exampleMod/actualContentsHere
The "load" function does not load code from a file, wrap in dump, there will be an error in the console.
Your mod works, but when I tried to replicate it in a test mod of my own from scratch, modscripts would simply show an empty table. Like I redid everything step by step but in a folder and it didn't work. What sorcery did you use???