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] A event fired when a book entry is first read #239

Closed
Karashok-Leo opened this issue Aug 4, 2024 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@Karashok-Leo
Copy link

I noticed that there are EntryClickedEvent and commandToRunOnFirstRead.
It would be even better if there was another event fired when a entry is first read.

@Karashok-Leo Karashok-Leo added the enhancement New feature or request label Aug 4, 2024
@klikli-dev
Copy link
Owner

@Karashok-Leo I will add this presently. Please make sure to read the (brief) documentation on the event regarding providing rewards or doing persistent game logic, as the event is not (fully) guaranteed to run only once per entry.

To summarize, if you use the event for rewards, you should store distributed rewards in a savegame to ensure players cannot "double dip".

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