summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-22 21:26:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-22 21:26:32 +0300
commit70f7db29f291ea22e6dca7c03540beded7ec7bf8 (patch)
treef8acd516a552ad34fcf8f4d84169d90e001f55ad /src/input
parent1e7d0d8e9873283a0ec09a62e579b718c3c06e51 (diff)
downloadplus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.gz
plus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.bz2
plus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.xz
plus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.zip
Add chat command for feed homunculus.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h6
-rw-r--r--src/input/pages/other.cpp6
2 files changed, 12 insertions, 0 deletions
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
@@ -428,6 +428,12 @@ SetupActionData setupActionDataOther[] =
"",
},
{
+ // TRANSLATORS: input action name
+ N_("Feed homunculus"),
+ InputAction::HOMUNCULUS_FEED,
+ "",
+ },
+ {
"",
InputAction::NO_VALUE,
""