Files
Bubberstation/code/datums/components
SkyratBot 6cb78de27d [MIRROR] Fix echolocation lag ft. an actual fix (#27870)
* Fix echolocation lag ft. an actual fix (#83434)

## About The Pull Request
Fixes the actual underlying issue that makes images pile up when the
cooldown is lower than the fade time.
Also, adjusts the fade time to compensate for the new 1 second cooldown,
because otherwise you literally don't get an echolocation effect. Things
just never vanish.
Fixes #83385
## Why It's Good For The Game
well-
current behavior:

https://github.com/tgstation/tgstation/assets/25628932/98efda07-5396-4f8c-8460-69231bbfc32e
## Changelog
🆑 Fluffles
fix: echolocation is less laggy. and works.
/🆑

* Fix echolocation lag ft. an actual fix

---------

Co-authored-by: FlufflesTheDog <piecopresident@gmail.com>
2024-05-28 05:10:06 +02:00
..
2024-05-18 17:39:28 +02:00
2024-05-23 02:37:43 +02:00
2024-04-28 22:24:01 +02:00
2024-04-29 21:15:33 +02:00
2024-05-12 13:06:16 +00:00
2024-04-26 01:22:24 +02:00
2024-05-18 11:40:59 -04:00
2024-02-20 01:00:11 +01:00
2024-03-01 19:05:23 +01:00
2024-04-26 01:22:24 +02:00
2024-04-26 01:22:24 +02:00
2024-04-26 01:22:24 +02:00
2024-04-29 21:15:33 +02:00
2024-04-29 21:15:33 +02:00
2024-04-28 22:24:01 +02:00
2024-04-23 20:43:45 +02:00
2024-04-29 21:15:33 +02:00
2024-04-28 22:24:01 +02:00
2024-04-16 06:05:57 +00:00
2024-04-26 01:22:24 +02:00
2024-05-18 11:40:59 -04:00

Datum Component System (DCS)

Concept

Loosely adapted from /vg/. This is an entity component system for adding behaviours to datums when inheritance doesn't quite cut it. By using signals and events instead of direct inheritance, you can inject behaviours without hacky overloads. It requires a different method of thinking, but is not hard to use correctly. If a behaviour can have application across more than one thing. Make it generic, make it a component. Atom/mob/obj event? Give it a signal, and forward it's arguments with a SendSignal() call. Now every component that want's to can also know about this happening.

HackMD page for an introduction to the system as a whole.

See/Define signals and their arguments in __DEFINES\components.dm