from_ghosts 
Ghost rulesets
Rulesets which select an observer/ghost player to play as a new character
Implementation notes:
- prepare_role will handle making the body for the mob for you. Avoid touching it if not necessary.
- create_ruleset_body is what makes the new /mob for the candidate. It handles putting the player in the body for you. You can override it entirely for to spawn a different mob type. You can also override it to spawn nothing, if you're doing special handling in assign_role, but you'll have to handle moving the player yourself.
- assign_role is what gives the player their antag datum.
Vars | |
candidate_role | Text shown in the candidate poll. Optional, if unset uses pref_flag. (Though required if pref_flag is unset) |
---|---|
signup_atom_appearance | Path of an item to show up in ghost polls for applicants to sign up. |
Procs | |
create_ruleset_body | Handles making the body for the candidate |
Var Details
candidate_role 
Text shown in the candidate poll. Optional, if unset uses pref_flag. (Though required if pref_flag is unset)
signup_atom_appearance 
Path of an item to show up in ghost polls for applicants to sign up.
Proc Details
create_ruleset_body
Handles making the body for the candidate
Handling loc is not necessary here - you can do it in assign_role
Returning null will skip body creation entirely, though you will be expected to do it yourself in assign_role