summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index a33de2b83..91c09002b 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -306,15 +306,26 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
case ActorType::Mercenary:
// TRANSLATORS: popup menu item
- // TRANSLATORS: fire mercenary
+ // TRANSLATORS: Mercenary move to master
mBrowserBox->addRow("mercenary to master", _("Move to master"));
mBrowserBox->addRow("##3---");
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: fire mercenary
mBrowserBox->addRow("fire mercenary", _("Fire"));
mBrowserBox->addRow("##3---");
break;
case ActorType::Homunculus:
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: Mercenary move to master
mBrowserBox->addRow("homunculus to master", _("Move to master"));
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: feed homunculus
+ mBrowserBox->addRow("homunculus feed", _("Feed"));
+ mBrowserBox->addRow("##3---");
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: delete homunculus
+ mBrowserBox->addRow("homunculus delete", _("Kill"));
mBrowserBox->addRow("##3---");
break;
@@ -1874,6 +1885,14 @@ void PopupMenu::handleLink(const std::string &link,
{
homunculusHandler->moveToMaster();
}
+ else if (link == "homunculus feed")
+ {
+ homunculusHandler->feed();
+ }
+ else if (link == "homunculus delete")
+ {
+ homunculusHandler->fire();
+ }
else if (link == "pet feed")
{
petHandler->feed();