code/__DEFINES/atmospherics/atmos_mob_interaction.dm
BREATH_VOLUME | |
---|---|
BREATH_PERCENTAGE | Amount of air to take a from a tile |
HAZARD_HIGH_PRESSURE | This determins at what pressure the ultra-high pressure red icon is displayed. (This one is set as a constant) |
WARNING_HIGH_PRESSURE | This determins when the orange pressure icon is displayed (it is 0.7 * HAZARD_HIGH_PRESSURE) |
WARNING_LOW_PRESSURE | This is when the gray low pressure icon is displayed. (it is 2.5 * HAZARD_LOW_PRESSURE) |
HAZARD_LOW_PRESSURE | This is when the black ultra-low pressure icon is displayed. (This one is set as a constant) |
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. |
BODYTEMP_NORMAL | The natural temperature for a body |
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. |
BODYTEMP_AUTORECOVERY_MINIMUM | Minimum amount of kelvin moved toward 310K per tick. So long as abs(310.15 - bodytemp) is more than 50. |
BODYTEMP_COLD_DIVISOR | Similar to the 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. |
BODYTEMP_HEAT_DIVISOR | Similar to the 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. |
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. |
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. |
HULK_COLD_DAMAGE_MOD | The modifier on cold damage hulks get. |
BODYTEMP_HEAT_WARNING_3 | The temperature the red icon is displayed. |
BODYTEMP_HEAT_WARNING_2 | The temperature the orange icon is displayed. |
BODYTEMP_HEAT_WARNING_1 | The temperature the yellow icon is displayed. |
BODYTEMP_COLD_WARNING_1 | The temperature the light green icon is displayed. |
BODYTEMP_COLD_WARNING_2 | The temperature the cyan icon is displayed. |
BODYTEMP_COLD_WARNING_3 | The temperature the blue icon is displayed. |
COLD_SLOWDOWN_FACTOR | Humans are slowed by the difference between bodytemp and BODYTEMP_COLD_DAMAGE_LIMIT divided by this |
SPACE_HELM_MIN_TEMP_PROTECT | what min_cold_protection_temperature is set to for space-helmet quality headwear. MUST NOT BE 0. |
SPACE_HELM_MAX_TEMP_PROTECT | Thermal insulation works both ways /Malkevin |
SPACE_SUIT_MIN_TEMP_PROTECT | what min_cold_protection_temperature is set to for space-suit quality jumpsuits or suits. MUST NOT BE 0. |
SPACE_SUIT_MIN_TEMP_PROTECT_OFF | The min cold protection of a space suit without the heater active |
FIRE_SUIT_MIN_TEMP_PROTECT | Cold protection for firesuits |
FIRE_SUIT_MAX_TEMP_PROTECT | what max_heat_protection_temperature is set to for firesuit quality suits. MUST NOT BE 0. |
FIRE_HELM_MIN_TEMP_PROTECT | Cold protection for fire helmets |
FIRE_HELM_MAX_TEMP_PROTECT | for fire helmet quality items (red and white hardhats) |
FIRE_IMMUNITY_MAX_TEMP_PROTECT | what max_heat_protection_temperature is set to for firesuit quality suits and helmets. MUST NOT BE 0. |
HELMET_MIN_TEMP_PROTECT | For normal helmets |
HELMET_MAX_TEMP_PROTECT | For normal helmets |
ARMOR_MIN_TEMP_PROTECT | For armor |
ARMOR_MAX_TEMP_PROTECT | For armor |
GLOVES_MIN_TEMP_PROTECT | For some gloves (black and) |
GLOVES_MAX_TEMP_PROTECT | For some gloves |
SHOES_MIN_TEMP_PROTECT | For gloves |
SHOES_MAX_TEMP_PROTECT | For gloves |
Define Details
ARMOR_MAX_TEMP_PROTECT
For armor
ARMOR_MIN_TEMP_PROTECT
For armor
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.
BODYTEMP_AUTORECOVERY_MINIMUM
Minimum amount of kelvin moved toward 310K per tick. So long as abs(310.15 - bodytemp) is more than 50.
BODYTEMP_COLD_DIVISOR
Similar to the 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.
BODYTEMP_COLD_WARNING_1
The temperature the light green icon is displayed.
BODYTEMP_COLD_WARNING_2
The temperature the cyan icon is displayed.
BODYTEMP_COLD_WARNING_3
The temperature the blue icon is displayed.
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.
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.
BODYTEMP_HEAT_DIVISOR
Similar to the 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.
BODYTEMP_HEAT_WARNING_1
The temperature the yellow icon is displayed.
BODYTEMP_HEAT_WARNING_2
The temperature the orange icon is displayed.
BODYTEMP_HEAT_WARNING_3
The temperature the red icon is displayed.
BODYTEMP_NORMAL
The natural temperature for a body
BREATH_PERCENTAGE
Amount of air to take a from a tile
BREATH_VOLUME
- liters in a normal breath. note that breaths are taken once every 4 life ticks, which is 8 seconds
- Addendum for people tweaking this value in the future.
- Because o2 tank release values/human o2 requirements are very strictly set to the same pressure, small errors can cause breakage
- This comes from QUANTIZE being used in /datum/gas_mixture.remove(), forming a slight sawtooth pattern of the added/removed gas, centered on the actual pressure
- Changing BREATH_VOLUME can set us on the lower half of this sawtooth, making humans unable to breath at standard pressure.
- There's no good way I can come up with to hardcode a fix for this. So if you're going to change this variable
- graph the functions that describe how it is used/how it interacts with breath code, and pick something on the upper half of the sawtooth
COLD_SLOWDOWN_FACTOR
Humans are slowed by the difference between bodytemp and BODYTEMP_COLD_DAMAGE_LIMIT divided by this
FIRE_HELM_MAX_TEMP_PROTECT
for fire helmet quality items (red and white hardhats)
FIRE_HELM_MIN_TEMP_PROTECT
Cold protection for fire helmets
FIRE_IMMUNITY_MAX_TEMP_PROTECT
what max_heat_protection_temperature is set to for firesuit quality suits and helmets. MUST NOT BE 0.
FIRE_SUIT_MAX_TEMP_PROTECT
what max_heat_protection_temperature is set to for firesuit quality suits. MUST NOT BE 0.
FIRE_SUIT_MIN_TEMP_PROTECT
Cold protection for firesuits
GLOVES_MAX_TEMP_PROTECT
For some gloves
GLOVES_MIN_TEMP_PROTECT
For some gloves (black and)
HAZARD_HIGH_PRESSURE
This determins at what pressure the ultra-high pressure red icon is displayed. (This one is set as a constant)
HAZARD_LOW_PRESSURE
This is when the black ultra-low pressure icon is displayed. (This one is set as a constant)
HELMET_MAX_TEMP_PROTECT
For normal helmets
HELMET_MIN_TEMP_PROTECT
For normal helmets
HULK_COLD_DAMAGE_MOD
The modifier on cold damage hulks get.
SHOES_MAX_TEMP_PROTECT
For gloves
SHOES_MIN_TEMP_PROTECT
For gloves
SPACE_HELM_MAX_TEMP_PROTECT
Thermal insulation works both ways /Malkevin
SPACE_HELM_MIN_TEMP_PROTECT
what min_cold_protection_temperature is set to for space-helmet quality headwear. MUST NOT BE 0.
SPACE_SUIT_MIN_TEMP_PROTECT
what min_cold_protection_temperature is set to for space-suit quality jumpsuits or suits. MUST NOT BE 0.
SPACE_SUIT_MIN_TEMP_PROTECT_OFF
The min cold protection of a space suit without the heater active
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 (it is 0.7 * HAZARD_HIGH_PRESSURE)
WARNING_LOW_PRESSURE
This is when the gray low pressure icon is displayed. (it is 2.5 * HAZARD_LOW_PRESSURE)