Skip to content

Repository files navigation

fortsAPIdocParser

Generate Forts lua annotations.

Addon

This project generate a lua language server addon in /addon tailored for forts mod developpement.

example1

Contents

Aliases

Humain made aliases of lua table from C types.

Core

A decompressed, stripped and humain annotated declaration file of core.lua.

Forts

A decompressed, stripped and humain annotated declaration file of forts.lua. A lot of functions are not described or typed. Dont hesitate to contribute !

Maintables

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.

Scripting api

Automatically generated annotation from the api doc into json into lua.

Installation

You should be able to download it from the download manager or follow the guide.

Generation

  1. Install Deno
  2. 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.

Discord

Come chat with us !

Feel free to ping me on discord (TrétinV3) in #⁠🛠-modding !

https://discord.gg/forts

About

A lua addon to add Forts functions in your editor of choice.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages