Just a miniupdate, more on the way later.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@954 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
mport2004@gmail.com
2011-02-04 04:13:50 +00:00
parent 62b2d62aec
commit d0ea63c6bf
8 changed files with 62 additions and 46 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/proc/start_events()
if(prob(50))//Every 120 seconds and prob 50 4-8 weak spacedusts will hit the station
if(prob(50))//Every 120 seconds and prob 50 2-4 weak spacedusts will hit the station
spawn(1)
dust_swarm("weak")
if (!event && prob(eventchance))
+1 -1
View File
@@ -9,7 +9,7 @@ The "dust" will damage the hull of the station causin minor hull breaches.
var/numbers = 1
switch(strength)
if("weak")
numbers = rand(4,8)
numbers = rand(2,4)
for(var/i = 0 to numbers)
new/obj/space_dust/weak()
if("norm")
+5 -3
View File
@@ -72,8 +72,10 @@
mo.show_message(rendered, 2)
return
/proc/is_item_in_list(var/list/L, var/atom/A)
for(var/atom/O in L)
if(O == A)
/proc/is_type_in_list(var/list/L, var/atom/A)
for(var/type in L)
if(isnull(type))
continue
if(istype(A, type))
return 1
return 0