code/__DEFINES/species.dm
HAZARD_HIGH_PRESSURE | This determins at what pressure the ultra-high pressure red icon is displayed. |
---|---|
WARNING_HIGH_PRESSURE | This determins when the orange pressure icon is displayed |
WARNING_LOW_PRESSURE | This is when the gray low pressure icon is displayed. |
HAZARD_LOW_PRESSURE | This is when the black ultra-low pressure icon is displayed. |
TEMPERATURE_DAMAGE_COEFFICIENT | This is used in handle_temperature_damage() for humans, and in reagents that affect body temperature. Temperature damage is multiplied by this amount. |
HUMAN_BODYTEMP_NORMAL | The natural temperature for a body |
HUMAN_BODYTEMP_AUTORECOVERY_DIVISOR | This is the divisor which handles how much of the temperature difference between the current body temperature and 310.15K (optimal temperature) humans auto-regenerate each tick. The higher the number, the slower the recovery. This is applied each tick, so long as the mob is alive. |
HUMAN_BODYTEMP_AUTORECOVERY_MINIMUM | Minimum amount of kelvin moved toward 310K per tick. So long as abs(310.15 - bodytemp) is more than 50. |
HUMAN_BODYTEMP_COLD_DIVISOR | Similar to the HUMAN_BODYTEMP_AUTORECOVERY_DIVISOR, but this is the divisor which is applied at the stage that follows autorecovery. This is the divisor which comes into play when the human's loc temperature is lower than their body temperature. Make it lower to lose bodytemp faster. |
HUMAN_BODYTEMP_HEAT_DIVISOR | Similar to the HUMAN_BODYTEMP_AUTORECOVERY_DIVISOR, but this is the divisor which is applied at the stage that follows autorecovery. This is the divisor which comes into play when the human's loc temperature is higher than their body temperature. Make it lower to gain bodytemp faster. |
HUMAN_BODYTEMP_COOLING_MAX | The maximum number of degrees that your body can cool in 1 tick, due to the environment, when in a cold area. |
HUMAN_BODYTEMP_HEATING_MAX | The maximum number of degrees that your body can heat up in 1 tick, due to the environment, when in a hot area. |
HUMAN_BODYTEMP_HEAT_DAMAGE_LIMIT | The body temperature limit the human body can take before it starts taking damage from heat. This also affects how fast the body normalises it's temperature when hot. 340k is about 66c, and rather high for a human. |
HUMAN_BODYTEMP_COLD_DAMAGE_LIMIT | The body temperature limit the human body can take before it starts taking damage from cold. This also affects how fast the body normalises it's temperature when cold. 270k is about -3c, that is below freezing and would hurt over time. |
Define Details
HAZARD_HIGH_PRESSURE
This determins at what pressure the ultra-high pressure red icon is displayed.
HAZARD_LOW_PRESSURE
This is when the black ultra-low pressure icon is displayed.
HUMAN_BODYTEMP_AUTORECOVERY_DIVISOR
This is the divisor which handles how much of the temperature difference between the current body temperature and 310.15K (optimal temperature) humans auto-regenerate each tick. The higher the number, the slower the recovery. This is applied each tick, so long as the mob is alive.
HUMAN_BODYTEMP_AUTORECOVERY_MINIMUM
Minimum amount of kelvin moved toward 310K per tick. So long as abs(310.15 - bodytemp) is more than 50.
HUMAN_BODYTEMP_COLD_DAMAGE_LIMIT
The body temperature limit the human body can take before it starts taking damage from cold. This also affects how fast the body normalises it's temperature when cold. 270k is about -3c, that is below freezing and would hurt over time.
HUMAN_BODYTEMP_COLD_DIVISOR
Similar to the HUMAN_BODYTEMP_AUTORECOVERY_DIVISOR, but this is the divisor which is applied at the stage that follows autorecovery. This is the divisor which comes into play when the human's loc temperature is lower than their body temperature. Make it lower to lose bodytemp faster.
HUMAN_BODYTEMP_COOLING_MAX
The maximum number of degrees that your body can cool in 1 tick, due to the environment, when in a cold area.
HUMAN_BODYTEMP_HEATING_MAX
The maximum number of degrees that your body can heat up in 1 tick, due to the environment, when in a hot area.
HUMAN_BODYTEMP_HEAT_DAMAGE_LIMIT
The body temperature limit the human body can take before it starts taking damage from heat. This also affects how fast the body normalises it's temperature when hot. 340k is about 66c, and rather high for a human.
HUMAN_BODYTEMP_HEAT_DIVISOR
Similar to the HUMAN_BODYTEMP_AUTORECOVERY_DIVISOR, but this is the divisor which is applied at the stage that follows autorecovery. This is the divisor which comes into play when the human's loc temperature is higher than their body temperature. Make it lower to gain bodytemp faster.
HUMAN_BODYTEMP_NORMAL
The natural temperature for a body
TEMPERATURE_DAMAGE_COEFFICIENT
This is used in handle_temperature_damage() for humans, and in reagents that affect body temperature. Temperature damage is multiplied by this amount.
WARNING_HIGH_PRESSURE
This determins when the orange pressure icon is displayed
WARNING_LOW_PRESSURE
This is when the gray low pressure icon is displayed.