rimlike/autoload
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
..
audit.gd Phase 0 scaffold + asset audit findings 2026-05-10 20:09:11 +01:00
audit.gd.uid Make main scene root Node2D so editor defaults to 2D view 2026-05-10 20:19:09 +01:00
autosave.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
autosave.gd.uid Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
clock.gd Phase 17: Touch UX (PawnDetail+BuildDrawer+WorkMatrix+AlertsLog+Settings) 2026-05-11 19:45:35 +01:00
clock.gd.uid Phase 11 — Day/night cycle + Lighting (taken before Phase 9 per recommendation) 2026-05-11 15:54:15 +01:00
event_bus.gd Alerts: wire room_too_large, no_stockpile_accepts, bill_blocked 2026-05-12 13:16:25 +01:00
event_bus.gd.uid Make main scene root Node2D so editor defaults to 2D view 2026-05-10 20:19:09 +01:00
game_state.gd Phase 17: Touch UX (PawnDetail+BuildDrawer+WorkMatrix+AlertsLog+Settings) 2026-05-11 19:45:35 +01:00
game_state.gd.uid Make main scene root Node2D so editor defaults to 2D view 2026-05-10 20:19:09 +01:00
save_system.gd Add BigRock: 2×2 mineable boulder with full mining/path/save support 2026-05-12 14:34:24 +01:00
save_system.gd.uid Make main scene root Node2D so editor defaults to 2D view 2026-05-10 20:19:09 +01:00
sim.gd Phase 1 — 80² world, 6-layer TileMap, camera rig, tick loop, speed UI 2026-05-10 20:37:02 +01:00
sim.gd.uid Make main scene root Node2D so editor defaults to 2D view 2026-05-10 20:19:09 +01:00
storyteller.gd Storyteller: restore sim speed after auto_pause event dismissal 2026-05-12 12:17:15 +01:00
storyteller.gd.uid Phase 15: Storyteller (25 events, daily roll, banner+modal UI) 2026-05-11 19:01:35 +01:00
strings.gd Phase 17: Touch UX (PawnDetail+BuildDrawer+WorkMatrix+AlertsLog+Settings) 2026-05-11 19:45:35 +01:00
strings.gd.uid Make main scene root Node2D so editor defaults to 2D view 2026-05-10 20:19:09 +01:00
weather.gd Phase 12: Seasons + Weather (rolls, rain, storm, wet/cold) 2026-05-11 16:39:34 +01:00
weather.gd.uid Phase 12: Seasons + Weather (rolls, rain, storm, wet/cold) 2026-05-11 16:39:34 +01:00
world.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
world.gd.uid Make main scene root Node2D so editor defaults to 2D view 2026-05-10 20:19:09 +01:00