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

feat(content,port): More NPCs #3917

Merged
merged 54 commits into from
Jan 11, 2024
Merged

Conversation

Zlorthishen
Copy link
Contributor

@Zlorthishen Zlorthishen commented Dec 16, 2023

Purpose of change

This pull request imports several different NPCs. This will make the post-cataclysmic world feel more alive.

Describe the solution

Imports the three following dda prs
CleverRaven/Cataclysm-DDA#36287 by Maleclypse
CleverRaven/Cataclysm-DDA#57483 by MNG-cataclysm
CleverRaven/Cataclysm-DDA#62134 by MNG-cataclysm

Describe alternatives you've considered

This could work as an standalone mod, but it works better integrated into the vanilla experience.

Testing

Spawned the various maps and verifed that NPCs dialogue options and missions work

Additional context

Co-authored-by: Maleclypse <https://github.com/Maleclypse>
Co-authored-by: MNG-cataclysm <https://github.com/MNG-cataclysm>

@github-actions github-actions bot added the JSON related to game datas in JSON format. label Dec 16, 2023
Copy link
Contributor

autofix-ci bot commented Dec 16, 2023

The Autofix app has automatically formatted this Pull Request.

If you edit your PR on web UI, you can ignore this message.
If you edit your PR locally, YOU MUST DO EITHER OF THE FOLLOWING:

  • Run git pull to merge the automated commit into your local copy of the PR branch.
  • Format your code locally, and force push to your PR branch.

If you don't do this, your following work will be based on the old commit, and cause MERGE CONFLICT.

@Zlorthishen Zlorthishen changed the title featport (content): More NPCs refactor (content): More NPCs Dec 16, 2023
@Zlorthishen Zlorthishen marked this pull request as ready for review December 16, 2023 00:31
@scarf005 scarf005 changed the title refactor (content): More NPCs refactor(content): More NPCs Dec 16, 2023
@scarf005 scarf005 self-requested a review December 16, 2023 01:02
@scarf005 scarf005 self-assigned this Dec 16, 2023
@scarf005 scarf005 changed the title refactor(content): More NPCs feat(content,port): More NPCs Dec 16, 2023
Copy link
Member

@scarf005 scarf005 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for the port. however, these commits are ported from DDA and thus must be attributed accordingly. could you add attribution to individual commits?

@Zlorthishen Zlorthishen requested a review from scarf005 December 16, 2023 01:07
Copy link
Collaborator

@RoyalFox2140 RoyalFox2140 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You've left in DDA exclusive items in the dialogue. lc_steel_lump mc_steel_lump and hc_steel_lump are not in BN and are not candidates to port as those are different carbon grades of steel. I am also unsure if we even have muriatic acid in the game. You'll need to playtest the changes and remove references to things that don't exist.

I also may have missed it but I didn't see a blacksmith NPC in this pull that is referenced in the scrapyard questline, we need to either port that blacksmith or remove that quest for now.

I give my overall general approval of the npc's, quest, and dialogue once any JSON issues are ironed out. Asking thoughts on the NPC's from @KheirFerrum as the lore re-writer.

@RoyalFox2140
Copy link
Collaborator

@scarf005 The tests won't account for item ID's we're missing from DDA.

@scarf005 scarf005 requested a review from chaosvolt January 9, 2024 03:57
@scarf005
Copy link
Member

scarf005 commented Jan 9, 2024

@chaosvolt could you review the changes made since my last review (from 2 weeks ago)?

@scarf005 scarf005 assigned chaosvolt and unassigned scarf005 Jan 9, 2024
"type": "mapgen",
"method": "json",
"om_terrain": [
[ "apartments_con_tower_113", "apartments_con_tower_013" ],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intended that this be basically identical to the mapgen entry above except for placing the NPC and related zones, by the way? I guess there's no real sane or easy way to shift the ownership and zone placement such that it only triggers if the NPC spawns, though nested chunk or mapgen update stuff could be done to pare this down into just being a fixed chance of spawning in the baseline variant.

Copy link
Member

@chaosvolt chaosvolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proposed some easy fixes but moving the epilogues to the existing set of epilogues (honestly with how much other stuff this PR added related to him was redundant I'm surprised he doesn't already HAVE epilogues) will be slightly more complicated than what chance suggestions can do.

data/json/overmap/overmap_terrain/overmap_terrain.json Outdated Show resolved Hide resolved
data/json/overmap/overmap_special/specials.json Outdated Show resolved Hide resolved
data/json/overmap/overmap_special/specials.json Outdated Show resolved Hide resolved
data/json/overmap/overmap_special/specials.json Outdated Show resolved Hide resolved
Zlorthishen and others added 9 commits January 10, 2024 17:54
Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com>
Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com>
Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com>
Co-authored-by: Chaosvolt <chaosvolt@users.noreply.github.com>
added Mr. Lapin's faction
added Mr. Lapin's faction
Copy link
Member

@chaosvolt chaosvolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't see anything else that stands out as odd so think it's all good, but can let Scarf take a last-minute look at it too.

Copy link
Member

@scarf005 scarf005 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I highly trust CV

could merge once the tests pass.

@chaosvolt chaosvolt merged commit 35d7c1c into cataclysmbnteam:main Jan 11, 2024
9 checks passed
@Zlorthishen Zlorthishen deleted the More-NPCs branch January 11, 2024 01:43
},
{
"text": "[40$] I'll buy some aspirin.",
"effect": [ { "u_buy_item": "aspirin", "container": "bottle_plastic_pill_prescription", "cost": 4000, "count": 20 } ],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is the problem. Sadly noone checked the container.

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

Successfully merging this pull request may close these issues.

6 participants