mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
Mecha no longer crush their occupants if you switch to internal pressure. (Normally.)
Bugfix: Not all suits now protect from air pressure. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2887 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -495,19 +495,14 @@
|
||||
|
||||
|
||||
var/pressure = environment.return_pressure()
|
||||
|
||||
if(!wear_suit)
|
||||
if(!istype(wear_suit, /obj/item/clothing/suit/space))
|
||||
|
||||
if(!istype(wear_suit, /obj/item/clothing/suit/space)&&!istype(wear_suit, /obj/item/clothing/suit/armor/captain))
|
||||
/*if(pressure < 20)
|
||||
if(prob(25))
|
||||
src << "You feel the splittle on your lips and the fluid on your eyes boiling away, the capillteries in your skin breaking."
|
||||
adjustBruteLoss(5)
|
||||
*/
|
||||
|
||||
if(pressure > HAZARD_HIGH_PRESSURE)
|
||||
|
||||
adjustBruteLoss(min((10+(round(pressure/(HIGH_STEP_PRESSURE)-2)*5)),MAX_PRESSURE_DAMAGE))
|
||||
if(pressure > HAZARD_HIGH_PRESSURE)
|
||||
adjustBruteLoss(min((10+(round(pressure/(HIGH_STEP_PRESSURE)-2)*5)),MAX_PRESSURE_DAMAGE))
|
||||
|
||||
|
||||
|
||||
@@ -926,7 +921,7 @@
|
||||
|
||||
if (pressure)
|
||||
|
||||
if((wear_suit) && (istype(wear_suit, /obj/item/clothing/suit/space)))
|
||||
if(istype(wear_suit, /obj/item/clothing/suit/space)||istype(wear_suit, /obj/item/clothing/suit/armor/captain))
|
||||
pressure.icon_state = "pressure0"
|
||||
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user