locale automatic generation ?
Posted: Sat Apr 23, 2016 8:41 pm
Hi,
in my mod, I generate automaticaly a list of item/recipe/entity where only the suffix changes.
For example, let say a list of Chest-[color] from a list of colors that can be edited.
So I ended with Chest-white, Chest-black, Chest-green, etc...
And I want to give a locale name to these chests.
So, if I have the locale string for Chest, is there a way to generate all the needed locale, ie. :
chest-black = Chest of color black
and also
chest-black = Coffre de couleur noire
etc...
so can we generate cfg files from lua ?
or can we put lua into cfg files to automate generation of strings ?
in my mod, I generate automaticaly a list of item/recipe/entity where only the suffix changes.
For example, let say a list of Chest-[color] from a list of colors that can be edited.
So I ended with Chest-white, Chest-black, Chest-green, etc...
And I want to give a locale name to these chests.
So, if I have the locale string for Chest, is there a way to generate all the needed locale, ie. :
chest-black = Chest of color black
and also
chest-black = Coffre de couleur noire
etc...
so can we generate cfg files from lua ?
or can we put lua into cfg files to automate generation of strings ?