PDA

View Full Version : Lua Libraries?



woztooka
March 11th, 2019, 12:45
So I've been hacking around in a ruleset I've downloaded and have been trying to clean it up with some functions and general refactoring to classes, but I've noticed that the Lua require keyword seems to have been nulled.

Is there anyway for me to separate things out into library files for some enhanced script readability and reuse?

EDIT:
Ahhh, ok, I figured it out. I did the programmer thing and assumed I'd just do it in the code itself. Found a section in the base.xml that's loading my script files up. Hope by leaving this here I can help someone else out

LordEntrails
March 11th, 2019, 17:56
Welcome to the forums and FG. Thanks for letting us know you found a solution and what it was.