# Creating custom flags and flag effects for clothes

**URL:** https://discourse.cataclysmdda.org/t/creating-custom-flags-and-flag-effects-for-clothes/4065
**Category:** The Toolbox
**Created:** [November 17, 2013, 6:31pm UTC](https://discourse.cataclysmdda.org/t/creating-custom-flags-and-flag-effects-for-clothes/4065 "2013-11-17T18:31:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![spitss](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@spitss](https://discourse.cataclysmdda.org/u/spitss)
#### Post date: [November 17, 2013, 6:31pm UTC](https://discourse.cataclysmdda.org/t/creating-custom-flags-and-flag-effects-for-clothes/4065/1 "2013-11-17T18:31:24Z")

</div>

I have just been messing about with some of the json files and was wondering how do I create a custom flag and effect to apply to an item.

For example say I made a pair of stilts, and wanted to add a flag that makes the character occasionally stumble.  
How would I create the flag to apply to the item?

---

<div class="post-metadata">

### Author: ![Blaze1711](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@Blaze1711](https://discourse.cataclysmdda.org/u/Blaze1711)
#### Post date: [November 17, 2013, 9:03pm UTC](https://discourse.cataclysmdda.org/t/creating-custom-flags-and-flag-effects-for-clothes/4065/2 "2013-11-17T21:03:17Z")

</div>

If i’m not mistaken, that would require a BIT of coding, which i don’t know how to make.

---

<div class="post-metadata">

### Author: ![spitss](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@spitss](https://discourse.cataclysmdda.org/u/spitss)
#### Post date: [November 17, 2013, 9:32pm UTC](https://discourse.cataclysmdda.org/t/creating-custom-flags-and-flag-effects-for-clothes/4065/3 "2013-11-17T21:32:02Z")

</div>

> [@Blaze1711](#):
>
> If i’m not mistaken, that would require a BIT of coding, which i don’t know how to make.

Ah, I was worried it might. ☹

---

<div class="post-metadata">

### Author: ![jcannon98188](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jcannon98188](https://discourse.cataclysmdda.org/u/jcannon98188)
#### Post date: [November 18, 2013, 12:56am UTC](https://discourse.cataclysmdda.org/t/creating-custom-flags-and-flag-effects-for-clothes/4065/4 "2013-11-18T00:56:32Z")

</div>

You will need some coding, and would look in iuse.cpp and iuse.h if I am not mistaken.
