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 Request] Make time move proportionally to percentage of players sleeping #47

Closed
resindrake opened this issue Apr 1, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@resindrake
Copy link

It'd be a really useful feature if the night went faster the more players were sleeping, up to instant-vanilla speed if 100% of players are asleep.

@nkomarn nkomarn added the enhancement New feature or request label Apr 2, 2020
@nkomarn
Copy link
Owner

nkomarn commented Apr 4, 2020

Would you want time to start increasing when a threshold of sleeping players is reached or just start when a single person is in bed?

@resindrake
Copy link
Author

resindrake commented Apr 4, 2020

I'd say tie it to the pre-existing threshold in the config, with an extra flag to enable this proportional acceleration.

Let me give an example to be more clear what I mean:
Say you have 8 people on a server, and the threshold is 4:
0-3 people wouldn't accelerate time at all.
4-8 people would accelerate time by 20%, 40%, 60%, 80%, and finally 100% for all 8 people.

Edit: (100% being the full default acceleration speed that the mod already uses)

@nkomarn
Copy link
Owner

nkomarn commented Apr 4, 2020

Implemented in f727f27- please reopen the issue if you have any other requests related to this feature or find issues with the implementation. Thanks for the suggestion :)

@nkomarn nkomarn closed this as completed Apr 4, 2020
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

2 participants