mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-08 05:42:56 +01:00
d90753ef82
* Feex (#65612) Splits reagent log string creation to a standard proc and a bespoke stupid proc that takes an external list instead of using its own reagents_list. * Fix issue with reagent logging where it would sometimes fail to output reagents on reagent transfer. * Update hyposprays_II.dm Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
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.