I decided to just change it back to "terrain_colors"
. In any event thank you once again for your help!
Hopefully you donāt run into any more issues!
Sorry for continuing this but itās still showing the hover name as what I posted before even after changing the name back to "terrain_colors"
as well as after changing "terrain_colors"
to "wood_colors"
.
Iām no expert modder, so if there is something else thatās wrong that I canāt seem to notice, I apologize.
This is the text in my manifest.json file.
{
āinfoā : {
ānameā : āluffly_colorsā,
āversionā : 3
},
ādefault_localeā : āenā,
āmixintosā : {
āstonehearth/data/build/building_brushes.jsonā : āfile(data/build/building_brushes.json)ā
}
}
And then an example of one of the building_brush names.
"#faf0be" : {
ādisplay_nameā: āi18n(luffly_colors:data.build.building_brushes.colors.#faf0be)ā,
āordinalā : 2001
},
Make sure the names match exactly?
Here are mine
[details=Summary]{ "info" : { "name" : "wood_colors", "version" : 3 }, "default_locale" : "en", "mixintos" : { "stonehearth/data/build/building_brushes.json" : "file(data/build/building_brushes.json)" } }
[/details]
And an example of an entry. Is there a reason your ordinal is 20001?
[details=Summary]{ "always_available" : { "wood resource" : { "colors": { "#3D3834" : { "display_name": "i18n(wood_colors:data.build.building_brushes.colors.#3D3834)", "ordinal" : 10001
[/details]
The ordinal is just where the color swatch will appear in the building window.
Is the color hex number matching in both building_brush.json and en.json file?
For example in the en.json file
"#9966cc": āAmethyst (Luffly)ā
In the building_brush.json
},
"#9966cc" : {
ādisplay_nameā: āi18n(luffly_colors:data.build.building_brushes.colors.#9966cc)ā,
āordinalā : 2009
Make sure itās like that for all colors.
So can I have a blank space between the default colors and my custom colors by changing the ordinal? Thatād be pretty nice.
Back on the topic, though, all of the hex codes match in the files so itās not that.
I donāt think you can have a blank space. I think itās just so the colors can be grouped together.
Iām not too sure what could be wrong. Maybe you accidentally removed a comma somewhere or a { / } or something else.
You can try to copy and paste the .json files text onto this site, and see if thereās an error. http://jsonlint.com/
That link helped. It was just a silly mistake on my part. Forgot to remove a comma at the last entry in the locale file. Thank you for your patience and for all of your help!
All that trouble for a silly comma. No problem! Should have linked the site earlier!