diff options
author | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-15 16:02:52 +0100 |
---|---|---|
committer | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-15 16:02:52 +0100 |
commit | 47b19b5e83850b5fac6e508468b227476d486025 (patch) | |
tree | 6a9e5acd80060bfa410a62bbb514fa94343446a3 /types.d.ts | |
parent | 7517f0e485f63c6c97ee2871ca64373375c504b8 (diff) | |
download | land-and-freedom-47b19b5e83850b5fac6e508468b227476d486025.tar.gz |
add tokens to fronts and log improvements
Diffstat (limited to 'types.d.ts')
-rw-r--r-- | types.d.ts | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -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 = { |