Files
Bubberstation/code/modules/mob
Bloop 0cf2ceb78c Adds COMPONENT_LIVING_BLOCK_SHOCK (#81774)
## 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>
2024-03-02 14:54:50 -07:00
..
2024-02-16 23:10:15 +01:00