# Mod Folder File Heirarchy? And other questions

**URL:** <https://discourse.cataclysmdda.org/t/mod-folder-file-heirarchy-and-other-questions/8226>\
**Category:** The Toolbox\
**Created:** [December 8, 2014, 3:13am UTC](https://discourse.cataclysmdda.org/t/mod-folder-file-heirarchy-and-other-questions/8226 "2014-12-08T03:13:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gentlefish](https://avatars.discourse-cdn.com/v4/letter/g/5e9695/32.png) [@gentlefish](https://discourse.cataclysmdda.org/u/gentlefish)\
**Post date:** [December 8, 2014, 3:13am UTC](https://discourse.cataclysmdda.org/t/mod-folder-file-heirarchy-and-other-questions/8226/1 "2014-12-08T03:13:38Z")

</div>

I remember reading in the compilation section of the wiki that Data has a file/directory hierarchy - files are loaded (usually) top-down and files before directories. So anything with dependencies N directories should be N+1 directories deep, preferably within the directory.

Looking through the mod lists though, this doesn’t seem to be the case? All of the files in each mod are stuffed into the same directory with no discernible hierarchy. Do the mod files not have the same dependency structure as the data files?

---

<div class="post-metadata">

**Author:** ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)\
**Post date:** [December 8, 2014, 3:57am UTC](https://discourse.cataclysmdda.org/t/mod-folder-file-heirarchy-and-other-questions/8226/2 "2014-12-08T03:57:59Z")

</div>

I _think_ that mods inherit the mainline file structure first, and then modify it, but don’t quote me on that.

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [December 8, 2014, 4:06am UTC](https://discourse.cataclysmdda.org/t/mod-folder-file-heirarchy-and-other-questions/8226/3 "2014-12-08T04:06:17Z")

</div>

Also, the dependency structure that is present is itself a bug, there should be no load ordering required.

---

<div class="post-metadata">

**Author:** ![gentlefish](https://avatars.discourse-cdn.com/v4/letter/g/5e9695/32.png) [@gentlefish](https://discourse.cataclysmdda.org/u/gentlefish)\
**Post date:** [December 8, 2014, 4:21am UTC](https://discourse.cataclysmdda.org/t/mod-folder-file-heirarchy-and-other-questions/8226/4 "2014-12-08T04:21:45Z")

</div>

Oh, okay, that’s good to know. Full steam ahead, then!

---

<div class="post-metadata">

**Author:** ![gentlefish](https://avatars.discourse-cdn.com/v4/letter/g/5e9695/32.png) [@gentlefish](https://discourse.cataclysmdda.org/u/gentlefish)\
**Post date:** [December 11, 2014, 8:09am UTC](https://discourse.cataclysmdda.org/t/mod-folder-file-heirarchy-and-other-questions/8226/5 "2014-12-11T08:09:45Z")

</div>

So is there a place where I can find all of the JSON tags for items, classes, et cetera? There’s a bunch and it’s hard to know if what I want already exists or if I have to make it myself.

---

<div class="post-metadata">

**Author:** ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)\
**Post date:** [December 11, 2014, 11:24pm UTC](https://discourse.cataclysmdda.org/t/mod-folder-file-heirarchy-and-other-questions/8226/6 "2014-12-11T23:24:31Z")

</div>

> [@gentlefish](#):
>
> So is there a place where I can find all of the JSON tags for items, classes, et cetera? There’s a bunch and it’s hard to know if what I want already exists or if I have to make it myself.

Whatever you do, don’t look at [JSON\_FLAGS.md](https://github.com/CleverRaven/Cataclysm-DDA/blob/master/doc/JSON_FLAGS.md)!
