summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-28 19:36:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-28 19:36:50 +0300
commita5e3d86efb85bb2a65e160972cc56e89cd764453 (patch)
treef385447603a24a3898b493ce131b4edf8abd86ab /src/input/inputactionmap.h
parent8bfdc250ae7c5ab852653b3aa2da7f3781c7c56e (diff)
downloadplus-a5e3d86efb85bb2a65e160972cc56e89cd764453.tar.gz
plus-a5e3d86efb85bb2a65e160972cc56e89cd764453.tar.bz2
plus-a5e3d86efb85bb2a65e160972cc56e89cd764453.tar.xz
plus-a5e3d86efb85bb2a65e160972cc56e89cd764453.zip
Add chat command for stop and start pet ai.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index c5d9d9d76..8c09001a2 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4460,6 +4460,24 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"petdirectright|directrightpet",
false},
+ {"keyPetAiStart",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::petAiStart,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "petaistart|startpetai",
+ false},
+ {"keyPetAiStop",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::petAiStop,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "petaistop|stoppetai",
+ false},
};
#endif // INPUT_INPUTACTIONMAP_H