Added a new random event: The immovable rod! It spawns somewhere outside the station, then proceeds to plow through the station in a straight line to a spot on the other side.

As a side effect, I had to add some ex_act() procs to things because the rods kept getting stuck on them.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@941 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-02-02 19:41:08 +00:00
parent 0af3ebe054
commit 029c7922d7
10 changed files with 7859 additions and 7698 deletions
+21 -1
View File
@@ -237,4 +237,24 @@
user.drop_item()
if(W)
W.loc = src.loc
else return attack_hand(user)
else return attack_hand(user)
/obj/crate/ex_act(severity)
switch(severity)
if(1.0)
for(var/obj/O in src.contents)
del(O)
del(src)
return
if(2.0)
for(var/obj/O in src.contents)
if(prob(50))
del(O)
del(src)
return
if(3.0)
if (prob(50))
del(src)
return
else
return