console as one way interface, and custom command along other things

This commit is contained in:
2026-01-01 18:47:45 +01:00
parent ea69235a8f
commit c50ffd9397
6 changed files with 431 additions and 117 deletions

View File

@@ -20,10 +20,17 @@ function group(stream, block_b_correction, a, b, c, d) end
---@param title string
function message_box(body, title) end
---Logs a string inside the host console
---Logs a string inside the host console. Requires console mode to be false.
---@param data string
function log(data) end
---Sets the whole text of the console for display. Requires console mode to be true.
---@param data string
function set_console(data) end
---@param mode boolean
function set_console_mode(mode) end
db = {}
---@param key string