hello, people of the forum. I've come here to share some of my resource with you all.
I've just started doing modding for the client and I was a little bogged down because there is not much documentation easily found about the lua API given to us. So I've made these simple lua files with directives that tell your lua language server about the objects and their methods. So that you can escape from those warnings, and even get some autocompletion to boot.
The files are in this repository on github. You can just copy it to the root of the data folder and set the "workspace.library" option in the language server to point to this directory.
Cheers, y'all.
I've just started doing modding for the client and I was a little bogged down because there is not much documentation easily found about the lua API given to us. So I've made these simple lua files with directives that tell your lua language server about the objects and their methods. So that you can escape from those warnings, and even get some autocompletion to boot.
The files are in this repository on github. You can just copy it to the root of the data folder and set the "workspace.library" option in the language server to point to this directory.
Cheers, y'all.