# Create death functions

**URL:** https://discourse.cataclysmdda.org/t/create-death-functions/4946
**Category:** The Toolbox
**Created:** [February 2, 2014, 6:27am UTC](https://discourse.cataclysmdda.org/t/create-death-functions/4946 "2014-02-02T06:27:26Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hazerddex](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/hazerddex/32/1076_2.png) [@hazerddex](https://discourse.cataclysmdda.org/u/hazerddex)
#### Post date: [February 2, 2014, 6:27am UTC](https://discourse.cataclysmdda.org/t/create-death-functions/4946/1 "2014-02-02T06:27:26Z")

</div>

so i notice that the monsters json has death functions and wrom has a different one than blob how do i make these?

---

<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: [February 2, 2014, 7:23am UTC](https://discourse.cataclysmdda.org/t/create-death-functions/4946/2 "2014-02-02T07:23:23Z")

</div>

Making new death functions would require editing the code and recompiling. It’s currently beyond the scape of the jsons (though it might be able to be done through the lua stuff, I’m unsure of what their exact capabilities are).

---

<div class="post-metadata">

### Author: ![Soyweiser](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/soyweiser/32/37_2.png) [@Soyweiser](https://discourse.cataclysmdda.org/u/Soyweiser)
#### Post date: [February 14, 2014, 12:21pm UTC](https://discourse.cataclysmdda.org/t/create-death-functions/4946/3 "2014-02-14T12:21:53Z")

</div>

Note that you can only supply one death function for now. Just as the special attack function. It only gets one.

---

<div class="post-metadata">

### Author: ![Soyweiser](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/soyweiser/32/37_2.png) [@Soyweiser](https://discourse.cataclysmdda.org/u/Soyweiser)
#### Post date: [February 14, 2014, 5:14pm UTC](https://discourse.cataclysmdda.org/t/create-death-functions/4946/4 "2014-02-14T17:14:24Z")

</div>

[https://github.com/CleverRaven/Cataclysm-DDA/pull/6104](https://github.com/CleverRaven/Cataclysm-DDA/pull/6104) not pulled yet.
