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

[FEATURE] use pseudo/seeded RNG on the choice of entity templates #228

Open
2 tasks
Aelto opened this issue Jun 5, 2024 · 0 comments
Open
2 tasks

[FEATURE] use pseudo/seeded RNG on the choice of entity templates #228

Aelto opened this issue Jun 5, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Aelto
Copy link
Owner

Aelto commented Jun 5, 2024

At the moment the entity templates are picked randomly whenever an entity is spawned by the mod, that means bounties and contracts may not spawn the exact same entity if a player dies and reloads the save.

  • generate seed number from encounter's position and maybe other values for extra randomness
  • update spawning code to use said seed while picking entity template
@Aelto Aelto added the enhancement New feature or request label Jun 5, 2024
@Aelto Aelto added this to the v3.4 milestone Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant