# How to add an item to a martial art

**URL:** https://discourse.cataclysmdda.org/t/how-to-add-an-item-to-a-martial-art/24499
**Category:** The Lab
**Created:** [August 19, 2020, 3:34pm UTC](https://discourse.cataclysmdda.org/t/how-to-add-an-item-to-a-martial-art/24499 "2020-08-19T15:34:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Grimm\_Spector](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/grimm_spector/32/5132_2.png) [@Grimm\_Spector](https://discourse.cataclysmdda.org/u/Grimm_Spector)
#### Post date: [August 19, 2020, 3:34pm UTC](https://discourse.cataclysmdda.org/t/how-to-add-an-item-to-a-martial-art/24499/1 "2020-08-19T15:34:26Z")

</div>

As the title says, how do I add a modded item to a martial art? Ninjutsu in this case. Just want an item to act like another similar item, thanks!

---

<div class="post-metadata">

### Author: ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)
#### Post date: [August 19, 2020, 4:38pm UTC](https://discourse.cataclysmdda.org/t/how-to-add-an-item-to-a-martial-art/24499/2 "2020-08-19T16:38:43Z")

</div>

The “right” way to do it by creating a mod for it…:

- Create a mod (or split it up into two files or integrate into an existing mod)…:

modinfo.json:

```
[
  {
    "type": "MOD_INFO",
    "id": "mmaninjutsuweaponaddition",
    "name": "Extra Ninjutsu Weapon",
    "authors": ["You"],
    "description": "A new weapon added to the martial art Ninjutsu.",
    "category": "misc_additions",
    "dependencies": ["dda"]
  },
  {
    "type": "martial_art",
    "id": "style_ninjutsu",
    "copy-from": "style_ninjutsu",
    "extend": { "weapons": ["mjolnir"] }
  }
]

```

- Replace `mjolnir` with whatever id the modded item has.
- Add your newly generated mod to the world you want to have it.

* * *

The “quick and dirty” way:  
Open `data/json/martialarts.json`, search for `style_ninjutsu`, scroll down to the entry `weapons` and add the id of the modded item to the list.  
This works fine until you update your game or verify your files (you’ll need to add it again in that case).
