second pass pt2

This commit is contained in:
Hatterhat
2021-02-11 00:29:25 -06:00
parent 3040eca4e0
commit 8103078ff1
+3
View File
@@ -17,6 +17,9 @@
if(C.damaged_clothes)
to_chat(user,"<span class='warning'>You should repair the damage done to [C] first.</span>")
return
if(C.attached_accessory)
to_chat(user,"<span class='warning'>Kind of hard to sew around [C.attached_accessory].</span>")
return
if(C.armor.getRating("melee") < 10)
C.armor = C.armor.setRating("melee" = 10)
used = TRUE