Normal Hive

Vars | |
active_endgame_pylons | List of references to hive pylons active in the game world |
---|---|
active_hivebuffs | List of references to the currently active hivebuffs |
allow_queen_evolve | Set to false if you want to prevent evolutions into Queens |
buff_points | Hive buffs |
cooldown_hivebuffs | List of references to used hivebuffs currently on cooldown |
free_slots | Assoc list of free slots available to specific castes |
hardcore | Set to true if you want to prevent bursts and spawns of new xenos. Will also prevent healing if the queen no longer exists |
has_hatchery | Has a King hatchery |
hijack_burrowed_left | how many burrowed is going to spawn during larva surge |
hit_larva_pylon_limit | If hit limit of larva from pylons |
hugger_timelock | When can huggers join the round |
latejoin_burrowed | Set to false if you want to prevent getting burrowed larva from latejoin marines |
lesser_drone_limit | How many lesser drones the hive can support |
lesser_drone_minimum | Slots available for lesser drones will never go below this number |
partial_larva | used by /datum/hive_status/proc/increase_larva_after_burst() to support non-integer increases to larva |
playable_hugger_limit | How many huggers can the hive support |
playable_hugger_max_divisor | This number divides the total xenos counted for slots to give the max number of facehuggers |
playable_hugger_minimum | Minimum number of huggers available at any hive size |
playable_lesser_drones_max_divisor | This number divides the total xenos counted for slots to give the max number of lesser drones |
reporting_id | Short Hive ID as string used in stats reporting |
tier_2_xenos | list of living tier2 xenos |
tier_3_xenos | list of living tier3 xenos |
totalXenos | list of living xenos |
total_dead_xenos | list of previously living xenos (hardrefs currently) |
used_hivebuffs | List of references to used hivebuffs |
used_slots | Assoc list of slots currently used by specific castes (for calculating free_slot usage) |
Procs | |
add_xeno | Adds a xeno to this hive |
check_if_hit_larva_from_pylon_limit | Checks if we hit larva limit |
convert_partial_larva_to_full_larva | Called after times when partial larva are added to process them to stored larva |
generate_evo_menu_images | Generate the image()'s requried for the evolution radial menu. |
get_available_hivebuffs | Get a list of hivebuffs which can be bought now. |
get_potential_queen_count | Returns a count of xenos that can potentially evolve to queen (larva and tier 1 that aren't job banned) |
get_real_total_xeno_count | Get amount of real xenos, don't count lessers/huggers |
get_tier_slots | Returns an assoc list of open slots and guaranteed slots left |
get_xeno_counts | Returns a list of how many of each caste of xeno there are, sorted by tier |
get_xeno_info | Returns a list with some more info about all xenos in the hive |
get_xeno_keys | Returns a sorted list of some basic info (stuff that's needed for sorting) about all the xenos in the hive The idea is that we sort this list, and use it as a "key" for all the other information (especially the nicknumber) in the hive status UI. That way we can minimize the amount of sorts performed by only calling this when xenos are created/disposed |
get_xeno_vitals | Returns a list of xeno healths and locations |
increase_larva_after_burst | Called by /obj/item/alien_embryo when a host is bursting to determine extra larva per burst |
remove_xeno | Removes the xeno from the hive |
setup_pylon_limits | Sets up limits on pylons in New() for potential futureproofing with more static comms |
sort_xeno_keys | This sorts the xeno info list by multiple criteria. Prioritized in order: |
Var Details
active_endgame_pylons

List of references to hive pylons active in the game world
active_hivebuffs

List of references to the currently active hivebuffs
allow_queen_evolve

Set to false if you want to prevent evolutions into Queens
buff_points

Hive buffs
cooldown_hivebuffs

List of references to used hivebuffs currently on cooldown
free_slots

Assoc list of free slots available to specific castes
hardcore

Set to true if you want to prevent bursts and spawns of new xenos. Will also prevent healing if the queen no longer exists
has_hatchery

Has a King hatchery
hijack_burrowed_left

how many burrowed is going to spawn during larva surge
hit_larva_pylon_limit

If hit limit of larva from pylons
hugger_timelock

When can huggers join the round
latejoin_burrowed

Set to false if you want to prevent getting burrowed larva from latejoin marines
lesser_drone_limit

How many lesser drones the hive can support
lesser_drone_minimum

Slots available for lesser drones will never go below this number
partial_larva

used by /datum/hive_status/proc/increase_larva_after_burst() to support non-integer increases to larva
playable_hugger_limit

How many huggers can the hive support
playable_hugger_max_divisor

This number divides the total xenos counted for slots to give the max number of facehuggers
playable_hugger_minimum

Minimum number of huggers available at any hive size
playable_lesser_drones_max_divisor

This number divides the total xenos counted for slots to give the max number of lesser drones
reporting_id

Short Hive ID as string used in stats reporting
tier_2_xenos

list of living tier2 xenos
tier_3_xenos

list of living tier3 xenos
totalXenos

list of living xenos
total_dead_xenos

list of previously living xenos (hardrefs currently)
used_hivebuffs

List of references to used hivebuffs
used_slots

Assoc list of slots currently used by specific castes (for calculating free_slot usage)
Proc Details
add_xeno
Adds a xeno to this hive
check_if_hit_larva_from_pylon_limit
Checks if we hit larva limit
convert_partial_larva_to_full_larva
Called after times when partial larva are added to process them to stored larva
generate_evo_menu_images
Generate the image()'s requried for the evolution radial menu.
get_available_hivebuffs
Get a list of hivebuffs which can be bought now.
get_potential_queen_count
Returns a count of xenos that can potentially evolve to queen (larva and tier 1 that aren't job banned)
get_real_total_xeno_count
Get amount of real xenos, don't count lessers/huggers
get_tier_slots
Returns an assoc list of open slots and guaranteed slots left
get_xeno_counts
Returns a list of how many of each caste of xeno there are, sorted by tier
get_xeno_info
Returns a list with some more info about all xenos in the hive
get_xeno_keys
Returns a sorted list of some basic info (stuff that's needed for sorting) about all the xenos in the hive The idea is that we sort this list, and use it as a "key" for all the other information (especially the nicknumber) in the hive status UI. That way we can minimize the amount of sorts performed by only calling this when xenos are created/disposed
get_xeno_vitals
Returns a list of xeno healths and locations
increase_larva_after_burst
Called by /obj/item/alien_embryo when a host is bursting to determine extra larva per burst
remove_xeno
Removes the xeno from the hive
setup_pylon_limits
Sets up limits on pylons in New() for potential futureproofing with more static comms
sort_xeno_keys
This sorts the xeno info list by multiple criteria. Prioritized in order:
- Queen
- Leaders
- Tier It uses a slightly modified insertion sort to accomplish this