
because of the number of replies to my initial post (read: 0), i think i must point out the possible benefits to being able to load
modules. the library i want to load would support serial communication. this would allow communication with external hardware (such as arduino, or any other mcu dev board), allowing anyone to build an interactive cockpit or (with the right motor drivers and encoders) full motion simulation. could also lead to a slew of alternative input, such as imu-based head tracking. i should point out that this is not the only library available.
i mentioned the pack library, which provides numerous functions for working with binary file data. i used this library to parse tga files, for example. one use for this library is to read certain parts of a pof file, for example (such as an in-engine pof editor). probibly not the sanest of ideas but its merely an example.
there is a whole list of libraries
here, which can be used by throwing the binary into the fs2path and using require. there is certainly the possibility to get into the trouble by trying to use certain modules. there are also modules that only work on specific platforms, but it seems there are many useful modules that support all windows and *nix platforms. this would certainly be an advanced feature that is not recommended for the amateur scripter. but the package library (as its called in the manual) is part of lua and should be supported by the engine.
you could even write your own library and turn it into a precompiled module. this allows scripters to add code-level functionality without modifying the engine.
generally i think this would be a very useful thing to have.