Deploying to gh-pages from @ e8e0068531 🚀

This commit is contained in:
sheepishgoat
2025-02-05 06:19:18 +00:00
commit 705fd9528e
1526 changed files with 8838 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/datums/components/README.md - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a></header><main><h1>Datum Component System (DCS) <aside>code/datums/components/README.md</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/README.md0"><img src="git.png" width="16" height="16" title="code/datums/components/README.md0"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2 id="concept">Concept</h2>
<p>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 <code>SendSignal()</code> call. Now every component that want's to can also know about this happening.</p>
<p>See <a href="https://tgstation13.org/phpBB/viewtopic.php?f=5&amp;t=22674">this thread</a> for an introduction to the system as a whole.</p>
<h3 id="see-define-signals-and-their-arguments-in-defines-components-dm">See/Define signals and their arguments in <a href="....__DEFINES%5Ccomponents.dm">__DEFINES\components.dm</a></h3></td></tr></table></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html>