summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-22 23:45:17 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-22 23:45:17 +0300
commit90fbaa6e372c6ae64b218dfd927c18c6f5ab941d (patch)
tree91fd1322563093dd4f111d109066fe7caa3c228f /src/input
parent3c51082082397b0564a224214249a096750b56c6 (diff)
downloadplus-90fbaa6e372c6ae64b218dfd927c18c6f5ab941d.tar.gz
plus-90fbaa6e372c6ae64b218dfd927c18c6f5ab941d.tar.bz2
plus-90fbaa6e372c6ae64b218dfd927c18c6f5ab941d.tar.xz
plus-90fbaa6e372c6ae64b218dfd927c18c6f5ab941d.zip
Add chat command for unequip pet equipment.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h6
-rw-r--r--src/input/pages/other.cpp6
2 files changed, 12 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index e30e50ae3..a87c0cada 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5732,6 +5732,12 @@ static const InputActionData inputActionData
"pettoegg|petegg|petreturn|returnpet|petreturnegg",
UseArgs_false,
Protected_false},
+ {"keyPetUnequip",
+ defaultAction(&Actions::petUnequip),
+ InputCondition::INGAME,
+ "petunequip|unequippet",
+ UseArgs_false,
+ Protected_false},
};
#undef defaultAction
diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp
index a33ede552..88677c576 100644
--- a/src/input/pages/other.cpp
+++ b/src/input/pages/other.cpp
@@ -452,6 +452,12 @@ SetupActionData setupActionDataOther[] =
"",
},
{
+ // TRANSLATORS: input action name
+ N_("Unequip pet"),
+ InputAction::PET_UNEQUIP,
+ "",
+ },
+ {
"",
InputAction::NO_VALUE,
""