Lua Console

⭐ — (9 endorsements) 📥 349 downloads 📌 v1.0 📅 12/17/2016
⚪ Last updated 2016

By Arkathorn · Miscellaneous

⬇ Download Mod Source: Nexus Mods ↗ 📅 Updated: 12/17/2016 📅 Created: 12/17/2016

🔍 Analysis

  • 🏆 #24 of 30 Miscellaneous mods in this game by downloads

📋 About This Mod

Adds a drop-down Lua console to the panel on the top of the screen. NOTE: Lua access severely limited!

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) []Clipboard access (likely impossible)
  • Backslash rendering

📊 Mod Details

Game
Civilisationvi Mods
Author
Arkathorn
Version
1.0
Downloads
349
Endorsements
9
Category
Miscellaneous
Created
12/17/2016
Updated
12/17/2016
Tags
Modder's Resource, User Interface, Utilities for Modders

🔧 How to Install Sid Meier's Civilization VI Mods

Install via a mod manager (Vortex or Mod Organizer 2). Most mods drop into the game folder.

📖 Full step-by-step install guide for Sid Meier's Civilization VI →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Sid Meier's Civilization VI commands, item IDs, and more.

Keep browsing — more Sid Meier's Civilization VI mods await

📋 All Sid Meier's Civilization VI Mods 🏆 Top 25 📂 More Miscellaneous 👤 More by Arkathorn 🔎 Similar Mods 🌐 Best Miscellaneous (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods