summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 97668ba38a..5c496fafce 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -1251,6 +1251,7 @@ static bool _cmd_is_repeatable(command_type cmd, bool is_again = false)
case CMD_LIST_ARMOUR:
case CMD_LIST_JEWELLERY:
case CMD_LIST_EQUIPMENT:
+ case CMD_LIST_GOLD:
case CMD_CHARACTER_DUMP:
case CMD_DISPLAY_COMMANDS:
case CMD_DISPLAY_INVENTORY:
@@ -2439,6 +2440,11 @@ void process_command( command_type cmd )
get_invent(OSEL_EQUIP);
break;
+ case CMD_LIST_GOLD:
+ mprf("You have %d gold piece%s.",
+ you.gold, (you.gold > 1) ? "s" : "");
+ break;
+
case CMD_INSCRIBE_ITEM:
prompt_inscribe_item();
break;