From 7a7496eb4eba70004ad263553865019e197dda80 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Thu, 28 Nov 2024 18:40:53 +0000 Subject: Improve prompt for support chekcs --- rules.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 5eae2e5..9c37fae 100644 --- a/rules.js +++ b/rules.js @@ -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); } -- cgit v1.2.3