From 9ec057935b3d77cc13f898b2ede63cf180443318 Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Wed, 4 Dec 2024 21:15:18 +0100 Subject: add event card data --- types.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'types.d.ts') diff --git a/types.d.ts b/types.d.ts index 318d935..5597d10 100644 --- a/types.d.ts +++ b/types.d.ts @@ -8,6 +8,7 @@ export type Brand = T & { export type Player = Brand; export type CardId = Brand; export type FactionId = Brand; +export type FrontId = 'a' | 'm' | 'n' | 's'; export interface Game { [index: number]: any; @@ -109,6 +110,12 @@ export interface EventCard extends CardBase { type: 'ec'; year: number; effects: Effect[]; + test: { + front: FrontId; + value: number; + pass: Effect; + fail: Effect; + }; } export type Icon = @@ -143,6 +150,7 @@ export interface Effect { | 'front' | 'medaillon' | 'draw_card' + | 'play_card' | 'swap_card_tableau_hand' | 'add_to_tableau' | 'remove_blank_marker' -- cgit v1.2.3