P5 the Old Stag: standing stones and altar, three-phase boss with charges, stun window, spirit wolves and stomps; antler pickaxe and trophy; group scaling and credit for every fighter; online 3-player test (protocol 12)

This commit is contained in:
Paul Bailey
2026-11-05 13:39:06 +00:00
parent 3389ec9a21
commit e03411ffdb
24 changed files with 1587 additions and 17 deletions

View File

@@ -141,7 +141,9 @@ func _body(world: Node3D, id: String) -> void:
world = await _spawn_world()
player = world.get_node("Player")
sv = player.survival
check(absf(sv.hunger - 42.0) < 0.5 and absf(sv.warmth - 33.0) < 0.5, "stats restored (food %.0f, warmth %.0f)" % [sv.hunger, sv.warmth])
# (Warmth starts moving toward the air's again in the frames the world
# takes to load, so it's only roughly where it was.)
check(absf(sv.hunger - 42.0) < 0.5 and absf(sv.warmth - 33.0) < 3.0, "stats restored (food %.0f, warmth %.0f)" % [sv.hunger, sv.warmth])
check(world.day_night.day == 3 and absf(world.day_night.hours() - 18.0) < 0.2, "time of day restored (%s)" % world.day_night.clock_text())
var fire2: Node = null
for p in world.get_node("Pieces").get_children():