Files
GS13NG/code/datums/components
silicons d0b3857cb6 Merge pull request #14842 from WanderingFox95/WanderingFox95-TheWheelchairPRs
[Ready] Wheelchair Sprite Rollback + Motorized Hoverchairs
2021-07-09 16:50:00 -07:00
..
2020-11-12 23:34:42 -07:00
2021-06-12 04:49:23 -07:00
2021-03-12 12:11:35 +08:00
2020-10-06 17:34:13 +02:00
2020-09-02 19:16:16 +02:00
2021-03-20 14:09:23 -07:00
2021-06-21 09:52:54 -07:00
2020-12-24 11:06:49 +08:00
2021-02-13 15:20:24 -06:00
2021-04-26 14:21:59 -07:00
2020-11-12 23:34:42 -07:00
2020-11-12 23:34:42 -07:00
2021-06-21 09:18:06 -07:00
2020-11-12 23:34:42 -07:00
2021-03-09 02:58:34 -08:00
2021-06-21 19:05:31 +02:00
2021-01-28 17:09:28 +03:00
2021-02-08 18:46:05 +08:00
2021-05-06 02:09:06 -07:00
LF
2020-12-20 18:55:45 -07:00
2021-01-20 16:01:09 -07:00
2021-02-18 15:05:39 -03:00
2020-11-12 23:34:42 -07:00
2020-11-12 23:34:42 -07:00
2020-11-12 23:34:42 -07:00
2021-01-16 06:12:34 -07:00
2020-11-12 23:34:42 -07:00
2020-11-12 23:34:42 -07:00
2021-01-20 16:05:20 +02:00
2020-11-12 23:34:42 -07:00
2020-12-29 15:56:10 -07: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.

See this thread for an introduction to the system as a whole.

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