summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-09 13:10:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-09 13:10:54 +0300
commit4a6ffbd08067b64143e0535518a3822953943d80 (patch)
tree43121fb8f6690dbda227b9839aeb54837a6e53ad /src/input/inputactionmap.h
parent9ea847e15b281dda88a4014010bc28e58befeb4c (diff)
downloadmanaverse-4a6ffbd08067b64143e0535518a3822953943d80.tar.gz
manaverse-4a6ffbd08067b64143e0535518a3822953943d80.tar.bz2
manaverse-4a6ffbd08067b64143e0535518a3822953943d80.tar.xz
manaverse-4a6ffbd08067b64143e0535518a3822953943d80.zip
Add buy action.
New chat command: /buy [name]
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 585334713..2a8904503 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4153,6 +4153,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
| InputCondition::NOMODAL | InputCondition::INGAME,
"contextmenu",
false},
+ {"keyBuy",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::buy,
+ InputAction::NO_VALUE, 50,
+ InputCondition::GAME,
+ "buy",
+ false},
};
#endif // INPUT_INPUTACTIONMAP_H