From fe43b91ac7975047bf26d108c1abf37dcc00b9b5 Mon Sep 17 00:00:00 2001 From: tekki mariani Date: Tue, 24 Mar 2026 19:32:42 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20keep=20ROCK=20tile=20type=20afte?= =?UTF-8?q?r=20surface=20rock=20mining=20(Issue=20#48)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/systems/VillagerSystem.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/systems/VillagerSystem.ts b/src/systems/VillagerSystem.ts index 46960ee..98db8f2 100644 --- a/src/systems/VillagerSystem.ts +++ b/src/systems/VillagerSystem.ts @@ -361,7 +361,8 @@ export class VillagerSystem { const res = state.world.resources[job.targetId] if (res) { this.adapter.send({ type: 'VILLAGER_HARVEST_RESOURCE', villagerId: v.id, resourceId: job.targetId }) - this.adapter.send({ type: 'CHANGE_TILE', tileX: res.tileX, tileY: res.tileY, tile: TileType.GRASS }) + // ROCK tile stays ROCK after mining — empty rocky ground remains passable + // and valid for mine building placement. this.worldSystem.removeResourceTile(res.tileX, res.tileY) this.resourceSystem.removeResource(job.targetId) this.addLog(v.id, '✓ Mined rock (+2 stone)')