It is rather easy to add a custom item into the Alpha which will be craftable by the carpenter (as it is the only profession in the game at the moment).
Get prepared:
- Unzip the “stonehearth.smod”-file
- Create a .png-file which represents the look of your item in the crafting UI
- Create a .qb-file which represents your item
- Create a .qb-file which represents an itemized version of your item
Creating the .qb-files will require a Home-, Master- or Stonehearth-Edition of QC.
Relevant References (where to change / add something):
- Stonehearth >> Mods >> stonehearth >> entities >> furniture (
)
- Stonehearth >> Mods >> stonehearth >> entities >> professions >> carpenter >> recipes (
)
- Stonehearth >> Mods >> stonehearth (
)
- Just take an existing folder (item) and use it as a template. You will need to add the .png and the two .qb-files in this folder. The files named “proxy” are including information for the iconized version of your item. Be sure to replace all the references in the .json-files with your file- and folder-names. In the .json-files you can define how the item will be called once it is placed in the world and what will be the description.
- Create a recipe-file with your item name (again use an existing one as a template). Be sure to adjust the references (file- and folder-names) in the recipe-file. Here you can define the text which will be shown in the Crafting UI, the amount of resources required to craft your item and the duration it will take. You also need to add the name of this file into the “recipes.json”-file which you will find in this folder.
- Open the file called “manifest.json” and add the following two lines (after you have replaced the placeholder with the name / folder of your item):
“placeholder” : “file(entities/furniture/placeholder)”,
“placeholder_proxy” : “file(entities/furniture/placeholder/placeholder_proxy.json)”,
Once done, just zip the stonehearth-folder again and rename it to stonehearth.smod. You should be ready to go now.
A detailed tutorial (15 Min.) can be watched here: