From 1e7d0d8e9873283a0ec09a62e579b718c3c06e51 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Jun 2017 21:13:07 +0300 Subject: Add chat command for move homunculus to master. --- src/input/inputactionmap.h | 6 ++++++ src/input/pages/move.cpp | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'src/input') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index cfee0245f..dc2a38e7d 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5702,6 +5702,12 @@ static const InputActionData inputActionData "mercenarytomaster|mercmaster", UseArgs_false, Protected_false}, + {"keyHomunculusToMaster", + defaultAction(&Actions::homunculusToMaster), + InputCondition::INGAME, + "homunculustomaster|homunmaster", + UseArgs_false, + Protected_false}, }; #undef defaultAction diff --git a/src/input/pages/move.cpp b/src/input/pages/move.cpp index 0c0102d9d..8df8a2c5d 100644 --- a/src/input/pages/move.cpp +++ b/src/input/pages/move.cpp @@ -90,6 +90,12 @@ SetupActionData setupActionDataMove[] = InputAction::PET_MOVE_RIGHT, "", }, + { + // TRANSLATORS: input action name + N_("Move homunculus to master"), + InputAction::HOMUNCULUS_TO_MASTER, + "", + }, { // TRANSLATORS: input action name N_("Move mercenary to master"), -- cgit v1.2.3-70-g09d2