Barotrauma

Barotrauma

Lua Docs
32 Comments
Television 21 May, 2023 @ 7:35pm 
thanks
whosyourdaddy  [author] 20 May, 2023 @ 9:26pm 
whosyourdaddy  [author] 20 May, 2023 @ 9:25pm 
You don't need to clone the repository, you just need to download type.zip.
Television 19 May, 2023 @ 3:50pm 
how do i get this to work?
{
"Lua.diagnostics.libraryFiles": "Enable",
"Lua.workspace.library": [
"C:/Users/koolt/OneDrive/Documents/btlua-docs-master/types/client",
"C:/Users/koolt/OneDrive/Documents/btlua-docs-master/types/shared",
],
}
this is my settings.json
Iridescent Lightning 29 Mar, 2023 @ 7:38pm 
Super good mod. Love it!
BonelessSoap 2 Feb, 2023 @ 9:59am 
help it does not work for me i dried pressing ctrl+shift+p and type in "open workspace settings (json)" but apperently it does not work i have no idear how to do it pls just make a vid or help me
BonelessSoap 2 Feb, 2023 @ 9:40am 
oh my good pls help me i installed all the suff i had to the lua server thing and the zip from that chines webside but i dont know hoe to get any thurther
whosyourdaddy  [author] 28 Jan, 2023 @ 10:33am 
you should download type.zip here:
https://gitee.com/zhurengong/btlua-docs/releases/tag/v0.20.15.0

you can quickly create .vscode\settings.json by pressing ctrl+shift+p and type in "open workspace settings (json)"

and you should replace "$unzip location of types.zip$" with the location where zip file is in

the following is all settings of mine
{
"settings": {
"Lua.diagnostics.disable": [
"param-type-mismatch",
"return-type-mismatch",
"undefined-field",
"need-check-nil",
"assign-type-mismatch",
"redundant-return-value",
"missing-parameter",
"undefined-global",
"missing-return-value",
"undefined-doc-name",
"missing-return",
"cast-local-type",
"deprecated",
],
"Lua.diagnostics.libraryFiles": "Enable",
"Lua.workspace.library": [
// "F:/RemRepo/Barotrauma/LuaScript/btlua-docs/types/client",
"F:/RemRepo/Barotrauma/LuaScript/btlua-docs/types/server",
"F:/RemRepo/Barotrauma/LuaScript/btlua-docs/types/shared",
],
}
}
Asbest 28 Jan, 2023 @ 2:35am 
i cant figure it out how do i use it.
I have the btlua-docs-master.zip file but i cant finde .vscode\settings.json file
and should i put where "location of" stands the path to the zip file like "E:/luaBaro"?
whosyourdaddy  [author] 14 Dec, 2022 @ 9:43am 
Updated to the latest barotrauma versin(v0.20.15.0)
whosyourdaddy  [author] 20 Oct, 2022 @ 6:32pm 
Updated for v0.19.14.0
whosyourdaddy  [author] 7 Oct, 2022 @ 5:22pm 
absolutely supports generic type now and fixed many problems.
I have stop publishing updates of the workshop version
You can link to gitee repository of this mod to download it.
whosyourdaddy  [author] 1 Sep, 2022 @ 6:52am 
更新:支持重载运算符
---
Update: Support overloaded operators
whosyourdaddy  [author] 26 Aug, 2022 @ 12:58am 
Update: support interpreting the modifiers of the class members.
whosyourdaddy  [author] 20 Aug, 2022 @ 12:17am 
Update: Support all delegate types
whosyourdaddy  [author] 2 Aug, 2022 @ 5:10pm 
ARCHANGEL-32 "FOXTROT WARRIOR"
yes, just need to replace the $localdir$ with the absolute path.
Archangel 12 Jul, 2022 @ 4:42pm 
@author AHHHHHHHHHHHHH so localdir is like the directory it's in?
whosyourdaddy  [author] 9 May, 2022 @ 10:11pm 
@man who throws piss at people
It seems that the json format is wrong, you can try to correct it according to diagnostics in vscode.
whosyourdaddy  [author] 9 May, 2022 @ 10:10pm 
@man who throws piss at people
If you subscribe the mod, then $localdir$ =
~\Steam\steamapps\workshop\content\602960\2660391401
else if you clone the repository, then $localdir$ is where you cloned.
Archangel 8 May, 2022 @ 9:00am 
Also, the json says that it expected the end of the file at the first semicolon.
Archangel 7 May, 2022 @ 12:39pm 
What is $localdir?
I'm confused.
Chefkoch Peter Silie 30 Apr, 2022 @ 6:00am 
Thank you :)
whosyourdaddy  [author] 28 Apr, 2022 @ 10:30pm 
The default value of the Vanilla content package can be automatically parsed from the parameters of the function.
whosyourdaddy  [author] 21 Apr, 2022 @ 12:19am 
update
whosyourdaddy  [author] 31 Mar, 2022 @ 10:37pm 
1. Provide nested class information and provide type aliases
2. Added all GUI files
whosyourdaddy  [author] 21 Mar, 2022 @ 10:27pm 
update:
1. can recognize inherited class, deleted much duplications.
2. add 140 lua files.
Chefkoch Peter Silie 18 Mar, 2022 @ 3:53pm 
thanks!
Evil Factory 15 Mar, 2022 @ 8:42am 
awesome!
whosyourdaddy  [author] 14 Mar, 2022 @ 9:05am 
Big update
Have greatly improved the lua docs, now you can program more efficiently:
1. Can recognize simple array, generic list, and generic dictionary types
2. Can recognize nullable types
3. Can recognize all constructors (__new)
4. Can recognize all tables defined in CompatibilityLib.lua and DefaultLib.lua
5. A large number of classes have been converted to lua
6. Lua class names are expressed in the form of namespaces
whosyourdaddy  [author] 27 Jan, 2022 @ 9:43pm 
Thanks for supporting! I recommend you directly clone the repository, because i don't know which files are missing on the workshop.
Chefkoch Peter Silie 6 Dec, 2021 @ 10:15am 
Thank you. This is my first comment on steam after 11 years. Love it. Please keep it updated. :captainclown:
Evil Factory 25 Nov, 2021 @ 5:41am 
very good