# Item browser cut and bash is off

**URL:** <https://discourse.cataclysmdda.org/t/item-browser-cut-and-bash-is-off/13886>\
**Category:** The Garage\
**Created:** [June 20, 2017, 5:13pm UTC](https://discourse.cataclysmdda.org/t/item-browser-cut-and-bash-is-off/13886 "2017-06-20T17:13:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chezzo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/chezzo/32/429_2.png) [@Chezzo](https://discourse.cataclysmdda.org/u/Chezzo)\
**Post date:** [June 20, 2017, 5:13pm UTC](https://discourse.cataclysmdda.org/t/item-browser-cut-and-bash-is-off/13886/1 "2017-06-20T17:13:04Z")

</div>

The item browser’s cut and bash is off across the board.

[http://cdda-trunk.chezzo.com/bindle](http://cdda-trunk.chezzo.com/bindle)

Bindles don’t have acid protection of ten.

I know cut and bash isn’t determined explicitly from the json but based on material and material thickness.

Did determining the cut bash from the material thickness change? Does anyone know where in the code it is? Can someone explain it to me so I can fix the item browser?

---

<div class="post-metadata">

**Author:** ![Alec\_White](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/alec_white/32/509_2.png) [@Alec\_White](https://discourse.cataclysmdda.org/u/Alec_White)\
**Post date:** [June 20, 2017, 5:54pm UTC](https://discourse.cataclysmdda.org/t/item-browser-cut-and-bash-is-off/13886/2 "2017-06-20T17:54:26Z")

</div>

I don’t know why or can’t imagine why was a good idea not making some way to manually override the protection stats of items.

---

<div class="post-metadata">

**Author:** ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)\
**Post date:** [June 20, 2017, 6:48pm UTC](https://discourse.cataclysmdda.org/t/item-browser-cut-and-bash-is-off/13886/3 "2017-06-20T18:48:30Z")

</div>

Everything related to protection is relatively neatly wrapped in item.cpp, in item::damage\_resist and the functions it calls. Assume to\_self is false (it’s only true for attacks against the item and not the wearer).
