Each land's set pieces from its data: the barrow, the standing stones and the bear are the Valley's alone, the Cove keeps its wolves; the Cove's 0.6.0 plan (treasure: one each, each in its own place)
This commit is contained in:
@@ -59,7 +59,9 @@ func _body() -> void:
|
||||
check(world.crossings().any(func(c): return c.to == "valley") and world.crossings().any(func(c): return c.by == "sail"),
|
||||
"its ways on: back to the Valley, and on by sail")
|
||||
check(world._spawn.y > t.water_level + 1.0, "you start on dry land")
|
||||
check(world.den != null and world.barrow != null and world.stones != null, "the den, the barrow and the stones found places")
|
||||
check(world.den != null and world.den.found, "the Cove's wolves have a den")
|
||||
check(world.barrow == null and world.stones == null and world.bears == null,
|
||||
"but the barrow, the standing stones and the bear are the Valley's alone")
|
||||
check(t.get_node_or_null("Water") == null, "one water surface (the bay is the sea)")
|
||||
|
||||
print("the stream")
|
||||
@@ -77,9 +79,9 @@ func _body() -> void:
|
||||
"its banks are dry, and above the water")
|
||||
check(DB.water_fishing("stream").get("fish", []).any(func(f): return f.id == "trout"), "trout in the stream")
|
||||
var away := true
|
||||
for p in [world.den.global_position, world.barrow.global_position, world.stones.global_position, world._spawn]:
|
||||
for p in [world.den.global_position, world._spawn]:
|
||||
away = away and not t.near_stream(p.x, p.z, 3.0)
|
||||
check(away, "the den, the barrow, the stones and the start are all clear of it")
|
||||
check(away, "the den and the start are clear of it")
|
||||
var in_bed := 0
|
||||
for n in world.props.resource_nodes.values():
|
||||
if is_instance_valid(n) and t.near_stream(n.global_position.x, n.global_position.z, 0.0):
|
||||
|
||||
Reference in New Issue
Block a user