Entity Temperature constants
Part of Emote ids
Constants for generic Entity temperature simulation
Variables
const float HEATISO_THRESHOLD_BAD = 0.2 | ||
const float HEATISO_THRESHOLD_HIGH = 0.8 | ||
const float HEATISO_THRESHOLD_LOW = 0.4 | ||
const float HEATISO_THRESHOLD_MEDIUM = 0.6 | ||
const float TEMP_COEF_COOKING_CATCHUP = 3.0 | DEPRECEATED, heating of child items that are below minimal cooking temperature (catching up) | |
const float TEMP_COEF_COOKING_DEFAULT = 2.0 | ||
const float TEMP_COEF_COOLING_GLOBAL = 1.0 | one universal coef for item cooling | |
const float TEMP_COEF_FIREPLACE_COOLING = 2.0 | ||
const float TEMP_COEF_FIREPLACE_HEATING = 2.0 | ||
const float TEMP_COEF_GAS_STOVE = 1.0 | ||
const float TEMP_COEF_INVENTORY = 1 | ||
const float TEMP_COEF_SWIMMING = 5.0 | speed of change for items in player's inventory during swimming | |
const float TEMP_COEF_UTS = 6.0 | universal temperature sources | |
const float TEMP_COEF_WORLD = 1 | entities on the ground | |
static const float TEMPERATURE_FREEZE_TIME_COEF_BURNED = 0.25 | ||
static const float TEMPERATURE_FREEZE_TIME_COEF_DRIED = 0.25 | ||
static const float TEMPERATURE_FREEZETHAW_ACCELERATION_COEF = 20.0 | accelerates 'lowering' of the FT progress in the oposite direction | |
static const float TEMPERATURE_FREEZETHAW_LEGACY_COEF = 0.2 | artificially lowers the freeze/thaw progression on reverse-calculated time values | |
static const float TEMPERATURE_INTERPOLATION_THRESHOLD_MAX_ABS = 300.0 | difference in current - target temperatures | |
static const float TEMPERATURE_INTERPOLATION_THRESHOLD_MIN_ABS = 1.0 | difference in current - target temperatures | |
static const float TEMPERATURE_RATE_AVERAGE_ABS = 0.17 | °C/s | |
static const float TEMPERATURE_RATE_MAX_ABS = TEMPERATURE_RATE_AVERAGE_ABS * 6 | °C/s | |
static const float TEMPERATURE_SENSITIVITY_THRESHOLD = 0.1 | changes lower than this will usually not be processed (absolute) | |
static const float TEMPERATURE_THAW_TIME_COEF_BURNED = 0.25 | ||
static const float TEMPERATURE_THAW_TIME_COEF_DRIED = 0.25 | ||
static const float TEMPERATURE_TIME_FREEZE_MIN = 120 | minimal time in seconds to freeze entity | |
static const float TEMPERATURE_TIME_OVERHEAT_MIN = 180 | minimal time in seconds to overheat any overheatable entity | |
static const float TEMPERATURE_TIME_THAW_MIN = 120 | minimal time in seconds to thaw entity |