Files
GS13NG/code/datums/components
silicons 03e8c32acd Merge pull request #15402 from Linzolle/pinremoval
finally change pin removal from crafting to tools
2021-12-19 18:54:50 -08:00
..
2021-11-18 14:57:19 -03:00
2021-11-18 14:57:19 -03:00
fix
2021-10-29 22:44:01 -07:00
2021-09-02 03:05:23 -04:00
2021-03-12 12:11:35 +08:00
2021-11-14 21:34:59 +01:00
2021-02-13 15:20:24 -06:00
2021-04-26 14:21:59 -07:00
2021-06-21 09:18:06 -07:00
2021-07-29 13:57:19 +03:00
2021-06-21 19:05:31 +02:00
fix
2021-06-28 13:24:12 -07:00
2021-11-16 20:26:38 +01:00
2021-05-06 02:09:06 -07:00
e
2021-12-03 18:29:13 +01:00
2021-02-18 15:05:39 -03:00
2021-07-29 13:57:19 +03:00
2021-09-28 22:03:17 -03: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