summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts38
1 files changed, 17 insertions, 21 deletions
diff --git a/rules.ts b/rules.ts
index 2945b60..7cf04d5 100644
--- a/rules.ts
+++ b/rules.ts
@@ -901,7 +901,7 @@ states.add_card_to_tableau = {
inactive: 'add a card to their tableau',
prompt() {
gen_spend_hero_points();
- view.prompt = 'Choose a card to add to your tableau.';
+ view.prompt = 'Add a card to your tableau.';
const faction = get_active_faction();
for (const c of game.hands[faction]) {
gen_action_card(c);
@@ -1186,7 +1186,7 @@ states.play_card = {
prompt() {
gen_spend_hero_points();
- view.prompt = 'Choose a card to play';
+ view.prompt = 'Play a card.';
const faction = get_active_faction();
@@ -1256,7 +1256,7 @@ states.choose_card = {
states.choose_final_bid = {
inactive: 'choose Final Bid',
prompt() {
- view.prompt = 'Choose a card to add to the Final Bid';
+ view.prompt = 'Add a card to the Final Bid.';
const faction = get_active_faction();
for (let c of game.hands[faction]) {
if (!game.selected_cards[faction].includes(c)) {
@@ -1332,7 +1332,7 @@ states.choose_medallion = {
inactive: 'choose a medallion',
prompt() {
gen_spend_hero_points();
- view.prompt = 'Choose a medallion';
+ view.prompt = 'Choose a Medallion.';
for (let m of game.medallions.pool) {
gen_action_medallion(m);
}
@@ -1376,10 +1376,7 @@ states.choose_medallion = {
states.confirm_turn = {
inactive: 'confirm their turn',
prompt() {
- if (game.fascist)
- view.prompt = 'Fascist Test: Done.';
- else
- view.prompt = 'Confirm your actions or undo';
+ view.prompt = 'You will not be able to undo this action.';
gen_action('confirm');
},
confirm() {
@@ -1612,9 +1609,9 @@ states.move_track = {
else
view.prompt = `Move ${name} ${-value} steps down.`;
if (track === GOVERNMENT && value === TOWARDS_CENTER) {
- view.prompt = `Move ${name} towards center`;
+ view.prompt = `Move ${name} towards center.`;
} else if (track === GOVERNMENT && value === AWAY_FROM_CENTER) {
- view.prompt = `Move ${name} away from center`;
+ view.prompt = `Move ${name} away from center.`;
}
if (track === LIBERTY_OR_COLLECTIVIZATION) {
@@ -1799,15 +1796,15 @@ function set_player_turn_prompt({
use_morale_bonus,
}: PlayerTurnArgs & { can_spend_hp: boolean; can_play_card: boolean }) {
if (can_play_card)
- view.prompt = "Player Turn: Play card for Action Points or for the Event."
+ view.prompt = "Play card for Action Points or for the Event."
else if (use_momentum)
- view.prompt = "Player Turn: Play a second card."
+ view.prompt = "Play a second card."
else if (use_ap && use_morale_bonus)
- view.prompt = "Player Turn: Use Action Points and Morale Bonus."
+ view.prompt = "Use Action Points and Morale Bonus."
else if (use_morale_bonus)
- view.prompt = "Player Turn: Use Morale Bonus."
+ view.prompt = "Use Morale Bonus."
else if (use_ap)
- view.prompt = "Player Turn: Use Action Points."
+ view.prompt = "Use Action Points."
else
view.prompt = "Player Turn: Done."
}
@@ -2053,7 +2050,7 @@ states.return_card = {
prompt() {
const faction = get_active_faction();
gen_spend_hero_points();
- view.prompt = 'Choose a card to return to your hand';
+ view.prompt = 'Return a card to your hand.';
view.trash = game.trash[faction];
let possible = false;
for (let c of game.trash[faction]) {
@@ -2213,16 +2210,15 @@ states.swap_card_tableau_hand = {
inactive: 'swap cards',
prompt() {
gen_spend_hero_points();
- view.prompt =
- 'Choose a card in your tableau and a card in your hand to swap';
+ view.prompt = 'Swap a card in your tableau with a card in your hand.';
const faction = get_active_faction();
gen_action('skip');
if (game.tableaus[faction].length === 0) {
- view.prompt = 'No card in your tableau to swap. You must skip';
+ view.prompt = 'No card in your tableau to swap.';
return;
}
if (game.hands[faction].length === 0) {
- view.prompt = 'No card in your hand to swap. You must skip';
+ view.prompt = 'No card in your hand to swap.';
return;
}
if (
@@ -2812,7 +2808,7 @@ function play_card_to_tableau(faction: FactionId): PlayerCard {
}
function resolve_fascist_test() {
- game.fascist = 1;
+ game.fascist = 2;
log_h2('Fascist Test', 'fascist');