Barotrauma

Barotrauma

Lua Docs
32 kommentarer
Television 21. maj 2023 kl. 19:35 
thanks
whosyourdaddy  [ophavsmand] 20. maj 2023 kl. 21:26 
whosyourdaddy  [ophavsmand] 20. maj 2023 kl. 21:25 
You don't need to clone the repository, you just need to download type.zip.
Television 19. maj 2023 kl. 15:50 
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 kl. 19:38 
Super good mod. Love it!
BonelessSoap 2. feb. 2023 kl. 9:59 
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 kl. 9:40 
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  [ophavsmand] 28. jan. 2023 kl. 10:33 
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 kl. 2:35 
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  [ophavsmand] 14. dec. 2022 kl. 9:43 
Updated to the latest barotrauma versin(v0.20.15.0)
whosyourdaddy  [ophavsmand] 20. okt. 2022 kl. 18:32 
Updated for v0.19.14.0
whosyourdaddy  [ophavsmand] 7. okt. 2022 kl. 17:22 
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  [ophavsmand] 1. sep. 2022 kl. 6:52 
更新:支持重载运算符
---
Update: Support overloaded operators
whosyourdaddy  [ophavsmand] 26. aug. 2022 kl. 0:58 
Update: support interpreting the modifiers of the class members.
whosyourdaddy  [ophavsmand] 20. aug. 2022 kl. 0:17 
Update: Support all delegate types
whosyourdaddy  [ophavsmand] 2. aug. 2022 kl. 17:10 
ARCHANGEL-32 "FOXTROT WARRIOR"
yes, just need to replace the $localdir$ with the absolute path.
Archangel 12. juli 2022 kl. 16:42 
@author AHHHHHHHHHHHHH so localdir is like the directory it's in?
whosyourdaddy  [ophavsmand] 9. maj 2022 kl. 22:11 
@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  [ophavsmand] 9. maj 2022 kl. 22:10 
@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. maj 2022 kl. 9:00 
Also, the json says that it expected the end of the file at the first semicolon.
Archangel 7. maj 2022 kl. 12:39 
What is $localdir?
I'm confused.
Chefkoch Peter Silie 30. apr. 2022 kl. 6:00 
Thank you :)
whosyourdaddy  [ophavsmand] 28. apr. 2022 kl. 22:30 
The default value of the Vanilla content package can be automatically parsed from the parameters of the function.
whosyourdaddy  [ophavsmand] 21. apr. 2022 kl. 0:19 
update
whosyourdaddy  [ophavsmand] 31. mar. 2022 kl. 22:37 
1. Provide nested class information and provide type aliases
2. Added all GUI files
whosyourdaddy  [ophavsmand] 21. mar. 2022 kl. 22:27 
update:
1. can recognize inherited class, deleted much duplications.
2. add 140 lua files.
Chefkoch Peter Silie 18. mar. 2022 kl. 15:53 
thanks!
Evil Factory 15. mar. 2022 kl. 8:42 
awesome!
whosyourdaddy  [ophavsmand] 14. mar. 2022 kl. 9:05 
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  [ophavsmand] 27. jan. 2022 kl. 21:43 
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 kl. 10:15 
Thank you. This is my first comment on steam after 11 years. Love it. Please keep it updated. :captainclown:
Evil Factory 25. nov. 2021 kl. 5:41 
very good