khaaroot_hivemind 
Main controller for Khaaroot hivemind pseudo-antagonist system. Attached to the infector (Apex Field Officer), manages thralls and provides TGUI control interface.
Vars | |
| active | Whether the hivemind is active |
|---|---|
| infector_ref | Weakref to the infector's mind |
| team | Team datum for shared HUD |
| thralls | List of weakrefs to thrall minds |
Procs | |
| broadcast_message | Broadcast a message to all thralls and the infector |
| find_thrall_mind | Find a thrall mind by its REF string |
| get_infector | Returns the infector mind, or null |
| get_infector_mob | Returns the infector mob, or null |
| get_thrall_objective | Returns the current objective for a thrall |
| get_thralls_data | Get data for all thralls for TGUI |
| infect | Infects a target mob, making them a thrall |
| is_infector | Checks if the given mob is the infector |
| kill_thrall | Kill a thrall remotely |
| on_thrall_mind_transferred | Handler for thrall mind transfer |
| on_thrall_update | Handler for thrall state changes |
| remove_thrall | Removes a thrall from the hivemind |
| send_command | Send a command/message to a specific thrall from the infector |
| set_thrall_objective | Sets a new objective for a thrall |
| update_ui | Updates all open UIs |
Var Details
active 
Whether the hivemind is active
infector_ref 
Weakref to the infector's mind
team 
Team datum for shared HUD
thralls 
List of weakrefs to thrall minds
Proc Details
broadcast_message
Broadcast a message to all thralls and the infector
find_thrall_mind
Find a thrall mind by its REF string
get_infector
Returns the infector mind, or null
get_infector_mob
Returns the infector mob, or null
get_thrall_objective
Returns the current objective for a thrall
get_thralls_data
Get data for all thralls for TGUI
infect
Infects a target mob, making them a thrall
is_infector
Checks if the given mob is the infector
kill_thrall
Kill a thrall remotely
on_thrall_mind_transferred
Handler for thrall mind transfer
on_thrall_update
Handler for thrall state changes
remove_thrall
Removes a thrall from the hivemind
send_command
Send a command/message to a specific thrall from the infector
set_thrall_objective
Sets a new objective for a thrall
update_ui
Updates all open UIs