ludic.compass, inventory, shop, base, things: the compass's lists are state defaults and push through kept_push; the pack clears in place; setup, bind and load paths say so in @alloc_ok
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cd71da9330
commit
bdfe3f18fe
13 changed files with 26 additions and 12 deletions
|
|
@ -29,6 +29,7 @@ export function save_section(root: Val, key: string, version: int, v: Val) -> vo
|
|||
}
|
||||
|
||||
# the section at root[key]: found false (and an empty object) when there is none
|
||||
@alloc_ok("on load: a section read from the file")
|
||||
export function load_section(root: Val, key: string) -> SaveNode {
|
||||
let n = new SaveNode
|
||||
n.data = Value.object()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue