rimlike/scenes/entities
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 Phase 0 scaffold + asset audit findings 2026-05-10 20:09:11 +01:00
bed.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +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 Add BigRock: 2×2 mineable boulder with full mining/path/save support 2026-05-12 14:34:24 +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 Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +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 Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +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 Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +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 Add BigRock: 2×2 mineable boulder with full mining/path/save support 2026-05-12 14:34:24 +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 Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +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 Visual pass 2: tree + rock + stone wall sprite swaps 2026-05-12 14:19:06 +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 Visual pass 2: tree + rock + stone wall sprite swaps 2026-05-12 14:19:06 +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 Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +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