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:
L.E.D
2016-11-11 14:49:19 -05:00
committed by TalkingCactus
parent 563c51ff70
commit c3972ad738
21 changed files with 371 additions and 7 deletions
+9 -1
View File
@@ -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)