J3a: the journey on a server. A server per land (Lands: the hub starts land servers on demand over a private link), the cliff tunnel online, crossings with one-time passes, shared characters that remember their land, one clock from the hub; test_net_lands
This commit is contained in:
@@ -102,8 +102,14 @@ func read_meta(id: String) -> Dictionary:
|
||||
# saves are unchanged; the others are worldlets/<id>.json. meta.json's
|
||||
# "worldlet" is where you are now, so that's the one loaded.
|
||||
|
||||
## A land server (J3, `--land cove`) runs one worldlet of a server's world:
|
||||
## this is that worldlet ("" = whatever the world's meta says).
|
||||
var land := ""
|
||||
|
||||
## The worldlet world `id` is being played in now.
|
||||
func worldlet_of(id: String) -> String:
|
||||
if not land.is_empty():
|
||||
return land
|
||||
return String(read_meta(id).get("worldlet", "valley"))
|
||||
|
||||
## The worldlet world `id` began in (its world.json).
|
||||
|
||||
Reference in New Issue
Block a user