From b952d532d4b84c136e3c3a6893a63b0ed5b5ece3 Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Mon, 30 Dec 2024 12:30:26 +0100 Subject: peek at fascist card event effect --- types.d.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'types.d.ts') diff --git a/types.d.ts b/types.d.ts index b2b7aae..50d6819 100644 --- a/types.d.ts +++ b/types.d.ts @@ -28,7 +28,7 @@ export interface Game { result?: string; victory?: string; // Game specific - active_abilities: number[]; + active_abilities: number[]; turn: number; year: number; bag_of_glory: FactionId[]; @@ -37,9 +37,11 @@ export interface Game { current_events: CardId[]; discard: Record; engine: EngineNode[]; - // Set to faction whos turn it is or null if not player turn - // Used to determine who can spend Hero Points. Could be the case - // a faction is active in another factions turn. + /** + * Set to faction whos turn it is or null if not player turn + * Used to determine who can spend Hero Points. Could be the case + * a player becomes active in another players turn. + */ faction_turn: FactionId | null; fronts: { a: Front; @@ -54,7 +56,13 @@ export interface Game { medallions: Record & { pool: Array }; played_card: CardId | null; selected_cards: Record; + selectable_cards: CardId[]; // used for specific events tableaus: Record; + /** + * Used for event effect that allows Anarchist to put an event + * card on top of the deck + */ + top_of_events_deck: CardId | null; tracks: number[]; trash: Record; triggered_track_effects: number[]; @@ -80,6 +88,7 @@ export interface View { initiative: Game['initiative']; medallions: Game['medallions']; played_card: Game['played_card']; + selectable_cards: Game['selectable_cards']; tableaus: Game['tableaus']; tracks: number[]; triggered_track_effects: Game['triggered_track_effects']; -- cgit v1.2.3