Eventually modding for this game will be, in the case of recolors/retextures, just a few clicks of the mouse . And once there are fully feature mod mangers you would see the ability to download/install mods at the click of a button.
Anyway here is the example on how to do it for now
To get started follow my tutorial here
http://discourse.stonehearth.net/t/question-how-do-you-add-objects-to-r188/
Follow the tutorial for the basic setup, skipping the part about adding your mod’s files, and going right to the section about manifest’s. After setting that up come back here.
Really, for you the process will be similar, except you get to copy most the files you need from SH’s files.
From there you’ll have to run through the files renaming occurrences of the old item’s name with the newer one.
For example you want to create another bed for SH.
- make a copy of the beds files from the stonehearth.smod, place them inside your mod. (Just follow my example mod to know where to add them)
- add the alias to your manifest
- go through the files renaming things, I’ll do a quick example here
Instead of comfy_bed
my item’s name is rocky_bed
I removed sections of the file that had no changes
The original file
{
"type" : "entity",
"mixins": "file(comfy_bed_ghost.json)",
"components": {
"stonehearth:entity_forms" : {
"iconic_form" : "file(comfy_bed_iconic.json)",
"ghost_form" : "file(comfy_bed_ghost.json)",
"placeable_on_ground" : true
},
...
The renamed file
{
"type" : "entity",
"mixins": "file(rocky_bed_ghost.json)",
"components": {
"stonehearth:entity_forms" : {
"iconic_form" : "file(rocky_bed_iconic.json)",
"ghost_form" : "file(rocky_bed_ghost.json)",
"placeable_on_ground" : true
},
...
Simple right…
Now you’d still have to in this case go through both… renaming things
- comfy_bed_iconic.json
- comfy_bed_ghost.json
Also don’t forget to actually change the names of the files themselves, not just the contents.
From here your item will be in the game, just won’t be craftable.
Next grab the recipe file for the item your are recoloring from inside the stonehearth.smod again. I think all recipes files exist within each jobs recipes folder, which can be found here .
stonehearth/jobs/$(job_name)/recipes
Place it into your mod… again see the example mod to see exactly where to add the file.
Now return back the tutorial I linked above and look for the section about adding recipes and making the item craftable.
If you pursue modding the items in now and run into trouble feel free to ask for help, things always seem overwhelming in the beginning but are relatively simple once you get the basics down.
Good luck