query · world.settlement

Village life events

Returns newest-first partnership, separation, birth, immigration, emigration, and death facts derived from their authoritative owners.

world.settlement.life-events(filters?, cursor?, page_size?) -> query-page
Stable ID
world.settlement.life-events
Owner
game.actor-runtime, game.relationship, game.household, game.settlement, and game.resource-economy
Authority
read_only
Timing
immediate
Availability
active-session
Side effects
none
Determinism
stable owner order at the current committed tick
Introduced
1.11.0

Usage

Read retained partnership, birth, immigration, emigration, and death facts from their current gameplay owners for the normal village interface.

Parameters

Returns

Newest-first detached life-event rows with the event kind, tick, primary Actor, optional related Actor and Household, and a direct summary.

Cost

One bounded Household, Relationship, and Actor traversal plus indexed Settlement, Resource wallet, and display-name lookups.

Fields

IDTypeUnitsRequiredDescription
actor_display_namestringnoneyesPrimary Actor display name.
actor_idstable-idnoneyesPrimary Actor identity.
detailstringnoneyesDirect player-facing event summary.
household_idstable-id-or-nullnonenoRelated Household when present.
kindenumerationnoneyesPartnership, separation, birth, immigration, emigration, or death.
occurred_at_tickunsigned-integerticksyesRetained event tick.
related_actor_idstable-id-or-nullnonenoRelated Actor when present.

Errors

Examples

local events = world.query("world.settlement.life-events", {page_size = 3})

API history

Related symbols

Project references