From 917235b0e5ffd8e8e7ec32ea65ca537f0217b954 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Jun 2017 21:57:15 +0300 Subject: Add chat command for feed pet. --- 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 881368195..66224664c 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5714,6 +5714,12 @@ static const InputActionData inputActionData "homunculusfeed|homunfeed|feedhomun|feedhomunculus", UseArgs_false, Protected_false}, + {"keyPetFeed", + defaultAction(&Actions::petFeed), + InputCondition::INGAME, + "petfeed|feedpet", + UseArgs_false, + Protected_false}, }; #undef defaultAction diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp index 3d37bd982..bcfab0806 100644 --- a/src/input/pages/other.cpp +++ b/src/input/pages/other.cpp @@ -433,6 +433,12 @@ SetupActionData setupActionDataOther[] = InputAction::HOMUNCULUS_FEED, "", }, + { + // TRANSLATORS: input action name + N_("Feed pet"), + InputAction::PET_FEED, + "", + }, { "", InputAction::NO_VALUE, -- cgit v1.2.3-60-g2f50