diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-08-01 22:43:46 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-08-01 22:43:46 +0000 |
commit | 2f502ad2e18856b2207756b98d2b54fc6e5764b3 (patch) | |
tree | b107630c10dc120a11a9f6bb3578b9b11c3de416 /crawl-ref/source/acr.cc | |
parent | 6abca99d684429a8d909260cec1f3c0f76f8ecc7 (diff) | |
download | crawl-ref-2f502ad2e18856b2207756b98d2b54fc6e5764b3.tar.gz crawl-ref-2f502ad2e18856b2207756b98d2b54fc6e5764b3.zip |
FR 2026227: Make $ list current gold.
FR 2027307: Use menu colours for shops, with an option to turn it off to
get the striped menu again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6750 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 53e35ab5d2..1bf74dc7a4 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -1260,6 +1260,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: @@ -2416,6 +2417,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; |