# Palisade Wall and Gate

**URL:** <https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700>\
**Category:** Modding\
**Created:** [July 5, 2016, 5:37pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700 "2016-07-05T17:37:47Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![8BitCrab](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/8bitcrab/32/48512_2.png) [@8BitCrab](https://discourse.stonehearth.net/u/8BitCrab)\
**Post date:** [July 11, 2016, 4:32pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/21 "2016-07-11T16:32:48Z")

</div>

> [@Meaty\_Meat](#):
>
> why isn’t my Lvl 6 Knight equipping it?

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.

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 11, 2016, 5:03pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/22 "2016-07-11T17:03:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![xxdalexx](https://avatars.discourse-cdn.com/v4/letter/x/e9a140/32.png) [@xxdalexx](https://discourse.stonehearth.net/u/xxdalexx)\
**Post date:** [July 11, 2016, 5:07pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/23 "2016-07-11T17:07:27Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 11, 2016, 5:34pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/24 "2016-07-11T17:34:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 11, 2016, 8:37pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/25 "2016-07-11T20:37:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![xxdalexx](https://avatars.discourse-cdn.com/v4/letter/x/e9a140/32.png) [@xxdalexx](https://discourse.stonehearth.net/u/xxdalexx)\
**Post date:** [July 11, 2016, 8:39pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/26 "2016-07-11T20:39:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 12, 2016, 7:05pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/27 "2016-07-12T19:05:47Z")

</div>

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](https://discourse.stonehearth.net/uploads/short-url/7OayRsgbZ3zQdsCeu1sZauTExL2.zip) (7.3 KB)

---

<div class="post-metadata">

**Author:** ![xxdalexx](https://avatars.discourse-cdn.com/v4/letter/x/e9a140/32.png) [@xxdalexx](https://discourse.stonehearth.net/u/xxdalexx)\
**Post date:** [July 12, 2016, 7:16pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/28 "2016-07-12T19:16:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 12, 2016, 7:30pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/29 "2016-07-12T19:30:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![xxdalexx](https://avatars.discourse-cdn.com/v4/letter/x/e9a140/32.png) [@xxdalexx](https://discourse.stonehearth.net/u/xxdalexx)\
**Post date:** [July 12, 2016, 7:32pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/30 "2016-07-12T19:32:19Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 12, 2016, 7:35pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/31 "2016-07-12T19:35:23Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![xxdalexx](https://avatars.discourse-cdn.com/v4/letter/x/e9a140/32.png) [@xxdalexx](https://discourse.stonehearth.net/u/xxdalexx)\
**Post date:** [July 12, 2016, 7:37pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/32 "2016-07-12T19:37:38Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/4/5/45d135d20feaa78480a3ce64c722e56758f27f91.png)

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 15, 2016, 1:02pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/33 "2016-07-15T13:02:34Z")

</div>

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](https://discourse.stonehearth.net/uploads/short-url/50pJpoCDqHSWe7v58ZFc1IllJ82.zip) (44.3 KB)

---

<div class="post-metadata">

**Author:** ![8BitCrab](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/8bitcrab/32/48512_2.png) [@8BitCrab](https://discourse.stonehearth.net/u/8BitCrab)\
**Post date:** [July 15, 2016, 3:29pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/34 "2016-07-15T15:29:18Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![xxdalexx](https://avatars.discourse-cdn.com/v4/letter/x/e9a140/32.png) [@xxdalexx](https://discourse.stonehearth.net/u/xxdalexx)\
**Post date:** [July 15, 2016, 4:12pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/35 "2016-07-15T16:12:25Z")

</div>

(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

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/0/a/0a1cd257675c758cf49d8097d04447ac3bf8cf75.png)  
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.`

![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/d/f/df7e2f574f18ab1bf85ec406adb1ea02fe974605.png)  
You misspelled recipes for the folder name.

Next, your recipes.json

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/9/7/97d017bb6b6719a11c5515450730f9256139d880.png)

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:  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/2/d/2da7dba93a988a8477c019fa78543d6e756450b5.png)

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:  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/9/9/999eeddcc5365183efebd78cbdb512eee68b4537.png) 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.  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/b/3/b368b05d2672a5f6375be94b8a7fab856ed91db7.png)

Take a look at the chrome developer tools:

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/f/e/fe0eae618cda2422a642e1dd9be47eadce93f7cd.png)  
or mainly the file paths(forget about [http://radiant/](http://radiant/)):  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/7/a/7ae2014bd97a74921d8b9b961174644ea3629154.png)  
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:  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/e/d/ed99f6411e7c58b310a62d3b71b42a6a7b3b54da.png)  
So we go through and fix all of those to ingot.  
And presto!  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/2/8/288c490831b09693e036c5fac7d0324c2ba80a69.png)

With the piles themselves, I only looked at one, but your mob is a little off.  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/7/b/7b83fd5dc0905c34b2e46cf5a882f6618ee6aee5.png)  
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.  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/d/c/dc6387e67a36d1b894c250efa6288ee74c551592.png)

**Happy Modding!**

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 18, 2016, 6:47pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/36 "2016-07-18T18:47:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 18, 2016, 6:51pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/37 "2016-07-18T18:51:31Z")

</div>

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](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](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](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](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](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](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](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](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](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](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 😁

[mythril\_armor.zip](https://discourse.stonehearth.net/uploads/short-url/2iVtSmstQBNrIUFkq4r1slnRFrb.zip) (44.9 KB)

---

<div class="post-metadata">

**Author:** ![xxdalexx](https://avatars.discourse-cdn.com/v4/letter/x/e9a140/32.png) [@xxdalexx](https://discourse.stonehearth.net/u/xxdalexx)\
**Post date:** [July 18, 2016, 7:49pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/38 "2016-07-18T19:49:27Z")

</div>

No problem.

You’re missing a quotation mark in your description.  
mythril\_shield\_recipe.json  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/c/6/c6b7083c671526d762d7c4ae4258cd27850b3963.png)

And a closing curly bracket `}`  
mythril\_helmet\_recipe.json  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/e/5/e5b9895b1fd618e9b5befa5c09e5f44c660a7971.png)

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 18, 2016, 9:05pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/39 "2016-07-18T21:05:09Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Meaty\_Meat](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@Meaty\_Meat](https://discourse.stonehearth.net/u/Meaty_Meat)\
**Post date:** [July 20, 2016, 2:43pm UTC](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700/40 "2016-07-20T14:43:38Z")

</div>

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?

[Previous page](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700.md?page=1)

[Next page](https://discourse.stonehearth.net/t/palisade-wall-and-gate/23700.md?page=3)
