2 lines
1.9 KiB
HTML
2 lines
1.9 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/multiple_lives - /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> — <a href="datum/component/multiple_lives.html#var">Var Details</a></header><main><h1>multiple_lives <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/multiple_lives.html">multiple_lives</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/multiple_lives.dm#L5"><img src="git.png" width="16" height="16" title="code/datums/components/multiple_lives.dm 5"></a></h1><p>A simple component that spawns a mob of the same type and transfers itself to it when parent dies.
|
||
For more complex behaviors, use the COMSIG_ON_MULTIPLE_LIVES_RESPAWN comsig.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/multiple_lives.html#var/lives_left">lives_left</a></th><td>The number of respawns the living mob has left.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/lives_left"><aside class="declaration">var </aside>lives_left <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/multiple_lives.dm#L11"><img src="git.png" width="16" height="16" title="code/datums/components/multiple_lives.dm 11"></a></h3><p>The number of respawns the living mob has left.</p></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> |