Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
__pycache__
config.py
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,9 @@ def callback_fn(src: str):
"DoesWorldExistAt": {
"comment": "Returns true if the area inside the bounding box has been streamed in and no pixel scenes are loading in the area (pixel scenes may not be loaded)."
},
"GameTextGetTranslatedOrNot": {
"comment": "If the string begins with `$`, it will try to parse it as a key, and otherwise will return the raw string provided. \nIf recognised as a key and the translation key is invalid, it will log it and return `\"\"`, otherwise it will return the translation.",
},
"GuiImage": {
"args": 'gui:obj, id:int, x:number, y:number, sprite_filename:string, alpha:number = 0, scale:number = 1, scale_y:number = 0, rotation:number = 0, rect_animation_playback_type:int = GUI_RECT_ANIMATION_PLAYBACK.PlayToEndAndHide, rect_animation_name:string = ""',
},
Expand Down
2 changes: 2 additions & 0 deletions out.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2261,6 +2261,8 @@ function GameSetPostFxTextureParameter(parameter_name, texture_filename, filteri
---@param name string
function GameUnsetPostFxTextureParameter(name) end

---If the string begins with `$`, it will try to parse it as a key, and otherwise will return the raw string provided.
---If recognised as a key and the translation key is invalid, it will log it and return `""`, otherwise it will return the translation.
---@param text_or_key string
---@return string
---@nodiscard
Expand Down