Where to start making decorative objects for the game

for the i18n should i be putting that location (stonehearth:jobs.carpenter.recipes.dining_table_recipe.recipe_name) or a diferent one? i dont know what i changed but now the game crashes when they make the table.

at first you need a new for you mod xD l18n is a bit difficult

at first comes the name for your mod:then the directories and at least the point

mymod:jobs.carpenter.recipes.table_recipe.description

in your localesfiles must it look so:

“jobs”: {
“carpenter”: {
“recipes”: {
“table”:{
“description”: “lma”
}
}
}
}

i think the best is to use sublime text for this because it has an line separation so you can see it exactly ^^ and like mentioned use jsonlint.com ^^ also it doesnt crash because of false l18n-links … it should only doesnt show the name ^^

yea i used sjonlint.com and got that sorted. trying to do the mymod:jobs.carpenter.recipes.table_recipe.description with the right details but it doesnt seem to want to work when looking at the recipe, and now i have no idea why I am getting the Assertion Failed:header.compression error DX.

https://drive.google.com/open?id=0BykeE2Q7nKK0QmNQS0UwLS1wUDQ

Okay i figured out why for some reason it didnt like the .qb file being right handed when saved so i changed it back. but now they wont place the item the ghost turns up on the ground when you try and place but they dont pick up the iconic table.

thiss is what i have for the inventory

“recipe_name”: “i18n(startermod_basic:jobs.carpenter.recipes.table_recipe.recipe_name)”,
“description”: “i18n(startermod_basic:jobs.carpenter.recipes.table_recipe.description)”,
“flavor”: “i18n(startermod_basic:obs.carpenter.recipes.table_recipe.flavor)”,
“portrait”: “/startermod_basic/entities/table/table.png”,
“workshop”: “stonehearth:carpenter:workbench”,

but yea not sure what is causing them not to place. maybe the regions are wrong?

EDIT: One thing i dont understand is by using the above locations how does the recipe know what description you want for the item? or is that going in a diferent file?

Edit: apparently the regions stoped it being placed, its placing now but the regions are still wrong. will prob work on that tomorrow. for the description flavor etc i just typed what i wanted it to say in the brackets is that fine? it looks perfect in game then and also turns up in the inventory.

yes thats a way but then the mod is not localized ^^ if you look in the locales folder you will find en.json - there you add all descriptions etc. in the schema like i have posted upside^^

Woo okay i have sorted out basically everything with the table lol. only issue now is that the table when crafted they dont put the iconic version in the stockpile. I dont think I am missing any code so I am not sure what the issue is.

the crafter make an iconic and this iconic will not placed in the stockpile? then it has an incorrect categorie ^^

the ghost needs this:

“stonehearth:material”: {
“tags”: “wood furniture crafted stockpile_furniture”

You’ve probably figured it out by now. But if not:
Stonehearth uses a nice thing called “alias” in manifest. It’s basically a list of shortcuts you can use later in your mod’s json files instead of full paths.

For example, if I add to the manifest the following line:

"iron_chest" : "file(entities/containers/chest_iron/chest_iron.json)",

then when I’ll need to put that path somewhere later on, I can simply use “mymod:iron_chest”.
The error about the alias means that you’ve either missed an alias listed in your manifest, or made a mistake in the path, so SH thinks it is an alias when it’s not supposed to be (and that’s why it’s not in the manifest).
Every engine error in SH is accompanied by a traceback (that text in the error window). It generally shows which file made the “wrong alias call”, pointing you where to start your search.

Okay this is officially driving me insane >.> i have gotten all bugs figured out and everything worked out but the locale folder and the description etc. I cannot for the life of me get it to pick up the wording in the en document. If someone has time can you please have a look though my mod and tell me where I am going wrong? I want to get this worked out before I start making my list of other items >.> its a long list.

https://drive.google.com/open?id=0BykeE2Q7nKK0Y014WEVFbFc5R1k

I have tried so many different things but just cant work it out. I have spent hours on this lol.

thank you in advance xx

“default_locale”: “en”,

is missing from your manifest :slight_smile:

Edit:

Just checked to confirm

{
"info": {
	"name": "aylasmod",
	"version": 3
},
"default_locale": "en",

"aliases": {

…

Fixes ‘most’ of your problems. Then you just need to fix

“description”: “i18n(aylasmod:jobs.carpenter.long_table.description)”, In your recipe file. Its missing the word recipe.

Lol you know whats funny. I had that in the manifest at one point but cant remember what happened to it XD thank you so much froggy your a life saver xxx was driving me crazy lol now i can make all my other ideas lol

oh btw, i am wanting to make the tombstone craftable by the mason, is this aloud or not permission (was going to re make it in qubicle along with other styles for those who want a decorative cemetery rather than killing off their poor little hearthlings lol)

It shouldn’t be an issue.

I did the same with Candledark

okies awesome thank you :smiley:

well apparently i have come across a new issue lol. I am trying to get another item in my mod but have come across this new error XD

New item trying to install:

develop-3023 (x64)(M) Uncaught TypeError: Cannot read property 'level_requirement' of undefined TypeError: Cannot read property 'level_requirement' of undefined at http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_2/place_floor_deco_tool.js:125:35 at Object.<anonymous> (http://radiant/radiant/js/radiant/object.js:295:19) at Function.jQuery.extend.each (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.js:665:23) at Object.radiant.each (http://radiant/radiant/js/radiant/object.js:293:15) at http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_2/place_floor_deco_tool.js:123:30 at Object.<anonymous> (http://radiant/radiant/js/radiant/object.js:295:19) at Function.jQuery.extend.each (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.js:665:23) at Object.radiant.each (http://radiant/radiant/js/radiant/object.js:293:15) at http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_2/place_floor_deco_tool.js:122:27 at null.<anonymous> (http://radiant/radiant/js/radiant/object.js:295:19)

no idea what is wrong but it doesnt come up when the mod isnt installed.

Just incase:
https://drive.google.com/open?id=0BykeE2Q7nKK0dTE4cVdtbjdvbEk

I have left the regions for the herbalist table at 0 so when i launch it i can edit it to get them

oooo ooo no i figured it out lol. I accidently had the recipe .json wrong >.> stupid mistake ignore me lol

According to the one rule, you’re allowed to use any of the released game assets in your modding, so I think using the tombstones should be no issue

Just wondering if anyone is able to tell me the default size the item .png files show up when you go to craft the item (the large image not the small icon version) if that makes sense.

its always 300x300 ^^

I did these measurements but then when the image appears in game it seems to be a dif size. I have a pixelated sign saying “ayla’smod” but it goes all blurry when in that preview and the file is that size.