1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 09:22:42 +01:00

Fix #14360: Don't reuse strings for Low/Medium/High setting values (#14409)

This commit is contained in:
Tyler Trahan
2025-07-02 06:09:39 -04:00
committed by GitHub
parent 226b098c55
commit e578668a93
2 changed files with 10 additions and 2 deletions

View File

@@ -1300,6 +1300,10 @@ STR_CONFIG_SETTING_INTEREST_RATE_HELPTEXT :Loan interest r
STR_CONFIG_SETTING_RUNNING_COSTS :Running costs: {STRING2}
STR_CONFIG_SETTING_RUNNING_COSTS_HELPTEXT :Set level of maintenance and running costs of vehicles and infrastructure
###length 3
STR_CONFIG_SETTING_RUNNING_COSTS_LOW :Low
STR_CONFIG_SETTING_RUNNING_COSTS_MEDIUM :Medium
STR_CONFIG_SETTING_RUNNING_COSTS_HIGH :High
STR_CONFIG_SETTING_CONSTRUCTION_SPEED :Construction speed: {STRING2}
STR_CONFIG_SETTING_CONSTRUCTION_SPEED_HELPTEXT :Limit the amount of construction actions for AIs
@@ -1321,6 +1325,10 @@ STR_CONFIG_SETTING_SUBSIDY_DURATION_DISABLED :No subsidies
STR_CONFIG_SETTING_CONSTRUCTION_COSTS :Construction costs: {STRING2}
STR_CONFIG_SETTING_CONSTRUCTION_COSTS_HELPTEXT :Set level of construction and purchase costs
###length 3
STR_CONFIG_SETTING_CONSTRUCTION_COSTS_LOW :Low
STR_CONFIG_SETTING_CONSTRUCTION_COSTS_MEDIUM :Medium
STR_CONFIG_SETTING_CONSTRUCTION_COSTS_HIGH :High
STR_CONFIG_SETTING_RECESSIONS :Recessions: {STRING2}
STR_CONFIG_SETTING_RECESSIONS_HELPTEXT :If enabled, recessions may occur periodically. During a recession all production is significantly lower (it returns to previous level when the recession is over)

View File

@@ -145,7 +145,7 @@ max = 2
interval = 1
str = STR_CONFIG_SETTING_RUNNING_COSTS
strhelp = STR_CONFIG_SETTING_RUNNING_COSTS_HELPTEXT
strval = STR_SEA_LEVEL_LOW
strval = STR_CONFIG_SETTING_RUNNING_COSTS_LOW
cat = SC_BASIC
[SDT_VAR]
@@ -223,7 +223,7 @@ max = 2
interval = 1
str = STR_CONFIG_SETTING_CONSTRUCTION_COSTS
strhelp = STR_CONFIG_SETTING_CONSTRUCTION_COSTS_HELPTEXT
strval = STR_SEA_LEVEL_LOW
strval = STR_CONFIG_SETTING_CONSTRUCTION_COSTS_LOW
cat = SC_BASIC
[SDT_VAR]