Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[WIP] Turtle events #522
This makes most turtle actions fire an event describing the action. Other mods may then listen to the event, cancelling it or changing the behaviour. Examples of things which may be done:
Most of these serve little purpose in the main mod, but do allow for greater flexibility for other mods. Whilst this technically works as is, I'm marking "WIP" as I'd like to get some thoughts on the whole implementation. It may be that this whole system is overkill and we can build something much simpler but equally powerful.
I'd also like to flesh out the event system a little more. Potentially adding the following: