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

[Nyzul] Random layout generation implementation #6995

Draft
wants to merge 1 commit into
base: base
Choose a base branch
from

Conversation

Xaver-DaRed
Copy link
Contributor

@Xaver-DaRed Xaver-DaRed commented Feb 8, 2025

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
  • I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.

What does this pull request do?

  • Adds logic to generate a truly random layout for Nyzul Isle Investigation assault.
  • Defines 1 of the 6 blocks of rooms, as an example.

Currently, while we randomize mobs and objectives, we do not truly randomize the layouts. This is because we do not handle door opening nor closing, for statrters. So this attempts to randomize in a logical way which doors open and close.

Process:

  1. We select a block (Currently 1 only defined, but there are 6)
  2. We select a room group at random to act as the start.
  3. We loop using the previous group as a start and using the groups connected to it as the choices to continue. From there, we add the possible groups, while removing the ones we use AND we do not allow the ones we used to be re-added. All until we reach the requested amount of groups.
  4. Once we have the room list, we populate several tables with the information we want, and we are done.

Steps to test these changes

Experimental. Not implemented.

Help wanted

If you know how to create/edit images or know someone that isnt a complete ignorant on the matter, I would like to request you contact me.
The reason:

  • I have been mapping nyzul map, with the location and names of the doors and such, in order to create this tables.
  • I would like to add said maps to our documentation folder, but a mobile-phone photo just wont cut it.

@LandSandBoat LandSandBoat deleted a comment from github-actions bot Feb 8, 2025
@Xaver-DaRed Xaver-DaRed force-pushed the nyzul-6001 branch 2 times, most recently from dec8117 to 08b50c1 Compare February 9, 2025 01:03
Copy link
Contributor

@zach2good zach2good left a comment

Choose a reason for hiding this comment

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

Cool!

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