Hey guys, I finally started getting into modding and ran into a minor issue where the name and description of the object is not displaying right
and here is my code
sample_object.json
{
“type” : “entity”,
“components” : {
“//” : “the composition of the entity also no comments allowed in model_variants because it will try to iterate the comment”,
“model_variants” : {
“default” : {
“///” : “but comments are allowed in here”,
“//” : “this will be the default array of models”,
“models” : [
“file(sample_object.qb)”
]
}
}
},
“entity_data”: {
“stonehearth:catalog”: {
“//” : “name and description are located in …/locales/en.json”,
“///” : “format i18n\(modname:folder.objectname.property)”,
“description” : “i18n(test_mod:entities.sample_object.description)”,
“display_name”: “i18n(test_mod:entities.sample_object.display_name)”,
“icon” : “file(sample_object.png)”
},
“stonehearth:appeal”: {
“appeal”: 10
}
}
}
manifest.json
{
“info” : {
“//” : “information about the test_mod”,
“name” : “test_mod”,
“namespace”: “test_mod”,
“version” : 3,
},
“aliases” : {
“//” : “name of object and file path from the same directory as the manifest”,
“sample_object” : “file(entities/sample_object/sample_object.json)”
},
“mixinto” : {
“//” : “how your mod interacts with the main stonehearth mod (files that you create that are merged with the existing files in the stonehearth mod”,
}
}
en.json
{
“entities”: {
“sample_object”: {
“description”: “Sample description.”,
“display_name”: “Sample Object”
}
}
}
I am extremely new to this stuff so bare with me please. I am following the reference mod video from awhile back and had to make some slight changes, but it still appears I am missing something. could someone point it out.