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

suggestion: randomize map for each level #411

Open
BobtheBunny opened this issue Jul 23, 2022 · 2 comments
Open

suggestion: randomize map for each level #411

BobtheBunny opened this issue Jul 23, 2022 · 2 comments

Comments

@BobtheBunny
Copy link

BobtheBunny commented Jul 23, 2022

It would be great if there was a way to randomize the maps for each level. I assume the base code has an array it picks from. It might generate them when it starts the adventure based on the type (forest, sewers...), but I'm hoping we could pass it an array for each level.

For example I'd like to have 1st floor be a random boss map from Elven, 2nd floor random boss map from Sewers, and 3rd be random boss map from Forest.

@jimconner
Copy link
Collaborator

As a further feature for this, it would be great to be able to select by map size too. I'd like to be able to put together a fast-to-play game using only the smaller-sized maps.

@BobtheBunny
Copy link
Author

Just to keep it simple the function could take in arrays for each level, and it would be up to the modder to decide which map names to add to the arrays. If you want small maps, then only add small maps to the arrays. That has the most versatility.

If we had some sort If key word for small maps and large maps that would be cool too though! It would just have to be defined as an array of those map names.

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

No branches or pull requests

2 participants