From 92eb0630eb067fbe0a18edb93a02f6fd424c3212 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Jun 2017 22:15:50 +0300 Subject: Add chat command for drop pet's loot. --- 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 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 @@ -439,6 +439,12 @@ SetupActionData setupActionDataOther[] = InputAction::PET_FEED, "", }, + { + // TRANSLATORS: input action name + N_("Drop pet's loot"), + InputAction::PET_DROP_LOOT, + "", + }, { "", InputAction::NO_VALUE, -- cgit v1.2.3-70-g09d2