Chart tag using localised strings
Posted: Wed Oct 10, 2018 10:51 am
TL;DR
Chart tag text should be a localised string
Why?
Because it would be helpful to be able to provide mod users with the ability to use localised names when creating chart tags rather than having to use the current system. An existing example would be Resource Labels by Pandemonius.
He has to have a config file containing a number of entries as shown above so as to make a much more readable result of the data. As this data is already in game via locale files, can this functionality be provided to mod writers in the future please?
Thank you.
DutchTed
Chart tag text should be a localised string
Why?
Because it would be helpful to be able to provide mod users with the ability to use localised names when creating chart tags rather than having to use the current system. An existing example would be Resource Labels by Pandemonius.
Code: Select all
--Bob's Ores
addItem ("gold-ore", "Gold", "gold-ore")
addItem ("lead-ore", "Lead", "lead-ore")
addItem ("silver-ore", "Silver", "silver-ore")
addItem ("tin-ore", "Tin", "tin-ore")
addItem ("tungsten-ore", "Tungsten", "tungsten-ore")
addItem ("zinc-ore", "Zinc", "zinc-ore")
... etc
Thank you.
DutchTed