A simple Visual Studio Code environment for working on Elite Observatory Core custom criteria.
If you're not already familiar with using VSCode some direction is likely necessary. The following steps should get you rolling:
- Download and install VSCode
- Install the VSCode Lua Language Server extension
- Download or Clone this repo and place it somewhere convenient
- Place the
.lua
file with your criteria in it alongside the files from this repo, in the same folder ascriteria.d.lua
- Open the folder in VSCode
- README.MD
- The file you are reading now.
- criteria.lua
- A basic template for criteria writing.
- criteria.d.lua
- Annotated type definitions for types and global values used by Observatory criteria. This is the file that you're probably here for.
- .vscode\settings.json
- Default settings for lua-language-server to disable warnings for unexpected expressions. Required for simple criteria to not be incorrectly flagged as errors.