Files
S.P.L.U.R.T-Station-13/code/datums/components
silicons efecc1804b Merge pull request #14114 from Hatterhat/fgs
itt: i dont test my code again - free golem ship GPSes start disabled
2021-01-25 22:59:09 -07:00
..
2020-11-12 23:34:42 -07:00
e
2020-08-18 19:09:01 +10:00
2020-12-14 16:24:08 -06:00
2020-07-24 22:34:22 +01:00
2020-10-06 17:34:13 +02:00
2020-09-02 19:16:16 +02:00
2021-01-13 14:23:35 -07:00
2020-07-20 00:40:18 +01:00
2020-12-24 11:06:49 +08:00
2020-07-20 17:48:37 +01:00
2021-01-20 18:34:57 -06: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
2020-11-25 22:20:50 -07:00
wew
2020-12-28 17:27:16 -08:00
2020-11-14 19:26:54 +01:00
2020-08-07 16:23:15 -03:00
LF
2020-12-20 18:55:45 -07:00
fix
2021-01-16 04:59:07 -07:00
2020-07-28 10:47:07 -05: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
2020-08-07 01:31:29 -07:00
fix
2020-08-15 09:46:50 +08: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