rimlike/scenes/world
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
..
.gitkeep
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 Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +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 Phase 2 — Pawn, pathfinder, click-to-select / click-to-move 2026-05-10 20:47:08 +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 Add BigRock: 2×2 mineable boulder with full mining/path/save support 2026-05-12 14:34:24 +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