diff --git a/code/__DEFINES/atmospherics.dm b/code/__DEFINES/atmospherics.dm index 2870e31eff97..a37e08871872 100644 --- a/code/__DEFINES/atmospherics.dm +++ b/code/__DEFINES/atmospherics.dm @@ -210,8 +210,6 @@ #define KITCHEN_COLDROOM_ATMOS "o2=33;n2=124;TEMP=193.15" /// used in the holodeck burn test program #define BURNMIX_ATMOS "o2=2500;plasma=5000;TEMP=370" -/// used in rockplanet -#define ROCKPLANET_DEFAULT_ATMOS "co2=95;n2=3;TEMP=210.15" //ATMOSPHERICS DEPARTMENT GAS TANK TURFS #define ATMOS_TANK_N2O "n2o=6000;TEMP=293.15" #define ATMOS_TANK_CO2 "co2=50000;TEMP=293.15" @@ -226,11 +224,16 @@ //PLANETARY /// what pressure you have to be under to increase the effect of equipment meant for lavaland #define LAVALAND_EQUIPMENT_EFFECT_PRESSURE 90 -#define ICEMOON_DEFAULT_ATMOS "ICEMOON_ATMOS" #define GAS_GIANT_ATMOS "GAS_GIANT_ATMOS" #define PLASMA_GIANT_ATMOS "PLASMA_GIANT_ATMOS" -#define WASTEPLANET_DEFAULT_ATMOS "WASTEPLANET_ATMOS" +#define DEFAULT_ATMOS_DETECTOR "plasma=70000;TEMP=293.15" #define LAVALAND_DEFAULT_ATMOS "LAVALAND_ATMOS" +#define ICEMOON_DEFAULT_ATMOS "ICEMOON_ATMOS" +#define WASTEPLANET_DEFAULT_ATMOS "WASTEPLANET_ATMOS" +#define ROCKPLANET_DEFAULT_ATMOS "ROCKPLANET_ATMOS" +#define BEACHPLANET_DEFAULT_ATMOS "BEACHPLANET_ATMOS" +#define JUNGLEPLANET_DEFAULT_ATMOS "JUNGLEPLANET_ATMOS" +#define SANDPLANET_DEFAULT_ATMOS "SANDPLANET_ATMOS" //ATMOS MIX IDS diff --git a/code/__DEFINES/species.dm b/code/__DEFINES/species.dm index a0ee9fac398a..513c6a1b8fff 100644 --- a/code/__DEFINES/species.dm +++ b/code/__DEFINES/species.dm @@ -16,7 +16,7 @@ /// 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. #define HUMAN_BODYTEMP_AUTORECOVERY_DIVISOR 22 /// Minimum amount of kelvin moved toward 310K per tick. So long as abs(310.15 - bodytemp) is more than 50. -#define HUMAN_BODYTEMP_AUTORECOVERY_MINIMUM 6 +#define HUMAN_BODYTEMP_AUTORECOVERY_MINIMUM 12 ///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. #define HUMAN_BODYTEMP_COLD_DIVISOR 20 /// 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. diff --git a/code/datums/atmosphere/planetary.dm b/code/datums/atmosphere/planetary.dm index 85bbf13c52a9..d3575d961087 100644 --- a/code/datums/atmosphere/planetary.dm +++ b/code/datums/atmosphere/planetary.dm @@ -50,9 +50,138 @@ minimum_pressure = HAZARD_LOW_PRESSURE + 10 maximum_pressure = LAVALAND_EQUIPMENT_EFFECT_PRESSURE - 1 - minimum_temp = 180 - maximum_temp = 180 + minimum_temp = 80 //fucking cold to + maximum_temp = 200 //still cold + + +//wasteplanet + +/datum/atmosphere/wasteplanet + id = WASTEPLANET_DEFAULT_ATMOS + + + base_gases = list( + GAS_O2=7, + GAS_N2=10, + ) + normal_gases = list( + GAS_O2=7, + GAS_O2=3, + GAS_N2=5, + GAS_N2=2 + ) + restricted_gases = list( + GAS_H2O=1, + ) + restricted_chance = 10 + + minimum_pressure = ONE_ATMOSPHERE - 30 + maximum_pressure = ONE_ATMOSPHERE + 100 + + minimum_temp = T20C + 1 + maximum_temp = T20C + 80 + +//sandplanet +/datum/atmosphere/whitesands + id = SANDPLANET_DEFAULT_ATMOS + + base_gases = list( + GAS_O2=5, + GAS_N2=10, + ) + normal_gases = list( + GAS_O2=10, + GAS_N2=10, + GAS_CO2=10, + ) + restricted_gases = list( + GAS_PLASMA=0.1, + GAS_H2O=0.1, + ) + restricted_chance = 50 + + minimum_pressure = HAZARD_LOW_PRESSURE + 10 + maximum_pressure = LAVALAND_EQUIPMENT_EFFECT_PRESSURE - 1 + + minimum_temp = 120 + maximum_temp = 210 //No longer always 180 + +//Jungleplanet + +/datum/atmosphere/jungleplanet + id = JUNGLEPLANET_DEFAULT_ATMOS + + base_gases = list( + GAS_O2=15, + GAS_N2=60, + GAS_CO2=1, + ) + normal_gases = list( + GAS_O2=1, + GAS_N2=4, + GAS_H2O=2, + ) + restricted_gases = list( + GAS_CO2=0.1, + ) + restricted_chance = 0 + + minimum_pressure = 101.3 + maximum_pressure = 135.7 //Nonsense values + + minimum_temp = T20C + 10 + maximum_temp = T20C + 40 + +//welcome to the beach + +/datum/atmosphere/beach + id = BEACHPLANET_DEFAULT_ATMOS + + base_gases = list( + GAS_O2=10, + GAS_N2=40, + ) + normal_gases = list( + GAS_O2=1, + GAS_N2=4, + ) + restricted_gases = list( + GAS_PLASMA=0.1, + ) + restricted_chance = 0 + + minimum_pressure = 101.3 + maximum_pressure = 135.7 + + minimum_temp = T20C - 10 + maximum_temp = T20C + 10 + +//rockplanets have lots of CO2 and are moderately cold. +/datum/atmosphere/rockplanet + + id = ROCKPLANET_DEFAULT_ATMOS + + base_gases = list( + GAS_CO2=5, + GAS_N2=1, + ) + normal_gases = list( + GAS_CO2=3, + GAS_N2=1, + ) + restricted_gases = list( + GAS_PLASMA=0.1, + ) + restricted_chance = 0 + + minimum_pressure = 101.3 + maximum_pressure = 135.7 + + minimum_temp = 200 + maximum_temp = 230 + +// gas giants /datum/atmosphere/gas_giant id = GAS_GIANT_ATMOS @@ -92,28 +221,3 @@ GAS_PLASMA=0.1, ) restricted_chance = 1 - -/datum/atmosphere/wasteplanet - id = WASTEPLANET_DEFAULT_ATMOS - - - base_gases = list( - GAS_O2=7, - GAS_N2=10, - ) - normal_gases = list( - GAS_O2=7, - GAS_O2=3, - GAS_N2=5, - GAS_N2=2 - ) - restricted_gases = list( - GAS_H2O=1, - ) - restricted_chance = 10 - - minimum_pressure = ONE_ATMOSPHERE - 30 - maximum_pressure = ONE_ATMOSPHERE + 100 - - minimum_temp = T20C + 1 - maximum_temp = T20C + 80 diff --git a/code/datums/mapgen/Whitesandsatmos.dm b/code/datums/mapgen/Whitesandsatmos.dm index 87d4ef33b881..231a9c9eec14 100644 --- a/code/datums/mapgen/Whitesandsatmos.dm +++ b/code/datums/mapgen/Whitesandsatmos.dm @@ -1,28 +1,3 @@ #define WHITESANDS_WALL_ENV "rock" #define WHITESANDS_SAND_ENV "sand" #define WHITESANDS_DRIED_ENV "dried_up" -#define WHITESANDS_ATMOS "ws_atmos" - -/datum/atmosphere/whitesands - id = WHITESANDS_ATMOS - - base_gases = list( - GAS_O2=5, - GAS_N2=10, - ) - normal_gases = list( - GAS_O2=10, - GAS_N2=10, - GAS_CO2=10, - ) - restricted_gases = list( - GAS_PLASMA=0.1, - GAS_H2O=0.1, - ) - restricted_chance = 50 - - minimum_pressure = HAZARD_LOW_PRESSURE + 10 - maximum_pressure = LAVALAND_EQUIPMENT_EFFECT_PRESSURE - 1 - - minimum_temp = 180 - maximum_temp = 180 diff --git a/code/game/turfs/closed/minerals.dm b/code/game/turfs/closed/minerals.dm index 3970cc403d73..b3c5ba5d44e6 100644 --- a/code/game/turfs/closed/minerals.dm +++ b/code/game/turfs/closed/minerals.dm @@ -673,7 +673,7 @@ environment_type = WHITESANDS_WALL_ENV turf_type = /turf/open/floor/plating/asteroid/whitesands baseturfs = /turf/open/floor/plating/asteroid/whitesands/dried - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS defer_change = TRUE has_borders = TRUE @@ -683,7 +683,7 @@ environment_type = WHITESANDS_WALL_ENV turf_type = /turf/open/floor/plating/asteroid/whitesands baseturfs = /turf/open/floor/plating/asteroid/whitesands/dried - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS defer_change = TRUE has_borders = TRUE @@ -693,7 +693,7 @@ environment_type = WHITESANDS_WALL_ENV turf_type = /turf/open/floor/plating/asteroid/whitesands baseturfs = /turf/open/floor/plating/asteroid/whitesands/dried - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS defer_change = TRUE has_borders = TRUE @@ -703,7 +703,7 @@ environment_type = WHITESANDS_WALL_ENV turf_type = /turf/open/floor/plating/asteroid/whitesands baseturfs = /turf/open/floor/plating/asteroid/whitesands/dried - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS defer_change = TRUE has_borders = TRUE @@ -713,7 +713,7 @@ environment_type = WHITESANDS_WALL_ENV turf_type = /turf/open/floor/plating/asteroid/whitesands baseturfs = /turf/open/floor/plating/asteroid/whitesands/dried - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS defer_change = TRUE has_borders = TRUE @@ -723,7 +723,7 @@ environment_type = WHITESANDS_WALL_ENV turf_type = /turf/open/floor/plating/asteroid/whitesands baseturfs = /turf/open/floor/plating/asteroid/whitesands/dried - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS defer_change = TRUE has_borders = TRUE @@ -739,7 +739,7 @@ mineralSpawnChanceList = list(/obj/item/stack/ore/uranium = 5, /obj/item/stack/ore/diamond = 3, /obj/item/stack/ore/gold = 10, /obj/item/stack/ore/silver = 10, /obj/item/stack/ore/plasma = 15, /obj/item/stack/ore/iron = 45, /obj/item/stack/ore/titanium = 11, /turf/closed/mineral/gibtonite/whitesands = 4, /turf/open/floor/plating/asteroid/whitesands = 2, /obj/item/stack/ore/bluespace_crystal = 4) - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS defer_change = TRUE has_borders = TRUE @@ -750,7 +750,7 @@ environment_type = WHITESANDS_WALL_ENV turf_type = /turf/open/floor/plating/asteroid/whitesands baseturfs = /turf/open/floor/plating/asteroid/whitesands/dried - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS defer_change = TRUE has_borders = TRUE @@ -760,7 +760,7 @@ environment_type = WHITESANDS_WALL_ENV turf_type = /turf/open/floor/plating/asteroid/whitesands baseturfs = /turf/open/floor/plating/asteroid/whitesands/dried - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS defer_change = TRUE has_borders = TRUE @@ -770,7 +770,7 @@ environment_type = WHITESANDS_WALL_ENV turf_type = /turf/open/floor/plating/asteroid/whitesands baseturfs = /turf/open/floor/plating/asteroid/whitesands/dried - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS defer_change = TRUE has_borders = TRUE diff --git a/code/game/turfs/open/acid.dm b/code/game/turfs/open/acid.dm index 86260871c522..c9f5472fa4fb 100644 --- a/code/game/turfs/open/acid.dm +++ b/code/game/turfs/open/acid.dm @@ -145,4 +145,4 @@ /turf/open/water/acid/whitesands planetary_atmos = TRUE - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS diff --git a/code/game/turfs/open/floor/plating/beach.dm b/code/game/turfs/open/floor/plating/beach.dm index 88bb3bbcad1b..98a0037afd01 100644 --- a/code/game/turfs/open/floor/plating/beach.dm +++ b/code/game/turfs/open/floor/plating/beach.dm @@ -4,7 +4,7 @@ icon_state = "sand" base_icon_state = "sand" baseturfs = /turf/open/floor/plating/asteroid/sand - initial_gas_mix = OPENTURF_DEFAULT_ATMOS //custom atmos? lots of oxygen, hot? + initial_gas_mix = BEACHPLANET_DEFAULT_ATMOS //custom atmos? lots of oxygen, hot? digResult = /obj/item/stack/ore/glass planetary_atmos = TRUE digResult = /obj/item/stack/ore/glass/beach diff --git a/code/game/turfs/open/floor/plating/icemoon.dm b/code/game/turfs/open/floor/plating/icemoon.dm index ca1819af2531..5fb9d61a093a 100644 --- a/code/game/turfs/open/floor/plating/icemoon.dm +++ b/code/game/turfs/open/floor/plating/icemoon.dm @@ -94,7 +94,7 @@ /turf/open/floor/plating/asteroid/snow/lit/whitesands baseturfs = /turf/open/floor/plating/asteroid/whitesands/lit - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS /turf/open/floor/plating/asteroid/snow/lit/rockplanet baseturfs = /turf/open/floor/plating/asteroid/rockplanet/lit diff --git a/code/game/turfs/open/floor/plating/planet.dm b/code/game/turfs/open/floor/plating/planet.dm index a86847ca8f78..9b247397b56f 100644 --- a/code/game/turfs/open/floor/plating/planet.dm +++ b/code/game/turfs/open/floor/plating/planet.dm @@ -23,7 +23,7 @@ /turf/open/floor/plating/dirt/jungle slowdown = 0.5 baseturfs = /turf/open/floor/plating/dirt/jungle - initial_gas_mix = OPENTURF_DEFAULT_ATMOS + initial_gas_mix = JUNGLEPLANET_DEFAULT_ATMOS /turf/open/floor/plating/dirt/jungle/lit baseturfs = /turf/open/floor/plating/dirt/jungle/lit diff --git a/code/game/turfs/open/floor/plating/whitesands.dm b/code/game/turfs/open/floor/plating/whitesands.dm index 6d7d0e3343f9..1d053e8ac8df 100644 --- a/code/game/turfs/open/floor/plating/whitesands.dm +++ b/code/game/turfs/open/floor/plating/whitesands.dm @@ -6,7 +6,7 @@ icon_plating = "sand" planetary_atmos = TRUE base_icon_state = WHITESANDS_SAND_ENV - initial_gas_mix = WHITESANDS_ATMOS //Fallback, and used to tell the AACs that this is the exterior + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS //Fallback, and used to tell the AACs that this is the exterior digResult = /obj/item/stack/ore/glass/whitesands /turf/open/floor/plating/asteroid/whitesands/lit @@ -33,10 +33,10 @@ baseturfs = /turf/open/floor/plating/asteroid/whitesands/dried/lit /turf/open/floor/plating/grass/whitesands - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS /turf/open/floor/plating/asteroid/basalt/whitesands - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS planetary_atmos = TRUE baseturfs = /turf/open/floor/plating/asteroid/whitesands/dried icon_state = "whitesands_basalt0" @@ -55,7 +55,7 @@ base_icon_state = "grass" baseturfs = /turf/open/floor/plating/asteroid/whitesands turf_type = /turf/open/floor/plating/asteroid/whitesands/grass - initial_gas_mix = WHITESANDS_ATMOS + initial_gas_mix = SANDPLANET_DEFAULT_ATMOS planetary_atmos = TRUE smoothing_flags = SMOOTH_BITMASK smoothing_groups = list(SMOOTH_GROUP_TURF_OPEN, SMOOTH_GROUP_FLOOR_GRASS) diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm index f4eea59596d3..ef6c595d127d 100644 --- a/code/modules/mob/living/carbon/human/species.dm +++ b/code/modules/mob/living/carbon/human/species.dm @@ -147,9 +147,9 @@ GLOBAL_LIST_EMPTY(roundstart_races) /// Minimum amount of kelvin moved toward normal body temperature per tick. var/bodytemp_autorecovery_min = HUMAN_BODYTEMP_AUTORECOVERY_MINIMUM /// The maximum temperature the species is comfortable at. Going above this does not apply any effects, but warns players that the temperture is hot - var/max_temp_comfortable = (HUMAN_BODYTEMP_NORMAL) //20 c will always be below human bodytemp, this just makes it so when it can sustain that its higher + var/max_temp_comfortable = (HUMAN_BODYTEMP_NORMAL + 1) //20 c will always be below human bodytemp, this just makes it so when it can sustain that its higher /// The minimum temperature the species is comfortable at. Going below this does not apply any effects, but warns players that the temperture is chilly - var/min_temp_comfortable = (HUMAN_BODYTEMP_NORMAL - 2) + var/min_temp_comfortable = (HUMAN_BODYTEMP_NORMAL - 1) /// 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. var/bodytemp_autorecovery_divisor = HUMAN_BODYTEMP_AUTORECOVERY_DIVISOR ///Similar to the autorecovery_divsor, 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 lose bodytemp faster. @@ -1874,32 +1874,20 @@ GLOBAL_LIST_EMPTY(roundstart_races) else H.throw_alert("tempfeel", /atom/movable/screen/alert/hot, 2) else - if(body_temp < (bodytemp_heat_damage_limit - 5)) - // you are cooling down and exiting the danger zone - if(total_change < 0) - H.throw_alert("tempfeel", /atom/movable/screen/alert/warm) - else - H.throw_alert("tempfeel", /atom/movable/screen/alert/hot, 2) - else if(total_change < 0.5) - H.throw_alert("tempfeel", /atom/movable/screen/alert/warm) + if(body_temp < (bodytemp_heat_damage_limit - 6)) + H.throw_alert("tempfeel", /atom/movable/screen/alert/hot, 1) else - H.clear_alert("tempfeel") + H.throw_alert("tempfeel", /atom/movable/screen/alert/warm) else if (body_temp < min_temp_comfortable && !HAS_TRAIT(H, TRAIT_RESISTCOLD)) SEND_SIGNAL(H, COMSIG_CLEAR_MOOD_EVENT, "hot") - if(body_temp < 220) + if(body_temp < bodytemp_cold_damage_limit -7) H.throw_alert("tempfeel", /atom/movable/screen/alert/cold, 3) else if(body_temp < bodytemp_cold_damage_limit) H.throw_alert("tempfeel", /atom/movable/screen/alert/cold, 2) else if(body_temp < (bodytemp_cold_damage_limit + 5)) - // you are warming up and exiting the danger zone - if(total_change > 0) - H.throw_alert("tempfeel", /atom/movable/screen/alert/chilly) - else - H.throw_alert("tempfeel", /atom/movable/screen/alert/cold, 2) - else if(total_change > -0.5) - H.throw_alert("tempfeel", /atom/movable/screen/alert/chilly) + H.throw_alert("tempfeel", /atom/movable/screen/alert/cold, 1) else - H.clear_alert("tempfeel") + H.throw_alert("tempfeel", /atom/movable/screen/alert/chilly) else H.clear_alert("tempfeel") @@ -1953,17 +1941,22 @@ GLOBAL_LIST_EMPTY(roundstart_races) // Display alerts based on the amount of cold damage being taken // Apply more damage based on how cold you are - if(body_temp < 200) + if(body_temp < bodytemp_cold_damage_limit - 15) H.throw_alert("temp", /atom/movable/screen/alert/shiver, 3) H.apply_damage(COLD_DAMAGE_LEVEL_3 * coldmod * H.physiology.cold_mod, BURN) + H.emote("shiver") - else if(body_temp < 220) + else if(body_temp < bodytemp_cold_damage_limit - 7) H.throw_alert("temp", /atom/movable/screen/alert/shiver, 2) H.apply_damage(COLD_DAMAGE_LEVEL_2 * coldmod * H.physiology.cold_mod, BURN) + if(prob(50)) + H.emote("shiver") else H.throw_alert("temp", /atom/movable/screen/alert/shiver, 1) H.apply_damage(COLD_DAMAGE_LEVEL_1 * coldmod * H.physiology.cold_mod, BURN) + if(prob(20)) + H.emote("shiver") // We are not to hot or cold, remove status and moods else @@ -2037,13 +2030,8 @@ GLOBAL_LIST_EMPTY(roundstart_races) var/body_temperature_difference = H.get_body_temp_normal() - body_temp var/natural_change = 0 - // We are very cold, increate body temperature - if(body_temp <= bodytemp_cold_damage_limit) - natural_change = max((body_temperature_difference * H.metabolism_efficiency / bodytemp_autorecovery_divisor), \ - bodytemp_autorecovery_min) - // we are cold, reduce the minimum increment and do not jump over the difference - else if(body_temp > bodytemp_cold_damage_limit && body_temp < H.get_body_temp_normal()) + if(body_temp > bodytemp_cold_damage_limit && body_temp < H.get_body_temp_normal()) natural_change = max(body_temperature_difference * H.metabolism_efficiency / bodytemp_autorecovery_divisor, \ min(body_temperature_difference, bodytemp_autorecovery_min / 4)) @@ -2052,9 +2040,6 @@ GLOBAL_LIST_EMPTY(roundstart_races) natural_change = min(body_temperature_difference * H.metabolism_efficiency / bodytemp_autorecovery_divisor, \ max(body_temperature_difference, -(bodytemp_autorecovery_min / 4))) - // We are very hot, reduce the body temperature - else if(body_temp >= bodytemp_heat_damage_limit) - natural_change = min((body_temperature_difference / bodytemp_autorecovery_divisor), -bodytemp_autorecovery_min) var/thermal_protection = H.get_insulation_protection(body_temp + natural_change) if(areatemp > body_temp) // It is hot here diff --git a/code/modules/surgery/organs/lungs.dm b/code/modules/surgery/organs/lungs.dm index 4235518229f7..e9ab5b6f7ddb 100644 --- a/code/modules/surgery/organs/lungs.dm +++ b/code/modules/surgery/organs/lungs.dm @@ -356,28 +356,26 @@ if(breath_temperature < cold_level_3_threshold) breather.apply_damage(cold_level_3_damage * cold_modifier, cold_damage_type, spread_damage = TRUE) breath_effect_prob = 100 - part_count = 20 + part_count = 8 if(breath_temperature > cold_level_3_threshold && breath_temperature < cold_level_2_threshold) breather.apply_damage(cold_level_2_damage * cold_modifier, cold_damage_type, spread_damage = TRUE) breath_effect_prob = 75 - part_count = 10 + part_count = 5 if(breath_temperature > cold_level_2_threshold && breath_temperature < cold_level_1_threshold) breather.apply_damage(cold_level_1_damage * cold_modifier, cold_damage_type, spread_damage = TRUE) breath_effect_prob = 50 - part_count = 5 + part_count = 3 if(breath_temperature > cold_level_1_threshold) breath_effect_prob = 25 - part_count = 3 + part_count = 2 if(breath_temperature < cold_level_1_threshold) if(prob(sqrt(breath_effect_prob) * 6)) to_chat(breather, "You feel [cold_message] in your [name]!") - if(prob(50)) - breather.emote("shiver") else if(breath_temperature < chlly_threshold) if(!breath_effect_prob) breath_effect_prob = 20 - part_count = 2 + part_count = 1 if(prob(sqrt(breath_effect_prob) * 6)) to_chat(breather, "You feel [chilly_message] in your [name].") if(breath_temperature < chlly_threshold) diff --git a/icons/hud/screen_alert.dmi b/icons/hud/screen_alert.dmi index 99de0dbf9441..6e12eadc662b 100644 Binary files a/icons/hud/screen_alert.dmi and b/icons/hud/screen_alert.dmi differ