# How to override item groups

**URL:** <https://discourse.cataclysmdda.org/t/how-to-override-item-groups/16630>\
**Category:** The Toolbox\
**Created:** [September 17, 2018, 8:04am UTC](https://discourse.cataclysmdda.org/t/how-to-override-item-groups/16630 "2018-09-17T08:04:30Z")\
**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:** [September 17, 2018, 8:04am UTC](https://discourse.cataclysmdda.org/t/how-to-override-item-groups/16630/1 "2018-09-17T08:04:30Z")

</div>

How to override item groups?

The `"override": true,` that works for monster groups does nothing for item groups. `"edit-mode": "override",` does nothing too. New items are easily added but I want to also change the drop chances of existing items.

---

<div class="post-metadata">

**Author:** ![TheMurderUnicorn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/themurderunicorn/32/5706_2.png) [@TheMurderUnicorn](https://discourse.cataclysmdda.org/u/TheMurderUnicorn)\
**Post date:** [September 17, 2018, 9:31am UTC](https://discourse.cataclysmdda.org/t/how-to-override-item-groups/16630/2 "2018-09-17T09:31:58Z")

</div>

I spent about forty minutes trying to figure this out. I googled, I searched through the github. I tinkered with my json.

And I genuinely have no damn idea. If I’m honest, it’s pretty frustrating to have no friggin’ clue how to override an item group with a mod file. You can edit the main file, I guess, but it would get reverted as soon as you update.

=\ I would also love an answer to this question.

---

<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:** [September 17, 2018, 4:25pm UTC](https://discourse.cataclysmdda.org/t/how-to-override-item-groups/16630/3 "2018-09-17T16:25:16Z")

</div>

You need to update item group source code similar to what was done for monster groups in [https://github.com/CleverRaven/Cataclysm-DDA/pull/24301](https://github.com/CleverRaven/Cataclysm-DDA/pull/24301).
