Multiple immovable rods hitting the station in one shot should now only produce one Centcomm report once they are gone.

MPort's space dust now moves as it is supposed to, at least on my test server.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@983 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-02-07 16:51:42 +00:00
parent 5aa244a3bb
commit ff423b2ba6
3 changed files with 12 additions and 7 deletions
+9 -5
View File
@@ -67,12 +67,16 @@ In my current plan for it, 'solid' will be defined as anything with density == 1
var/obj/immovablerod/immrod = new /obj/immovablerod(locate(startx, starty, 1))
// world << "Rod in play, starting at [start.loc.x],[start.loc.y] and going to [end.loc.x],[end.loc.y]"
var/end = locate(endx, endy, 1)
while (immrod.loc != end)
spawn(0)
walk_towards(immrod, end,1)
sleep(1)
while (immrod)
if (immrod.z != 1)
immrod.z = 1
step_towards(immrod, end)
sleep(1)
del(immrod)
if(immrod.loc == end)
del(immrod)
sleep(10)
for(var/obj/immovablerod/imm in world)
return
sleep(50)
command_alert("What the fuck was that?!", "General Alert")
+2 -1
View File
@@ -79,9 +79,10 @@ The "dust" will damage the hull of the station causin minor hull breaches.
startx = 1
endy = rand(1,world.maxy-1)
endx = world.maxx-1
var/goal = locate(endx, endy, src.z)
var/goal = locate(endx, endy, 1)
src.x = startx
src.y = starty
src.z = 1
spawn(0)
walk_towards(src, goal, 1)
return
+1 -1
View File
@@ -759,5 +759,5 @@
#include "code\WorkInProgress\recycling\disposal.dm"
#include "code\WorkInProgress\recycling\scrap.dm"
#include "interface\skin.dmf"
#include "maps\tgstation.2.0.1.dmm"
#include "maps\tgstation.2.0.0.dmm"
// END_INCLUDE