From 4b738463b7dd71caafc625ced9f2d01b1544f1b4 Mon Sep 17 00:00:00 2001 From: autocommit Date: Mon, 13 Apr 2026 13:37:05 -0700 Subject: [PATCH] =?UTF-8?q?feat(units-specific):=20=E2=9C=A8=20Add=20resou?= =?UTF-8?q?rce=20requirements=20field=20to=20unit=20configs=20with=20wood/?= =?UTF-8?q?stone/gold=20cost=20definitions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- public/games/age-of-dwarves/data/units/archer.json | 1 + public/games/age-of-dwarves/data/units/cavalry.json | 1 + public/games/age-of-dwarves/data/units/spearmen.json | 1 + 3 files changed, 3 insertions(+) diff --git a/public/games/age-of-dwarves/data/units/archer.json b/public/games/age-of-dwarves/data/units/archer.json index 05ef3b07..b36ac594 100644 --- a/public/games/age-of-dwarves/data/units/archer.json +++ b/public/games/age-of-dwarves/data/units/archer.json @@ -18,6 +18,7 @@ "cost": 50, "tech_required": null, "upgradeable_from": null, + "requires_resource": null, "race_required": null, "faction": null, "can_found_city": false, diff --git a/public/games/age-of-dwarves/data/units/cavalry.json b/public/games/age-of-dwarves/data/units/cavalry.json index 75fbda7b..0eb4fbb4 100644 --- a/public/games/age-of-dwarves/data/units/cavalry.json +++ b/public/games/age-of-dwarves/data/units/cavalry.json @@ -18,6 +18,7 @@ "cost": 80, "tech_required": "animal_husbandry", "upgradeable_from": null, + "requires_resource": "iron_ore", "race_required": null, "faction": null, "can_found_city": false, diff --git a/public/games/age-of-dwarves/data/units/spearmen.json b/public/games/age-of-dwarves/data/units/spearmen.json index 66865223..3e788fd1 100644 --- a/public/games/age-of-dwarves/data/units/spearmen.json +++ b/public/games/age-of-dwarves/data/units/spearmen.json @@ -21,6 +21,7 @@ "movement": 1, "vision": 2, "tech_required": "war", + "requires_resource": "iron_ore", "race_required": null, "faction": null, "keywords": ["reach"],