Skip to main content

Interface: TurnEvent

Defined in: apps/paracosm/src/engine/core/state.ts:195

Properties

agentId?

optional agentId: string

Defined in: apps/paracosm/src/engine/core/state.ts:200


cause?

optional cause: string

Defined in: apps/paracosm/src/engine/core/state.ts:205

For death events: the specific cause (natural causes, radiation cancer, starvation, despair, fatal fracture, accident: X). Lets downstream reporting break deaths down by cause instead of reporting a faceless total.


data?

optional data: Record<string, unknown>

Defined in: apps/paracosm/src/engine/core/state.ts:206


description

description: string

Defined in: apps/paracosm/src/engine/core/state.ts:199


turn

turn: number

Defined in: apps/paracosm/src/engine/core/state.ts:196


type

type: "crisis" | "decision" | "birth" | "death" | "promotion" | "relationship" | "tool_forge" | "system"

Defined in: apps/paracosm/src/engine/core/state.ts:198


year

year: number

Defined in: apps/paracosm/src/engine/core/state.ts:197