Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

[Feature] Events related to fishing? #53

Open
QAngelusQ opened this issue May 4, 2018 · 1 comment
Open

[Feature] Events related to fishing? #53

QAngelusQ opened this issue May 4, 2018 · 1 comment
Labels

Comments

@QAngelusQ
Copy link

Would it be possible to implement a fishing event for when the player experiences a successful reel?
Also an event for when a player starts fishing with determination options to change the reel time?

@QAngelusQ QAngelusQ changed the title [Feature] Tags related to fishing? [Feature] Events related to fishing? May 4, 2018
@Xenmai
Copy link
Contributor

Xenmai commented Dec 18, 2018

"Player Starts Fishing" and "Player Stops Fishing" have just been added and tested, so will soon be available on new builds.
The former fires when casting the fish hook, and has a context for returning that hook as an entity.
The latter fires when reeling the fish hook in, and has a context for that hook as an entity as well, on top of an "items" context that returns the items that will be spawned as loot. It also has a "new_items" determination for adjusting the loot.
The best way to know if the stop fishing event was successfull is checking if the items context is not empty. You can then adjust accordingly as needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants