byond - Modules - TypesVar Details - Proc Details

hive_status

Vars

candidatesQueue of all clients wanting to join xeno side
caste_death_timersTimer for caste evolution after the last one died, CASTE = TIMER
evotowerslist of evo towers
hivemindcoreslist of hivemind cores
nuke_hud_timerThe nuke HUD timer datum, shown on each xeno's screen
pherotowerslist of phero towers
psychictowerslist of upgrade towers
purchasesReference to upgrades available and purchased by this hive.
recovery_pylonsList of recovery pylons.
xenos_by_typepathdatum/xeno_caste = list(xeno mobs)

Procs

add_to_larva_candidate_queueAdd a client to the candidate queue, the first clients of the queue will have priority on new larva spots return TRUE if the client was added, FALSE if it was removed
attempt_deevolveattempts to have devolver devolve target
cleanup_waiterRemove ref to avoid hard del and null error
end_caste_death_timerAllows death delay caste to evolve. Safe for use by gamemode code, this allows per hive overrides
get_all_caste_membersreturns a list of all caste members, including other strains of this xeno caste
get_evolution_boostfetches number of bonus evo points given to the hive
get_hivemind_conduit_death_timerGets the hivemind conduit's death timer, AKA, the time before a replacement can evolve
get_structure_packetReturns a data entry for the "xeno structures" list based on the structure passed
get_total_hivemind_conduit_timeGets the total time that the death timer for the hivemind conduit will last
get_upgrade_boostfetches number of bonus maturity points given to the hive
get_watchable_xenosReturning all xenos including queen that are not at centcom and not self
get_xeno_locationActions that don't require you to be a xeno If the action we're sending is to observe, this will be the xeno being observed. Otherwise it's the xeno pressing the button. Returns the string location of the xeno
give_larva_to_next_in_queuePropose larvas until their is no more candidates, or no more burrowed
on_xeno_deathHandles any effects when a xeno dies
on_xeno_reviveHandles effects if a xeno is revived
remove_from_larva_candidate_queueRemove a client from the larva candidate queue
set_all_xeno_trackersUsed for setting the trackers of all xenos in the hive, like when a nuke activates
total_xenos_for_evolvingThe total amount of xenomorphs that are considered for evolving purposes, subtypes also consider stored larva, not just the current amount of living xenos
try_to_give_larvaAttempt to give a larva to the next in line, if not possible, free the xeno position and propose it to another candidate
update_tier_limitsupdates and sets the t2 and t3 xeno limits
upgrade_xenocalled by Xenomorph/proc/upgrade_xeno() to update xeno_by_upgrade
xeno_messageUsed for Hive Message alerts

Var Details

candidates

Queue of all clients wanting to join xeno side

caste_death_timers

Timer for caste evolution after the last one died, CASTE = TIMER

evotowers

list of evo towers

hivemindcores

list of hivemind cores

nuke_hud_timer

The nuke HUD timer datum, shown on each xeno's screen

pherotowers

list of phero towers

psychictowers

list of upgrade towers

purchases

Reference to upgrades available and purchased by this hive.

recovery_pylons

List of recovery pylons.

xenos_by_typepath

datum/xeno_caste = list(xeno mobs)

Proc Details

add_to_larva_candidate_queue

Add a client to the candidate queue, the first clients of the queue will have priority on new larva spots return TRUE if the client was added, FALSE if it was removed

attempt_deevolve

attempts to have devolver devolve target

cleanup_waiter

Remove ref to avoid hard del and null error

end_caste_death_timer

Allows death delay caste to evolve. Safe for use by gamemode code, this allows per hive overrides

get_all_caste_members

returns a list of all caste members, including other strains of this xeno caste

get_evolution_boost

fetches number of bonus evo points given to the hive

get_hivemind_conduit_death_timer

Gets the hivemind conduit's death timer, AKA, the time before a replacement can evolve

get_structure_packet

Returns a data entry for the "xeno structures" list based on the structure passed

get_total_hivemind_conduit_time

Gets the total time that the death timer for the hivemind conduit will last

get_upgrade_boost

fetches number of bonus maturity points given to the hive

get_watchable_xenos

Returning all xenos including queen that are not at centcom and not self

get_xeno_location

Actions that don't require you to be a xeno If the action we're sending is to observe, this will be the xeno being observed. Otherwise it's the xeno pressing the button. Returns the string location of the xeno

give_larva_to_next_in_queue

Propose larvas until their is no more candidates, or no more burrowed

on_xeno_death

Handles any effects when a xeno dies

on_xeno_revive

Handles effects if a xeno is revived

remove_from_larva_candidate_queue

Remove a client from the larva candidate queue

set_all_xeno_trackers

Used for setting the trackers of all xenos in the hive, like when a nuke activates

total_xenos_for_evolving

The total amount of xenomorphs that are considered for evolving purposes, subtypes also consider stored larva, not just the current amount of living xenos

try_to_give_larva

Attempt to give a larva to the next in line, if not possible, free the xeno position and propose it to another candidate

update_tier_limits

updates and sets the t2 and t3 xeno limits

upgrade_xeno

called by Xenomorph/proc/upgrade_xeno() to update xeno_by_upgrade

xeno_message

Used for Hive Message alerts