byond - Modules - TypesVar Details - Proc Details

Drone

Vars

acid_blood_damageThe damage dealt by a xeno whenever they take damage near someone
acid_overlayStores the overlay icon for spitting/drooling when acid-based abilities are selected
agility0/FALSE - upright, 1/TRUE - all fours
ammoThe ammo datum for our spit projectiles. We're born with this, it changes sometimes.
available_fruitsList of placeable the xenomorph has access to.
base_actionsList of actions (typepaths) that a xenomorph type is given upon spawn
can_healCan the xeno rest and passively heal?
cannot_slashIf TRUE, the xeno cannot slash anything
creation_timeThe world.time when the xeno was created. Carries over between strains and evolving
current_fruitsIf we have current_fruits that are limited, e.g. fruits
egg_planting_rangetiles from self you can plant eggs.
extra_build_distFor drones/hivelords. Extends the maximum build range they have
max_placeableLimit to that amount
minimap_typeThe type of minimap this xeno has access too
nameALL OLD SS13 VARS
organ_valuevalue of organ in each caste, e.g. 7k is autodoc larva removal. runner is 500
selected_constructionwhich special structure to build when we place constructions
selected_fruitthe typepath of the placeable we wanna put down
selected_markIf leader what mark you will place when you make one
selected_resinWhich resin structure to build when we secrete resin, defaults to null.
spit_windupCaste-based spit windup
stealthfor check on lurker invisibility
strainThe xeno's strain, if they've taken one.
tileoffsetCaste-based spit windup duration (if applicable)
tracked_markerthis is the resin mark that is currently being tracked by the xeno
xeno_inhand_item_offsetHow much to horizontally adjust the sprites of held item onmobs by. Based on icon size. Most xenos have hands about the same height as a human's.

Procs

IsAdvancedToolUserThis permits xenos with thumbs to fire guns and arm grenades. God help us all.
add_fire_immunity_signalsThe actual proc that adds fire immunity signals based on fire immunity flags registered to the Xenomorph.
add_minimap_markerAdds a minimap marker for this xeno using the provided flags. If flags is 0, it will use get_minimap_flag_for_faction for this xeno
can_mountChecks if user can mount src
can_not_harmReturns true if the xenomorph can not harm the passed carbon mob.
can_take_strainIs this xeno currently able to take a strain?
carry_targetHandles the target trying to ride src
clear_debuffssnowflake proc to clear effects from research warcrimes
collect_xeno_imagesReturns an associated list of the caste of xenos provided, to a generic image of the xeno
generate_and_set_nicknumberGenerate a new unused nicknumber for the current hive, if hive doesn't exist return 0
get_eye_protectionget_eye_protection() Returns a number between -1 to 2
get_strain_iconReturns the custom icon state from the xeno's strain, if it has one.
get_strain_nameReturns the name of the xeno's strain, if it has one.
hive_statusHolds Xeno verbs that don't belong anywhere else.
pull_powerCalled when pulling something and attacking yourself wth the pull (Z hotkey) override for caste specific behaviour
refresh_fire_immunityRemoves and readds fire immunity signals. This is to account for frequently shifting immunities, like hivebuff.
remove_fire_immunity_signalsRemoves all fire immunity related signals on a Xenomorph.
reset_directionReset the xenomorph's direction after the tail stab 'animation', unless they've moved since then
reset_to_initial_fire_immunityRemoves any registered signals, re-registers the the caste_datum's initial fire immunity info onto the mob, then reapplies signals. As the caste info should NOT be changed by anything, this is more of an admin failsafe to make absolutely sure that the Xeno is back to initial fire immunity should something go wrong somehow.
set_initial_fire_immunityRegisters the caste_datum's fire immunity info onto the mob, then adds signals. The mob immunity is what gets altered by strains and/or other things.
set_selected_abilityAbilities used by multiple Xenos. README
tail_stab_animationThis proc plays a tail stab 'animation' by changing the xenomorph's direction, and resets the xenomorph's direction after a short delay.
try_fill_trapAttempt to fill the target trap (called when xeno attacks with an empty hand) Returns TRUE if the trap was filled

Var Details

acid_blood_damage

