rimlike/scenes/pawn
megaproxy 87a7beb22b split CookingProvider out of CraftingProvider — fixes starvation
Player report: pawns starve even with harvested crops because cooking
never happens. Root cause: CraftingProvider handled both crafting-skill
and cooking-skill bills with priority 4, below Plant=5 and Chop=5 in
Decision's tiebreaker. Pawns endlessly harvested + chopped instead of
cooking the food already on the floor; raw +25 vegetable couldn't
outpace HUNGER_DECAY × 3 pawns.

CraftingProvider now filters bills to required_skill == &"crafting"
only. New CookingProvider (category=&"cooking", priority=6) handles
required_skill == &"cooking" bills (bread, meal_from_vegetables) with
identical find/score logic including the ingredient2 buffer flow.

pawn.work_priorities default now includes &"cooking": 3 (matches the
9-category design spec). decision.gd category-list comment updated.
WorkPriorityMatrix gains a "Cook" column.

MCP runtime verified: pawns now decide `cooking(pri=3) → Craft Veggie
meal at Hearth` immediately after vegetables exist; 2 bread items
appeared by tick 261 of a fresh boot.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 21:18:26 +01:00
..
.gitkeep Phase 0 scaffold + asset audit findings 2026-05-10 20:09:11 +01:00
pawn.gd split CookingProvider out of CraftingProvider — fixes starvation 2026-05-16 21:18:26 +01:00
pawn.gd.uid Phase 2 — Pawn, pathfinder, click-to-select / click-to-move 2026-05-10 20:47:08 +01:00
pawn.tscn Pawn labels: shift NameLabel above the 32×32 sprite 2026-05-16 15:33:18 +01:00
pawn_sprite_frames.gd Pawn reskin Slice 1 — peasant sprites replace coloured disc 2026-05-16 15:23:18 +01:00
pawn_sprite_frames.gd.uid Pawn reskin Slice 1 — peasant sprites replace coloured disc 2026-05-16 15:23:18 +01:00