# \[MOD\] Farm-able Wood Plant For A5-r1633+!

**URL:** <https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059>\
**Category:** Modding\
**Created:** [October 9, 2014, 8:42am UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059 "2014-10-09T08:42:34Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![savilianan](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@savilianan](https://discourse.stonehearth.net/u/savilianan)\
**Post date:** [October 9, 2014, 8:42am UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/1 "2014-10-09T08:42:34Z")

</div>

Since we don’t have a farm able wood resorce, I decide to make one, out of silkweed and berrybush files.

This is the final product:  
The Farm-able Bush-plant Mod!

[https://mega.co.nz/#!hcd20azI!58SadjdCywnO2GD6QldubliTHL5rEwNreXWWr1z6430](https://mega.co.nz/#!hcd20azI!58SadjdCywnO2GD6QldubliTHL5rEwNreXWWr1z6430)

Put bush.smod it in Mods, but de-compress it back into folder bush, along with stonehearth.smod, sorry for the inconvenience. Will look for a way to stop the need of this as soon as I can.

Feel free to use it or repack it into other mods.

Update: Change file type into smod and should be support other version now.  
Update:Fix a bug that could cause the big bad fatal error screen came out.

Thanks Miturion and Avairian for the help in creating this mod.

---

<div class="post-metadata">

**Author:** ![Avairian](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/avairian/32/47084_2.png) [@Avairian](https://discourse.stonehearth.net/u/Avairian)\
**Post date:** [October 9, 2014, 1:15pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/2 "2014-10-09T13:15:19Z")

</div>

To add a button into the farm plot you need to mixinto _stonehearth\services\server\farming\data\starting\_crops.json_  
to add your crop data to the acendency starting crops.

---

<div class="post-metadata">

**Author:** ![savilianan](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@savilianan](https://discourse.stonehearth.net/u/savilianan)\
**Post date:** [October 9, 2014, 3:18pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/3 "2014-10-09T15:18:43Z")

</div>

Thanks, it works fine, I’ll find a way to pack it as a .json file and put it up here.

---

<div class="post-metadata">

**Author:** ![Miturion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/miturion/32/43498_2.png) [@Miturion](https://discourse.stonehearth.net/u/Miturion)\
**Post date:** [October 9, 2014, 5:52pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/4 "2014-10-09T17:52:29Z")

</div>

I took a look into it.  
It might work but this is not really the preferred way you want to add a mod. Directly into the core files overwriting stuff. It will break with every update. And overwrites any updates Radiant makes into these files.

You might want to take a look into this

> [@Mod: Resourcecraft v0.2 (craftable resource nodes)](http://discourse.stonehearth.net/t/mod-resourcecraft-v0-2-craftable-resource-nodes/6331):
>
> This mod allows players to craft an harvestable item which requires 1 wood in production but provides 10 wood / cloth via harvesting. At the moment resources are endless and after a while all trees, etc. close to the own settlement are harvested. As a result the workers have to walk to more distant areas. This mod allows to provide some kind of an endless resource stream to the own city… at least for wood and cloth in v0.2. [image][image] How to install? Simply download the .smod-file and ad…

Or this:  
[http://stonehearth.net/2014/01/14/desktop-tuesday-a-peek-inside-the-modding-api/](http://stonehearth.net/2014/01/14/desktop-tuesday-a-peek-inside-the-modding-api/)

---

<div class="post-metadata">

**Author:** ![savilianan](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@savilianan](https://discourse.stonehearth.net/u/savilianan)\
**Post date:** [October 9, 2014, 6:10pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/5 "2014-10-09T18:10:32Z")

</div>

I’ll see what I can understand in these…Hopefully they won’t too hard to be understand for…

---

<div class="post-metadata">

**Author:** ![savilianan](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@savilianan](https://discourse.stonehearth.net/u/savilianan)\
**Post date:** [October 11, 2014, 5:11am UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/6 "2014-10-11T05:11:04Z")

</div>

I couldn’t make it go into the game again, can you help me take a look where I’ve done wrong?  
[https://mega.co.nz/#!xU8VVKRD!SyYYC0GnZFYQ0XyjmQgaOFQtfTtAdejipiVMmFwSPgM](https://mega.co.nz/#!xU8VVKRD!SyYYC0GnZFYQ0XyjmQgaOFQtfTtAdejipiVMmFwSPgM)

---

<div class="post-metadata">

**Author:** ![Miturion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/miturion/32/43498_2.png) [@Miturion](https://discourse.stonehearth.net/u/Miturion)\
**Post date:** [October 11, 2014, 10:42am UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/7 "2014-10-11T10:42:37Z")

</div>

As a first word I wanna say don’t get discouraged by the amount of errors. All modders, including me, made these in the past and occasionally still make them. I guess it is part of the learning process 😊  
But if you understand the errors you made, you know the json modding for a large part.

I found a few things:

![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/4/9/49883f4ac87f5753f8511eb350aeecfc6876ec60.png)

In your manifest you miss comma’s. behind bush\_bundle, oak log.json and initial\_crops.json  
I dont know what program you used to write the manifest, but maybe use a program like Sublime text 2.  
And/or [http://jsonlint.com/](http://jsonlint.com/) to check the code.

You have spelling errors in it. corp is not the same as crop. easily to mistake but unreadable by the game.

Capital letters matter. Bush\_crop is not the same as bush\_crop.

bush\_crop/ at the end does search for a bush\_crop/bush\_crop.json. Since you named the file Bush\_crop.json it cant find it.

Also I would advise to not do duplicates in the aliases.

**mixinto:**

Since you use a mixinto you need to refer to the exact stonehearth file:

**"stonehearth** /services/server/farming/data/initial\_crops.json": [“file(mixintos/initial\_crops.json)”]

**In initial\_crops.json:**

```
 {
         "crop_type" : "stonehearth:bush_crop",
         "quantity" : 5
      }      
   ], 

```

This does not work. stonehearth:bush\_crop searches for a bush\_crop alias in the stonehearth manifest. Not in your mod manifest. Since there is no bush\_crop alias in the stonehearth manifest it does not work.  
You need to replace stonehearth with your mod file name:

```
 {
         "crop_type" : "bush:bush_crop",
         "quantity" : 5
      }      
   ], 

```

* * *

and Voila 😄

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/2X/1/1f7a6ea466512fa5787ad1daccaf009342c79787.jpg)  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/2X/b/b99bc5974f16315259c877da5060f774b635467b.jpg)

---

<div class="post-metadata">

**Author:** ![Teleros](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/teleros/32/63349_2.png) [@Teleros](https://discourse.stonehearth.net/u/Teleros)\
**Post date:** [October 11, 2014, 12:05pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/8 "2014-10-11T12:05:23Z")

</div>

> [@Miturion](#):
>
> I dont know what program you used to write the manifest, but maybe use a program like Sublime text 2.

This is the one that you see being used in all the Radiant streams etc, just FYI. It’s shareware though - you to pay $70 to continue using it.

[SciTE](http://www.scintilla.org/SciTE.html) & [Notepad++](http://notepad-plus-plus.org/) are another couple of nice text editors you can use too 🙂 . These two are free to use, which is a nice advantage over Sublime 3 😉 .

---

<div class="post-metadata">

**Author:** ![Miturion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/miturion/32/43498_2.png) [@Miturion](https://discourse.stonehearth.net/u/Miturion)\
**Post date:** [October 11, 2014, 1:13pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/9 "2014-10-11T13:13:56Z")

</div>

> [@Teleros](#):
>
> This is the one that you see being used in all the Radiant streams etc, just FYI. It’s shareware though - you to pay $70 to continue using it.

Not true. you can use it free indefinitely. Only about every 50-100 saves you get some pop-up to buy it. Only a very minor annoyance.

---

<div class="post-metadata">

**Author:** ![Teleros](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/teleros/32/63349_2.png) [@Teleros](https://discourse.stonehearth.net/u/Teleros)\
**Post date:** [October 11, 2014, 1:25pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/10 "2014-10-11T13:25:59Z")

</div>

> [@Miturion](#):
>
> Not true. you can use it free indefinitely. Only about every 50-100 saves you get some pop-up to buy it. Only a very minor annoyance.

Huh, not what their website indicated. Not sure whether that’s deliberate to make more money or just bad advertising.

---

<div class="post-metadata">

**Author:** ![Miturion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/miturion/32/43498_2.png) [@Miturion](https://discourse.stonehearth.net/u/Miturion)\
**Post date:** [October 11, 2014, 1:42pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/11 "2014-10-11T13:42:16Z")

</div>

> [@Teleros](#):
>
> Huh, not what their website indicated. Not sure whether that’s deliberate to make more money or just bad advertising.

I dont know about 3. But for 2 it says it is free.

“Sublime Text 2 may be downloaded and evaluated for free, however a license must be purchased for continued use. There is currently no enforced time limit for the evaluation.”

---

<div class="post-metadata">

**Author:** ![Kodi4444](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/kodi4444/32/68781_2.png) [@Kodi4444](https://discourse.stonehearth.net/u/Kodi4444)\
**Post date:** [June 23, 2017, 11:02pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/12 "2017-06-23T23:02:47Z")

</div>

It says  
Invalid Manifest  
please fix this I wanted to use this mod.

---

<div class="post-metadata">

**Author:** ![MelOzone](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/melozone/32/50318_2.png) [@MelOzone](https://discourse.stonehearth.net/u/MelOzone)\
**Post date:** [June 23, 2017, 11:19pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/13 "2017-06-23T23:19:55Z")

</div>

In the current stable version this mod is not really needed. High-level farmers can cultivate trees (a lvl 5 farmer is required to plant saplings).

---

<div class="post-metadata">

**Author:** ![Kodi4444](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/kodi4444/32/68781_2.png) [@Kodi4444](https://discourse.stonehearth.net/u/Kodi4444)\
**Post date:** [June 23, 2017, 11:21pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/14 "2017-06-23T23:21:53Z")

</div>

I was under the impression that this mod added farmable wood, not just saplings that you have to plant then harvest manually

---

<div class="post-metadata">

**Author:** ![Kodi4444](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/kodi4444/32/68781_2.png) [@Kodi4444](https://discourse.stonehearth.net/u/Kodi4444)\
**Post date:** [June 23, 2017, 11:22pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/15 "2017-06-23T23:22:49Z")

</div>

because I would really like a steady supply of wood

---

<div class="post-metadata">

**Author:** ![MelOzone](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/melozone/32/50318_2.png) [@MelOzone](https://discourse.stonehearth.net/u/MelOzone)\
**Post date:** [June 23, 2017, 11:23pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/16 "2017-06-23T23:23:17Z")

</div>

That’s right. But I doubt the author can help you - he hasn’t posted since 2014.  
There are several ways to obtain wood in the game, including chopping trees, buying from traders (including traders summoned to trader stalls) and stealing borrowing it from goblin camps.

---

<div class="post-metadata">

**Author:** ![Shiggsy](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/shiggsy/32/55119_2.png) [@Shiggsy](https://discourse.stonehearth.net/u/Shiggsy)\
**Post date:** [June 24, 2017, 8:48pm UTC](https://discourse.stonehearth.net/t/mod-farm-able-wood-plant-for-a5-r1633/8059/17 "2017-06-24T20:48:16Z")

</div>

I created a mod that adds the ability to craft a log pile and a stone pile with just one resource. So then you can place it, harvest it and get 18 back. If you’re interested I can convert to a smod and post a link?

_EDIT_

Figured I’d [link](https://www.dropbox.com/sh/qlm9omg6vhgnfer/AABYyA8krEgq59MPnHC-ac0Oa?dl=0) them anyway just in case.
