Files
2025-02-05 06:19:18 +00:00

3 lines
4.8 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/dynamic_ruleset/midround/from_ghosts - /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/dynamic_ruleset/midround/from_ghosts.html#var">Var Details</a> - <a href="datum/dynamic_ruleset/midround/from_ghosts.html#proc">Proc Details</a></header><main><h1>from_ghosts <aside>/<a href="datum.html">datum</a>/<a href="datum/dynamic_ruleset.html">dynamic_ruleset</a>/<a href="datum/dynamic_ruleset/midround.html">midround</a>/<a href="datum/dynamic_ruleset/midround/from_ghosts.html">from_ghosts</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm#L24"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm 24"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/dynamic_ruleset/midround/from_ghosts.html#var/makeBody">makeBody</a></th><td>Whether the ruleset should call generate_ruleset_body or not.</td></tr><tr><th><a href="datum/dynamic_ruleset/midround/from_ghosts.html#var/required_applicants">required_applicants</a></th><td>The rule needs this many applicants to be properly executed.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/dynamic_ruleset/midround/from_ghosts.html#proc/attempt_replacement">attempt_replacement</a></th><td>Fired when there are no valid candidates. Will try to roll again in a minute.</td></tr><tr><th><a href="datum/dynamic_ruleset/midround/from_ghosts.html#proc/review_applications">review_applications</a></th><td>Here is where you can check if your ghost applicants are valid for the ruleset.
Called by send_applications().</td></tr><tr><th><a href="datum/dynamic_ruleset/midround/from_ghosts.html#proc/send_applications">send_applications</a></th><td>This sends a poll to ghosts if they want to be a ghost spawn from a ruleset.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/makeBody"><aside class="declaration">var </aside>makeBody <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm#L29"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm 29"></a></h3><p>Whether the ruleset should call generate_ruleset_body or not.</p><h3 id="var/required_applicants"><aside class="declaration">var </aside>required_applicants <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm#L31"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm 31"></a></h3><p>The rule needs this many applicants to be properly executed.</p><h2 id="proc">Proc Details</h2><h3 id="proc/attempt_replacement"><aside class="declaration">proc </aside>attempt_replacement<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm#L173"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm 173"></a></aside></h3><p>Fired when there are no valid candidates. Will try to roll again in a minute.</p><h3 id="proc/review_applications"><aside class="declaration">proc </aside>review_applications<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm#L129"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm 129"></a></aside></h3><p>Here is where you can check if your ghost applicants are valid for the ruleset.
Called by send_applications().</p><h3 id="proc/send_applications"><aside class="declaration">proc </aside>send_applications<aside>(/list/possible_volunteers) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm#L108"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm 108"></a></aside></h3><p>This sends a poll to ghosts if they want to be a ghost spawn from a ruleset.</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>