The base species datum

This datum handles different species in the game, such as synthetics, mothmen, combat robots, skeletons, etc. It is used in mob/living/carbon/human to determine many things about them, including damage resistance, appearance, special behaviors, and more.
Vars | |
base_color | Used when setting species |
---|---|
blood_color | Color of the blood specific to our species |
body_temperature | non-IS_SYNTHETIC species will try to stabilize at this temperature. (also affects temperature processing) |
brute_damage_icon_state | icon state for calculating brute damage icons |
brute_mod | Brute damage modifier |
burn_damage_icon_state | icon state for calculating brute damage icons |
burn_mod | Burn damage modifier |
burstscreams | List of sounds for certain emotes [/datum/emote/living/carbon/human/burstscream/get_sound] |
cold_level_1 | Cold damage level 1 below this point |
cold_level_2 | Cold damage level 2 below this point |
cold_level_3 | Cold damage level 3 below this point |
coughs | List of sounds for certain emotes [/datum/emote/living/carbon/human/cough/get_sound] |
count_human | If this species counts as a human |
damage_mask_icon | damage mask icon we want to use when drawing wounds |
death_message | Message that gets sent on death() |
death_sound | Sound that gets played on death() |
default_language_holder | type that gets set as our language_holder on proc/set_species |
dusted_anim | species-specific dusting animation |
eyes | icon for eyes |
flesh_color | Color of the gibs that spawn from our species [/mob/living/carbon/human/spawn_gibs] |
gasps | List of sounds for certain emotes [/datum/emote/living/carbon/human/gasp/get_sound] |
gibbed_anim | species-specific gibbing animation |
goredcries | List of sounds for certain emotes [/datum/emote/living/carbon/human/gored/get_sound] |
hair_color | If the species only has one hair color |
has_organ | Associated list of our organs |
hazard_high_pressure | Dangerously high pressure |
hazard_low_pressure | Dangerously low pressure |
heat_level_1 | Heat damage level 1 above this point |
heat_level_2 | Heat damage level 2 above this point |
heat_level_3 | Heat damage level 2 above this point |
hud | hud that our mob uses, gets given the type stored in hud_type on New() |
hud_type | type that our hud gets set to on New() |
icobase | Normal icon file |
icon_template | Used in icon caching |
inherent_actions | inherent species-specific actions |
inherent_traits | Generic traits tied to having the species |
inherent_verbs | inherent Species-specific verbs |
joinable_roundstart | Whether it is possible to select this species and join as it |
knock_down_reduction | how much the knocked_down effect is reduced per Life call |
knock_out_reduction | how much the stunned effect is reduced per Life call |
lighting_cutoff | Sets our mobs lighting_alpha on /mob/living/carbon/human/update_sight |
limb_type | used in limb code to find which bodytype files to pull from, yes this code can defenitely be improved |
max_stamina | new max_stamina /mob/living/var/max_stamina of the human mob once species is applied |
name | Species name |
namepool | List of names for random generation based on a given pool |
no_equip | Inventory slots the race can't equip stuff to. Golems cannot wear jumpsuits, for example |
paincries | List of sounds for certain emotes [/datum/emote/living/carbon/human/pain/get_sound] |
race_key | Used in icon caching |
reagent_tag | Used for metabolizing reagents |
remains_type | used to determine what item is left behind in /spawn_dust_remains() |
screams | List of sounds for certain emotes [/datum/emote/living/carbon/human/scream/get_sound] |
secondary_unarmed | For empty hand harm-intent attack if the first fails |
secondary_unarmed_type | type that our secondary_unarmed gets set to on New() |
slowdown | How much slowdown is innate to our species |
special_death_message | Special death message that gets overwritten if possible |
species_flags | Special effects that are inherent to our species |
species_type | what kind of species it is considered (See: Species defines) |
stun_reduction | how much the stunned effect is reduced per Life call |
taste_sensitivity | used in mob/living/proc/taste |
total_health | new maxHealth /mob/living/carbon/human/var/maxHealth of the human mob once species is applied |
unarmed | For empty hand harm-intent attack |
unarmed_type | type that our unarmed gets set to on New() |
warcries | List of sounds for certain emotes [/datum/emote/living/carbon/human/warcry/get_sound] |
warning_high_pressure | High pressure warning |
warning_low_pressure | Low pressure warning |
Procs | |
add_inherent_abilities | Adds all species-specific verbs and actions |
apply_damage | damage override at the species level, called by /mob/living/proc/apply_damage |
build_hud | Builds the HUD using species-specific icons and usable slots |
can_shred | Called when using the shredding behavior |
can_understand | Used by xenos understanding larvae and dionaea understanding nymphs |
create_organs | Handles creation of mob organs and limbs |
get_inventory_dialogue | Grabs the window recieved when you click-drag someone onto you |
handle_chemicals | Called by [/mob/living/carbon/human/reagent_check] Returns TRUE if we can't metabolize chems, or can't be poisoned by a toxin |
handle_death | Handles any species-specific death events |
handle_fire | Called on Life(), special behaviour if we are on fire |
handle_login_special | Used to update alien icons for aliens |
handle_logout_special | As above |
handle_post_spawn | Handles anything not already covered by basic species assignment |
handle_unique_behavior | Called on Life(), used for special behavior when the carbon human with this species is alive |
hug | Called by [/mob/living/carbon/proc/help_shake_act], the act of hugging someone |
on_species_gain | Called when we turn into a species, called by [/mob/living/carbon/human/proc/set_species()] drops things we shouldn't be allowed to equip, adds relevant traits, and adjusts the max health of our mob |
post_species_loss | special things to change after we're no longer that species |
prefs_name | Returns the name if there is one in prefs |
random_name | Generates a random name from namepool |
record_internal_injury | Record when a bone break or internal bleeding is inflicted |
remove_inherent_abilities | Removes all species-specific verbs and actions |
spec_unarmedattack | Snowflake proc for monkeys so they can call attackpaw |
update_body | Basically just used to update moth wings |
update_inv_head | Basically just used to update moth wings |
update_inv_w_uniform | Basically just used to update moth wings |
update_inv_wear_suit | Basically just used to update moth wings //Man moths are giga shitcoded |
Var Details
base_color

