summaryrefslogtreecommitdiff
path: root/types.d.ts
diff options
context:
space:
mode:
authorFrans Bongers <fransbongers@franss-mbp.home>2024-12-15 16:02:52 +0100
committerFrans Bongers <fransbongers@franss-mbp.home>2024-12-15 16:02:52 +0100
commit47b19b5e83850b5fac6e508468b227476d486025 (patch)
tree6a9e5acd80060bfa410a62bbb514fa94343446a3 /types.d.ts
parent7517f0e485f63c6c97ee2871ca64373375c504b8 (diff)
downloadland-and-freedom-47b19b5e83850b5fac6e508468b227476d486025.tar.gz
add tokens to fronts and log improvements
Diffstat (limited to 'types.d.ts')
-rw-r--r--types.d.ts22
1 files changed, 18 insertions, 4 deletions
diff --git a/types.d.ts b/types.d.ts
index 59d9d9d..da8fe25 100644
--- a/types.d.ts
+++ b/types.d.ts
@@ -27,10 +27,22 @@ export interface Game {
discard: Record<FactionId | 'f', number[]>;
engine: EngineNode[];
fronts: {
- a: number;
- m: number;
- n: number;
- s: number;
+ a: {
+ value: number;
+ contributions: FactionId[];
+ };
+ m: {
+ value: number;
+ contributions: FactionId[];
+ };
+ n: {
+ value: number;
+ contributions: FactionId[];
+ };
+ s: {
+ value: number;
+ contributions: FactionId[];
+ };
};
glory: FactionId[];
hands: Record<FactionId, CardId[]>;
@@ -71,10 +83,12 @@ export interface View {
glory: Game['glory'];
hand: CardId[];
hero_points: Game['hero_points'];
+ initiative: Game['initiative'];
medaillons: Game['medaillons'];
tableaus: Game['tableaus'];
tracks: number[];
triggered_track_effects: Game['triggered_track_effects'];
+ year: number;
}
export type States = {