mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
Changed various instances of range() and orange() to ultra_range().
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user