Space Parallax Port (#69)
* better * what the fuck * Revert "what the fuck" This reverts commit 384d5b33aacaf9c67be2c8c089979b9ee6b41074. * chrwedrhbedrhbnedrh * it works ? ? ? * shutte * prefs * i think i did it right * kk
This commit is contained in:
@@ -1437,4 +1437,12 @@ proc/pick_closest_path(value)
|
||||
var/str = "[val]"
|
||||
while(length(str) < 5)
|
||||
str = "0" + str
|
||||
. = str
|
||||
. = str
|
||||
|
||||
/proc/trange(var/Dist = 0, var/turf/Center = null)
|
||||
if (isnull(Center))
|
||||
return
|
||||
|
||||
var/turf/x1y1 = locate(((Center.x - Dist) < 1 ? 1 : Center.x - Dist), ((Center.y - Dist) < 1 ? 1 : Center.y - Dist), Center.z)
|
||||
var/turf/x2y2 = locate(((Center.x + Dist) > world.maxx ? world.maxx : Center.x + Dist), ((Center.y + Dist) > world.maxy ? world.maxy : Center.y + Dist), Center.z)
|
||||
return block(x1y1, x2y2)
|
||||
|
||||
Reference in New Issue
Block a user