diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-02-02 10:32:29 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:39 +0100 |
commit | e8a45b59da74cb9e4748bbcb45d78b7b12280a0b (patch) | |
tree | 44d030463c9eb92b6d9c827e291594893ff490e8 /rules.js | |
parent | c08b50f70493e8c837ea58ecfdd6d0eb42f507aa (diff) | |
download | nevsky-e8a45b59da74cb9e4748bbcb45d78b7b12280a0b.tar.gz |
Prompt.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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.` |