Changed various instances of range() and orange() to ultra_range().

This commit is contained in:
xxalpha
2015-10-19 20:04:14 +01:00
parent 8b5d037a85
commit e82a216447
34 changed files with 50 additions and 49 deletions
+1 -1
View File
@@ -49,7 +49,7 @@
var/y_distance = TO.y - FROM.y
var/x_distance = TO.x - FROM.x
for (var/atom/movable/A in range(12, FROM )) // iterate thru list of mobs in the area
for (var/atom/movable/A in ultra_range(12, FROM )) // iterate thru list of mobs in the area
if(istype(A, /obj/item/device/radio/beacon)) continue // don't teleport beacons because that's just insanely stupid
if(A.anchored) continue
+1 -1
View File
@@ -31,5 +31,5 @@
return
for(var/obj/effect/landmark/epicentre in epicentreList)
for(var/obj/machinery/power/apc/apc in range(epicentre,lightsoutRange))
for(var/obj/machinery/power/apc/apc in ultra_range(lightsoutRange, epicentre))
apc.overload_lighting()
+1 -1
View File
@@ -361,7 +361,7 @@
return
if(istype(W, /obj/item/weapon/scythe))
for(var/obj/effect/spacevine/B in orange(src,1))
for(var/obj/effect/spacevine/B in orange(1,src))
if(prob(80))
qdel(B)
qdel(src)