diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 | ||||
-rw-r--r-- | src/input/pages/other.cpp | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 296ef17fa..280a16970 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -381,6 +381,7 @@ namespace InputAction SEND_MAIL, TRADE, PRICE_LOAD, + PRICE_SAVE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index ab1cd04e2..fd0d573d5 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3198,6 +3198,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "priceload", + false}, + {"keyPriceSave", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::priceSave, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "pricesave", false} }; diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp index 57b0b68b0..786a1974d 100644 --- a/src/input/pages/other.cpp +++ b/src/input/pages/other.cpp @@ -244,6 +244,12 @@ SetupActionData setupActionDataOther[] = "", }, { + // TRANSLATORS: input action name + N_("Save shop items list to disk"), + InputAction::PRICE_SAVE, + "", + }, + { "", InputAction::NO_VALUE, "" |