diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-22 23:20:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-22 23:20:05 +0300 |
commit | 3c51082082397b0564a224214249a096750b56c6 (patch) | |
tree | fc4bb3b4d511842e2a9f0f608d51fb3539a40ae9 /src/input | |
parent | f6596726b6978a7380de163740e6b65c8394ca42 (diff) | |
download | plus-3c51082082397b0564a224214249a096750b56c6.tar.gz plus-3c51082082397b0564a224214249a096750b56c6.tar.bz2 plus-3c51082082397b0564a224214249a096750b56c6.tar.xz plus-3c51082082397b0564a224214249a096750b56c6.zip |
Add chat command for return pet to egg.
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 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 @@ -446,6 +446,12 @@ SetupActionData setupActionDataOther[] = "", }, { + // TRANSLATORS: input action name + N_("Return pet to egg"), + InputAction::PET_RETURN_TO_EGG, + "", + }, + { "", InputAction::NO_VALUE, "" |