# Clay Generation Rate

**URL:** <https://discourse.stonehearth.net/t/clay-generation-rate/19376>\
**Category:** Resolved Reports\
**Tags:** resolved\
**Created:** [January 21, 2016, 7:45pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376 "2016-01-21T19:45:58Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohawkless](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@Mohawkless](https://discourse.stonehearth.net/u/Mohawkless)\
**Post date:** [January 21, 2016, 7:45pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/1 "2016-01-21T19:45:58Z")

</div>

**Summary:**  
Playing Rayya’s children in desert biome and the clay proc rate while mining seem to have plummeted to lower then it has been in previous builds.

**Steps to reproduce:**

1. Mine a large area.
2. Less Clay Drops than previously

**Expected Results:**  
Higer clay drop rates for Rayya’s Children

**Actual Results:**  
An awful lot of stone and a little clay.

**Version Number and Mods in use:**  
2797 64 bit  
No Mods

**System Information:**

---

<div class="post-metadata">

**Author:** ![Vahla](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/vahla/32/25311_2.png) [@Vahla](https://discourse.stonehearth.net/u/Vahla)\
**Post date:** [January 21, 2016, 7:53pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/2 "2016-01-21T19:53:12Z")

</div>

It is my first time playing as them (well, I’ve restarted a few times this week) and I was wondering about the clay drop rate. I definitely have a massive amount of stone (even after converting to Stone Tables to sell) compared to a very small amount of clay.

---

<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:** [January 21, 2016, 8:29pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/3 "2016-01-21T20:29:10Z")

</div>

which area are you guys mining in? i just tested and got more clay then stone from mining in the desert.

you can only get clay from the foothills and plains (so in the dirt). and though im not 100% certain, i believe its most common in the plains.

---

<div class="post-metadata">

**Author:** ![Vahla](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/vahla/32/25311_2.png) [@Vahla](https://discourse.stonehearth.net/u/Vahla)\
**Post date:** [January 21, 2016, 8:31pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/4 "2016-01-21T20:31:45Z")

</div>

I typically mine into a hill/mountain (so sideways mining?) instead of mining down into the ground, so perhaps that is the issue. I am getting what feels to be plenty of ore and as mentioned above a ton of stone.

---

<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:** [January 21, 2016, 8:37pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/5 "2016-01-21T20:37:39Z")

</div>

> [@Vahla](#):
>
> I typically mine into a hill/mountain (so sideways mining?) instead of mining down into the ground, so perhaps that is the issue. I am getting what feels to be plenty of ore and as mentioned above a ton of stone.

hmm… you might be mining into the mountains then, i’m kinda tired, so here’s a screenshot to try and help me explain better,

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/1/5/15ed5fc770ed906d8127b798426f539be88f50e4.png)

so plains are as low as you can get, foothills is anything up to 10 blocks taller then the plains, and mountains are anything higher then the foothills.

make sense?

---

<div class="post-metadata">

**Author:** ![Mohawkless](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@Mohawkless](https://discourse.stonehearth.net/u/Mohawkless)\
**Post date:** [January 21, 2016, 8:39pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/6 "2016-01-21T20:39:25Z")

</div>

Im mining into the plains (about three levels down to hide the scar)

---

<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:** [January 21, 2016, 8:42pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/7 "2016-01-21T20:42:21Z")

</div>

> [@Mohawkless](#):
>
> Im mining into the plains (about three levels down to hide the scar)

hmm… you shouldn’t be in the stone at just 3 levels down…

could you provide me with your save file?

---

<div class="post-metadata">

**Author:** ![Vahla](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/vahla/32/25311_2.png) [@Vahla](https://discourse.stonehearth.net/u/Vahla)\
**Post date:** [January 21, 2016, 8:44pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/8 "2016-01-21T20:44:26Z")

</div>

Understood. Yes in your picture I would start a tunnel in foothills 1 or 2 and then head toward the mountains. But would not be digging down into plains, so it sounds like that’s why I am short on clay. Thanks for your help again 8BitCrab!

---

<div class="post-metadata">

**Author:** ![BrunoSupremo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/brunosupremo/32/54819_2.png) [@BrunoSupremo](https://discourse.stonehearth.net/u/BrunoSupremo)\
**Post date:** [January 21, 2016, 9:02pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/9 "2016-01-21T21:02:13Z")

</div>

Below a mountain is not dirt, there is more rocks! Use the xray or slice views and check the color of the surrounding blocks. So, don’t mine inside or below a rock mountain, or you will get rocks and very little clay.

I think the ratio chances are 10 stone for 1 clay if you mine a stone block, and 4 clay to 1 rock if you mine just dirt.

The grass layer (doesn’t look like grass, but in the code it is, just in a brown color when in the desert) has a 0 chance if I’m not mistaken.

I know this because I was messing with those files, I’m almost done with a swamp biome 🙂 And I changed it to have a lot of clay in the dirt and grass.

---

<div class="post-metadata">

**Author:** ![Tamorr](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@Tamorr](https://discourse.stonehearth.net/u/Tamorr)\
**Post date:** [January 21, 2016, 10:27pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/10 "2016-01-21T22:27:26Z")

</div>

Noticed this as well. A13 actually amounted more than A14 currently. I namely dig pits… Quarry would be the actual term. Starting at foothills 1 and 2 getting quite below the plains level.

However my foothills I dig on are next to mountains. I have yet to dig into the mountains. It is like the ratio is either = or 2 to 1 (for “stone : clay”). Then again with all the stone enemies about… Makes me think = in the desert.

In A13 in my first game I mined a foothill 1 to ground. This was not surrounded by mountains, and just a hill in the middle of the desert. Peaceful game that was.

My second one in A13 was next to a mountain starting at foothill 2. I used this same seed in A14 and the results were quite different. Both were mined in the exact same spot.

So that is where my comparison comes from. It seemed like the ratio was higher in the A13 build compared to A14 build. So I am thinking something changed… Unsure though, but it does appear that way; since I could have sworn I had more clay to work with in the A13 compared to the A14.

If it was a 1:4 ration for stone:clay, then even with the new golem enemy it should balance out. I haven’t mined mountains with that faction, and tend to trade for resources that I don’t find in the dirt; which is somewhat rare and makes a bit of sense.

It has influenced how much I have to dig in order to get enough clay to trade with, even though I primarily trade off cloth in the beginning. When you have to buy clay earlier on makes it a bit… awkward. In the prior version it took me to 15-17 population before I decided to get clay. A14 seeing a noticeable low it curved me to do so almost from the beginning, and that is not counting the obvious non-resource grass layer…

might be just seeing it off in my head and not actual values ratio, since I barely pay attention to how much stock I have in such. I pay more attention to how much I can make with my stock, and it does seem less due to that, but seemingly more stone; namely due to golems, but seems equal otherwise.

Well that is my experience with this little thing. 🙂

---

<div class="post-metadata">

**Author:** ![Averest](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/averest/32/47783_2.png) [@Averest](https://discourse.stonehearth.net/u/Averest)\
**Post date:** [January 21, 2016, 11:03pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/11 "2016-01-21T23:03:23Z")

</div>

So I ran a test to see if there is indeed a 4:1 clay to stone ratio coming out of the lowest level of the generated ground which is the expected result.

Dug 3 layers of 20x32

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/7/e/7ef106b14fdaec2e5b327b4fd0cf6900383ccf74.jpg)

Here are the results:

3 clay clumps were stockpiled incorrectly into the stone initially.

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/1/7/170a672047f4d2c35b5c598938845ae7fa279dcf.jpg)

Used space: 103/400 Stone (discounting the 3 clay)

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/a/e/aeec72e50bf17355f6fdddb3ae05a0f90e40bd34.jpg)

Used space 90/400 Clay clumps

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/1/7/176e7583244de20597f27613bced614a8dfd2345.jpg)

Something might be off in Desert Clay/Stone drops.

---

<div class="post-metadata">

**Author:** ![BrunoSupremo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/brunosupremo/32/54819_2.png) [@BrunoSupremo](https://discourse.stonehearth.net/u/BrunoSupremo)\
**Post date:** [January 21, 2016, 11:37pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/12 "2016-01-21T23:37:13Z")

</div>

I’m not on the newest version (I’m using the 2786) and the file desert\_mining\_loot\_table.json has this:

```
{
   "mixins" : "stonehearth:mining:base_loot_table",
   "mineable_blocks" : {
      "dirt" : {
         "entries": {
            "default": {
               "items" : {
            	   "stone": {"uri" : "stonehearth:resources:stone:hunk_of_stone", "weight" : 1}, 
                  "clay": {"uri" : "stonehearth:resources:clay:clay_mound", "weight" : 4 }
               }
            }
         }
      },
      "rock" : {
         "entries": {
            "default": {
               "num_rolls" : 1,
               "items" : {
                  "clay": { "uri" : "stonehearth:resources:clay:clay_mound", "weight" : 0.150 }
               }
            }
         }
      }    
   }
}

```

Which means that it doesn’t matter where you dig, it only matters what block it is, and if it dirt, it will have that ratio. That’s how it should work, check if in the newest version the file is ok and if the desert biome is calling it correctly, if it is all right, then we have a bug somewhere else.

---

<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:** [January 21, 2016, 11:54pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/13 "2016-01-21T23:54:45Z")

</div>

this is the current desert\_mining\_loot\_table.json,

```auto
{
   "mixins" : "stonehearth:mining:base_loot_table",
   "mineable_blocks" : {
      "dirt" : {
         "entries": {
            "default": {
               "items" : {
                   "stone": {"uri" : "stonehearth:resources:stone:hunk_of_stone", "weight" : 1}, 
                  "clay": {"uri" : "stonehearth:resources:clay:clay_mound", "weight" : 4 }
               }
            }
         }
      },
      "rock" : {
         "entries": {
            "default": {
               "num_rolls" : 1,
               "items" : {
                  "clay": { "uri" : "stonehearth:resources:clay:clay_mound", "weight" : 0.150 }
               }
            }
         }
      }    
   }
}

```

[quote=“BrunoSupremo, post:12, topic:19376”]  
I’m using the 2786  
[/quote]any reason in particular as to why you’re using 2786?

---

<div class="post-metadata">

**Author:** ![BrunoSupremo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/brunosupremo/32/54819_2.png) [@BrunoSupremo](https://discourse.stonehearth.net/u/BrunoSupremo)\
**Post date:** [January 22, 2016, 2:38am UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/14 "2016-01-22T02:38:09Z")

</div>

I just hadn’t much time to play so I didn’t updated, and I was not going to get unstable, but I couldn’t resist.

So no changes in that file.

And in the desert.json file? There should be a line in it like this:  
`"mining_loot_table": "file(desert_mining_loot_table.json)",`

If it is like this too, I can’t help and we need someone better to check the game.

---

<div class="post-metadata">

**Author:** ![yshan](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/yshan/32/18457_2.png) [@yshan](https://discourse.stonehearth.net/u/yshan)\
**Post date:** [January 22, 2016, 4:29am UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/15 "2016-01-22T04:29:41Z")

</div>

I did some testing of my own and I can confirm the ratio is indeed not what it looks like it should be. There might be a bug in our loot generation code. Will look at that tomorrow

---

<div class="post-metadata">

**Author:** ![Vexed](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/vexed/32/49074_2.png) [@Vexed](https://discourse.stonehearth.net/u/Vexed)\
**Post date:** [January 22, 2016, 9:29pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/16 "2016-01-22T21:29:38Z")

</div>

> [@yshan](#):
>
> I did some testing of my own and I can confirm the ratio is indeed not what it looks like it should be. There might be a bug in our loot generation code. Will look at that tomorrow

So glad to hear this as I was going to post some observations as well. The recent lack of clay makes playing Rayya’s Children very limited.

---

<div class="post-metadata">

**Author:** ![Amaror](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@Amaror](https://discourse.stonehearth.net/u/Amaror)\
**Post date:** [January 23, 2016, 7:18pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/17 "2016-01-23T19:18:30Z")

</div>

I noticed this as well.

---

<div class="post-metadata">

**Author:** ![Communistpenguin](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@Communistpenguin](https://discourse.stonehearth.net/u/Communistpenguin)\
**Post date:** [January 27, 2016, 10:55pm UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/18 "2016-01-27T22:55:27Z")

</div>

yeah, in my latest playthrough, I simply cannot keep enough clay. i have large vaults mined underneath my town, and aside from just turning everything around me into a massive quarry I dont think I can keep up. i buy all the clay available, but the vendors are very random.

One possible solution would be either a Miner profession that spawns more resources when digging, or maybe two differn’t digging modes, one slower that yields alot more resources, and one that is faster that is mostly for clearing an area.

---

<div class="post-metadata">

**Author:** ![Averest](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/averest/32/47783_2.png) [@Averest](https://discourse.stonehearth.net/u/Averest)\
**Post date:** [January 28, 2016, 11:27am UTC](https://discourse.stonehearth.net/t/clay-generation-rate/19376/19 "2016-01-28T11:27:13Z")

</div>

Nah they changed stuff in the desert clay generation json file so things are messed up, that’s all. It wasn’t intentional.
