mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
1 line
10 KiB
HTML
1 line
10 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/effect/mob_spawn - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="obj/effect/mob_spawn.html#var">Var Details</a></header><main><h1>mob_spawn <aside>/<a href="obj.html">obj</a>/<a href="obj/effect/mob_spawn.html">effect/mob_spawn</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L9"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 9"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/death">death</a></th><td>Kill the mob</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/death_cooldown">death_cooldown</a></th><td>How long you have to wait after dying before using it again. People that join as observers are not included.</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/description">description</a></th><td>Intended as OOC info about the role</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/disease">disease</a></th><td>Do they start with a pre-spawned disease?</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/faction">faction</a></th><td>List of additional factions for our mob</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/flavour_text">flavour_text</a></th><td>Flavour/fluff about the role, optional.</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/important_info">important_info</a></th><td>Important info such as rules that apply to you, etc. Optional.</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/instant">instant</a></th><td>Fires on New</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/mob_color">mob_color</a></th><td>Change the mob's color</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/mob_name">mob_name</a></th><td>Overrides name given to our mob</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/offstation_role">offstation_role</a></th><td>If set to true, the role of the user's mind will be set to offstation</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/permanent">permanent</a></th><td>If true, the spawner will not disappear upon running out of uses.</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/restrict_ahud">restrict_ahud</a></th><td>If late-observers with ahud are prevented from using it.</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/restrict_antagban">restrict_antagban</a></th><td>If antagbanned people are prevented from using it, only false for the ghost bar spawner.</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/restrict_respawnability">restrict_respawnability</a></th><td>If people without respawnability are prevented from using it.</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/role_name">role_name</a></th><td>Who do we gonna play for</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/roundstart">roundstart</a></th><td>Fires on initialize</td></tr><tr><th><a href="obj/effect/mob_spawn.html#var/uses">uses</a></th><td>How many times can we spawn from it. Set to -1 for infinite.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/death"><aside class="declaration">var </aside>death <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L20"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 20"></a></h3><p>Kill the mob</p><h3 id="var/death_cooldown"><aside class="declaration">var </aside>death_cooldown <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L51"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 51"></a></h3><p>How long you have to wait after dying before using it again. People that join as observers are not included.</p><h3 id="var/description"><aside class="declaration">var </aside>description <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L28"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 28"></a></h3><p>Intended as OOC info about the role</p><h3 id="var/disease"><aside class="declaration">var </aside>disease <aside>– /<a href="datum.html">datum</a>/<a href="datum/disease.html">disease</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L42"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 42"></a></h3><p>Do they start with a pre-spawned disease?</p><h3 id="var/faction"><aside class="declaration">var </aside>faction <aside>– /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L32"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 32"></a></h3><p>List of additional factions for our mob</p><h3 id="var/flavour_text"><aside class="declaration">var </aside>flavour_text <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L26"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 26"></a></h3><p>Flavour/fluff about the role, optional.</p><h3 id="var/important_info"><aside class="declaration">var </aside>important_info <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L30"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 30"></a></h3><p>Important info such as rules that apply to you, etc. Optional.</p><h3 id="var/instant"><aside class="declaration">var </aside>instant <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L24"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 24"></a></h3><p>Fires on New</p><h3 id="var/mob_color"><aside class="declaration">var </aside>mob_color <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L44"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 44"></a></h3><p>Change the mob's color</p><h3 id="var/mob_name"><aside class="declaration">var </aside>mob_name <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L16"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 16"></a></h3><p>Overrides name given to our mob</p><h3 id="var/offstation_role"><aside class="declaration">var </aside>offstation_role <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L49"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 49"></a></h3><p>If set to true, the role of the user's mind will be set to offstation</p><h3 id="var/permanent"><aside class="declaration">var </aside>permanent <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L34"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 34"></a></h3><p>If true, the spawner will not disappear upon running out of uses.</p><h3 id="var/restrict_ahud"><aside class="declaration">var </aside>restrict_ahud <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L57"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 57"></a></h3><p>If late-observers with ahud are prevented from using it.</p><h3 id="var/restrict_antagban"><aside class="declaration">var </aside>restrict_antagban <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L53"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 53"></a></h3><p>If antagbanned people are prevented from using it, only false for the ghost bar spawner.</p><h3 id="var/restrict_respawnability"><aside class="declaration">var </aside>restrict_respawnability <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L55"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 55"></a></h3><p>If people without respawnability are prevented from using it.</p><h3 id="var/role_name"><aside class="declaration">var </aside>role_name <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L18"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 18"></a></h3><p>Who do we gonna play for</p><h3 id="var/roundstart"><aside class="declaration">var </aside>roundstart <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L22"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 22"></a></h3><p>Fires on initialize</p><h3 id="var/uses"><aside class="declaration">var </aside>uses <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/awaymissions/mob_spawn.dm#L37"><img src="git.png" width="16" height="16" title="code/modules/awaymissions/mob_spawn.dm 37"></a></h3><p>How many times can we spawn from it. Set to -1 for infinite.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |