summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h5
-rw-r--r--src/input/pages/other.cpp6
3 files changed, 12 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 9bc25f49d..8ce40ffe2 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -536,6 +536,7 @@ namespace InputAction
CHAT_GUILD_TAB,
DROP_CLEAR,
WINDOW_CART,
+ HEAL_MOST_DAMAGED,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 013efa81f..57cd4d7fe 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3974,6 +3974,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::SHORTCUT0,
"cart|opencart",
false},
+ {"keyMagicHealMostDamaged",
+ defaultAction(&Actions::healmd),
+ InputCondition::GAME | InputCondition::VALIDSPEED,
+ "healmd|saveass",
+ false},
};
#undef defaultAction
diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp
index 92de50f58..98714bd9a 100644
--- a/src/input/pages/other.cpp
+++ b/src/input/pages/other.cpp
@@ -147,6 +147,12 @@ SetupActionData setupActionDataOther[] =
},
{
// TRANSLATORS: input action name
+ N_("Heal the most injured player"),
+ InputAction::HEAL_MOST_DAMAGED,
+ "",
+ },
+ {
+ // TRANSLATORS: input action name
N_("Use #itenplz spell"),
InputAction::MAGIC_ITENPLZ,
"",