mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-16 12:07:48 +00:00
## About The Pull Request What it says on the tin--this adds a way for things listening to `COMSIG_LIVING_BLOCK_SHOCK` to return a cancellation signal. Refactored silicon mobs to use it. Before when you wanted to prevent a shock from going through, the only option was to create snowflake checks for whatever special mob you were working with and overriding their `electrocute_act()`. This will allow for more control without having to resort to dealing with mob code directly, or worry about inheritance. ## Why It's Good For The Game `electrocute_act()` can be a bit unwieldy to work with sometimes when you want to add custom behavior, and this will give users more control and options. ## Changelog Nothing immediately player facing --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>