The Cove's wreck: driftwood and salt on the beach, the captain's sea chest (a treasure map, nails, salt; once each), each player's own X on the map; online too
This commit is contained in:
@@ -148,6 +148,15 @@ func _body() -> void:
|
||||
check(world.sea_cave.open(), "the sea cave leads back up (the hub says the tunnel's through)")
|
||||
var bob := await _bob({"do": "report"})
|
||||
check(not bob.has("error") and not bob.is_empty(), "Bob carries on in the Valley, on the hub (%s)" % bob.get("error", "ok"))
|
||||
print("the wreck's sea chest, online")
|
||||
await _tp(world.wreck.front + Vector3(0, 0.1, 0))
|
||||
_toasts.clear()
|
||||
world.wreck.chest.interact(player)
|
||||
await _until(func(): return player.inventory.count("treasure_map") == 1, 4.0)
|
||||
check(player.inventory.count("treasure_map") == 1, "Alice's share: the server gives her a treasure map")
|
||||
await _until(func(): return world.wreck.had(world.my_id()), 3.0)
|
||||
check(world.wreck.chest.interact_prompt(player).contains("empty"), "and her game knows the chest's empty for her now")
|
||||
check(world.map_marks().any(func(m): return m.kind == "treasure"), "her X is on her map")
|
||||
await _across_lands(bob_bed, bob_bed_at)
|
||||
|
||||
print("back up to the Valley")
|
||||
|
||||
Reference in New Issue
Block a user