magicciv/public/resources/unit_actions/build_improvement.json
Natalie 26d14d79bc feat(@projects/@magic-civilization): add new city-building actions
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-07 03:16:13 -07:00

23 lines
829 B
JSON

{
"id": "build_improvement",
"name": "Build Improvement",
"description": "Construct a tile improvement on owned territory. AP cost varies by improvement type.",
"ap_cost": "per_improvement",
"ap_cost_value": null,
"eligible_units": ["engineer", "dwarf_engineer", "dwarf_high_engineer", "dwarf_grand_engineer", "dwarf_ascendant_engineer"],
"terrain_restrictions": {
"requires_owned": true,
"blocked_by": ["water", "deep_ocean"]
},
"outcome": "improvement_built",
"ap_cost_table": {
"farm": 3,
"mine": 4,
"road": 2,
"field_fortification": 2,
"clear_forest": 4,
"clear_rubble": 5,
"repair": 3
},
"notes": "ap_cost_table entries are canonical AP costs per improvement. Rust resolver reads this table via cost_for(unit, action). fast_build flag halves cost (rounded up)."
}