game.list_move_in_sites
Overview
- Lists unowned residence sites the current household could move into, selectable first, then cheapest affordable. Reads the world map UI data when the map is open, otherwise falls back to UB1SiteManager (in which case prices come from the site table defaults and enough_money is reported optimistically as true). Returns an empty array before the initial site selection is ready - poll game.get_state until map_mode == 'select_init_house'.
Metadata
| Field | Value |
|---|---|
| Display | List Move-In Sites |
| Category | game |
| Access | Public |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| only_affordable | bool | no | false | Only list sites the household can pay for without a mortgage. |
| limit | int | no | 50 | Maximum number of entries to return [1-500]. |
Returns
Returns a JSON array; each element is an object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | Site id to pass to game.move_in |
name | string | yes | Localized site name |
site_type | string | yes | EB1SiteType enumerator name (always 'Residence' here) |
price | int | yes | Total price (site + objects + rooms) |
site_price | int | yes | Base site price |
owner_family_id | entityId | yes | Owning household entity id, -1 when unowned (always -1 in this list) |
is_empty_land | bool | yes | Whether the lot has no buildings or rooms priced on it |
enough_money | bool | yes | Whether the household can pay without a mortgage |
enough_fame | bool | yes | Whether the registered household's most famous member meets the site's required fame level (always true before a household is registered) |
move_impossible_reason | string | yes | EB1WorldMapFamilyMoveImpossibleReason enumerator name ('None' when movable) |
selectable | bool | yes | Whether game.move_in can accept it (NotEnoughMoney still counts as selectable when mortgage=true; false when enough_fame is false) |
Usage
await inzoi.cli.execute('game.list_move_in_sites', {
only_affordable: false, // optional
limit: 50, // optional
});