# Deconstructing ovens doesn't give sheet metal

**URL:** https://discourse.cataclysmdda.org/t/deconstructing-ovens-doesnt-give-sheet-metal/5545
**Category:** The Garage
**Created:** [March 22, 2014, 8:42am UTC](https://discourse.cataclysmdda.org/t/deconstructing-ovens-doesnt-give-sheet-metal/5545 "2014-03-22T08:42:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bugsniper](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@bugsniper](https://discourse.cataclysmdda.org/u/bugsniper)
#### Post date: [March 22, 2014, 8:42am UTC](https://discourse.cataclysmdda.org/t/deconstructing-ovens-doesnt-give-sheet-metal/5545/1 "2014-03-22T08:42:03Z")

</div>

When I destroy a stove with a crowbar, I almost always get a few pieces of sheet metal to make braziers out of. However, when I carefully disassemble it with a screwdriver and a hammer, the sheet metal pieces are demolished and become scrap metal and steel chunks. Should this be considered a bug?

---

<div class="post-metadata">

### Author: ![Sean\_Mirrsen](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@Sean\_Mirrsen](https://discourse.cataclysmdda.org/u/Sean_Mirrsen)
#### Post date: [March 22, 2014, 9:37am UTC](https://discourse.cataclysmdda.org/t/deconstructing-ovens-doesnt-give-sheet-metal/5545/2 "2014-03-22T09:37:35Z")

</div>

The amount of stuff you get from deconstructing something (as well as when bashing something) is randomly chosen (with certain bounds), though I am unclear on the actual mechanics, and with the way it’s set it seems like you should always get at least some sheet metal either way.

edit: okay, that has to be the single most ridiculous outdated implementation of a feature I’ve seen here so far. It’s literally written in code, per specific items, what you get from disassembling. And yes, there is no sheet metal for the oven, so that’s most definitely a bug. I guess it’s a leftover from when these things were still defined in code rather than .JSONs.

edit2: PR’d a fix for this: [https://github.com/CleverRaven/Cataclysm-DDA/pull/6845](https://github.com/CleverRaven/Cataclysm-DDA/pull/6845) Just adding the sheet metal in, but am really considering what can be done for a more modular system.

---

<div class="post-metadata">

### Author: ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)
#### Post date: [March 23, 2014, 9:15pm UTC](https://discourse.cataclysmdda.org/t/deconstructing-ovens-doesnt-give-sheet-metal/5545/3 "2014-03-23T21:15:40Z")

</div>

Yeah, the disassembly code is old code that still needs to be updated to json function stuff. Bashing, on the other hand, is in the middle of a hardcoded-\>json transition. As a result they both crop up with weird stuff like this from time to time.
