PDA

View Full Version : LUA Libraries...



celestian
April 25th, 2017, 00:19
Are these the only libraries usable in FG?


math
string
table


I've a need for something like a uuid (long story short I need a name for a data entry that doesn't change, name doesn't work) but the existing stuff I found needs a few other things.

Reason:
I'm mostly happy with my dynamic drop down but if the user changes the "name" of one of the "dynamic" entries it's no longer there... Which isn't a problem for the code (I test for it) but I'd like to make it a bit more idiot proof. I did this before with another XML heavy project I used... I pointed at the uuid instead of the name.

It's not a huge deal honestly but I thought I'd see what I could do and seems libraries will be an issue.

Moon Wizard
April 25th, 2017, 01:39
These are the standard Lua packages allowed in the FG Lua sandbox:
math
table
string
os

Regards,
JPG

celestian
April 25th, 2017, 03:26
These are the standard Lua packages allowed in the FG Lua sandbox:
math
table
string
os

Regards,
JPG

Great thanks. I think one of the versions I looked at needed just os/math so I might be able to make it work. I'll give it a go!