# How to blacklist specific variants of items?

**URL:** <https://discourse.cataclysmdda.org/t/how-to-blacklist-specific-variants-of-items/29339>\
**Category:** The Toolbox\
**Tags:** mod, inventory, json\
**Created:** [July 29, 2024, 1:49pm UTC](https://discourse.cataclysmdda.org/t/how-to-blacklist-specific-variants-of-items/29339 "2024-07-29T13:49:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fload](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fload/32/10988_2.png) [@Fload](https://discourse.cataclysmdda.org/u/Fload)\
**Post date:** [July 29, 2024, 1:49pm UTC](https://discourse.cataclysmdda.org/t/how-to-blacklist-specific-variants-of-items/29339/1 "2024-07-29T13:49:33Z")

</div>

I am tinkering with my own blacklist mod, for personal flavor purposes. I have had a hard time finding out whether specific variants under an item id can be blacklisted. Is there a way to do this? To give an arbitrary example, lets say I wanted to blacklist the Boba Fetch t-shirt(V), in the debug menu it is listed as `#973: tshirt`. In this hypothetical scenario, I don’t want to blacklist every tshirt, just this one.

In torso\_clothes.json it is designated under `"id": "boba_fetch_tshirt"` , but the game doesn’t recognize that as a valid item id if it’s put into the blacklist.

---

<div class="post-metadata">

**Author:** ![RenechCDDA](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/renechcdda/32/12231_2.png) [@RenechCDDA](https://discourse.cataclysmdda.org/u/RenechCDDA)\
**Post date:** [July 29, 2024, 11:44pm UTC](https://discourse.cataclysmdda.org/t/how-to-blacklist-specific-variants-of-items/29339/2 "2024-07-29T23:44:14Z")

</div>

There is currently no support for this.

You can instead overwrite the base item’s definition, and remove that variant/set its weight to 0. Removing the variant entirely would be more thorough, setting the weight to 0 could still allow it to spawn when an itemgroup/map placement specifically calls for it. Both cases should be error-free, as invalid variants are rerolled.

---

<div class="post-metadata">

**Author:** ![Fload](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fload/32/10988_2.png) [@Fload](https://discourse.cataclysmdda.org/u/Fload)\
**Post date:** [August 1, 2024, 3:05pm UTC](https://discourse.cataclysmdda.org/t/how-to-blacklist-specific-variants-of-items/29339/3 "2024-08-01T15:05:34Z")

</div>

Ty for that info, that’s all I needed to know. I was worried removing item entries might break the game somehow.
