add status messages for new items
This commit is contained in:
parent
d0b3cbd47a
commit
29265a18b7
@ -48,6 +48,11 @@ const actionMessages: Record<Game["action"], (game: Game) => string> = {
|
|||||||
Beer: (game) => `THE ${game.dealer ? "DEALER" : "CHALLENGER"} TAKES A SIP AND A ${game.previous ? "LIVE SHELL" : "BLANK"} CLATTERS ON THE TABLE`,
|
Beer: (game) => `THE ${game.dealer ? "DEALER" : "CHALLENGER"} TAKES A SIP AND A ${game.previous ? "LIVE SHELL" : "BLANK"} CLATTERS ON THE TABLE`,
|
||||||
Cuff: (game) => `THE ${game.dealer ? "DEALER" : "CHALLENGER"} HANDS CUFFS ACROSS THE TABLE`,
|
Cuff: (game) => `THE ${game.dealer ? "DEALER" : "CHALLENGER"} HANDS CUFFS ACROSS THE TABLE`,
|
||||||
Knife: (game) => `THE ${game.dealer ? "DEALER" : "CHALLENGER"} CUTS THE BARREL SHORT`,
|
Knife: (game) => `THE ${game.dealer ? "DEALER" : "CHALLENGER"} CUTS THE BARREL SHORT`,
|
||||||
|
Adrenaline: (game) => `THE ${game.dealer ? "DEALER" : "CHALLENGER"} INJECTS ADRENALINE`,
|
||||||
|
Inverter: (game) => `THE ${game.dealer ? "DEALER" : "CHALLENGER"} CRANKS A POLARITY INVERTER`,
|
||||||
|
Phone: (game) => `THE ${game.dealer ? "DEALER" : "CHALLENGER"} LISTENS TO THE WHISPERS`,
|
||||||
|
PillsHeal: (game) => `THE ${game.dealer ? "DEALER" : "CHALLENGER"} INHALES A PILL... AND SMILES`,
|
||||||
|
PillsHurt: (game) => `THE ${game.dealer ? "DEALER" : "CHALLENGER"} INHALES A PILL... AND COLLAPSES`,
|
||||||
DealerConcedes: () => `THE DEALER SUDDENLY TURNS TO DUST`,
|
DealerConcedes: () => `THE DEALER SUDDENLY TURNS TO DUST`,
|
||||||
ChallengerConcedes: () => `THE CHALLENGER SUDDENLY TURNS TO DUST`,
|
ChallengerConcedes: () => `THE CHALLENGER SUDDENLY TURNS TO DUST`,
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ export interface Game {
|
|||||||
action: "Start"
|
action: "Start"
|
||||||
| "Shoot" | "GameEnd" | "BeerGameEnd" | "ChallengerWins" | "DealerWins"
|
| "Shoot" | "GameEnd" | "BeerGameEnd" | "ChallengerWins" | "DealerWins"
|
||||||
| "Lens" | "Cig" | "Beer" | "Cuff" | "Knife"
|
| "Lens" | "Cig" | "Beer" | "Cuff" | "Knife"
|
||||||
|
| "Adrenaline" | "Phone" | "Inverter" | "PillsHeal" | "PillsHurt"
|
||||||
| "DealerConcedes" | "ChallengerConcedes"
|
| "DealerConcedes" | "ChallengerConcedes"
|
||||||
/**
|
/**
|
||||||
* Match winner.
|
* Match winner.
|
||||||
@ -30,6 +31,10 @@ export interface Game {
|
|||||||
* Damage that a live round will deal this turn.
|
* Damage that a live round will deal this turn.
|
||||||
*/
|
*/
|
||||||
damage: number;
|
damage: number;
|
||||||
|
/**
|
||||||
|
* Current player's adrenaline state.
|
||||||
|
*/
|
||||||
|
adrenaline: boolean;
|
||||||
/**
|
/**
|
||||||
* Deadline for the current player's next action in milliseconds since the
|
* Deadline for the current player's next action in milliseconds since the
|
||||||
* Unix epoch.
|
* Unix epoch.
|
||||||
|
Loading…
Reference in New Issue
Block a user