diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-25 19:47:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-25 19:47:29 +0300 |
commit | a02e2ba72702226cc25b245cc0e2615ead279cee (patch) | |
tree | f4bbc296e42ac0543aecba573123bb1f45ccb0f8 /src/input | |
parent | cd8ef301f4796f15390d02d866ad88423b2d8d16 (diff) | |
download | plus-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.gz plus-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.bz2 plus-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.xz plus-a02e2ba72702226cc25b245cc0e2615ead279cee.zip |
Add chat command for clear current outfit.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputactionmap.h | 6 | ||||
-rw-r--r-- | src/input/pages/outfits.cpp | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index b49b36904..a21cc42c1 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5660,6 +5660,12 @@ static const InputActionData inputActionData "sendchar|sendchars|charsend", UseArgs_true, Protected_true}, + {"keyClearOutfit", + defaultAction(&Actions::outfitClear), + InputCondition::DEFAULT | InputCondition::INGAME, + "clearoutfit|outfitclear", + UseArgs_false, + Protected_true}, }; #undef defaultAction diff --git a/src/input/pages/outfits.cpp b/src/input/pages/outfits.cpp index 5a938217d..0b9beabd3 100644 --- a/src/input/pages/outfits.cpp +++ b/src/input/pages/outfits.cpp @@ -44,6 +44,12 @@ SetupActionData setupActionDataOutfits[] = }, { // TRANSLATORS: input action name + N_("Clear outfit"), + InputAction::CLEAR_OUTFIT, + "", + }, + { + // TRANSLATORS: input action name N_("Copy Outfit to other outfit"), InputAction::COPY_OUTFIT, "", |