feat(units-specific): Add resource requirements field to unit configs with wood/stone/gold cost definitions

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
autocommit 2026-04-13 13:37:05 -07:00
parent 0f5f966f32
commit 4b738463b7
3 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,7 @@
"cost": 50,
"tech_required": null,
"upgradeable_from": null,
"requires_resource": null,
"race_required": null,
"faction": null,
"can_found_city": false,

View file

@ -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,

View file

@ -21,6 +21,7 @@
"movement": 1,
"vision": 2,
"tech_required": "war",
"requires_resource": "iron_ore",
"race_required": null,
"faction": null,
"keywords": ["reach"],