ghost_direct_control 
Component which lets ghosts click on a mob to take control of it
Vars | |
after_assumed_control | Callback run after someone successfully takes over the body |
---|---|
assumed_control_message | Message to display upon successful possession |
awaiting_ghosts | If we're currently awaiting the results of a ghost poll |
ban_type | Type of ban you can get to prevent you from accepting this role |
extra_control_checks | Any extra checks which need to run before we take over |
is_antag_spawner | Is this an antagonist spawner, so we check ROLE_SYNDICATE |
Procs | |
assume_direct_control | Grant possession of our mob, component is now no longer required |
attempt_possession | We got far enough to establish that this mob is a valid target, let's try to posssess it |
on_examined | Inform ghosts that they can possess this |
on_ghost_clicked | A ghost clicked on us, they want to get in this body |
on_login | When someone assumes control, get rid of our component |
request_ghost_control | Send out a request for a brain |
Var Details
after_assumed_control 
Callback run after someone successfully takes over the body
assumed_control_message 
Message to display upon successful possession
awaiting_ghosts 
If we're currently awaiting the results of a ghost poll
ban_type 
Type of ban you can get to prevent you from accepting this role
extra_control_checks 
Any extra checks which need to run before we take over
is_antag_spawner 
Is this an antagonist spawner, so we check ROLE_SYNDICATE
Proc Details
assume_direct_control
Grant possession of our mob, component is now no longer required
attempt_possession
We got far enough to establish that this mob is a valid target, let's try to posssess it
on_examined
Inform ghosts that they can possess this
on_ghost_clicked
A ghost clicked on us, they want to get in this body
on_login
When someone assumes control, get rid of our component
request_ghost_control
Send out a request for a brain