Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Free Merchants - new NPC classes and a trading post [help needed/almost done] #35104

Closed
wants to merge 11 commits into from

Conversation

Brytenwalda
Copy link
Contributor

Summary

SUMMARY: Content "A garage trading post with a merchant and two guards."

Purpose of change

I believe that the game needs more trading outposts where players can exchange items. We already have a faction to do it, why not expand it a bit?

Overall, this should add another level of plausibility to this world - a traveling merchant who brings various individuals - hunters, fishermen, scavengers, and other survivors together through trade.

Describe the solution

  1. Two new NPC classes - a field merchant and a guard.
  2. A new mapgen building - a copy of the existing garage, but with the merchant and two guards in it.
  3. I added the new trader garage to the regional map settings file, with a reasonably low chance to spawn.

Problem

As of this moment, the game fails to recognize the new NPC classes that I've added to classes.json. I would greatly appreciate any help to make them work .

Summary

Purpose of change

Describe the solution

Describe alternatives you've considered

Testing

Additional context

#### Summary
```SUMMARY:  Content "A garage trading post with a merchant and two guards."```

#### Purpose of change

I believe that the game needs more trading outposts where players can exchange items. We already have a faction to do it, why not expand it a bit?

Overall, this should add another level of plausibility to this world - a traveling merchant who brings various individuals - hunters, fishermen, scavengers, and other survivors together through trade.

#### Describe the solution

1. Two new NPC classes - a field merchant and a guard.
2. A new mapgen building - a copy of the existing garage, but with the merchant and two guards in it.
3. I added the new trader garage to the regional map settings file, with a reasonably low chance to spawn.

#### Problem

As of this moment, the game fails to recognize the new NPC classes that I've added to classes.json. I would greatly appreciate any help to make them work .
@Brytenwalda Brytenwalda changed the title Free Merchants - new NPC classes and a trading post Free Merchants - new NPC classes and a trading post [help needed] Oct 28, 2019
@Brytenwalda Brytenwalda changed the title Free Merchants - new NPC classes and a trading post [help needed] Free Merchants - new NPC classes and a trading post [help needed/almost done] Oct 28, 2019
data/json/npcs/FM_TRADER.json Outdated Show resolved Hide resolved
data/json/npcs/FM_TRADER.json Outdated Show resolved Hide resolved
data/json/npcs/FM_TRADER.json Outdated Show resolved Hide resolved
data/json/npcs/FM_TRADER.json Outdated Show resolved Hide resolved
data/json/npcs/FM_TRADER.json Outdated Show resolved Hide resolved
Brytenwalda and others added 5 commits October 28, 2019 13:25
Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>
Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>
Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>
Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>
Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>
@kevingranade
Copy link
Member

This pull request has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there:

https://discourse.cataclysmdda.org/t/new-npcs-i-need-your-help/21800/1

@Night-Pryanik
Copy link
Contributor

Your created roof (1s_garage__trader_roof, btw why there are two underscores between garage and trader?) won't spawn at all. You need to created a new entry with your ground floor and your roof in any fitting json in \data\json\overmap\overmap_terrain\. Also you need to create a new entry in \data\json\overmap\multitile_city_buildings.json for both of your ground floor and your roof.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants