query · world.settlement

Village social chronicle

Returns recent completed village conversations, support, and disagreements.

world.settlement.social-chronicle(filters?, cursor?, page_size?) -> query-page
Stable ID
world.settlement.social-chronicle
Owner
game.intersection-lifecycle, game.relationship, and authored settlement
Authority
read_only
Timing
immediate
Availability
active-session
Side effects
none
Determinism
stable owner order at the current committed tick
Introduced
1.10.0

Usage

Read the newest completed village conversations, support, and disagreements for the normal settlement chronicle without opening or changing an Incident.

Parameters

Returns

Newest-first detached encounter rows with the Incident, tick, Site, two named participants, interaction kind, relationship stage, and latest relationship reason.

Cost

One bounded reverse Incident traversal plus one Relationship and authored-name lookup per returned row.

Fields

IDTypeUnitsRequiredDescription
first_actor_idstable-idnoneyesFirst participant identity.
first_display_namestringnoneyesFirst participant display name.
incident_idstable-idnoneyesCompleted social incident identity.
interactionenumerationnoneyesConversation, support, or disagreement.
last_reasonenumerationnoneyesLatest relationship change reason.
occurred_at_tickunsigned-integerticksyesTick when the encounter occurred.
relationship_stageenumerationnoneyesRelationship stage after the encounter.
second_actor_idstable-idnoneyesSecond participant identity.
second_display_namestringnoneyesSecond participant display name.
site_cell_xsigned-integergrid-cellsyesEncounter World-grid X coordinate.
site_cell_ysigned-integergrid-cellsyesEncounter World-grid Y coordinate.
site_idstable-idnoneyesSite where the encounter occurred.

Errors

Examples

local chronicle = world.query("world.settlement.social-chronicle", {page_size = 3})

API history

Related symbols

Project references