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

A shortcut should be added for accessing RNG during game opening #233

Open
haykam821 opened this issue Jul 16, 2022 · 0 comments
Open

A shortcut should be added for accessing RNG during game opening #233

haykam821 opened this issue Jul 16, 2022 · 0 comments
Labels
feature New feature or request

Comments

@haykam821
Copy link
Contributor

One current method of accessing RNG during game opening is to use the Random attached the the overworld:

context.server().getOverworld().getRandom();

This solution is not ideal as it's quite verbose. A simpler method would be preferred instead:

context.random();
@haykam821 haykam821 added the feature New feature or request label Jul 16, 2022
@haykam821 haykam821 self-assigned this Jul 16, 2022
@haykam821 haykam821 removed their assignment Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant