diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-28 18:40:53 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-28 18:40:53 +0000 |
commit | 7a7496eb4eba70004ad263553865019e197dda80 (patch) | |
tree | d75dfa3561b010427efa4c0f5062d2a07f4d3cd9 /rules.js | |
parent | 1507f6ac97d82746d9779b75b7afbbc66d5239ea (diff) | |
download | 1989-dawn-of-freedom-7a7496eb4eba70004ad263553865019e197dda80.tar.gz |
Improve prompt for support chekcs
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5906,7 +5906,11 @@ states.vm_support_check_prep = { view.prompt = `${clean_name(cards[this_card()].name)}: no valid targets for support check.` gen_action('done') } else { - view.prompt = `${clean_name(cards[this_card()].name)}: ${event_prompt()}. ${pluralize(game.vm_available_ops, 'support check')} remaining.` + if (event_prompt() === "") { + view.prompt = `${clean_name(cards[this_card()].name)}: select a space. ${pluralize(game.vm_available_ops, 'support check')} remaining.` + } else { + view.prompt = `${clean_name(cards[this_card()].name)}: ${event_prompt()}. ${pluralize(game.vm_available_ops, 'support check')} remaining.` + } for (let space_id of game.valid_spaces) { gen_action_space(space_id); } |