Files
Bubberstation/code/datums/components
SmArtKar b1bebf0f21 Fixes rolling paper runtiming when trying to stuff a blunt (#91666)
## About The Pull Request
The component was moving itself to, assigning as ``atom_parent`` and
then deleting the joint it just made, runtiming and failing to do
anything.
Closes #91665
Closes #91690

## Changelog
🆑
fix: Fixed rolling paper runtiming when trying to stuff a blunt
/🆑
2025-06-19 17:25:24 -04:00
..
2025-06-05 20:18:27 -04:00
2025-05-15 16:10:48 -04:00
2025-06-15 15:52:11 -04:00
2025-04-14 15:51:24 -04:00
2025-01-11 11:38:00 -08:00
2025-03-12 16:43:07 -04:00
2025-01-22 20:50:07 -07:00
2025-01-28 03:12:59 +01:00
2025-06-04 20:01:33 -04:00
2025-05-08 19:21:08 -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 its 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