diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-22 22:15:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-22 22:15:50 +0300 |
commit | 92eb0630eb067fbe0a18edb93a02f6fd424c3212 (patch) | |
tree | 8dc535f94f3fbf26979905f583af92ecb95f166f /src/input | |
parent | 917235b0e5ffd8e8e7ec32ea65ca537f0217b954 (diff) | |
download | plus-92eb0630eb067fbe0a18edb93a02f6fd424c3212.tar.gz plus-92eb0630eb067fbe0a18edb93a02f6fd424c3212.tar.bz2 plus-92eb0630eb067fbe0a18edb93a02f6fd424c3212.tar.xz plus-92eb0630eb067fbe0a18edb93a02f6fd424c3212.zip |
Add chat command for drop pet's loot.
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 66224664c..6007a3007 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5720,6 +5720,12 @@ static const InputActionData inputActionData "petfeed|feedpet", UseArgs_false, Protected_false}, + {"keyPetDropLoot", + defaultAction(&Actions::petDropLoot), + InputCondition::INGAME, + "petdroploot|petloot", + UseArgs_false, + Protected_true}, }; #undef defaultAction diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp index bcfab0806..c215f2fd0 100644 --- a/src/input/pages/other.cpp +++ b/src/input/pages/other.cpp @@ -440,6 +440,12 @@ SetupActionData setupActionDataOther[] = "", }, { + // TRANSLATORS: input action name + N_("Drop pet's loot"), + InputAction::PET_DROP_LOOT, + "", + }, + { "", InputAction::NO_VALUE, "" |