Protocol: reference#
The reference commands a program sends to a running game, as the engine describes them: what each takes, what it answers and what it does. Back to all commands.
reference.read#
reference.read {name?: text, all?: value} -> {text: text} · read, read-only
Reads the game-making core and index, a page, a script call, a component field, or a protocol.COMMAND declaration. Same text as frost reference. Changes nothing; available to planning hands.
| Parameters | Type | Meaning |
|---|---|---|
name? | text | A page or exact entry name, such as drawing, sound.play, Sprite.image or protocol.world.get. Left out: core and index. |
all? | value | true: the complete legacy scripting reference, as frost reference --all. Cannot be combined with name. |
| Result | Type | Meaning |
|---|---|---|
text | text | The reference in Markdown, with stable ordering and no timestamps. |
reference.search#
reference.search {words: text} -> {text: text} · read, read-only
Finds reference entries matching every query word, ranked by exact name, name matches, then body matches; lexical ties. One line per entry with its page, as frost reference --search. Changes nothing.
| Parameters | Type | Meaning |
|---|---|---|
words | text | Words to find, separated by spaces. Empty text returns no matches. |
| Result | Type | Meaning |
|---|---|---|
text | text | Ranked entries, one line each with page names; empty when no entry matches. |
Generated from Coldwave 0.0.1 r289, 2026-11-30 by the binary itself: do not edit by hand.