summaryrefslogtreecommitdiff
path: root/types.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'types.d.ts')
-rw-r--r--types.d.ts37
1 files changed, 11 insertions, 26 deletions
diff --git a/types.d.ts b/types.d.ts
index 3459f5a..213b25d 100644
--- a/types.d.ts
+++ b/types.d.ts
@@ -80,6 +80,17 @@ export interface Game {
fascist: 0 | 1 | 2;
card_played: 0 | 1;
hidden_bag?: 0 | 1;
+ /**
+ * Set to 1 if player has played card to their tableau and still
+ * needs to use action points
+ */
+ can_use_ap: 0 | 1;
+ /**
+ * Set to 1 if player has played card to their tableau and still
+ * needs to use morale bonus. Note bonus still needs to be on, this
+ * just determines if player has used it or not
+ */
+ can_use_mb: 0 | 1;
}
export interface View {
@@ -239,32 +250,6 @@ export interface PlayCardArgs extends EngineNodeArgsBase {
}
export interface PlayerTurnArgs extends EngineNodeArgsBase {
- /**
- * When set to true, player can use current card
- * for action points (using for ap sets it to false)
- */
- use_ap?: boolean;
- /**
- * When set to true, player can use current card for
- * morale bonus if that is active (using morale bonus sets it to dalse)
- */
- use_morale_bonus?: boolean;
- /**
- * Set when starting to resolve event effect from card. Will be set to false
- * after all effects have been resolved. Used to determine if momentum medallion
- * can be used.
- */
- resolving_event?: boolean;
- /**
- * Strength of the current card
- */
- strength?: number;
- /**
- * Set to true if player got momentum medallion,
- * but was not able to resolve directly as they were still
- * resolving their current card
- */
- use_momentum?: boolean;
}
// #endregion