byond - Modules - TypesVar Details - Proc Details

holopad

Vars

can_hear_flagsbitfield. used to turn on and off hearing sensitivity depending on if we can act on Hear() at all - meant for lowering the number of unessesary hearable atoms
force_answer_callCalls will be automatically answered after a couple rings, here for debugging
holo_callsArray of /datum/holocalls that are calling US. this is only filled for holopads answering calls from another holopad
holo_rangeChange to change how far the AI can move away from the holopad before deactivating
holoraysHoloray-mob link
last_requestTo prevent request spam. ~Carn
mastersassociative lazylist of the form: list(mob calling us = hologram representing that mob). this is only populated for holopads answering calls from another holopad
outgoing_callCurrently outgoing holocall, cannot call any other holopads unless this is null. creating a new holocall from us to another holopad sets this var to that holocall datum
replay_holoReplay hologram

Procs

hangup_all_callsDisconnects all current holocalls from the holopad
set_can_hear_flagssetter for can_hear_flags. handles adding or removing the given flag on can_hear_flags and then adding hearing sensitivity or removing it depending on the final state this is necessary because holopads are a significant fraction of the hearable atoms on station which increases the cost of procs that iterate through hearables so we need holopads to not be hearable until it is needed
set_holocallsetter for adding/removing holocalls to this holopad. used to update the holo_calls list and can_hear_flags adds the given holocall if add_holocall is TRUE, removes if FALSE

Var Details

can_hear_flags

bitfield. used to turn on and off hearing sensitivity depending on if we can act on Hear() at all - meant for lowering the number of unessesary hearable atoms

force_answer_call

Calls will be automatically answered after a couple rings, here for debugging

holo_calls

Array of /datum/holocalls that are calling US. this is only filled for holopads answering calls from another holopad

holo_range

Change to change how far the AI can move away from the holopad before deactivating

holorays

Holoray-mob link

last_request

To prevent request spam. ~Carn

masters

associative lazylist of the form: list(mob calling us = hologram representing that mob). this is only populated for holopads answering calls from another holopad

outgoing_call

Currently outgoing holocall, cannot call any other holopads unless this is null. creating a new holocall from us to another holopad sets this var to that holocall datum

replay_holo

Replay hologram

Proc Details

hangup_all_calls

Disconnects all current holocalls from the holopad

set_can_hear_flags

setter for can_hear_flags. handles adding or removing the given flag on can_hear_flags and then adding hearing sensitivity or removing it depending on the final state this is necessary because holopads are a significant fraction of the hearable atoms on station which increases the cost of procs that iterate through hearables so we need holopads to not be hearable until it is needed

set_holocall

setter for adding/removing holocalls to this holopad. used to update the holo_calls list and can_hear_flags adds the given holocall if add_holocall is TRUE, removes if FALSE