rimlike/scenes/entities
megaproxy 922f269a6c Bug-triage patch — fix torch builds, idle-pawn traps, floor render order
Three playtest-reported bugs fixed out-of-phase before Phase 18:

* Furniture build-queue gap: Torch / Bed / Crate / Workbench / CremationPyre
  were missing World.register_build_site(self) in _ready, so newly-painted
  designations never entered ConstructionProvider's iteration. The seeded
  cabin pre-built everything via _spawn_complete_* helpers, masking the gap
  until a player painted a fresh furniture designation.

* Wall-trap regression for bystanders + walk-through pawns: Wall._complete
  now dislodges any pawn on the tile via new Pathfinder.find_nearest_walkable
  BFS helper; Pawn._advance_walk re-checks next tile walkability before
  stepping, aborts walk + cancels job + lets Decision reroute. Phase 6's
  adjacent-stand fix only protected the BUILDING pawn.

* Floor / Pawn Y-sort ambiguity: Floor was anchored at tile-center
  (same Y as Pawn), so Y-sort tiebreak fell to scene-tree order and
  Floor (spawned later) drew over Pawn. Moved Floor origin to top-of-tile
  so Floor.y < Pawn.y under Y-sort; _draw rect offsets compensate.

All three verified via MCP runtime: torch built end-to-end, all 3 pawns
working on different jobs with no idle traps, pawn renders over floor.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 13:58:15 +01:00
..
.gitkeep
bed.gd Bug-triage patch — fix torch builds, idle-pawn traps, floor render order 2026-05-15 13:58:15 +01:00
bed.gd.uid
bed.tscn
big_rock.gd Add BigRock: 2×2 mineable boulder with full mining/path/save support 2026-05-12 14:34:24 +01:00
big_rock.gd.uid Bed: replace procedural draw with 1×2 vertical bundle sprite 2026-05-12 14:49:05 +01:00
big_rock.tscn Add BigRock: 2×2 mineable boulder with full mining/path/save support 2026-05-12 14:34:24 +01:00
corpse.gd
corpse.gd.uid
corpse.tscn
cremation_pyre.gd
cremation_pyre.gd.uid
crop.gd
crop.gd.uid
crop.tscn
door.gd Door sprite — swap castle gate for 1-tile FG_Village cabin door 2026-05-12 16:11:05 +01:00
door.gd.uid
door.tscn
floor.gd Bug-triage patch — fix torch builds, idle-pawn traps, floor render order 2026-05-15 13:58:15 +01:00
floor.gd.uid
floor.tscn
grave_marker.gd
grave_marker.gd.uid
grave_slot.gd
grave_slot.gd.uid
item.gd Item sprites — swap procedural draw for tileset icons 2026-05-12 15:43:24 +01:00
item.gd.uid
item.tscn
rock.gd Add BigRock: 2×2 mineable boulder with full mining/path/save support 2026-05-12 14:34:24 +01:00
rock.gd.uid
rock.tscn
torch.gd Bug-triage patch — fix torch builds, idle-pawn traps, floor render order 2026-05-15 13:58:15 +01:00
torch.gd.uid
torch.tscn
tree.gd
tree.gd.uid
tree.tscn
wall.gd Bug-triage patch — fix torch builds, idle-pawn traps, floor render order 2026-05-15 13:58:15 +01:00
wall.gd.uid
wall.tscn
wolf.gd
wolf.gd.uid
wolf.tscn
workbench.gd Bug-triage patch — fix torch builds, idle-pawn traps, floor render order 2026-05-15 13:58:15 +01:00
workbench.gd.uid
workbench.tscn