diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-28 23:24:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-28 23:24:54 +0300 |
commit | a7f88de7bbea019bf443da0aa31b03d2273739df (patch) | |
tree | fd42726656766b6fb6b6b256105be7633e3a7372 /src/gui | |
parent | a240a48c1e2c3abb240f5957d949a7b6b1753ca5 (diff) | |
download | ManaVerse-a7f88de7bbea019bf443da0aa31b03d2273739df.tar.gz ManaVerse-a7f88de7bbea019bf443da0aa31b03d2273739df.tar.bz2 ManaVerse-a7f88de7bbea019bf443da0aa31b03d2273739df.tar.xz ManaVerse-a7f88de7bbea019bf443da0aa31b03d2273739df.zip |
Add chat command /hidenpc. Also add it to npc context menu.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index f3b87cbf9..76e684766 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -2907,17 +2907,20 @@ void PopupMenu::showNpcGMCommands() const bool legacy = Net::getNetworkType() == ServerType::TMWATHENA; if (!legacy) { + // TRANSLATORS: popup menu item + // TRANSLATORS: hide npc + mBrowserBox->addRow("/hidenpc 'EXTNAME'", _("Hide")); + mBrowserBox->addRow("##3---"); mBrowserBox->addRow("/npcmove 'EEXTNAME' 'PLAYERX' 'PLAYERY'", // TRANSLATORS: popup menu item // TRANSLATORS: warp npc to player location _("Recall")); - mBrowserBox->addRow("##3---"); - // TRANSLATORS: popup menu item - // TRANSLATORS: warp to npc - mBrowserBox->addRow("/gotonpc 'EXTNAME'", _("Goto")); // TRANSLATORS: popup menu item // TRANSLATORS: disguise to npc mBrowserBox->addRow("/disguise 'BEINGSUBTYPEID'", _("Disguise")); + // TRANSLATORS: popup menu item + // TRANSLATORS: warp to npc + mBrowserBox->addRow("/gotonpc 'EXTNAME'", _("Goto")); } } } |