diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-25 19:47:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-25 19:50:19 +0300 |
commit | d0ea104f577c0646aaaf701b81a1781551a0ad16 (patch) | |
tree | 5651b94e06a76e7731f919c1bdae52fed2300048 | |
parent | 1873a9bec687b0653a483f7bb46e513db5bc10f0 (diff) | |
download | manaplus-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.
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 19 |
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) |