From d0ea104f577c0646aaaf701b81a1781551a0ad16 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Aug 2016 19:47:55 +0300 Subject: Add into item popup menu for gm way to add same items with some amount. --- src/gui/popups/popupmenu.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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) -- cgit v1.2.3-70-g09d2