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

Add possibility to control spawn interval rate #4390

Open
EPuncker opened this issue Apr 8, 2023 · 0 comments
Open

Add possibility to control spawn interval rate #4390

EPuncker opened this issue Apr 8, 2023 · 0 comments
Labels
feature New feature or functionality priority: low Issues with this label won’t have the immediate focus

Comments

@EPuncker
Copy link
Contributor

EPuncker commented Apr 8, 2023

Explanation of what you want to do that is currently impossible

This would be cool to set up events for faster spawn just like cip does

Desired functionality

  • Being able to define spawnIntervalRate in config.lua file
  • Lua script command to change it on the fly, something like Game.setSpawnRate(value[,MonsterClass])
  • MonsterClass is optional and would change the spawn rate only of monsters of that class, assuming PR [Feature] Bestiary #4356 gets merged
  • Default behavior would be changing all existing spawns rate
  • Accept only positive values and set a cap of 24 hours max value as of this is the default max value we use for spawn file

Discussion

I don't know what format to use for value, perhaps percentage since we doesn't support float values in config to have something like 1.5 rate, feel free to make your suggestions

@EPuncker EPuncker added feature New feature or functionality priority: low Issues with this label won’t have the immediate focus labels Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or functionality priority: low Issues with this label won’t have the immediate focus
Projects
None yet
Development

No branches or pull requests

1 participant