Replaces ex_act and emp_act numbers with defines
This commit is contained in:
@@ -23,4 +23,4 @@
|
||||
|
||||
/datum/round_event/communications_blackout/start()
|
||||
for(var/obj/machinery/telecomms/T in GLOB.telecomms_list)
|
||||
T.emp_act(1)
|
||||
T.emp_act(EMP_HEAVY)
|
||||
|
||||
@@ -80,7 +80,7 @@ In my current plan for it, 'solid' will be defined as anything with density == 1
|
||||
|
||||
if(isturf(clong) || isobj(clong))
|
||||
if(clong.density)
|
||||
clong.ex_act(2)
|
||||
clong.ex_act(EXPLODE_HEAVY)
|
||||
|
||||
else if(isliving(clong))
|
||||
penetrate(clong)
|
||||
@@ -100,4 +100,4 @@ In my current plan for it, 'solid' will be defined as anything with density == 1
|
||||
var/mob/living/carbon/human/H = L
|
||||
H.adjustBruteLoss(160)
|
||||
if(L && (L.density || prob(10)))
|
||||
L.ex_act(2)
|
||||
L.ex_act(EXPLODE_HEAVY)
|
||||
|
||||
@@ -35,6 +35,6 @@
|
||||
explosion(get_turf(P), 0, 0, 2)
|
||||
// Only a level 1 explosion actually damages the machine
|
||||
// at all
|
||||
P.ex_act(1)
|
||||
P.ex_act(EXPLODE_DEVASTATE)
|
||||
else
|
||||
P.emp_act(1)
|
||||
P.emp_act(EMP_HEAVY)
|
||||
|
||||
Reference in New Issue
Block a user