diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-11 12:36:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-11 12:36:18 +0300 |
commit | 71d50c2de2cfe8c9d5b1653596eae90761c8a9d6 (patch) | |
tree | 88234658b6397123e6c3176d119d1a45df672ed4 /src/input/inputactionmap.h | |
parent | 660d3b585ab50038e5b2ea3fb9cf4049a7e697d1 (diff) | |
download | ManaVerse-71d50c2de2cfe8c9d5b1653596eae90761c8a9d6.tar.gz ManaVerse-71d50c2de2cfe8c9d5b1653596eae90761c8a9d6.tar.bz2 ManaVerse-71d50c2de2cfe8c9d5b1653596eae90761c8a9d6.tar.xz ManaVerse-71d50c2de2cfe8c9d5b1653596eae90761c8a9d6.zip |
Add action and chat command for "catch pet".
New chat command: /catchpet - Try catch selected monster
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index eb95e8fc3..a355c33ba 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4034,7 +4034,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::PET_EMOTE, 100, InputCondition::GAME, "", - false} + false}, + {"keyCatchPet", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::catchPet, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "catchpet|catch", + true}, }; #endif // INPUT_INPUTACTIONMAP_H |