rimlike/scenes/entities
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
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 Phase 8 — Beds, sleep need, thoughts, mood, Sulking soft-break 2026-05-11 13:21:15 +01:00
bed.tscn Phase 8 — Beds, sleep need, thoughts, mood, Sulking soft-break 2026-05-11 13:21:15 +01:00
big_rock.gd Chop/mine designation gate + reachability gates on Doctor & Eat 2026-05-15 14:53:50 +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 Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
corpse.gd.uid Phase 14: Death + Corpses + Burial + Cremation 2026-05-11 18:48:15 +01:00
corpse.tscn Phase 14: Death + Corpses + Burial + Cremation 2026-05-11 18:48:15 +01:00
cremation_pyre.gd Phase 14: Death + Corpses + Burial + Cremation 2026-05-11 18:48:15 +01:00
cremation_pyre.gd.uid Phase 14: Death + Corpses + Burial + Cremation 2026-05-11 18:48:15 +01:00
crop.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
crop.gd.uid Phase 7 — Crops, hunger, eating, cooking chain (grain → flour → bread) 2026-05-11 11:38:47 +01:00
crop.tscn Phase 7 — Crops, hunger, eating, cooking chain (grain → flour → bread) 2026-05-11 11:38:47 +01:00
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 Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
door.tscn Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
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 Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
floor.tscn Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
grave_marker.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
grave_marker.gd.uid Phase 14: Death + Corpses + Burial + Cremation 2026-05-11 18:48:15 +01:00
grave_slot.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
grave_slot.gd.uid Phase 14: Death + Corpses + Burial + Cremation 2026-05-11 18:48:15 +01:00
item.gd Item sprites — swap procedural draw for tileset icons 2026-05-12 15:43:24 +01:00
item.gd.uid Phase 4 — Trees, Rocks, Items, Stockpiles, Hauling 2026-05-10 21:32:39 +01:00
item.tscn Phase 4 — Trees, Rocks, Items, Stockpiles, Hauling 2026-05-10 21:32:39 +01:00
rock.gd Chop/mine designation gate + reachability gates on Doctor & Eat 2026-05-15 14:53:50 +01:00
rock.gd.uid Phase 4 — Trees, Rocks, Items, Stockpiles, Hauling 2026-05-10 21:32:39 +01:00
rock.tscn Phase 4 — Trees, Rocks, Items, Stockpiles, Hauling 2026-05-10 21:32:39 +01:00
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 Phase 11 — Day/night cycle + Lighting (taken before Phase 9 per recommendation) 2026-05-11 15:54:15 +01:00
torch.tscn Phase 11 — Day/night cycle + Lighting (taken before Phase 9 per recommendation) 2026-05-11 15:54:15 +01:00
tree.gd Chop/mine designation gate + reachability gates on Doctor & Eat 2026-05-15 14:53:50 +01:00
tree.gd.uid Phase 4 — Trees, Rocks, Items, Stockpiles, Hauling 2026-05-10 21:32:39 +01:00
tree.tscn Phase 4 — Trees, Rocks, Items, Stockpiles, Hauling 2026-05-10 21:32:39 +01:00
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 Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
wall.tscn Phase 5 — Designation, BuildJob, Wall/Floor/Door, Crate; 3/4 perspective pivot 2026-05-10 22:11:40 +01:00
wolf.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
wolf.gd.uid Phase 9+10: Status/Doctor/Medical bed + Wolves/WolfSpawner 2026-05-11 16:11:36 +01:00
wolf.tscn Phase 9+10: Status/Doctor/Medical bed + Wolves/WolfSpawner 2026-05-11 16:11:36 +01:00
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 Phase 6 — Recipe / Bill / Workbench / CraftingProvider / Quality / Skills 2026-05-10 23:52:41 +01:00
workbench.tscn Phase 6 — Recipe / Bill / Workbench / CraftingProvider / Quality / Skills 2026-05-10 23:52:41 +01:00