diff options
-rw-r--r-- | rules.js | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -752,11 +752,12 @@ states.play_card = { states.resolve_opponent_event = { get inactive() { - return `resolve ${card_name[game.played_card]}.` + return `play ${quoted_card_name[game.played_card]}` }, prompt() { + view.prompt = "Play " + quoted_card_name[game.played_card] if (game.vm_infl_to_do) { - view.prompt = 'Event resolved. Choose to play card for:' + view.prompt += " \u2014 opponent's Event resolved." gen_action('influence') gen_action('support_check') } else if (game.vm_event_to_do) { @@ -767,10 +768,10 @@ states.resolve_opponent_event = { ) { gen_action('tst_7') } - view.prompt = `${card_name[game.played_card]}: you must resolve the opponent event.` + view.prompt += ` \u2014 you must resolve the opponent event.` gen_action('opp_event') } else { - view.prompt = 'Event resolved. End the action round.' + view.prompt += '. Event resolved. End the action round.' gen_action('end_round') } }, @@ -828,14 +829,14 @@ states.add_influence = { inactive: 'add SPs', prompt() { if (game.available_ops <= 0) { - view.prompt = 'Place SPs: done.' + view.prompt = 'Place SPs done.' if (!game.vm_event_to_do) { gen_action("end_round") } else { gen_action('done') } } else { - view.prompt = `Add SPs: ${game.available_ops} remaining.` + view.prompt = `Place ${pluralize(game.available_ops, "SP")}.` for (let space_id of game.valid_spaces) { gen_action_space(space_id) } @@ -1214,15 +1215,15 @@ states.vm_the_crowd_turns_against_ceausescu = { } states.the_crowd_turns_against_ceausescu_infl = { - inactive: 'add SPs', + inactive: 'place SPs', prompt() { if (game.vm_available_ops === 0) { - view.prompt = 'Place SPs: done.' + view.prompt = 'Place SPs done.' gen_action("done") return } - view.prompt = `Add SPs: ${game.vm_available_ops} remaining` + view.prompt = `Place ${pluralize(game.vm_available_ops, 'SP')}.` for (let space of game.valid_spaces) { gen_action_space(space) } |