There is a possibility to expand the LUA basic libraries?

As i have understand from some tests, the Lua version used by DOTP doesn't include some common libraries..as like input output library..or OS library.
I was thinking if there is a way to load that libraries so we could access to a new set of functions, that could allow us to read files, to use input boxes, etc..
I made a simple test with the follow code :
I also read that we could load modules with "REQUIRE" function...could we download LUA standard libraries and load them??
I would receive an opinion from the Programmers of the community.
I think that someone already made something similar for another game, take a look to this link : http://rom-research.blogspot.it/2012/02/rom-lua-extension.html
I was thinking if there is a way to load that libraries so we could access to a new set of functions, that could allow us to read files, to use input boxes, etc..
I made a simple test with the follow code :
- Code: Select all
<RESOLUTION_TIME_ACTION>
EffectController():DisplayMessage(package.path)
</RESOLUTION_TIME_ACTION>
I also read that we could load modules with "REQUIRE" function...could we download LUA standard libraries and load them??
I would receive an opinion from the Programmers of the community.
I think that someone already made something similar for another game, take a look to this link : http://rom-research.blogspot.it/2012/02/rom-lua-extension.html