summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 18:41:46 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 18:41:46 +0300
commited90e9aa17a5135988a1a85f159c1556f7d84bd1 (patch)
tree96d149f5c88eae4b0563f8bbc7aa60d51498ab8b /src/gui/popups
parentbb604b783f5909d068ced29e17a698a37115ebb6 (diff)
downloadmanaplus-ed90e9aa17a5135988a1a85f159c1556f7d84bd1.tar.gz
manaplus-ed90e9aa17a5135988a1a85f159c1556f7d84bd1.tar.bz2
manaplus-ed90e9aa17a5135988a1a85f159c1556f7d84bd1.tar.xz
manaplus-ed90e9aa17a5135988a1a85f159c1556f7d84bd1.zip
Add chat command /showinventory. Also add show inventory to player context menu.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index da983f513..c5dacf2ba 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2670,6 +2670,9 @@ void PopupMenu::showPlayerGMCommands()
// TRANSLATORS: show player stats
mBrowserBox->addRow("/showstats 'NAME'", _("Show stats"));
// TRANSLATORS: popup menu item
+ // TRANSLATORS: show player inventory list
+ mBrowserBox->addRow("/showinventory 'NAME'", _("Show inventory"));
+ // TRANSLATORS: popup menu item
// TRANSLATORS: show player storage list
mBrowserBox->addRow("/showstorage 'NAME'", _("Show storage"));
// TRANSLATORS: popup menu item