Generate Forts lua annotations.
This project generate a
lua language server addon in /addon
tailored for forts mod developpement.
Humain made aliases of lua table from C types.
A decompressed, stripped and humain annotated declaration file of core.lua.
A decompressed, stripped and humain annotated declaration file of forts.lua. A
lot of functions are not described or typed. Dont hesitate to contribute !
A still work in progress definitions of weapons, materials and devices table definition. The current status is broken and the file is commented. You can uncomment if to try.
Automatically generated annotation from the api doc into json into lua.
You should be able to download it from the download manager or follow the guide.
- Install Deno
- Run
deno run index.ts all
GENERATION WILL NOT WORK AS IS. Inputs files must be manually added or edited, Forts source forts.lua and core.lua must be decompressed and annotated etc. This repo is a collection of helpful scripts to simplify the process and contain the output of mine.
Come chat with us !
Feel free to ping me on discord (TrétinV3) in #🛠-modding !
