diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-22 21:26:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-22 21:26:32 +0300 |
commit | 70f7db29f291ea22e6dca7c03540beded7ec7bf8 (patch) | |
tree | f8acd516a552ad34fcf8f4d84169d90e001f55ad /src/input | |
parent | 1e7d0d8e9873283a0ec09a62e579b718c3c06e51 (diff) | |
download | manaplus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.gz manaplus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.bz2 manaplus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.xz manaplus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.zip |
Add chat command for feed homunculus.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputactionmap.h | 6 | ||||
-rw-r--r-- | src/input/pages/other.cpp | 6 |
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, "" |