Merge pull request #3091 from VOREStation/Cameron653-patch-1

Adds a toggle to the bluespace jumpsuit
This commit is contained in:
Aronai Sieyes
2018-02-22 12:33:16 -05:00
committed by GitHub
@@ -42,6 +42,27 @@
hides_bulges = TRUE
var/original_size
/obj/item/clothing/under/bluespace/verb/toggle_fibers()
set category = "Object"
set name = "Adjust fibers"
set desc = "Adjust your suit fibers. This makes it so your stomach(s) will show or not."
set src in usr
adjust_fibers(usr)
..()
/obj/item/clothing/under/bluespace/proc/adjust_fibers(mob/user)
if(hides_bulges == FALSE)
hides_bulges = TRUE
to_chat(user, "You tense the suit fibers, hiding your stomach(s).")
else
hides_bulges = FALSE
to_chat(user, "You relax the suit fibers, showing your stomach(s).")
/obj/item/clothing/under/bluespace/verb/resize()
set name = "Adjust Size"
set category = "Object"
@@ -49,6 +70,8 @@
bluespace_size(usr)
..()
/obj/item/clothing/under/bluespace/proc/bluespace_size(mob/usr as mob)
if (!ishuman(usr))
return