Palisade Wall and Gate

what’s the ilevel of your weapon and the weapon your knight currently has? if the knight currently has a weapon with higher ilevel they wont equip your weapon.

I’ll double check, but I’m pretty sure it’s lvl 6, and the knights current
weapon is 5.

The ilevel doesn’t correlate to the the knights level, it’s more of a weapon priority rating; The long sword has something like 18 or 20 if I remember right. Your heathling will equip the highest available ilevel available that is also within the required job level.

1 Like

Thanks, I’ll take a look at it when I get home.

I figure if I get the bugs worked on this, I’ll be good to go on most
anything.

It was indeed the ilevel. Does the ilevel also determine the item’s order in the recipe row?

No, the recipes are ordered by the job level it takes to unlock them, and then alphabetically within that.

1 Like

Excellent! Good to know.

I hope you don’t mind me picking your brain again? I figured I’d try my hand at creating a stockpile for ingots, much like we have for wood and stone. But…again i can’t seem to get it to work. I basically took the Stone Pile files and edited them to get this. Any help would be great.

bronze_pile_mod.zip (7.3 KB)

Need to change version from 1 to 2 in the manifest, and you references don’t match, your recipe is calling for containers:bronze_pile, but it’s only bronze_pile in your manifest.

What does the version number mean? I thought it was just something to keep track of the version of the mod I am on.

It’s the stonehearth modding api version. The game will not load any mods that were created for an earlier version of the api then what the current one is, which is 2.

Awesome. Thanks! And I must be getting better because with those changes it looks like it works.

Now to create them for all of the ingots!

2 Likes

Hey, I feel silly asking you for help
constantly, but I am new to the whole coding thing. I successfully made
piles for all of the ingots and wanted to put them all in one mod.
But, as is usually the case with my mods, it isn’t working. Would you
mind taking a look at it and letting me know what needs to change?

I really appreciate it!

ingot_pile_mod.zip (44.3 KB)

hey there @Meaty_Meat,

i just tested with that download you provided, and it loaded up fine, i was able to craft, place, and harvest the ingot piles… so i’m not quite sure what you think is broken this time?

(Here is what was wrong, posting for reference to others.)

Don’t worry about it, you have to do so much jumping around files to create new things for this game, it’s easy to screw up small things. I reload my game so much fixing my small mistakes, it’s not even funny lol.

First up, your JSON structure is missing commas


This is what I meant when I said if you have an IDE that does syntax checking for you, you can catch it right away.

Next, the error thrown is:
could not find resource for /ingot_pile_mod/recipes/recipes.json while processing mixintos for ingot_pile_mod. ignoring.


You misspelled recipes for the folder name.

Next, your recipes.json

You have the closing bracket for file() on the outside of the closing quotation mark. Trust me, this is so counter intuitive if you have any programming experience, I would probably do this all the time if it wasn’t for my IDE. I also marked the missing commas my IDE won’t mark until the other error are fixed. Should look like this after:

Now, this error is produced
error looking for manifest in tin_pile_mod: invalid file path 'tin_pile_mod/manifest.json'. And many more like it. Basically what this error means is that you either forgot to put your mod name in the reference, or you have a typo in the mod name reference. In your case it’s a typo:
It should be “ingot_pile_mod”
You did this in all of your recipes.

Now were getting there
We have the recipes in the game now, but the pictures are broke.

Take a look at the chrome developer tools:


or mainly the file paths(forget about http://radiant/):

We see that it was the same naming mistake that was made with the recipe reference, and because this is on the blacksmiths crafters page, the typos are in the recipes here:

So we go through and fix all of those to ingot.
And presto!

With the piles themselves, I only looked at one, but your mob is a little off.

I only looked at the silver pile, but adjusting the model orgin x coordinate to -2 fixes it. You should look through all of them, but my guess is that everything was copy/paste, so it will probably them all.

Happy Modding!

Thanks xxdalexx. This was really helpful. I also got the positioning all figured out.

Ok, so I have another problem. I tried to add some armor to the game, but when I placed it in the mod folder and started the game, I got this error message:

release-584 (x64)[M]Uncaught TypeError: Cannot read property ‘level_requirement’ of undefinedTypeError: 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. (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. (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. (http://radiant/radiant/js/radiant/object.js:295:19)

Now…I have no clue why this is showing up. Anyone care to take a look and help me out? Free mod :grin:

mythril_armor.zip (44.9 KB)

No problem.

You’re missing a quotation mark in your description.
mythril_shield_recipe.json

And a closing curly bracket }
mythril_helmet_recipe.json

Awesome. I actually caught the missing bracket right after I posted, but
didn’t catch the missing quotation mark.

Now I just have to rotate the helmet so it is actually on the hearthling’s
head, and not staring at him…

1 Like

Ok…what the heck is going on! I copied the .qb files directly from the Stonehearth files and when i place them in the game, they’re backwards…or in the case of my armor…worse. I think it is backwards and maybe upside down? Anybody know what is going on?