# New NPCs - I need your help!

**URL:** <https://discourse.cataclysmdda.org/t/new-npcs-i-need-your-help/21800>\
**Category:** The Toolbox\
**Created:** [October 28, 2019, 5:52pm UTC](https://discourse.cataclysmdda.org/t/new-npcs-i-need-your-help/21800 "2019-10-28T17:52:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brytenwalda](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/brytenwalda/32/7366_2.png) [@Brytenwalda](https://discourse.cataclysmdda.org/u/Brytenwalda)\
**Post date:** [October 28, 2019, 5:52pm UTC](https://discourse.cataclysmdda.org/t/new-npcs-i-need-your-help/21800/1 "2019-10-28T17:52:57Z")

</div>

I’ve finished phase one of my plan to add more Free Merchants and their suppliers (hunters, scavengers, fishermen, small-time farmers etc.) to the game, to make it feel more alive and plausible.

> <https://github.com/CleverRaven/Cataclysm-DDA/pull/35104>

I need your help though:

1. I created a special variant of the garage that’s already in game, but with a merchant and two guards inside. The game, however, doesn’t recognise the new classes, even though I’ve added them to “classes.json”. Why? How can I make it work?

2. Is adding a new structure to the mapgen folder enough to make it spawn or do I need to add it somewhere else?

Thank you in advance! Also, if you have any suggestions, post them here! I’d be happy to listen what you’d want to see in the game.

---

<div class="post-metadata">

**Author:** ![Brytenwalda](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/brytenwalda/32/7366_2.png) [@Brytenwalda](https://discourse.cataclysmdda.org/u/Brytenwalda)\
**Post date:** [October 28, 2019, 6:06pm UTC](https://discourse.cataclysmdda.org/t/new-npcs-i-need-your-help/21800/2 "2019-10-28T18:06:17Z")

</div>

Edited the link, it changed since yesterday.

---

<div class="post-metadata">

**Author:** ![mlangsdorf](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mlangsdorf/32/2462_2.png) [@mlangsdorf](https://discourse.cataclysmdda.org/u/mlangsdorf)\
**Post date:** [October 28, 2019, 6:31pm UTC](https://discourse.cataclysmdda.org/t/new-npcs-i-need-your-help/21800/3 "2019-10-28T18:31:23Z")

</div>

You’re linking to the generic “pull requests” tab, not to your specific PR.

---

<div class="post-metadata">

**Author:** ![Brytenwalda](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/brytenwalda/32/7366_2.png) [@Brytenwalda](https://discourse.cataclysmdda.org/u/Brytenwalda)\
**Post date:** [October 28, 2019, 6:43pm UTC](https://discourse.cataclysmdda.org/t/new-npcs-i-need-your-help/21800/4 "2019-10-28T18:43:28Z")

</div>

Should link properly now, sorry.

---

<div class="post-metadata">

**Author:** ![Brytenwalda](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/brytenwalda/32/7366_2.png) [@Brytenwalda](https://discourse.cataclysmdda.org/u/Brytenwalda)\
**Post date:** [October 29, 2019, 10:25am UTC](https://discourse.cataclysmdda.org/t/new-npcs-i-need-your-help/21800/5 "2019-10-29T10:25:18Z")

</div>

It’s fixed now, turns out I used a wrong id.

---

<div class="post-metadata">

**Author:** ![Minecrafter\_Next\_Gen](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/minecrafter_next_gen/32/6504_2.png) [@Minecrafter\_Next\_Gen](https://discourse.cataclysmdda.org/u/Minecrafter_Next_Gen)\
**Post date:** [January 6, 2020, 6:05pm UTC](https://discourse.cataclysmdda.org/t/new-npcs-i-need-your-help/21800/6 "2020-01-06T18:05:59Z")

</div>

To have a structure spawn, you need to add an overmap terrain entry, such as this one.  
[{  
“type”: “overmap\_terrain”, \> What it is  
“id”: “park”, \> Its JSON id  
“name”: “park”, \> Its name  
“sym”: “O”, \> Its symbol on the overmap  
“color”: “green”, \> The symbols color  
“see\_cost”: 2, \> How far away you can see the location  
“mondensity”: 2, \> Monster density in your location  
“flags”: [“SIDEWALK”] \> What the game attaches it to, in this case a sidewalk.  
}]

The “Guide to adding new content for first time contributers” has a brief entry on mapgen.

> **[CleverRaven/Cataclysm-DDA](https://github.com/CleverRaven/Cataclysm-DDA/wiki/Guide-to-adding-new-content-to-CDDA-for-first-time-contributors)**
>
> Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world. - CleverRaven/Cataclysm-DDA
