islaApocalypse-v2/Tools/Scenes/BasinGraphTool.tscn
beezm df286ffb3c rivers/04: lake-basin layer — the basin graph (spill + lake-identity + downstream edge), data only
Per terminal basin of DrainageAnalysis (reused, untouched): the spill cell/height on the
render flow surface (boundary minimum of FullFilled, cross-checked bit-for-bit against
BitDecrement(min inside)), lake-identity on classify (in-basin non-ocean classify water
>= ISLA_LAKE_MIN_PX, 20000), and the downstream edge (the reference's FullFilled descent
started at the spill, cross-checked against Plan.Dir). Seabed pits — terminal basins entirely
under the classify sea — tagged and excluded from statistics. Per-lake ownership table.
BasinGraphTool: chain → analysis → layer → CSVs → plate, height digests asserted around it.
DrainageRenderer: five primitives private→internal. No height mutated, no water filled.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EppUMXNhSeuA5Mu51UnTyP
2026-08-25 00:45:23 -04:00

6 lines
207 B
Text

[gd_scene format=3 uid="uid://basingraph04"]
[ext_resource type="Script" path="res://Tools/Scripts/BasinGraphTool.cs" id="1_bgt04"]
[node name="BasinGraphTool" type="Node"]
script = ExtResource("1_bgt04")