From 70f7db29f291ea22e6dca7c03540beded7ec7bf8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Jun 2017 21:26:32 +0300 Subject: Add chat command for feed homunculus. --- src/input/inputactionmap.h | 6 ++++++ src/input/pages/other.cpp | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'src/input') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index dc2a38e7d..95a3b8d3e 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5708,6 +5708,12 @@ static const InputActionData inputActionData "homunculustomaster|homunmaster", UseArgs_false, Protected_false}, + {"keyHomunculusFeed", + defaultAction(&Actions::homunculusFeed), + InputCondition::INGAME, + "homunculusfeed|homunfeed|feedhomun|feedhomunculus", + UseArgs_false, + Protected_false}, }; #undef defaultAction diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp index 47312c3c5..3d37bd982 100644 --- a/src/input/pages/other.cpp +++ b/src/input/pages/other.cpp @@ -427,6 +427,12 @@ SetupActionData setupActionDataOther[] = InputAction::PET_AI_STOP, "", }, + { + // TRANSLATORS: input action name + N_("Feed homunculus"), + InputAction::HOMUNCULUS_FEED, + "", + }, { "", InputAction::NO_VALUE, -- cgit v1.2.3-60-g2f50