Commit Graph

1 Commits

Author SHA1 Message Date
SkyratBot
d349b495fb [MIRROR] Replaces bees and hivelord MOUSE_OPACITY_OPAQUE with a component. (#7955)
* Replaces bees and hivelord MOUSE_OPACITY_OPAQUE with a component. (#61032)

I have replaced the mouse opacity setting for bees and hivelord, its brood and legion skulls with a component that adds an almost (has to be 1 alpha to catch the click) invisible underlay to its target that doesn't block the entire turf.
The component prevents the underlay from shrinking or expanding above/below certain boundaries when the attached atom transform matrix is vv'd by an admin or if it's a mob being resized.
The component can be added to any atom, though there's no common signal for when objects are resized.

* Replaces bees and hivelord MOUSE_OPACITY_OPAQUE with a component.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-09-03 22:55:59 +01:00