Adds pressure protection bounds to clothing.

This commit is contained in:
atermonera
2018-12-11 21:05:52 -08:00
parent acd9d1b330
commit 694726f77e
18 changed files with 126 additions and 41 deletions

View File

@@ -46,8 +46,13 @@
if(flags & AIRTIGHT)
armor_stats += "It is airtight. \n"
if(flags & STOPPRESSUREDAMAGE)
if(min_pressure_protection == 0)
armor_stats += "Wearing this will protect you from the vacuum of space. \n"
else if(min_pressure_protection != null)
armor_stats += "Wearing this will protect you from low pressures, but not the vacuum of space. \n"
if(max_pressure_protection != null)
armor_stats += "Wearing this will protect you from high pressures. \n"
if(flags & THICKMATERIAL)
armor_stats += "The material is exceptionally thick. \n"