hey i need some help ove been trying to make a simple couch in to the game but failing hard time.
i know its must be a easy thing that i am missing but all iam doing is trail and error with no succes
if someone can point me in the direnction to learn this stuff the good way please because i dont know waht the i118n does and how it does its thing
my file structure is currently:
| ---- hearthsfurniture
| ---- entites
| ---- furniture
| ---- couch
| ---- couch.json
| ---- couch_ghost.json
| ---- couch.qb
| ---- couch_iconc.json
| ---- couch_iconc.qb
| ---- couch.png
| ---- jobs
| ---- carpenter
| ---- recipes
| ---- recipes.json
| ---- custom
| ---- couch_recipe.json
| ---- locales
| ---- en.json
couch_ghost,json:
{
"mixins": "stonehearth:mixins:placed_object",
"components": {
"model_variants": {
"default": {
"models": [
"file(couch.qb)"
]
}
},
"mob": {
"model_origin": { "x": 0.5, "y": 0, "z": 0.5 },
"region_origin": { "x": 0.5, "y": 0, "z": 0.5 }
}
},
"entity_data": {
"stonehearth:catalog": {
"display_name": "i18n(hearthsfurniture:entities.furniture.couch.couch_ghost.display_name)",
"description": "i18n(hearthsfurniture:entities.furniture.couch.couch_ghost.description)",
"icon": "file(couch.png)",
"category": "furniture",
"material_tags": [
"wood",
"furniture",
"crafted",
"chair",
"stockpile_furniture"
]
}
}
}
in the shed program its yelling at the bottom that the
localization is not in en.json (in couch_ghost.json)
at line 18/19 in notepad++
and
errors where found in manifest.json
en.json
{
"entities": {
"couch": {
"couch_ghost": {
"display_name": "Comfy Couch",
"description": "Indoor seating for moments of relaxation."
}
},
"jobs": {
"carpenter": {
"recipes": {
"couch_recipe": {
"recipe_name": " Comfy couch",
"description": "Indoor seating for moments of relaxation."
}
}
}
}
}
}
{
"info": {
"name": "hearthsfurniture",
"namespace": "hearthsfurniture",
"version": 3
},
"default_locale": "en",
"aliases": {
"furniture:couch": "file(entities/furniture/couch/couch.json)"
},
"mixintos": {
"stonehearth/jobs/carpenter/recipes/recipes.json": [
"file(jobs/carpenter/recipes/recipes.json)"
]
},
"overrides": {
},
"components": {
},
"controllers": {
}
}
Greetigs GamingOnInsulin aka Jordy Weerwag
Download file :
Hearths furniture mod (Github)
keep in mind if my english is bad its becuase iam a dutch person and not very good developed in english LOL
fixed 1 error at the time ! this error is fxed.
check reply for next error (1-7-2023)