Adds a drop-down Lua console to the panel on the top of the screen. NOTE: Lua access severely limited!
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou must get permission to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
This mod adds a drop-down Lua console to the panel at the top of the HUD. The console supports text entry, and will execute the text entered as Lua statements. If the statement is not valid, but is when encapsulated by a 'print' statement, it will be interpreted as such (eg. a variable name). If the statement has return values, these will be outputted.
Note that the usual versatility of Lua has been somewhat restricted by the game.
The '_G' global variable is not present.
The 'debug' library is not present.
'getfenv' and 'setfenv' are not present.
'pairs' does not provide any targets when used with core libraries (eg. 'math' or 'os').
The Lua operates from the context of the console panel. The precise implications of this in terms of restrictions are unknown, but likely significant.
NOTE: Backslashes ('\') are not rendered by the console. However, they are still valid when included in statements.
Please note that this is a very rudimentary console, and is not expected to be overly useful in its current state. I will revisit this project at a later date, and attempt to improve upon it. Planned (but not necessarily possible) features include:
Entry history with navigation (using the up and down keys to navigate between previous entries)