Restore limits on range

This commit is contained in:
chafla
2021-06-25 14:41:16 -07:00
parent 7c6be50505
commit d98ca95ff1
2 changed files with 6 additions and 6 deletions
@@ -79,8 +79,8 @@
for(var/i in rad_places)
var/turf/place = i
// if(get_dist(user, place) >= range * 5) //Rads are easier to see than wires under the floor
// continue
if(range != -1 && get_dist(user, place) >= range)
continue
var/strength = round(rad_places[i] / 1000, 0.1)
var/image/pic = image(loc = place)
var/mutable_appearance/MA = new()
@@ -94,7 +94,7 @@
/obj/item/clothing/glasses/meson/engine/proc/show_rads()
var/mob/living/carbon/human/user = loc
user.show_rads(range)
user.show_rads(range * 5) // Rads are easier to see than wires under the floor
/obj/item/clothing/glasses/meson/engine/update_icon()
icon_state = "trayson-[mode]"
+3 -3
View File
@@ -110,7 +110,7 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
/mob/dead/observer/process()
if(seerads)
show_rads(1)
show_rads(30)
return
// This seems stupid, but it's the easiest way to avoid absolutely ridiculous shit from happening
@@ -398,8 +398,8 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
/mob/dead/observer/verb/toggle_rad_view()
set category = "Ghost"
set name = "Toggle Radiation View" // "Haunt"
set desc = "Toggle viewing radiation ."
set name = "Toggle Radiation View"
set desc = "Toggle viewing radiation."
if(!isobserver(src)) // Somehow
return