Files
Bubberstation/code/datums/components
MrMelbert df7b3e4c31 Reverts a check added in [NO GBP] Fixes drone toolbox issues, fixes clothing unequipping, unit test (#87131)
## About The Pull Request

Fixes #87129

[This
change](https://github.com/tgstation/tgstation/pull/87073/files#diff-c8ab5fbc20de60e202b839834b039649cbb69a1c4b99b27a5e467f3889442ccd)
added in #87073, passing `invdrop = FALSE` to `doUnEquip`, breaks the
behavior of unequipping dropping your items. Because that's what
`invdrop` does. If you pass it as `FALSE` it prevents other items from
dropping off the mob, intended for like, outfit use / "quick swapping"
an item out

So I reverted it. Drone tools still seem to work I guess. @SyncIt21 

## Changelog

🆑 Melbert
fix: Fixes stuff staying on your body after removing your clothes
/🆑
2024-11-14 16:04:17 -08:00
..
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-05-18 11:40:59 -04:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-04-26 01:22:24 +02:00
2024-04-26 01:22:24 +02:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-04-23 20:43:45 +02:00
2024-04-29 21:15:33 +02:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-11-11 00:43:41 -08:00
2024-05-18 11:40:59 -04:00
2024-10-19 08:04:33 -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 its arguments with a SendSignal() call. Now every component that want's to can also know about this happening.

HackMD page for an introduction to the system as a whole.

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