New to stonehearth modding

jsonlint says no issues

On all the jsons?
This is the current manifest I have for my mod:

my mod only has one item atm im just trying to get it to show up in game before i go any further

Are you putting it in the mod folder as a .smod or just a folder?

Your folder name is not the same as the name in the manifest? Maybe that is the issue.

just a folder atm ill be making it an smod when its in the ready for public stage jsonlint says theres a problem on like 23 of
{
“type”: “entity”,
“components”: {
“model_variants”: {
“default”: {
“models”: [
“file(testbelt.qb)”
]
}
},
“entity_data”: {
“stonehearth:net_worth”: {
“value_in_gold”: 1000,
“rarity”: “Rare”,
“shop_info”: {
“buyable”: false,
“sellable”: true,
“shopkeeper_level”: 1,
“shopkeeper_type”: “caravan”
}
}
}
}

For every { you need one ending }

You are missing one.

so i have one too many closing or

The “component”:{ is missing its closing }

ah i see it now
jsonlint was unclear when i do most of my code i like to have my closers on there own lines it makes it easier for me to read 10 months down the road when i edit lol

ok so whats wrong now it still says invalid json

Like I said above:

And also:

ive done code before bruno i know checking the file system case shouldent be a problem cause the game can see the mod but the game says the manifest is invalid and jsonlint says there both fine now heres a screenshot of both json files and the filesystem

the second one still needs another } at the end.

The manifest says “verson”, instead of “version”.

It has one extra } in the entity_data and one less in the components

:hugging: ty ty the missing i was ther problem the second manifest was just fine


i know it has no code but i need to learn scaling of iconic objects (for stockpiling ) and real placed size

1 Like

i would like some thoughts on the color pallet im using

and now im having an issue i only changed colors and reexported to the same qb file and now the game cant even stamp them in but does see them

I suggest checking if its centered properly. Also magicavoxel has a much better colour pallet system in my opinion