summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-25 14:03:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-25 14:03:02 +0300
commit6ce16c283d584fc1a90a5e68f986a90fdc6e8da5 (patch)
tree17858d71f2b7ce5ddf8367c08a81f53e6eeee610 /src/input
parentfabdb839728e5a625b67bae1f278952ddabb1844 (diff)
downloadplus-6ce16c283d584fc1a90a5e68f986a90fdc6e8da5.tar.gz
plus-6ce16c283d584fc1a90a5e68f986a90fdc6e8da5.tar.bz2
plus-6ce16c283d584fc1a90a5e68f986a90fdc6e8da5.tar.xz
plus-6ce16c283d584fc1a90a5e68f986a90fdc6e8da5.zip
Add chat command for rename homunculus.
New chat comamnd: sethomunname NAME
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 74c3a90f8..36adeda3c 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -484,6 +484,7 @@ namespace InputAction
TARGET_MERCENARY,
TARGET_PET,
PET_SET_NAME,
+ HOMUNCULUS_SET_NAME,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 9b0a6f363..6f4d1e32f 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4098,6 +4098,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"setpetname|petsetname",
false},
+ {"keyHomunculusSetName",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::setHomunculusName,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "sethomunname|homunsetname|sethomunculusname|homunculussetname",
+ false}
};
#endif // INPUT_INPUTACTIONMAP_H