[ENGINE] Implement queue system for actions #252
Labels
documentation
Improvements or additions to documentation
enhancement
Enhancement to an existing feature
help wanted
Extra attention is needed
needs workshopping
new feature
A new feature or request
work in progress
Work in progress
Game Engine Feature Description
Many actions in-game are queued by priority, these queues are applied to all actors (both players and npcs).
There are three priorities that can be assigned to actions:
Weak
Weak actions cancel whenever any other action is performed - movement, opening an interface, other weak actions, etc. Weak actions are ignored if a normal or strong action is running.
Normal
Normal strength actions will pause and wait for opened interfaces to be closed before continuing to execute. Normal actions are cancelled by movement, other normal strength actions, and strong actions.
Strong
Strong actions will close opened interfaces in order to execute. Strong actions can only be cancelled manually or via expiring/executing naturally.
Acceptance Criteria
TBD - Needs Workshopping
Additional Information
We need to figure out what action does what and implement accordingly. A good action priority queue implementation is present in https://github.com/rsmod/rsmod
The text was updated successfully, but these errors were encountered: