From e8a45b59da74cb9e4748bbcb45d78b7b12280a0b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 2 Feb 2023 10:32:29 +0100 Subject: Prompt. --- rules.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 07f4723..4a20bdd 100644 --- a/rules.js +++ b/rules.js @@ -4486,7 +4486,9 @@ function this_lord_has_house_of_suzdal() { states.command = { inactive: "Command", prompt() { - if (game.actions === 1) + if (game.actions === 0) + view.prompt = `Command: ${lord_name[game.command]} has no more actions.` + else if (game.actions === 1) view.prompt = `Command: ${lord_name[game.command]} has ${game.actions} action.` else view.prompt = `Command: ${lord_name[game.command]} has ${game.actions} actions.` -- cgit v1.2.3