From 3c51082082397b0564a224214249a096750b56c6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Jun 2017 23:20:05 +0300 Subject: Add chat command for return pet to egg. --- 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 6007a3007..e30e50ae3 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5726,6 +5726,12 @@ static const InputActionData inputActionData "petdroploot|petloot", UseArgs_false, Protected_true}, + {"keyPetReturnToEgg", + defaultAction(&Actions::petReturnToEgg), + InputCondition::INGAME, + "pettoegg|petegg|petreturn|returnpet|petreturnegg", + UseArgs_false, + Protected_false}, }; #undef defaultAction diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp index c215f2fd0..a33ede552 100644 --- a/src/input/pages/other.cpp +++ b/src/input/pages/other.cpp @@ -445,6 +445,12 @@ SetupActionData setupActionDataOther[] = InputAction::PET_DROP_LOOT, "", }, + { + // TRANSLATORS: input action name + N_("Return pet to egg"), + InputAction::PET_RETURN_TO_EGG, + "", + }, { "", InputAction::NO_VALUE, -- cgit v1.2.3-70-g09d2