/tg/ Station 13 - Modules - TypesVar Details - Proc Details

from_ghosts

Vars

makeBodyWhether the ruleset should call generate_ruleset_body or not.
required_applicantsThe rule needs this many applicants to be properly executed.
signup_item_pathPath of an item to show up in ghost polls for applicants to sign up.

Procs

attempt_replacementFired when there are no valid candidates. Will spawn a sleeper agent or latejoin traitor.
finish_applicationsHere the accepted applications get generated bodies and their setup is finished. Called by review_applications()
review_applicationsHere is where you can check if your ghost applicants are valid for the ruleset. Called by send_applications().
send_applicationsThis sends a poll to ghosts if they want to be a ghost spawn from a ruleset.

Var Details

makeBody

Whether the ruleset should call generate_ruleset_body or not.

required_applicants

The rule needs this many applicants to be properly executed.

signup_item_path

Path of an item to show up in ghost polls for applicants to sign up.

Proc Details

attempt_replacement

Fired when there are no valid candidates. Will spawn a sleeper agent or latejoin traitor.

finish_applications

Here the accepted applications get generated bodies and their setup is finished. Called by review_applications()

review_applications

Here is where you can check if your ghost applicants are valid for the ruleset. Called by send_applications().

send_applications

This sends a poll to ghosts if they want to be a ghost spawn from a ruleset.