Used when setting species
blood_color

Color of the blood specific to our species
body_temperature

non-IS_SYNTHETIC species will try to stabilize at this temperature. (also affects temperature processing)
brute_damage_icon_state

icon state for calculating brute damage icons
brute_mod

Brute damage modifier
burn_damage_icon_state

icon state for calculating brute damage icons
burn_mod

Burn damage modifier
burstscreams

List of sounds for certain emotes [/datum/emote/living/carbon/human/burstscream/get_sound]
cold_level_1

Cold damage level 1 below this point
cold_level_2

Cold damage level 2 below this point
cold_level_3

Cold damage level 3 below this point
coughs

List of sounds for certain emotes [/datum/emote/living/carbon/human/cough/get_sound]
count_human

If this species counts as a human
damage_mask_icon

damage mask icon we want to use when drawing wounds
death_message

Message that gets sent on death()
death_sound

Sound that gets played on death()
default_language_holder

type that gets set as our language_holder on proc/set_species
dusted_anim

species-specific dusting animation
eyes

icon for eyes
flesh_color

Color of the gibs that spawn from our species [/mob/living/carbon/human/spawn_gibs]
gasps

List of sounds for certain emotes [/datum/emote/living/carbon/human/gasp/get_sound]
gibbed_anim

species-specific gibbing animation
goredcries

List of sounds for certain emotes [/datum/emote/living/carbon/human/gored/get_sound]
hair_color

If the species only has one hair color
has_organ

Associated list of our organs
hazard_high_pressure

Dangerously high pressure
hazard_low_pressure

Dangerously low pressure
heat_level_1

Heat damage level 1 above this point
heat_level_2

Heat damage level 2 above this point
heat_level_3

Heat damage level 2 above this point
hud

