summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-25 19:47:55 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-25 19:50:19 +0300
commitd0ea104f577c0646aaaf701b81a1781551a0ad16 (patch)
tree5651b94e06a76e7731f919c1bdae52fed2300048 /src/gui/popups/popupmenu.cpp
parent1873a9bec687b0653a483f7bb46e513db5bc10f0 (diff)
downloadmanaplus-d0ea104f577c0646aaaf701b81a1781551a0ad16.tar.gz
manaplus-d0ea104f577c0646aaaf701b81a1781551a0ad16.tar.bz2
manaplus-d0ea104f577c0646aaaf701b81a1781551a0ad16.tar.xz
manaplus-d0ea104f577c0646aaaf701b81a1781551a0ad16.zip
Add into item popup menu for gm way to add same items with some amount.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 16886bb70..393d2374a 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -3270,6 +3270,25 @@ void PopupMenu::showItemGMCommands()
// TRANSLATORS: popup menu item
// TRANSLATORS: show who drops item
mBrowserBox->addRow("/whodrops 'ITEMID'", _("Who drops"));
+ mBrowserBox->addRow("##3---");
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: gm create item
+ mBrowserBox->addRow("/createitem 'ITEMID' 1", _("Add 1"));
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: gm create item
+ mBrowserBox->addRow("/createitem 'ITEMID' 5", _("Add 5"));
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: gm create item
+ mBrowserBox->addRow("/createitem 'ITEMID' 10", _("Add 10"));
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: gm create item
+ mBrowserBox->addRow("/createitem 'ITEMID' 100", _("Add 100"));
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: gm create item
+ mBrowserBox->addRow("/createitem 'ITEMID' 1000", _("Add 1000"));
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: gm create item
+ mBrowserBox->addRow("/createitem 'ITEMID' 10000", _("Add 10000"));
}
void PopupMenu::showGMPopup(const std::string &name)