Template Tumbnails

I’m sure I’ve missed it, but I couldn’t find it in a search.

Is there currently a way to get a tumbnail (in game) of new building templates? I only see the blank grass when I mouse over them and I would like to see what I’m building if I have similar template names. Thanks!

They don’t have a system in for taking screenshots of new templates yet unfortunately, so you have to hook it all up manually.

If you are familiar with some basic image and text editing programs, it’s not too hard to do.
1/ Take a screenshot of your finished building in game. It’s a good idea to build it somewhere in the open so you can get a clear shot.
2/ Edit the image so that it’s 800x800 pixels with the building filling up most of the image.
3/ Open up your stonehearth folder and go to saved_objects/stonehearth/building_templates. In it you will find a number of .json files. The one you are interested in will have a similar name to the template you saved. Copy your image into this folder and give it the same name as the .json template file.
4/ .json files are the same as text files, so you can open them up in any text editor. Open your template up and look for the “header” tag. Inside the {} you’ll find some more tags like that. The first one is usually a “name” tag. Insert a new line after the name tag that looks like this:

"preview_image": "/r/saved_objects/stonehearth/building_templates/your_image_here.png",
5 Likes

Thanks so much for the help :smiley:.