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
@@ -35,7 +35,7 @@
else
drill_mob(target, chassis.occupant)
else
target.ex_act(2)
target.ex_act(EXPLODE_HEAVY)
/turf/proc/drill_act(obj/item/mecha_parts/mecha_equipment/drill/drill)
return
@@ -44,7 +44,7 @@
if(istype(drill, /obj/item/mecha_parts/mecha_equipment/drill/diamonddrill))
if(drill.do_after_cooldown(src))//To slow down how fast mechs can drill through the station
drill.log_message("Drilled through [src]")
ex_act(3)
ex_act(EXPLODE_LIGHT)
else
drill.occupant_message("<span class='danger'>[src] is too durable to drill through.</span>")
+1 -1
View File
@@ -106,7 +106,7 @@
/obj/item/mecha_parts/mecha_tracking/proc/shock()
var/obj/mecha/M = in_mecha()
if(M)
M.emp_act(2)
M.emp_act(EMP_LIGHT)
qdel(src)
/obj/item/mecha_parts/mecha_tracking/proc/get_mecha_log()