units
Get full details on your civilization's military and civilian assets—position, health, moves, promotions, XP, upgrade options, and orders needed—to plan your strategy.
Instructions
My units with position, moves left, hp, strength, current promotions, XP toward the next
promotion (xp / xp_needed), and whether they still need orders. garrisoned is the Military
Overview status. upgrade_to / upgrade_gold / can_upgrade are the unit-panel upgrade preview
when a path exists; upgrade_blocked (when can_upgrade is false) is the panel's red lines: reason
territory / city / gold / resources (each short one) / stacking, unavailable (the target cannot be
trained yet: prereq_tech) or moved. A religious unit carries religion (the faith it spreads, which is the one of
the city it was bought in -- not necessarily yours) and spreads_left, as the unit panel names it. A Worker mid-job carries build (BUILD_*) and build_turns_left as the unit
panel's "Trading Post (6)" line; mission_name names a standing MISSION_* (e.g. ROUTE_TO). territory
{player_id, owner, city_state} is whose land the unit stands on when it is not mine (a unit in a
city-state's land costs influence each turn); absent on my own or unowned land.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||