replace magic numbers related to emp and explosion severity with defines (#26495)

replace even more magic emp and ex numbers
This commit is contained in:
Kenionatus
2024-08-18 03:11:22 +00:00
committed by GitHub
parent 1b5af3a748
commit 777910d6d2
37 changed files with 50 additions and 52 deletions
+2 -2
View File
@@ -103,7 +103,7 @@
return
/turf/simulated/floor/vines/ex_act(severity)
if(severity < 3)
if(severity < EXPLODE_LIGHT)
ChangeTurf(baseturf)
/turf/simulated/floor/vines/narsie_act()
@@ -209,7 +209,7 @@
nofun = TRUE
/datum/spacevine_mutation/explosive/on_explosion(explosion_severity, obj/structure/spacevine/holder)
if(explosion_severity < 3)
if(explosion_severity < EXPLODE_LIGHT)
qdel(holder)
else
addtimer(CALLBACK(holder, TYPE_PROC_REF(/obj/structure/spacevine, wither)), 5)