Examine Code Refactor

This commit is contained in:
Dip
2020-10-06 23:36:21 -03:00
parent c433514622
commit aa7d47a23b
334 changed files with 1337 additions and 1365 deletions
@@ -187,11 +187,11 @@
return 1
/obj/item/modular_computer/examine(mob/user)
..()
. = ..()
if(obj_integrity <= integrity_failure)
to_chat(user, "<span class='danger'>It is heavily damaged!</span>")
. += "<span class='danger'>It is heavily damaged!</span>"
else if(obj_integrity < max_integrity)
to_chat(user, "<span class='warning'>It is damaged.</span>")
. += "<span class='warning'>It is damaged.</span>"
/obj/item/modular_computer/update_icon()
cut_overlays()