diff --git a/code/modules/clothing/under/_under.dm b/code/modules/clothing/under/_under.dm index 5c88a346d0b..00157c3da3a 100644 --- a/code/modules/clothing/under/_under.dm +++ b/code/modules/clothing/under/_under.dm @@ -132,7 +132,7 @@ /mob/living/carbon/human/proc/update_sensor_list() var/obj/item/clothing/under/U = w_uniform - if(istype(U) && U.has_sensor > 0 && U.sensor_mode) + if(istype(U) && U.has_sensor > NO_SENSORS && U.sensor_mode) GLOB.suit_sensors_list |= src else GLOB.suit_sensors_list -= src @@ -256,13 +256,13 @@ sensor_mode = modes.Find(switchMode) - 1 if (loc == usr) switch(sensor_mode) - if(0) + if(SENSOR_OFF) to_chat(usr, span_notice("You disable your suit's remote sensing equipment.")) - if(1) + if(SENSOR_LIVING) to_chat(usr, span_notice("Your suit will now only report whether you are alive or dead.")) - if(2) + if(SENSOR_VITALS) to_chat(usr, span_notice("Your suit will now only report your exact vital lifesigns.")) - if(3) + if(SENSOR_COORDS) to_chat(usr, span_notice("Your suit will now report your exact vital lifesigns as well as your coordinate position.")) if(ishuman(loc)) diff --git a/code/modules/clothing/under/jobs/Plasmaman/command.dm b/code/modules/clothing/under/jobs/Plasmaman/command.dm index a2fcac7bbb6..797d596bf4e 100644 --- a/code/modules/clothing/under/jobs/Plasmaman/command.dm +++ b/code/modules/clothing/under/jobs/Plasmaman/command.dm @@ -19,7 +19,7 @@ icon_state = "hos_envirosuit" inhand_icon_state = "hos_envirosuit" armor = list(MELEE = 10, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 100, FIRE = 95, ACID = 95, WOUND = 10) - sensor_mode = 3 + sensor_mode = SENSOR_COORDS random_sensor = FALSE /obj/item/clothing/under/plasmaman/chief_engineer diff --git a/code/modules/mob_spawn/mob_spawn.dm b/code/modules/mob_spawn/mob_spawn.dm index 24d86493c1c..f8a7309bdc6 100644 --- a/code/modules/mob_spawn/mob_spawn.dm +++ b/code/modules/mob_spawn/mob_spawn.dm @@ -292,7 +292,7 @@ // Or on crew monitors var/obj/item/clothing/under/sensor_clothes = spawned_human.w_uniform if(istype(sensor_clothes)) - sensor_clothes.sensor_mode = NO_SENSORS + sensor_clothes.sensor_mode = SENSOR_OFF spawned_human.update_suit_sensors() //don't use this in subtypes, just add 1000 brute yourself. that being said, this is a type that has 1000 brute. it doesn't really have a home anywhere else, it just needs to exist