The damage dealt by a xeno whenever they take damage near someone

acid_overlay

Stores the overlay icon for spitting/drooling when acid-based abilities are selected

agility

0/FALSE - upright, 1/TRUE - all fours

ammo

The ammo datum for our spit projectiles. We're born with this, it changes sometimes.

available_fruits

List of placeable the xenomorph has access to.

base_actions

List of actions (typepaths) that a xenomorph type is given upon spawn

can_heal

Can the xeno rest and passively heal?

cannot_slash

If TRUE, the xeno cannot slash anything

creation_time

The world.time when the xeno was created. Carries over between strains and evolving

current_fruits

If we have current_fruits that are limited, e.g. fruits

egg_planting_range

tiles from self you can plant eggs.

extra_build_dist

For drones/hivelords. Extends the maximum build range they have

max_placeable

Limit to that amount

minimap_type

The type of minimap this xeno has access too

name

ALL OLD SS13 VARS

organ_value

value of organ in each caste, e.g. 7k is autodoc larva removal. runner is 500

selected_construction

which special structure to build when we place constructions

selected_fruit

the typepath of the placeable we wanna put down

selected_mark

If leader what mark you will place when you make one

selected_resin

Which resin structure to build when we secrete resin, defaults to null.

spit_windup

Caste-based spit windup

stealth

for check on lurker invisibility

strain

The xeno's strain, if they've taken one.

tileoffset

Caste-based spit windup duration (if applicable)

tracked_marker

this is the resin mark that is currently being tracked by the xeno

xeno_inhand_item_offset

How much to horizontally adjust the sprites of held item onmobs by. Based on icon size. Most xenos have hands about the same height as a human's.

Proc Details

IsAdvancedToolUser

This permits xenos with thumbs to fire guns and arm grenades. God help us all.

add_fire_immunity_signals

The actual proc that adds fire immunity signals based on fire immunity flags registered to the Xenomorph.

add_minimap_marker

Adds a minimap marker for this xeno using the provided flags. If flags is 0, it will use get_minimap_flag_for_faction for this xeno

can_mount

Checks if user can mount src

Arguments:

can_not_harm

Returns true if the xenomorph can not harm the passed carbon mob.

can_take_strain

Is this xeno currently able to take a strain?

carry_target

Handles the target trying to ride src

Arguments:

clear_debuffs

snowflake proc to clear effects from research warcrimes

collect_xeno_images

Returns an associated list of the caste of xenos provided, to a generic image of the xeno

generate_and_set_nicknumber

Generate a new unused nicknumber for the current hive, if hive doesn't exist return 0

get_eye_protection

get_eye_protection() Returns a number between -1 to 2

get_strain_icon

Returns the custom icon state from the xeno's strain, if it has one.

If that can't be found, returns "Normal"

get_strain_name

Returns the name of the xeno's strain, if it has one.

If that can't be found, returns "Normal".

hive_status

Holds Xeno verbs that don't belong anywhere else.

pull_power

Called when pulling something and attacking yourself wth the pull (Z hotkey) override for caste specific behaviour

refresh_fire_immunity

Removes and readds fire immunity signals. This is to account for frequently shifting immunities, like hivebuff.

remove_fire_immunity_signals

Removes all fire immunity related signals on a Xenomorph.

reset_direction

Reset the xenomorph's direction after the tail stab 'animation', unless they've moved since then

reset_to_initial_fire_immunity

Removes any registered signals, re-registers the the caste_datum's initial fire immunity info onto the mob, then reapplies signals. As the caste info should NOT be changed by anything, this is more of an admin failsafe to make absolutely sure that the Xeno is back to initial fire immunity should something go wrong somehow.

set_initial_fire_immunity

Registers the caste_datum's fire immunity info onto the mob, then adds signals. The mob immunity is what gets altered by strains and/or other things.

set_selected_ability

Abilities used by multiple Xenos. README

tail_stab_animation

This proc plays a tail stab 'animation' by changing the xenomorph's direction, and resets the xenomorph's direction after a short delay.

try_fill_trap

Attempt to fill the target trap (called when xeno attacks with an empty hand) Returns TRUE if the trap was filled