available_production
Lists what a city can produce or purchase now—units, buildings, projects, processes—with turn counts, rush-buy costs, and buy/blocked status to guide production choices.
Instructions
What this city can produce right now: units, buildings, projects, processes, with turns at the
current production rate, and for units/buildings the gold rush-buy price (gold; absent when the item
can never be bought, e.g. national wonders) plus can_buy (affordable AND purchasable right now ->
purchase_production). Use set_production(city_id, item) to queue one.
Each row carries gold (rush-buy cost, can_buy) and, when the faith tab offers it, faith + faith_can_buy;
faith_only rows (Missionaries, Great People, belief buildings) cannot be produced, only bought
with purchase_production(yield_type="FAITH"). A priced row with can_buy false carries buy_blocked
{reason, text}: gold (balance of cost), stacking (one per tile, with blocking_units), unbuyable,
engine (the greyed button's own sentence) or refused.
Each row carries the enum in item and, when it differs, the name the chooser button shows:
BNW renamed several (BUILDING_THEATRE is "Zoo"), and cities() prints that name, not the enum.
A puppet is refused (its AI picks production; producing says what) -- except for Venice, whose
puppets answer purchase_only: true with just the gold/faith rows the purchase screen offers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_id | Yes |