From 47b19b5e83850b5fac6e508468b227476d486025 Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Sun, 15 Dec 2024 16:02:52 +0100 Subject: add tokens to fronts and log improvements --- types.d.ts | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'types.d.ts') diff --git a/types.d.ts b/types.d.ts index 59d9d9d..da8fe25 100644 --- a/types.d.ts +++ b/types.d.ts @@ -27,10 +27,22 @@ export interface Game { discard: Record; engine: EngineNode[]; fronts: { - a: number; - m: number; - n: number; - s: number; + a: { + value: number; + contributions: FactionId[]; + }; + m: { + value: number; + contributions: FactionId[]; + }; + n: { + value: number; + contributions: FactionId[]; + }; + s: { + value: number; + contributions: FactionId[]; + }; }; glory: FactionId[]; hands: Record; @@ -71,10 +83,12 @@ export interface View { glory: Game['glory']; hand: CardId[]; hero_points: Game['hero_points']; + initiative: Game['initiative']; medaillons: Game['medaillons']; tableaus: Game['tableaus']; tracks: number[]; triggered_track_effects: Game['triggered_track_effects']; + year: number; } export type States = { -- cgit v1.2.3