BandaStation - Modules - Types — Var Details - Proc Details

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

activeWhether the hivemind is active
infector_refWeakref to the infector's mind
teamTeam datum for shared HUD
thrallsList of weakrefs to thrall minds

Procs

broadcast_messageBroadcast a message to all thralls and the infector
find_thrall_mindFind a thrall mind by its REF string
get_infectorReturns the infector mind, or null
get_infector_mobReturns the infector mob, or null
get_thrall_objectiveReturns the current objective for a thrall
get_thralls_dataGet data for all thralls for TGUI
infectInfects a target mob, making them a thrall
is_infectorChecks if the given mob is the infector
kill_thrallKill a thrall remotely
on_thrall_mind_transferredHandler for thrall mind transfer
on_thrall_updateHandler for thrall state changes
remove_thrallRemoves a thrall from the hivemind
send_commandSend a command/message to a specific thrall from the infector
set_thrall_objectiveSets a new objective for a thrall
update_uiUpdates 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