rimlike/scenes/world
megaproxy a4163ba222 Chop/mine designation gate + reachability gates on Doctor & Eat
Player reported pawns ignoring chop designations. Root cause:
ChopProvider/MineProvider iterated World.trees/World.rocks
unconditionally — paint set a null sentinel and never touched the entity,
so designation was cosmetic only. Pawns auto-chopped nearest unfelled tree.

* Added chop_designated: bool to Tree, mine_designated: bool to Rock and
  BigRock (footprint-aware: paint on any of the 4 footprint cells flags
  the boulder). Save/load round-trips the flag.

* world.gd._on_designation_added 'chop'/'mine' cases now find the entity
  at the painted tile and flip the flag. _on_designation_cleared inverts.

* Boot seed auto-designates SAMPLE_TREES / SAMPLE_ROCKS / SAMPLE_BIG_ROCKS
  so the cabin demo still produces wood + stone end-to-end without
  requiring the player to paint first.

Also from the same audit (researcher mapped all 11 WorkProviders):

* DoctorProvider + EatProvider now pre-check reachability with
  pathfinder.find_path before issuing a job, mirroring HaulingProvider's
  pattern. Previously they handed out doomed walks that JobRunner had to
  cancel, busy-spinning at 20 Hz.

Verified end-to-end via MCP runtime: undesignated tree/rock returns null
from provider; paint flips the flag and provider returns a chop/mine job;
un-paint clears the flag; BigRock footprint paint works on any of the 4
cells.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 14:53:50 +01:00
..
.gitkeep Phase 0 scaffold + asset audit findings 2026-05-10 20:09:11 +01:00
beauty_system.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
beauty_system.gd.uid Phase 13: Rooms + Auto-roof + Beauty + Dirtiness + Cleaning 2026-05-11 17:19:23 +01:00
camera_rig.gd PC controls: keyboard pan/zoom, Tab cycle, Escape stack, right-click deselect 2026-05-12 12:06:38 +01:00
camera_rig.gd.uid Phase 1 — 80² world, 6-layer TileMap, camera rig, tick loop, speed UI 2026-05-10 20:37:02 +01:00
camera_rig.tscn Phase 1 — 80² world, 6-layer TileMap, camera rig, tick loop, speed UI 2026-05-10 20:37:02 +01:00
crate.gd Bug-triage patch — fix torch builds, idle-pawn traps, floor render order 2026-05-15 13:58:15 +01:00
crate.gd.uid Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
crate.tscn Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
designation.gd PC controls: keyboard pan/zoom, Tab cycle, Escape stack, right-click deselect 2026-05-12 12:06:38 +01:00
designation.gd.uid Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
designation.tscn Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
dirtiness_system.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
dirtiness_system.gd.uid Phase 13: Rooms + Auto-roof + Beauty + Dirtiness + Cleaning 2026-05-11 17:19:23 +01:00
graveyard_zone.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
graveyard_zone.gd.uid Phase 14: Death + Corpses + Burial + Cremation 2026-05-11 18:48:15 +01:00
indoor_tint_overlay.gd Phase 13: Rooms + Auto-roof + Beauty + Dirtiness + Cleaning 2026-05-11 17:19:23 +01:00
indoor_tint_overlay.gd.uid Phase 13: Rooms + Auto-roof + Beauty + Dirtiness + Cleaning 2026-05-11 17:19:23 +01:00
pathfinder.gd Bug-triage patch — fix torch builds, idle-pawn traps, floor render order 2026-05-15 13:58:15 +01:00
pathfinder.gd.uid Phase 2 — Pawn, pathfinder, click-to-select / click-to-move 2026-05-10 20:47:08 +01:00
rain_overlay.gd Phase 12: Seasons + Weather (rolls, rain, storm, wet/cold) 2026-05-11 16:39:34 +01:00
rain_overlay.gd.uid Phase 12: Seasons + Weather (rolls, rain, storm, wet/cold) 2026-05-11 16:39:34 +01:00
rain_overlay.tscn Phase 12: Seasons + Weather (rolls, rain, storm, wet/cold) 2026-05-11 16:39:34 +01:00
room.gd Phase 13: Rooms + Auto-roof + Beauty + Dirtiness + Cleaning 2026-05-11 17:19:23 +01:00
room.gd.uid Phase 13: Rooms + Auto-roof + Beauty + Dirtiness + Cleaning 2026-05-11 17:19:23 +01:00
room_detector.gd Phase 13: Rooms + Auto-roof + Beauty + Dirtiness + Cleaning 2026-05-11 17:19:23 +01:00
room_detector.gd.uid Phase 13: Rooms + Auto-roof + Beauty + Dirtiness + Cleaning 2026-05-11 17:19:23 +01:00
selection.gd PC controls: keyboard pan/zoom, Tab cycle, Escape stack, right-click deselect 2026-05-12 12:06:38 +01:00
selection.gd.uid Phase 2 — Pawn, pathfinder, click-to-select / click-to-move 2026-05-10 20:47:08 +01:00
stockpile_zone.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
stockpile_zone.gd.uid Phase 4 — Trees, Rocks, Items, Stockpiles, Hauling 2026-05-10 21:32:39 +01:00
stockpile_zone.tscn Phase 4 — Trees, Rocks, Items, Stockpiles, Hauling 2026-05-10 21:32:39 +01:00
storage_destination.gd Phase 14: Death + Corpses + Burial + Cremation 2026-05-11 18:48:15 +01:00
storage_destination.gd.uid Phase 4 — Trees, Rocks, Items, Stockpiles, Hauling 2026-05-10 21:32:39 +01:00
world.gd Chop/mine designation gate + reachability gates on Doctor & Eat 2026-05-15 14:53:50 +01:00
world.gd.uid Phase 1 — 80² world, 6-layer TileMap, camera rig, tick loop, speed UI 2026-05-10 20:37:02 +01:00
world.tscn Visual: sprinkle grass+flower decoration overlay (ElvGames bundle) 2026-05-12 14:07:36 +01:00