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:
@@ -51,6 +51,11 @@ func place(w: Node3D) -> bool:
|
||||
|
||||
## Whether the Valley's tunnel has been dug right down to here.
|
||||
func open() -> bool:
|
||||
var full: int = preload("res://scripts/world/tunnel.gd").STRETCHES
|
||||
if not Lands.land.is_empty():
|
||||
return Lands.tunnel_dug >= full # (a land server: the hub says how far it's dug)
|
||||
if world.is_online():
|
||||
return int(Net.world_info.get("tunnel_dug", 0)) >= full # (as the server said when we came in)
|
||||
if not Saves.has_world():
|
||||
return false
|
||||
var s: Dictionary = Saves.load_state(Saves.current_id, to)
|
||||
|
||||
Reference in New Issue
Block a user