# Region\_overlay for field\_coverage. How should it work?

**URL:** <https://discourse.cataclysmdda.org/t/region-overlay-for-field-coverage-how-should-it-work/20178>\
**Category:** The Toolbox\
**Created:** [May 27, 2019, 6:35pm UTC](https://discourse.cataclysmdda.org/t/region-overlay-for-field-coverage-how-should-it-work/20178 "2019-05-27T18:35:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hirmuolio](https://avatars.discourse-cdn.com/v4/letter/h/dc4da7/32.png) [@Hirmuolio](https://discourse.cataclysmdda.org/u/Hirmuolio)\
**Post date:** [May 27, 2019, 6:35pm UTC](https://discourse.cataclysmdda.org/t/region-overlay-for-field-coverage-how-should-it-work/20178/1 "2019-05-27T18:35:43Z")

</div>

I decided to try to make a mod that has a bit different looking region.  
Step 1 is to change how fields look. I decided to try to do this with region\_overlay.

First test: [https://pastebin.com/yCqXSAmK](https://pastebin.com/yCqXSAmK)  
This is just the values copy-pasted from regional\_map\_settings.json. I assumed this would overwrite the original values with same values resulting in no change.  
This will give error “plant coverage total exceeds 100%” and does not work. It seems like the values are added together somehow.

Second test: [https://pastebin.com/V01yL3gQ](https://pastebin.com/V01yL3gQ)  
Now the mod has all the terrains set to zero. If the values get added together this should result in no change.  
The result is that the fields are completely empty. The zero values overwrite the original values.

Third test: [https://pastebin.com/MHmD0mGs](https://pastebin.com/MHmD0mGs)  
Now I removed most of the things listed there. Just to see what happens.  
I don’t know how but this is what happens:  
 ![](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/8/8475e4e6f1b50d57eeeb31fff0bdc85609290d0e.png)

I guess I will just have a modified regional\_map\_settings.json in the mod instead of overlays.

---

<div class="post-metadata">

**Author:** ![Zhilkin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zhilkin/32/3749_2.png) [@Zhilkin](https://discourse.cataclysmdda.org/u/Zhilkin)\
**Post date:** [May 28, 2019, 7:18am UTC](https://discourse.cataclysmdda.org/t/region-overlay-for-field-coverage-how-should-it-work/20178/2 "2019-05-28T07:18:36Z")

</div>

> <https://github.com/CleverRaven/Cataclysm-DDA/blob/62e57374f1357e743d1c383ac430934394e6332d/doc/REGION_SETTINGS.md#field-coverage>

---

<div class="post-metadata">

**Author:** ![Hirmuolio](https://avatars.discourse-cdn.com/v4/letter/h/dc4da7/32.png) [@Hirmuolio](https://discourse.cataclysmdda.org/u/Hirmuolio)\
**Post date:** [May 28, 2019, 10:02am UTC](https://discourse.cataclysmdda.org/t/region-overlay-for-field-coverage-how-should-it-work/20178/3 "2019-05-28T10:02:40Z")

</div>

Yes making a whole new regional\_map\_settings.json with the new field\_coverage works fine. But changing the field\_coverage with a region\_overlay acts bizzarely.

Making the mod with region\_overlay would be nicer sincer I don’t really want to change everything.
