# Use\_action

**URL:** https://discourse.cataclysmdda.org/t/use-action/1422
**Category:** The Lab
**Created:** [May 24, 2013, 12:38am UTC](https://discourse.cataclysmdda.org/t/use-action/1422 "2013-05-24T00:38:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kavaloosh](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@Kavaloosh](https://discourse.cataclysmdda.org/u/Kavaloosh)
#### Post date: [May 24, 2013, 12:38am UTC](https://discourse.cataclysmdda.org/t/use-action/1422/1 "2013-05-24T00:38:02Z")

</div>

How do you make or change these? Or are they hardcoded?  
Diseases maybe?

 ![](http://gyazo.com/031d388bbac22a6649c3abb5cb49c5a9.png)

im not even sure this method works

---

<div class="post-metadata">

### Author: ![Soron](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/soron/32/885_2.png) [@Soron](https://discourse.cataclysmdda.org/u/Soron)
#### Post date: [May 24, 2013, 1:14am UTC](https://discourse.cataclysmdda.org/t/use-action/1422/2 "2013-05-24T01:14:44Z")

</div>

The use\_action stuff is hardcoded, and likely to remain that way - it hooks directly into the game’s C++ code, so it would be difficult to move that out into data files. There might eventually be some improvement, such as providing more configuration options (in drugs, especially), but at some level I think we’ll always have some degree of hardcoding there.

Also, you can’t supply multiple versions of an attribute, unfortunately :-/. For things like materials, the proper way to do that is listing them within brackets (e.g., “material”: [“STEEL”, “PLASTIC”]). However, that’s not supported for the use\_action attribute.

---

<div class="post-metadata">

### Author: ![Kavaloosh](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@Kavaloosh](https://discourse.cataclysmdda.org/u/Kavaloosh)
#### Post date: [May 24, 2013, 1:49am UTC](https://discourse.cataclysmdda.org/t/use-action/1422/3 "2013-05-24T01:49:17Z")

</div>

thanks for the help 🙂
