mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user