From e83760a9b74131d7db25949b8b1bd69b8cb4c81d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 23 Sep 2014 15:19:14 +0300 Subject: Add chat command for rename own pet (hercules only) New chat command: /setpetname NAME --- src/input/inputactionmap.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/input/inputactionmap.h') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index edd9620be..9b0a6f363 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4088,7 +4088,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME | InputCondition::NOTARGET, "targetpet", - false} + false}, + {"keyPetSetName", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::setPetName, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "setpetname|petsetname", + false}, }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-70-g09d2