xenomorph

Vars | |
ammo | The ammo datum for our spit projectiles. We're born with this, it changes sometimes. |
---|---|
attack_effect | Visual effect that appears when doing a normal attack. |
backpack_overlay | Handles displaying any equipped backpack item, such as a saddle |
behemoth_charging | Whether we are currently charging or not. |
caste_base_type | datum/xeno_caste that we will be on init |
corrosive_ammo | Boiler acid ammo |
current_aura | The aura we're currently emitted. Destroyed whenever we change or stop pheromones. |
eaten_mob | A mob the xeno ate |
endurance_broken | Whether our Endurance has been broken, due to losing all of its health. |
endurance_health | The amount of remaining health that Endurance has. |
endurance_health_max | The maximum amount of health that Endurance can have. |
endure | when true the rav will not go into crit or take crit damage. |
evolution_stored | How much evolution they have stored |
fire_overlay | Handles displaying the various fire states of the xeno |
footstep_type | The type of footstep this xeno has. |
frenzy_aura | Strength of aura we are affected by. NOT THE ONE WE ARE EMITTING |
hive | Hive datum we belong to |
hivenumber | Hive name define |
huggers | Number of huggers the xeno is currently carrying |
inherent_verbs | This list of inherent verbs lets us take any proc basically anywhere and add them. If they're not a xeno subtype it might crash or do weird things, like using human verb procs It should add them properly on New() and should reset/readd them on evolves |
is_charging | Will the mob charge when moving ? You need the charge verb to change this |
leader_current_aura | If we're chosen as leader, this is the leader aura we emit. |
loc_weeds_type | Type of weeds the xeno is standing on, null when not on weeds |
neuro_ammo | Boiler Neuro ammo |
nicknumber | Naming variables |
observed_xeno | The xenomorph that this source is currently overwatching |
pheromone_cost | Passive plasma cost per tick for enabled personal (not leadership) pheromones. |
plasma_stored | Plasma currently stored |
recovery_aura | Strength of aura we are affected by. NOT THE ONE WE ARE EMITTING |
regen_power | Resets to -xeno_caste.regen_delay when you take damage. Negative values act as a delay while values greater than 0 act as a multiplier. Will increase by 10 every decisecond if under 0. Increases by xeno_caste.regen_ramp_amount every decisecond. If you want to balance this, look at the xeno_caste defines mentioned above. |
selected_plant | which plant to place when we use sow |
selected_reagent | which reagent to slash with using reagent slash |
selected_resin | which resin structure to build when we secrete resin |
status_toggle_flags | State tracking of hive status toggles |
steam_rush | When true the boiler gains speed and resets the duration on attack |
sunder | sunder affects armour values and does a % removal before dmg is applied. 50 sunder == 50% effective armour values |
tier | This will track their "tier" to restrict/limit evolutions |
tracked | The xenos/silo/nuke currently tracked by the xeno_tracker arrow |
upgrade | This will track their upgrade level. |
upgrade_stored | How much upgrade points they have stored. |
vampirism | when true the rav leeches healing off of hitting marines |
warding_aura | Strength of aura we are affected by. NOT THE ONE WE ARE EMITTING |
wound_overlay | Handles displaying the various wound states of the xeno. |
wrath_stored | The amount of Wrath currently stored. |
xeno_flags | Xeno mob specific flags |
xeno_melee_damage_modifier | Multiplicative melee damage modifier; referenced by attack_alien.dm, most notably attack_alien_harm |
xeno_resting_cooldown | The resting cooldown |
xeno_unresting_cooldown | The unresting cooldown |
Procs | |
apply_health_stat_buff | Will multiply the base max health of this xeno by GLOB.xeno_stat_multiplicator_buff while maintaining current health percent. |
can_mount | Checks if user can mount src |
carry_target | Handles the target trying to ride src |
caste_evolution_checks | Check if the xeno can currently evolve into a specific caste |
change_form | Initiate of form changing on the xeno |
check_concious_state | A simple handler for checking your state. Will ignore if the xeno is lying down |
check_weeds | Checks for nearby intact weeds |
clean_tracked | Signal handler to null tracked |
do_evolve | Handles the evolution or devolution of the xenomorph |
eject_victim | Eject the mob inside our belly, and putting it in a cocoon if needed |
finish_evolve | Actually changes the xenomorph to another caste |
generic_evolution_checks | Check if the xeno is currently able to evolve |
get_evolution_options | Creates a list of possible /datum/xeno_caste options for a caste based on their tier. |
give_rally_abilities | Helper proc for giving the rally abilities |
handle_living_sunder_updates | Handles sunder modification/recovery during life.dm for xenos |
handle_weeds_adjacent_removed | Handles logic for weeds nearby the xeno getting removed |
handle_weeds_on_movement | |
hivemind_end | Called to create the suffix for xeno hivemind messages |
hivemind_start | Called to create the prefix for xeno hivemind messages |
onhithuman | Called whenever a xeno slashes a human |
playtime_as_number | Returns the playtime as a number, used for rank icons |
record_recycle_points | Tally how many req-points worth of xenomorphs have been recycled |
remove_rally_hive_ability | Helper proc for removing the rally hive ability appropriately |
reset_bombard_pointer | Resets the boiler's mouse cursor to the default cursor. |
salve_healing | Heals the target. |
set_bombard_pointer | Set the boiler's mouse cursor to the green firing cursor. |
set_datum | Change the caste of the xeno. If restore health is true, then health is set to the new max health |
set_tracked | Set the var tracked to to_track |
shriek_burst | executes a burst of shockwaves. quad ease out so it does dash too fast and insta dissapear. maybe should use it on explosions too |
spec_evolution_boost | Handles special conditions that influence a caste's evolution point gain, such as larva gaining a bonus if on weed. |
update_ammo_glow | updates the xenos glow, based on its base glow/color, and its ammo reserves. More green ammo = more green glow; more yellow = more yellow. |
update_glow | updates the xeno's glow, based on the ability being used |
update_leader_icon | Handles icon updates when leadered/unleadered. Evolution.dm also uses this |
update_snowflake_overlays | Updates the niche overlays of a xenomorph, like the backpack overlay |
update_wounds | Updates the wound overlays on the xeno |
upgrade_possible | returns TRUE if we are permitted to evo to the next caste FALSE otherwise |
xeno_iff_check | This handles checking for a xenomorph's potential IFF signals carried by components Currently, IFF tags attach a component listening for this. |
Var Details
ammo

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

