The various assemblies should be working now.

Old style bombs and suicide vests temporarily removed.
Players can now be job banned from being a pAI.
Added null checks to explosion() due to runtime errors. 
Changelog updated


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1980 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
mport2004@gmail.com
2011-08-05 07:42:24 +00:00
parent 247ac0b197
commit e98a7893fa
40 changed files with 2440 additions and 2327 deletions
+18 -9
View File
@@ -37,28 +37,37 @@ proc/explosion(turf/epicenter, devastation_range, heavy_impact_range, light_impa
if(distance < devastation_range)
for(var/atom/object in T.contents)
spawn()
object.ex_act(1)
if(object)
object.ex_act(1)
if(prob(5))
T.ex_act(2)
if(T)
T.ex_act(2)
else
T.ex_act(1)
if(T)
T.ex_act(1)
else if(distance < heavy_impact_range)
for(var/atom/object in T.contents)
spawn()
object.ex_act(2)
T.ex_act(2)
if(object)
object.ex_act(2)
if(T)
T.ex_act(2)
else if (distance == heavy_impact_range)
for(var/atom/object in T.contents)
object.ex_act(2)
if(object)
object.ex_act(2)
if(prob(15) && devastation_range > 2 && heavy_impact_range > 2)
secondaryexplosion(T, 1)
else
T.ex_act(2)
if(T)
T.ex_act(2)
else if(distance <= light_impact_range)
for(var/atom/object in T.contents)
spawn()
object.ex_act(3)
T.ex_act(3)
if(object)
object.ex_act(3)
if(T)
T.ex_act(3)
for(var/mob/living/carbon/mob in T)
flick("flash", mob:flash)