rimlike/scenes/ai
megaproxy 938e871bf1 Add BigRock: 2×2 mineable boulder with full mining/path/save support
A new entity for multi-tile rock formations. Same duck-typed contract as
single-tile Rock so MineProvider scans both transparently via World.rocks.

Differences from Rock:
  • Occupies a 2×2 footprint anchored at origin_tile (top-left).
  • Renders a single 32×32 Sprite2D drawn from the FG_Grasslands_Spring 2×2
    cluster sprites at (22, 3) brown and (30, 3) gray.
  • Blocks pathfinding on all four footprint tiles — pawns route around it.
  • MineProvider asks `rock.approach_tile_for(pawn.tile)` for the walk
    destination, so the pawn stands beside the boulder instead of trying to
    path into the blocked footprint. Rock returns its own tile (walkable);
    BigRock picks the nearest walkable perimeter neighbour.
  • Mining takes 480 ticks (4× Rock) and drops 4 stone, one per footprint tile.

All init work happens in setup() rather than _ready(): the calling pattern is
`add_child(big); big.setup(origin)`, and _ready fires inside add_child with
origin_tile still at its zero default — anything reading origin_tile from
_ready would stamp the pathfinder at the wrong tile.

Wired through SaveSystem: factory preload, spawn-priority tier 0 (same as
Rock — static structures spawn before pawns), and a `&"big_rock"` factory.

World seed adds two demo boulders near the small-rock cluster
(65, 58) + (56, 64) so the visual contrast is on-screen from boot.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 14:34:24 +01:00
..
bill.gd
bill.gd.uid
chop_provider.gd Job: target_node claim so pawns don't cluster on the same target 2026-05-12 13:45:44 +01:00
chop_provider.gd.uid
cleaning_provider.gd Job: target_node claim so pawns don't cluster on the same target 2026-05-12 13:45:44 +01:00
cleaning_provider.gd.uid
construction_provider.gd Job: target_node claim so pawns don't cluster on the same target 2026-05-12 13:45:44 +01:00
construction_provider.gd.uid
crafting_provider.gd Job: target_node claim so pawns don't cluster on the same target 2026-05-12 13:45:44 +01:00
crafting_provider.gd.uid
decision.gd Decision: remove rest from NEEDS_CATEGORIES so work fires before fallback 2026-05-12 13:37:21 +01:00
decision.gd.uid
doctor_provider.gd Job: target_node claim so pawns don't cluster on the same target 2026-05-12 13:45:44 +01:00
doctor_provider.gd.uid
eat_provider.gd
eat_provider.gd.uid
hauling_provider.gd Hauling/JobRunner: fail unreachable walks; pre-check haul reachability 2026-05-12 13:58:47 +01:00
hauling_provider.gd.uid
job.gd Job: target_node claim so pawns don't cluster on the same target 2026-05-12 13:45:44 +01:00
job.gd.uid
job_runner.gd Hauling/JobRunner: fail unreachable walks; pre-check haul reachability 2026-05-12 13:58:47 +01:00
job_runner.gd.uid
mine_provider.gd Add BigRock: 2×2 mineable boulder with full mining/path/save support 2026-05-12 14:34:24 +01:00
mine_provider.gd.uid
plant_provider.gd Job: target_node claim so pawns don't cluster on the same target 2026-05-12 13:45:44 +01:00
plant_provider.gd.uid
quality.gd
quality.gd.uid
recipe.gd
recipe.gd.uid
recipe_catalog.gd
recipe_catalog.gd.uid
rest_provider.gd
rest_provider.gd.uid
sleep_provider.gd
sleep_provider.gd.uid
status.gd
status.gd.uid
status_catalog.gd
status_catalog.gd.uid
thought.gd
thought.gd.uid
thought_catalog.gd
thought_catalog.gd.uid
toil.gd
toil.gd.uid
wolf_spawner.gd Phase 17: Touch UX (PawnDetail+BuildDrawer+WorkMatrix+AlertsLog+Settings) 2026-05-11 19:45:35 +01:00
wolf_spawner.gd.uid
work_provider.gd
work_provider.gd.uid