unit_home_options
Returns valid home-city or home-port choices for a trade unit or Great Admiral standing in one of your cities; outside a city, it reports no options, so apply one via unit_mission.
Instructions
Where a trade unit or a Great Admiral could re-home (the Change Home City / Change Port
chooser). Both need the unit to be standing in one of my cities; outside one there is no button,
and the answer says so. cities is the engine's own candidate list -- apply one with
unit_mission(unit_id, mission, x, y) using the mission in the reply. Re-homing a caravan nearer a
richer partner is how a 6-gold route becomes a 12-gold one; see available_trade_routes after.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_id | Yes |