Replaces ex_act and emp_act numbers with defines

This commit is contained in:
CitadelStationBot
2017-07-13 17:46:41 -05:00
parent da324257fe
commit 55462ed7d1
38 changed files with 74 additions and 66 deletions
@@ -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)
+2 -2
View File
@@ -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)
+2 -2
View File
@@ -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)