Merge pull request #5549 from Citadel-Station-13/upstream-merge-35732

[MIRROR] fixes poddoor examine message
This commit is contained in:
deathride58
2018-02-17 19:31:47 +00:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -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, "<span class='notice'>Due to a security threat, its access requirements have been lifted!</span>")
else
to_chat(user, "<span class='notice'>In the event of a red alert, its access requirements will automatically lift.</span>")
to_chat(user, "<span class='notice'>Its maintenance panel is <b>screwed</b> in place.</span>")
if(!poddoor)
to_chat(user, "<span class='notice'>Its maintenance panel is <b>screwed</b> in place.</span>")
/obj/machinery/door/check_access(access)
if(red_alert_access && GLOB.security_level >= SEC_LEVEL_RED)
+1
View File
@@ -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"