Merge pull request #25919 from Qbopper/brokencloset

Fixes redundant messages about broken closets
This commit is contained in:
Leo
2017-04-06 18:38:58 -03:00
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -96,7 +96,7 @@
if(resistance_flags & ON_FIRE)
to_chat(user, "<span class='warning'>It's on fire!</span>")
if(broken)
to_chat(user, "<span class='notice'>It looks broken.</span>")
to_chat(user, "<span class='notice'>It appears to be broken.</span>")
var/examine_status = examine_status(user)
if(examine_status)
to_chat(user, examine_status)
@@ -109,4 +109,5 @@
if(25 to 50)
return "It appears heavily damaged."
if(0 to 25)
return "<span class='warning'>It's falling apart!</span>"
if(!broken)
return "<span class='warning'>It's falling apart!</span>"

View File

@@ -79,8 +79,6 @@
..()
if(anchored)
to_chat(user, "It is anchored to the ground.")
if(broken)
to_chat(user, "<span class='notice'>It appears to be broken.</span>")
else if(secure && !opened)
to_chat(user, "<span class='notice'>Alt-click to [locked ? "unlock" : "lock"].</span>")