byond - Modules - TypesDefine Details

code/__DEFINES/atmospherics.dm

PRESSURE_DAMAGE_COEFFICIENTThe amount of pressure damage someone takes is equal to (pressure / HAZARD_HIGH_PRESSURE)*PRESSURE_DAMAGE_COEFFICIENT, with the maximum of MAX_PRESSURE_DAMAGE
MAX_HIGH_PRESSURE_DAMAGEMaximum amount of damage someone can take from being in a too-high pressure area
LOW_PRESSURE_DAMAGEThe amounb of damage someone takes when in a low pressure area (The pressure threshold is so low that it doesn't make sense to do any calculations, so it just applies this flat value).

Define Details

LOW_PRESSURE_DAMAGE

The amounb of damage someone takes when in a low pressure area (The pressure threshold is so low that it doesn't make sense to do any calculations, so it just applies this flat value).

MAX_HIGH_PRESSURE_DAMAGE

Maximum amount of damage someone can take from being in a too-high pressure area

PRESSURE_DAMAGE_COEFFICIENT

The amount of pressure damage someone takes is equal to (pressure / HAZARD_HIGH_PRESSURE)*PRESSURE_DAMAGE_COEFFICIENT, with the maximum of MAX_PRESSURE_DAMAGE