/vscode-civVI-environment

vscode extension for Civ VI modding that supplies autocomplete powered by Lua Language Server

Primary LanguageLua

Civilization VI Environment Emulation

Emulation of the Civ VI Lua (HavokScript) and SQLite environment to achieve a streamlined modding experience

Features

Autocompletions for Civ VI classes, properties, functions and parameters. Depends on Lua Language Server to provide IntelliSense for Lua.

feature X feature Y

Lua

  • Database
    • GameInfo
    • GlobalParameters
  • Enums
  • Namespaces
  • Objects
  • Events
    • Events
    • LuaEvents
    • GameEvents
  • Extraneous globals
  • HavokScript Syntax (rough but it works nearly entirely)
    • hstructure/hmake
    • Type qualifiers
  • Modules
  • __call metamethod
    • GameInfo
    • Events
    • LuaEvents

Recommendations

  • Hypersnips (Some of the added snippets need this to work)

Requirements