Visual effect that appears when doing a normal attack.
backpack_overlay

Handles displaying any equipped backpack item, such as a saddle
behemoth_charging

Whether we are currently charging or not.
caste_base_type

datum/xeno_caste that we will be on init
corrosive_ammo

Boiler acid ammo
current_aura

The aura we're currently emitted. Destroyed whenever we change or stop pheromones.
eaten_mob

A mob the xeno ate
endurance_broken

Whether our Endurance has been broken, due to losing all of its health.
endurance_health

The amount of remaining health that Endurance has.
endurance_health_max

The maximum amount of health that Endurance can have.
endure

when true the rav will not go into crit or take crit damage.
evolution_stored

How much evolution they have stored
fire_overlay

Handles displaying the various fire states of the xeno
footstep_type

The type of footstep this xeno has.
frenzy_aura

Strength of aura we are affected by. NOT THE ONE WE ARE EMITTING
hive

Hive datum we belong to
hivenumber

Hive name define
huggers

Number of huggers the xeno is currently carrying
inherent_verbs

This list of inherent verbs lets us take any proc basically anywhere and add them. If they're not a xeno subtype it might crash or do weird things, like using human verb procs It should add them properly on New() and should reset/readd them on evolves
is_charging

Will the mob charge when moving ? You need the charge verb to change this
leader_current_aura

If we're chosen as leader, this is the leader aura we emit.
loc_weeds_type

Type of weeds the xeno is standing on, null when not on weeds
neuro_ammo

Boiler Neuro ammo
nicknumber

Naming variables
observed_xeno

The xenomorph that this source is currently overwatching
pheromone_cost

Passive plasma cost per tick for enabled personal (not leadership) pheromones.
plasma_stored

Plasma currently stored
recovery_aura

Strength of aura we are affected by. NOT THE ONE WE ARE EMITTING
regen_power

Resets to -xeno_caste.regen_delay when you take damage. Negative values act as a delay while values greater than 0 act as a multiplier. Will increase by 10 every decisecond if under 0. Increases by xeno_caste.regen_ramp_amount every decisecond. If you want to balance this, look at the xeno_caste defines mentioned above.
selected_plant

which plant to place when we use sow
selected_reagent

which reagent to slash with using reagent slash
selected_resin

which resin structure to build when we secrete resin
status_toggle_flags

