Actually made it adjustable properly.

This commit is contained in:
Putnam
2020-12-23 00:01:59 -08:00
parent 79e71b54e2
commit 21da7ef619

View File

@@ -171,12 +171,17 @@
can_adjust = TRUE
body_parts_covered = CHEST|GROIN
/obj/item/clothing/under/misc/gear_harness/toggle_jumpsuit_adjust()
adjusted = !adjusted
if(adjusted)
body_parts_covered = NONE
else
/obj/item/clothing/under/misc/gear_harness/rolldown()
if(!body_parts_covered)
to_chat(usr, "<span class='notice'>Your gear harness is now covering your chest and groin.</span>")
body_parts_covered = CHEST|GROIN
else
to_chat(usr, "<span class='notice'>Your gear harness is no longer covering anything.</span>")
body_parts_covered = NONE
if(ishuman(usr))
var/mob/living/carbon/human/H = usr
H.update_inv_w_uniform()
H.update_body()
/obj/item/clothing/under/misc/durathread
name = "durathread jumpsuit"