mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Restore limits on range
This commit is contained in:
@@ -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]"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user