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

Show current interval day #75

Open
sepulzera opened this issue Sep 14, 2021 · 2 comments
Open

Show current interval day #75

sepulzera opened this issue Sep 14, 2021 · 2 comments

Comments

@sepulzera
Copy link

With nightSelectionType: INTERVAL

Is there any way for the players to check, when the next bloodnight will occur?

Like a server message per day, announcing that it is day x of bloodnight:interval days?

@rainbowdashlabs
Copy link
Member

There is a placeholder which shows the probability of the next night being a blood night
https://github.com/eldoriarpg/BloodNight/wiki/Placeholders#probability-of-next-night

I tried to keep the placeholders as general as possible, since I didn't wanted to implement a placeholder for each selection type.
Also since the interval still has a probability it still can be that the next night will be a bloodnight according to the interval but not to the probability. That's mostly the reason why there is no placeholder for the current interval.

Does this placeholder already satisfy your needs or do you wish to have a dedicated placeholder for the interval?

@sepulzera
Copy link
Author

Sorry for the late reply, I had to figure out what PlaceholdersAPI is and how I could make use of it. :-)

With the given placeholders by this plugin, I can query if the next night could be a bloodnight. Alternatively, I can query the same condition for the n-th following night.

I guess I could work with that, but it is kind of cumbersome to identify the next potential bloodnight when using nightSelectionType: INTERVAL.

A placeholder that returns how many days/nights the next potential bloodnight is away would be awesome. That placeholder could be of use for MOON_PHASE and REAL_MOON_PHASE, too.

Example sentence: %bloodnight_next% days until the next bloodnight.

As second possible implementation could be a placeholder that queries the number of days into the interval.

Example sentence: Day %bloodnight_interval% of 8.

Both sentences could be misleading for other nightSelectionTypes, or when mixing INTERVAL with a probability. But Ithat could be covered by the documentation.

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