From f03905ebde6978ca28f71e564acee9ad859a0a98 Mon Sep 17 00:00:00 2001 From: yorii Date: Sat, 17 Feb 2018 20:15:54 +0100 Subject: [PATCH 1/2] fixes poddoor examine message (#35732) examining a blast door do longer gives the regular door examination about the maintenance panel. --- code/game/machinery/doors/door.dm | 4 +++- code/game/machinery/doors/poddoor.dm | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/doors/door.dm b/code/game/machinery/doors/door.dm index 7c14f48e2d..70181ba138 100644 --- a/code/game/machinery/doors/door.dm +++ b/code/game/machinery/doors/door.dm @@ -33,6 +33,7 @@ var/damage_deflection = 10 var/real_explosion_block //ignore this, just use explosion_block var/red_alert_access = FALSE //if TRUE, this door will always open on red alert + var/poddoor = FALSE /obj/machinery/door/examine(mob/user) ..() @@ -41,7 +42,8 @@ to_chat(user, "Due to a security threat, its access requirements have been lifted!") else to_chat(user, "In the event of a red alert, its access requirements will automatically lift.") - to_chat(user, "Its maintenance panel is screwed in place.") + if(!poddoor) + to_chat(user, "Its maintenance panel is screwed in place.") /obj/machinery/door/check_access(access) if(red_alert_access && GLOB.security_level >= SEC_LEVEL_RED) diff --git a/code/game/machinery/doors/poddoor.dm b/code/game/machinery/doors/poddoor.dm index f42352d79d..6daa7b89d6 100644 --- a/code/game/machinery/doors/poddoor.dm +++ b/code/game/machinery/doors/poddoor.dm @@ -14,6 +14,7 @@ armor = list(melee = 50, bullet = 100, laser = 100, energy = 100, bomb = 50, bio = 100, rad = 100, fire = 100, acid = 70) resistance_flags = FIRE_PROOF damage_deflection = 70 + poddoor = TRUE /obj/machinery/door/poddoor/preopen icon_state = "open"