hud that our mob uses, gets given the type stored in hud_type on New()
hud_type

type that our hud gets set to on New()
icobase

Normal icon file
icon_template

Used in icon caching
inherent_actions

inherent species-specific actions
inherent_traits

Generic traits tied to having the species
inherent_verbs

inherent Species-specific verbs
joinable_roundstart

Whether it is possible to select this species and join as it
knock_down_reduction

how much the knocked_down effect is reduced per Life call
knock_out_reduction

how much the stunned effect is reduced per Life call
lighting_cutoff

Sets our mobs lighting_alpha on /mob/living/carbon/human/update_sight
limb_type

used in limb code to find which bodytype files to pull from, yes this code can defenitely be improved
max_stamina

new max_stamina /mob/living/var/max_stamina of the human mob once species is applied
name

Species name
namepool

List of names for random generation based on a given pool
no_equip

Inventory slots the race can't equip stuff to. Golems cannot wear jumpsuits, for example
paincries

List of sounds for certain emotes [/datum/emote/living/carbon/human/pain/get_sound]
race_key

Used in icon caching
reagent_tag

Used for metabolizing reagents
remains_type

used to determine what item is left behind in /spawn_dust_remains()
screams

List of sounds for certain emotes [/datum/emote/living/carbon/human/scream/get_sound]
secondary_unarmed

For empty hand harm-intent attack if the first fails
secondary_unarmed_type

type that our secondary_unarmed gets set to on New()
slowdown

How much slowdown is innate to our species
special_death_message

Special death message that gets overwritten if possible
species_flags

Special effects that are inherent to our species
species_type

what kind of species it is considered (See: Species defines)
stun_reduction

how much the stunned effect is reduced per Life call
taste_sensitivity

used in mob/living/proc/taste
total_health

new maxHealth /mob/living/carbon/human/var/maxHealth of the human mob once species is applied
unarmed

For empty hand harm-intent attack
unarmed_type

type that our unarmed gets set to on New()
warcries

List of sounds for certain emotes [/datum/emote/living/carbon/human/warcry/get_sound]
warning_high_pressure

High pressure warning
warning_low_pressure

Low pressure warning
Proc Details
add_inherent_abilities
Adds all species-specific verbs and actions
apply_damage
damage override at the species level, called by /mob/living/proc/apply_damage
build_hud
Builds the HUD using species-specific icons and usable slots
can_shred
Called when using the shredding behavior
can_understand
Used by xenos understanding larvae and dionaea understanding nymphs
create_organs
Handles creation of mob organs and limbs
get_inventory_dialogue
Grabs the window recieved when you click-drag someone onto you
handle_chemicals
Called by [/mob/living/carbon/human/reagent_check] Returns TRUE if we can't metabolize chems, or can't be poisoned by a toxin
handle_death
Handles any species-specific death events
handle_fire
Called on Life(), special behaviour if we are on fire
handle_login_special
Used to update alien icons for aliens
handle_logout_special
As above
handle_post_spawn
Handles anything not already covered by basic species assignment
handle_unique_behavior
Called on Life(), used for special behavior when the carbon human with this species is alive
hug
Called by [/mob/living/carbon/proc/help_shake_act], the act of hugging someone
on_species_gain
Called when we turn into a species, called by [/mob/living/carbon/human/proc/set_species()] drops things we shouldn't be allowed to equip, adds relevant traits, and adjusts the max health of our mob
post_species_loss
special things to change after we're no longer that species
prefs_name
Returns the name if there is one in prefs
random_name
Generates a random name from namepool
record_internal_injury
Record when a bone break or internal bleeding is inflicted
remove_inherent_abilities
Removes all species-specific verbs and actions
spec_unarmedattack
Snowflake proc for monkeys so they can call attackpaw
update_body
Basically just used to update moth wings
update_inv_head
Basically just used to update moth wings
update_inv_w_uniform
Basically just used to update moth wings
update_inv_wear_suit
Basically just used to update moth wings //Man moths are giga shitcoded