From f321c249f5b9b4f8abc4f519a3666cdda94fad7a Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Sun, 22 Dec 2024 22:15:57 +0100 Subject: use medallions --- types.d.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'types.d.ts') diff --git a/types.d.ts b/types.d.ts index 2b44d65..859fa79 100644 --- a/types.d.ts +++ b/types.d.ts @@ -43,11 +43,13 @@ export interface Game { hands: Record; hero_points: Record; initiative: FactionId; - medaillons: Array; + medallions: Record & { pool: Array }; tableaus: Record; tracks: number[]; trash: Record; - triggered_track_effects: number[][]; + triggered_track_effects: number[]; + used_medallions: number[]; + result?: string; victory?: string; @@ -80,10 +82,11 @@ export interface View { hand: CardId[]; hero_points: Game['hero_points']; initiative: Game['initiative']; - medaillons: Game['medaillons']; + medallions: Game['medallions']; tableaus: Game['tableaus']; tracks: number[]; triggered_track_effects: Game['triggered_track_effects']; + used_medallions: Game['used_medallions']; year: number; } @@ -162,7 +165,7 @@ export interface Effect { | 'bonus' | 'hero_points' | 'front' - | 'medaillon' + | 'medallion' | 'draw_card' | 'play_card' | 'swap_card_tableau_hand' @@ -171,6 +174,7 @@ export interface Effect { | 'return_card'; target: string | number; value: number; + faction?: FactionId | 'i'; } export interface StaticData { @@ -181,7 +185,7 @@ export interface StaticData { left: number; top: number; }>; - medaillons: Array<{ + medallions: Array<{ id: number; name: string; }>; -- cgit v1.2.3