Hello again, i`ve been away for…ok 2 years now
but i got back to stonehearth and the modding of course
so i began to create a new mod…beginning with content as always
so i created some qb`s for my needed mining resources mixintoed them into the mining loot table wrote al the json files and my manifest…
ok the first problem is:
i cant get the i18n system to work i created my own en.json...and built that like i
ve read in assassin mod and scholar mod.
i inserted the “default_locale”: “en” into my manifest
checked everything with jsonlint and jofferson but the display.names and descriptions are not showing up ingame
first try:
“stonehearth:catalog”: {
“display_name”: “i18n(chabonit_mod:entities.resources.raw_amber.display_name)”,
“description”: “i18n(chabonit_mod:entities.resources.raw_amber.description)”,
“icon”: “file(raw_amber.png)”,
“is_item”: true,
“category”: “resources”,
“material_tags”: “stockpile_raw_amber raw_amber resource”
}
then i just entered the display_name and description direct into the .json
"chabonit_mod:catalog": {
“display_name”: “Test Text”,
“description”: “It works”,
“icon”: “file(raw_obsidian.png)”,
“is_item”: true,
“category”: “resources”,
“material_tags”: “stockpile_ore raw_obsidian ore resource”
But nothing shows up i can select the items ingame but no text.
The en.json parts look like this:
“entities” {
“resources”: {
“raw_amber”: {
“display_name”: “Raw amber”,
“description”: “A undiscovered spark.”
it feels like im missing something very basic but can
t figure it out.
Any hint would be nice.