diff options
Diffstat (limited to 'types.d.ts')
-rw-r--r-- | types.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -8,6 +8,7 @@ export type Brand<T, TBrand extends string> = T & { export type Player = Brand<string, 'Player'>; export type CardId = Brand<number, 'CardId'>; export type FactionId = Brand<string, 'FactionId'>; +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' |