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

Partially jsonified mine mapgen #817

Merged
merged 7 commits into from
Sep 5, 2021

Conversation

Night-Pryanik
Copy link
Contributor

@Night-Pryanik Night-Pryanik commented Aug 28, 2021

Summary

SUMMARY: Content "Partially jsonified mine mapgen."

Purpose of change

To add my rework of mine entrance, spiral and amigara mines from DDA to BN.

Describe the solution

Added my rework from several DDA's PRs related to mine jsonify.
Specifically:

  • reworked mine entrance to be more realistic, interesting and rewarding.
  • added zombie miner and made it spawn in mine entrance and mine tunnels.
  • jsonified and enhanced spiral mine.
  • jsonified and enhanced amigara mine.
  • jsonified and enhanced wyrms mine.
  • added new "trolley" vehicle.

Full details could be found in the following PRs.
CleverRaven/Cataclysm-DDA#47790
CleverRaven/Cataclysm-DDA#47928
CleverRaven/Cataclysm-DDA#48003
CleverRaven/Cataclysm-DDA#50592
CleverRaven/Cataclysm-DDA#51167

I had to made several changes while porting because in BN there ain't some features that exist in DDA, most notably ramps mechanics.

Describe alternatives you've considered

None.

Testing

Debug-spawned and naturally found several mines, checked if there are errors popping up.

Additional context

This is a big PR to review, but all changes were thoroughly tested while I was working on them in DDA, and also several months passed after they were merged in DDA, and no problems seems to happen, so I think there's no reason to split it up to smaller pieces.

@Coolthulhu Coolthulhu self-assigned this Sep 4, 2021
@Coolthulhu Coolthulhu merged commit 432f007 into cataclysmbnteam:upload Sep 5, 2021
@Coolthulhu
Copy link
Member

Damn, the mine code is clunky. I saw at least 2 tentacle dogs and one amigara in one mine.

@Night-Pryanik
Copy link
Contributor Author

Tentacle dog is the last thing left for jsonify. After I'm done with it, I'll remove the hardcoded part altogether, and it will naturally remove dupes of mine finales.

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.

2 participants