Drotten
January 24, 2015, 7:41pm
62
@Azhrak Nope don’t say anything useful, thanks for posting anyway. The log gets overwritten each time you start SH, so there’s no need to delete it.
@honestabelink Ah I didn’t know that, I hope it’ll be changed later on. Otherwise it’s gonna be painful that you have to start up a new game just cause you added one new recipe.
Edit: hmm looking at your log again, there are stuff missing, like when you’re generating a new world and such (it should be a lot bigger). Anyway the interesting part is at the very end of the log file, there should be some output of memory being used and such too.
1 Like
Azhrak
January 24, 2015, 7:46pm
63
I’ll make a new world and see if there is more, It could just be a bug where it didn’t write the log correctly.
I see you are running r196, perhaps try updating to the current release r2081.
This is what I am running your mod on and it works just fine… again shooting in the dark
Paste right over your mason_recipes.json
{
"craftable_recipes" : {
"decoration" : {
"ordinal" : 7,
"name" : "Armored Stone Statue",
"recipes" : {
"stone_armor_statue" : {
"recipe" : "file(/recipes/stone_armor_statue_recipe.json)"
}
}
}
}
}
Looks like you were missing the beginning {
2 Likes
Azhrak
January 24, 2015, 8:04pm
67
Moment of truth…
I found a bug. Its not showing the iconic version in the stockpile… So I have a really big statue in the stockpile.
Edit: Fixed it.
3 Likes
stone_armor_statue_iconic.json
"file(stone_armor_statue.qb)"
to
"file(stone_armor_statue_iconic.qb)"
That should do it, @Relyss pointed this out before
2 Likes
Azhrak
January 24, 2015, 8:17pm
69
Yeah, I did fix it, I completely forgot about it.
Now I figured out the bugs, time to add more to my mod.
Thanks everybody who helped, Public download link is here: Azhraks Extended Crafting Mod
3 Likes
Azhrak
January 31, 2015, 3:19pm
70
Okay: new problem
I want to add the carpenter to my crafting classes, I have tried to add it myself, but json validator is saying its all wrong.
I don’t understand validators.
"mixintos" : {
"/stonehearth/jobs/mason/recipes/recipes.json" : [
"file(mixins/mason_recipes/mason_recipes.json)" ]
},
{
"/stonehearth/jobs/carpenter/recipes/recipes.json" : [
"file(mixins/carpenter_recipes/carpenter_recipes.json)" ]
}
Relyss
January 31, 2015, 3:34pm
71
Try with
"mixintos" : {
"/stonehearth/jobs/mason/recipes/recipes.json" : “file(mixins/mason_recipes/mason_recipes.json)” ,
"/stonehearth/jobs/carpenter/recipes/recipes.json" : “file(mixins/carpenter_recipes/carpenter_recipes.json)”
}
1 Like
Azhrak
January 31, 2015, 4:16pm
72
That isn’t a valid json? I checked it using json lint?
Relyss
January 31, 2015, 4:22pm
73
When you validate it in jsonlint, paste the entire json file (in this case, the manifest).
Anyway, your mixintos should be all inside the
"mixintos" : {
}
section, don’t make
"mixintos" : {
-one mixinto-
},
{
-another mixinto-
}
because it won’t work.
1 Like
Froggy
January 31, 2015, 5:13pm
74
Relyss is right on both points.
If you insist on checking specific sections you will need a { at the start, and an } at the end. i.e.
{
"mixintos" : {
"/stonehearth/jobs/mason/recipes/recipes.json" : "file(mixins/mason_recipes/mason_recipes.json)" ,
"/stonehearth/jobs/carpenter/recipes/recipes.json" : "file(mixins/carpenter_recipes/carpenter_recipes.json)"
}
}
Which you will find is valid
1 Like
Azhrak
January 31, 2015, 5:27pm
75
Okay, I fixed that
How do I make stuff placeable on walls? I have the origin set up, and I also have
"placeable_on_walls" : true property in my item_name.json file
am I missing anything?
Froggy
January 31, 2015, 5:31pm
76
That’s the only thing you need to add.
Azhrak
January 31, 2015, 5:32pm
77
Does the region_collision shape matter at all for the placeable on wall models?
Froggy
January 31, 2015, 5:33pm
78
Personally, I wouldn’t bother with one as it’s wall mounted
Azhrak
January 31, 2015, 5:40pm
79
I can’t place it? I can create the model and stuff, I just can’t place it on walls.
Froggy
January 31, 2015, 5:47pm
80
Does your item_name.json look like this?
{
"type" : "entity",
"mixins" : "file(item_name_ghost.json)",
"components": {
"stonehearth:entity_forms" : {
"iconic_form" : "file(item_name_iconic.json)",
"ghost_form" : "file(item_name_ghost.json)",
"placeable_on_walls" : true
}
}
}
Because that’s all you need.
Azhrak
January 31, 2015, 5:56pm
81
Indeedy I do.
Still doesn’t work.
Download for mod if you want to take a look
I may have found the problem. I set the scale to 0 thinking it would just stay the same as voxel model.
Testing to see if thats the case.
edit: That wasn’t the problem, I still can’t place the item on the walls.