chore(sites): small cleanups and brief alignment

Drop a dead initial value in PlayableBoundsRule, guard
DiveSite.configure() when called before the node is in the tree, and
align the zone 1 brief with what was built: generic dive_site.tscn,
the resolved collision check, and the graybox shader deviation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
OlivierandClaude Opus 5.5 committed 2026-10-06 20:58:15 +02:00
1 parent 4470450dfd
commit d1a94f05b1
3 files changed
+14 -4

No files matched your search

@@ -29,7 +29,7 @@ func evaluate(position_m: Vector3) -> PlayableBoundsStatus:
var direction := Vector3.ZERO
if state != PlayableBoundsStatus.State.INSIDE:
var centre := _bounds_m.get_center()
var toward := Vector2(centre.x - point.x, centre.y - point.y)
var toward: Vector2
if distance == to_west or distance == to_east:
toward = Vector2(signf(centre.x - point.x), 0.0)
else:
+2
View File
@@ -19,6 +19,8 @@ var _placeholder_count := 0
func configure(definition: DiveSiteDefinition) -> String:
if _terrain == null or _placements_root == null:
return "dive site is not in the scene tree"
if definition == null:
return "dive site definition is missing"
var field := definition.height_field()