Skip to content

Feature: Event Cleanup

Drew Litherland edited this page Sep 16, 2025 · 2 revisions

Many event types haven't yet been implemented, or have been implemented poorly. Also, previously Crazy Hand was used as a reference, but hsdraw actually has more event types accounted for and better names for each event. Cleaning up events would involve further implementing event types by going into the repository's "structs" folder and creating new properties for anything that would have an interesting impact if randomized. Additionally, subaction.py would need updated to store all events of that type into its own array, and handle the case for the event command when importing them from the dat. Viewing existing files within "structs" would serve as a good reference point.

Another issue is that within utility.py are set_value and get_value commands, which I would like to remove. When starting I wasn't as good with bitwise operations and think that it'd be more clear to mask just a few bytes that contain the necessary bits.

Clone this wiki locally