about summary refs log tree commit diff stats
path: root/data/maps/the_sturdy/metadata.txtpb
blob: bdc5a94436214d056d28bad07b491666bf0973a9 (plain) (blame)
1
2
3
4
5
6
7
8
display_name: "The Sturdy"
# Let's ignore the second half of the rainbows for now.
#excluded_nodes: "Components/Doors/Rainbow2/Hinge/rainbowMirrored"
#excluded_nodes: "Components/Doors/Rainbow/Hinge/rainbowMirrored"
# The validator doesn't know that these node exist because they are part of a
# sub-scene.
custom_nodes: "Components/Doors/Rainbow/Hinge/rainbow"
custom_nodes: "Components/Doors/Rainbow2/Hinge/rainbow"
"w"> = global.get_node("Archipelago") ap.keyboard.load_keyholders.call_deferred(global.map) else: reload.call_deferred() func reload(): # Just rewriting this whole thing so I can remove Chris's safeguard. var file = FileAccess.open(path + type + ".save", FileAccess.READ) if file: var data = file.get_var(true) file.close() for datum in data: var saveable = get_node_or_null(datum[0]) if saveable != null: saveable.is_complete = datum[1] if saveable.is_complete: saveable.loadData(saveable.is_complete)