mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-03-20 18:52:51 +00:00
* fix some crashes * lets clean this all up * trymove * the rest * Revert "the rest" This reverts commita2076cbfb0. * Revert "trymove" This reverts commitf63e3c822f. * Revert "lets clean this all up" This reverts commitc590eef512. * lets keep this in scope * admin stuff * this too * fix * this needs to be forceMoved * Revert "this needs to be forceMoved" This reverts commitd24f883699. * stardog mouth fix and qdel
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.