Commit Graph

3 Commits

Author SHA1 Message Date
SkyratBot
e03e6e9436 [MIRROR] Fixes a runtime when attacking non-carbon mobs with a cuffsnapper [MDB IGNORE] (#21968)
* Fixes a runtime when attacking non-carbon mobs with a cuffsnapper  (#76190)

## About The Pull Request

The cuffsnapper component now checks to make sure the target is a carbon
before running the rest of the cuffsnapping process on them.

target.handcuffed is checked (handcuffed is defined on carbon), but
nowhere is it actually asserted that the target is a carbon, so a
runtime would occur when attacking non-carbon mobs.
## Why It's Good For The Game

This runtime fix was brought to you by https://runtimes.moth.fans
## Changelog
🆑
fix: attacking non-carbon mobs with a cuffsnapping object will no longer
runtime.
/🆑

* Fixes a runtime when attacking non-carbon mobs with a cuffsnapper

---------

Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com>
2023-06-23 16:09:21 -07:00
SkyratBot
6dfe17306c [MIRROR] Pulls apart the vestiges of components still hanging onto signals [MDB IGNORE] (#21738)
* Pulls apart the vestiges of components still hanging onto signals

* update modular

---------

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2023-06-18 13:18:23 +00:00
SkyratBot
8d4b3f589b [MIRROR] Refactors snipping cuffs into a bespoke cuffsnapping element [MDB IGNORE] (#21422)
* Refactors snipping cuffs into a bespoke cuffsnapping element (#75432)

Refactors snipping cuffs into a bespoke cuffsnapping element, adding
support for delayed cuffsnipping. Adds this element to box cutters!
Effectively speaking everything is the same as usual.

It's cool, it's based and elementized and modularized and not
hardcodeized on the jaws of life anymore. Plus it could be used in the
future for things (it won't)

* Refactors snipping cuffs into a bespoke cuffsnapping element

---------

Co-authored-by: carlarctg <53100513+carlarctg@users.noreply.github.com>
2023-05-25 23:11:20 +01:00