diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 965c8699e0e..6b66b5fb244 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -231,6 +231,12 @@ BLIND // can't see anything for(var/mob/V in viewers(usr, 1)) V.show_message("[usr] sets [src.loc]'s sensors to maximum.", 1) +/obj/item/clothing/under/verb/toggle() + set name = "Toggle Suit Sensors" + set category = "Object" + set src in usr + set_sensors(usr) + ..() //Head /obj/item/clothing/head name = "head" @@ -455,32 +461,6 @@ BLIND // can't see anything for(var/obj/item/clothing/accessory/A in accessories) usr << "\A [A] is attached to it." -/obj/item/clothing/under/verb/toggle() - set name = "Toggle Suit Sensors" - set category = "Object" - set src in usr - var/mob/M = usr - if (istype(M, /mob/dead/)) return - if (usr.stat) return - if(src.has_sensor >= 2) - usr << "The controls are locked." - return 0 - if(src.has_sensor <= 0) - usr << "This suit does not have any sensors." - return 0 - src.sensor_mode += 1 - if(src.sensor_mode > 3) - src.sensor_mode = 0 - switch(src.sensor_mode) - if(0) - usr << "You disable your suit's remote sensing equipment." - if(1) - usr << "Your suit will now report whether you are live or dead." - if(2) - usr << "Your suit will now report your vital lifesigns." - if(3) - usr << "Your suit will now report your vital lifesigns as well as your coordinate position." - ..() /obj/item/clothing/under/verb/rollsuit() set name = "Roll Down Jumpsuit"