State tracking of hive status toggles
steam_rush

When true the boiler gains speed and resets the duration on attack
sunder

sunder affects armour values and does a % removal before dmg is applied. 50 sunder == 50% effective armour values
tier

This will track their "tier" to restrict/limit evolutions
tracked

The xenos/silo/nuke currently tracked by the xeno_tracker arrow
upgrade

This will track their upgrade level.
upgrade_stored

How much upgrade points they have stored.
vampirism

when true the rav leeches healing off of hitting marines
warding_aura

Strength of aura we are affected by. NOT THE ONE WE ARE EMITTING
wound_overlay

Handles displaying the various wound states of the xeno.
wrath_stored

The amount of Wrath currently stored.
xeno_flags

Xeno mob specific flags
xeno_melee_damage_modifier

Multiplicative melee damage modifier; referenced by attack_alien.dm, most notably attack_alien_harm
xeno_resting_cooldown

The resting cooldown
xeno_unresting_cooldown

The unresting cooldown
Proc Details
apply_health_stat_buff
Will multiply the base max health of this xeno by GLOB.xeno_stat_multiplicator_buff while maintaining current health percent.
can_mount
Checks if user can mount src
Arguments:
- user - The mob trying to mount
- target_mounting - Is the target initiating the mounting process?
carry_target
Handles the target trying to ride src
Arguments:
- target - The mob being put on the back
- target_mounting - Is the target initiating the mounting process?
caste_evolution_checks
Check if the xeno can currently evolve into a specific caste
change_form
Initiate of form changing on the xeno
check_concious_state
A simple handler for checking your state. Will ignore if the xeno is lying down
check_weeds
Checks for nearby intact weeds
clean_tracked
Signal handler to null tracked
do_evolve
Handles the evolution or devolution of the xenomorph
eject_victim
Eject the mob inside our belly, and putting it in a cocoon if needed
finish_evolve
Actually changes the xenomorph to another caste
generic_evolution_checks
Check if the xeno is currently able to evolve
get_evolution_options
Creates a list of possible /datum/xeno_caste options for a caste based on their tier.
give_rally_abilities
Helper proc for giving the rally abilities
handle_living_sunder_updates
Handles sunder modification/recovery during life.dm for xenos
handle_weeds_adjacent_removed
Handles logic for weeds nearby the xeno getting removed
handle_weeds_on_movement
- Handles logic for the xeno moving to a new weeds tile. Returns TRUE when loc_weeds_type changes. Returns FALSE when it doesnât change
hivemind_end
Called to create the suffix for xeno hivemind messages
This should be used to close off any opened elements from /mob/living/carbon/xenomorph/hivemind_start.
hivemind_start
Called to create the prefix for xeno hivemind messages
Used to apply styling for queen/shrike/hivemind/leaders, giving them largetext and specific colouring. This is also paired with /mob/living/carbon/xenomorph/hivemind_end
onhithuman
Called whenever a xeno slashes a human
playtime_as_number
Returns the playtime as a number, used for rank icons
record_recycle_points
Tally how many req-points worth of xenomorphs have been recycled
remove_rally_hive_ability
Helper proc for removing the rally hive ability appropriately
reset_bombard_pointer
Resets the boiler's mouse cursor to the default cursor.
salve_healing
Heals the target.
set_bombard_pointer
Set the boiler's mouse cursor to the green firing cursor.
set_datum
Change the caste of the xeno. If restore health is true, then health is set to the new max health
set_tracked
Set the var tracked to to_track
shriek_burst
executes a burst of shockwaves. quad ease out so it does dash too fast and insta dissapear. maybe should use it on explosions too
spec_evolution_boost
Handles special conditions that influence a caste's evolution point gain, such as larva gaining a bonus if on weed.
update_ammo_glow
updates the xenos glow, based on its base glow/color, and its ammo reserves. More green ammo = more green glow; more yellow = more yellow.
update_glow
updates the xeno's glow, based on the ability being used
update_leader_icon
Handles icon updates when leadered/unleadered. Evolution.dm also uses this
update_snowflake_overlays
Updates the niche overlays of a xenomorph, like the backpack overlay
update_wounds
Updates the wound overlays on the xeno
upgrade_possible
returns TRUE if we are permitted to evo to the next caste FALSE otherwise
xeno_iff_check
This handles checking for a xenomorph's potential IFF signals carried by components Currently, IFF tags attach a component listening for this.