mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Exact Temp & Pressure on Armour Examine (#8537)
Co-authored-by: Killian <49700375+KillianKirilenko@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
@@ -45,7 +45,6 @@
|
|||||||
else
|
else
|
||||||
return "It's difficult to tell how much it'll influence your speed."
|
return "It's difficult to tell how much it'll influence your speed."
|
||||||
|
|
||||||
|
|
||||||
/obj/item/clothing/get_description_info()
|
/obj/item/clothing/get_description_info()
|
||||||
var/armor_stats = description_info + "\
|
var/armor_stats = description_info + "\
|
||||||
<br>"
|
<br>"
|
||||||
@@ -72,28 +71,18 @@
|
|||||||
if(flags & AIRTIGHT)
|
if(flags & AIRTIGHT)
|
||||||
armor_stats += "It is airtight. \n"
|
armor_stats += "It is airtight. \n"
|
||||||
|
|
||||||
if(min_pressure_protection == 0 && max_pressure_protection >= WARNING_HIGH_PRESSURE) //0 to 325
|
if(min_pressure_protection != null)
|
||||||
armor_stats += "Wearing this will protect you from the vacuum of space and from high pressures. \n"
|
armor_stats += "It is rated for pressures as low as [min_pressure_protection] kPa. \n"
|
||||||
else if(min_pressure_protection <= WARNING_LOW_PRESSURE && max_pressure_protection >= WARNING_HIGH_PRESSURE) //50 to 325
|
if(max_pressure_protection)
|
||||||
armor_stats += "Wearing this will protect you from both low and high pressures, but not the vacuum of space. \n"
|
armor_stats += "It is rated for pressures as high as [max_pressure_protection] kPa. \n"
|
||||||
else if(min_pressure_protection == 0)
|
|
||||||
armor_stats += "Wearing this will protect you from the vacuum of space. \n"
|
|
||||||
else if(min_pressure_protection <= WARNING_LOW_PRESSURE) //50 or below
|
|
||||||
armor_stats += "Wearing this will protect you from low pressures, but not the vacuum of space. \n"
|
|
||||||
else if(max_pressure_protection >= WARNING_HIGH_PRESSURE) //325 or higher
|
|
||||||
armor_stats += "Wearing this will protect you from high pressures. \n"
|
|
||||||
|
|
||||||
if(flags & THICKMATERIAL) //stops syringes
|
if(flags & THICKMATERIAL) //stops syringes
|
||||||
armor_stats += "The material is exceptionally thick. \n"
|
armor_stats += "The material is exceptionally thick. \n"
|
||||||
|
|
||||||
if(max_heat_protection_temperature >= FIRESUIT_MAX_HEAT_PROTECTION_TEMPERATURE && min_cold_protection_temperature <= SPACE_SUIT_MIN_COLD_PROTECTION_TEMPERATURE) //30000 or higher and as low as 2
|
if(min_cold_protection_temperature)
|
||||||
armor_stats += "It provides exceptional protection from extremely high and low temperatures alike. \n"
|
armor_stats += "It is rated for temperatures as low as [min_cold_protection_temperature] Kelvin. \n"
|
||||||
else if(max_heat_protection_temperature >= SPACE_SUIT_MAX_HEAT_PROTECTION_TEMPERATURE && min_cold_protection_temperature <= SPACE_SUIT_MIN_COLD_PROTECTION_TEMPERATURE) //5000 or above, but less than 30000
|
if(max_heat_protection_temperature)
|
||||||
armor_stats += "It provides very good protection against hazardous temperatures at both extremes, but may not be sufficient for very high-intensity situations. \n"
|
armor_stats += "It is rated for temperatures as high as [max_heat_protection_temperature] Kelvin. \n"
|
||||||
else if(max_heat_protection_temperature >= FIRESUIT_MAX_HEAT_PROTECTION_TEMPERATURE) //30000 or above
|
|
||||||
armor_stats += "It provides exceptional protection from extremely high temperatures. \n"
|
|
||||||
else if(min_cold_protection_temperature <= SPACE_SUIT_MIN_COLD_PROTECTION_TEMPERATURE) //2 or less
|
|
||||||
armor_stats += "It provides exceptional protection against very low temperatures. \n"
|
|
||||||
|
|
||||||
var/list/covers = list()
|
var/list/covers = list()
|
||||||
var/list/slots = list()
|
var/list/slots = list()
|
||||||
|
|||||||
Reference in New Issue
Block a user