diff options
author | Tegas Aziz <49786146+WilloIzCitron@users.noreply.github.com> | 2021-02-19 16:27:41 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 10:27:41 +0100 |
commit | 1f6fb8c2908ccd5de730a973d1276554a7abf4b6 (patch) | |
tree | 4cb7cec5caf05189048c817335760dbd2bf5371d /src | |
parent | 96990b2ea7e08f73d7b53207533dc3f94394ac89 (diff) | |
download | openttd-1f6fb8c2908ccd5de730a973d1276554a7abf4b6.tar.xz |
Add: Indonesia Rupiah as in-game currency (#8616)
The exchange rate is actually more like 19,000, but OpenTTD
doesn't handle such high exchange rates kindly.
Diffstat (limited to 'src')
-rw-r--r-- | src/currency.cpp | 1 | ||||
-rw-r--r-- | src/currency.h | 1 | ||||
-rw-r--r-- | src/lang/english.txt | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/currency.cpp b/src/currency.cpp index 5c758c48d..46c478d0d 100644 --- a/src/currency.cpp +++ b/src/currency.cpp @@ -66,6 +66,7 @@ static const CurrencySpec origin_currency_specs[CURRENCY_END] = { { 8, "", CF_NOEURO, u8"\u00a5", "", 0, STR_GAME_OPTIONS_CURRENCY_CNY }, ///< chinese renminbi { 10, "", CF_NOEURO, "HKD" NBSP, "", 0, STR_GAME_OPTIONS_CURRENCY_HKD }, ///< hong kong dollar { 90, "", CF_NOEURO, u8"\u20b9", "", 0, STR_GAME_OPTIONS_CURRENCY_INR }, ///< Indian Rupee + { 19, "", CF_NOEURO, "Rp", "", 0, STR_GAME_OPTIONS_CURRENCY_IDR }, ///< Indonesian Rupiah }; /** Array of currencies used by the system */ diff --git a/src/currency.h b/src/currency.h index 0bad4a0a1..37d1c66b9 100644 --- a/src/currency.h +++ b/src/currency.h @@ -63,6 +63,7 @@ enum Currencies { CURRENCY_CNY, ///< Chinese Renminbi CURRENCY_HKD, ///< Hong Kong Dollar CURRENCY_INR, ///< Indian Rupee + CURRENCY_IDR, ///< Indonesian Rupiah CURRENCY_END, ///< always the last item }; diff --git a/src/lang/english.txt b/src/lang/english.txt index 43fdd0ff7..365383077 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -946,6 +946,7 @@ STR_GAME_OPTIONS_CURRENCY_NTD :New Taiwan Doll STR_GAME_OPTIONS_CURRENCY_CNY :Chinese Renminbi (CNY) STR_GAME_OPTIONS_CURRENCY_HKD :Hong Kong Dollar (HKD) STR_GAME_OPTIONS_CURRENCY_INR :Indian Rupee (INR) +STR_GAME_OPTIONS_CURRENCY_IDR :Indonesian Rupiah (IDR) ############ end of currency region STR_GAME_OPTIONS_ROAD_VEHICLES_DROPDOWN_LEFT :Drive on left |