Prevents the look of Krav maga from being changed in a washing machine (#15522)

* Prevents the look of Krav maga from being changed in a washing machine

* Apply suggestions from code review

Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>

Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>
This commit is contained in:
Qwertytoforty
2021-03-14 10:41:42 +00:00
committed by GitHub
co-authored by SabreML
parent 630949ffac
commit 0cabcaacfc
+3
View File
@@ -272,6 +272,9 @@
if( istype(W,/obj/item/clothing/gloves/furgloves ) )
to_chat(user, "This item does not fit.")
return
if(istype(W, /obj/item/clothing/gloves/color/black/krav_maga/sec))
to_chat(user, "<span class='warning'>Washing these gloves would fry the electronics!</span>")
return
if(W.flags & NODROP) //if "can't drop" item
to_chat(user, "<span class='notice'>\The [W] is stuck to your hand, you cannot put it in the washing machine!</span>")
return