diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-24 18:28:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-24 18:28:40 +0300 |
commit | bb604b783f5909d068ced29e17a698a37115ebb6 (patch) | |
tree | 9ffb791e7ede21177f5377ac18227f7596f7ccee /src/input/inputactionmap.h | |
parent | 7e3a0e3668788cc9e63b0bc7f69ce793e2680ec4 (diff) | |
download | mv-bb604b783f5909d068ced29e17a698a37115ebb6.tar.gz mv-bb604b783f5909d068ced29e17a698a37115ebb6.tar.bz2 mv-bb604b783f5909d068ced29e17a698a37115ebb6.tar.xz mv-bb604b783f5909d068ced29e17a698a37115ebb6.zip |
Add chat command /showcart. Also add show cart to player context menu.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 08976e9ea..698ce7765 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5299,12 +5299,18 @@ static const InputActionData inputActionData "showstats|stats", UseArgs_true, Protected_true}, - {"keyCommandShowStorage", + {"keyCommandShowStorageList", defaultAction(&Actions::commandShowStorage), InputCondition::INGAME, "showstorage|storagelist", UseArgs_true, Protected_true}, + {"keyCommandShowCartList", + defaultAction(&Actions::commandShowCart), + InputCondition::INGAME, + "showcart|cartlist", + UseArgs_true, + Protected_true}, }; #undef defaultAction |