You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Description
This removes the old `follow` command and creates a new module called `follow` with extended functionality.
It also adds a `MobIdle{}` event that can be handled for when mobs are idle.
Mobs out of alignment with players won't let players follow them.
## Changes
- Added mob and user `follow` commands
- Includes `unfollow`/`follow stop`, and `lose`/`follow lose`
- Players can now follow mobs, not just other players.
- Mobs can now follow players/mobs, a behavior that did not exist previously.
- Added helpfile, keywords, etc. into module
- Removed character `followers` slice and functions that use it.
- Adjusted listener adding logic for default "add to end" behavior
- mob commands now look for any keyword aliases that are defined to use.
- Fixed up some bugginess with keyword aliases that was appending a space to the end, causing things to break.
- Added `MobIdle{}` event and handlers. Moved some of the existing mob idle calculation to a new handler function.
- follow module abort MobIdle{} event if mob is in the middle of a follow behavior.
## Links
#348
0 commit comments