Skip to main content

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

FieldValue
DisplayList Move-In Sites
Categorygame
AccessPublic
ScopeB1Standalone
TagsExperimental
Aliases—

Parameters

NameTypeRequiredDefaultDescription
only_affordableboolnofalseOnly list sites the household can pay for without a mortgage.
limitintno50Maximum number of entries to return [1-500].

Returns

Returns a JSON array; each element is an object with the following fields:

FieldTypeRequiredDescription
site_idstringyesSite id to pass to game.move_in
namestringyesLocalized site name
site_typestringyesEB1SiteType enumerator name (always 'Residence' here)
priceintyesTotal price (site + objects + rooms)
site_priceintyesBase site price
owner_family_identityIdyesOwning household entity id, -1 when unowned (always -1 in this list)
is_empty_landboolyesWhether the lot has no buildings or rooms priced on it
enough_moneyboolyesWhether the household can pay without a mortgage
enough_fameboolyesWhether the registered household's most famous member meets the site's required fame level (always true before a household is registered)
move_impossible_reasonstringyesEB1WorldMapFamilyMoveImpossibleReason enumerator name ('None' when movable)
selectableboolyesWhether 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
});