Adds more reasons to explosion logging (#28812)

* explos

* yeah good enough

* shorten that

* use ckey

* forgot this cause

* unfuck it
This commit is contained in:
Contrabang
2025-03-28 14:49:57 -04:00
committed by GitHub
parent c63dc53202
commit fde22d1c43
77 changed files with 120 additions and 117 deletions
@@ -109,7 +109,7 @@
else
location = get_atom_on_turf(src)
if(location)
explosion(location, boom_sizes[1], boom_sizes[2], boom_sizes[3], cause = src)
explosion(location, boom_sizes[1], boom_sizes[2], boom_sizes[3], cause = name)
location.ex_act(EXPLODE_HEAVY, target)
qdel(src)
@@ -165,7 +165,7 @@
"<span class='danger'>A thunderbolt strikes [target]!</span>",
"<span class='danger'>A thundercrack fills the air!</span>"
)
explosion(target, -1, -1, light_impact_range = (boosted ? 1 : 0), flame_range = (boosted ? 2 : 1), silent = TRUE)
explosion(target, -1, -1, light_impact_range = (boosted ? 1 : 0), flame_range = (boosted ? 2 : 1), silent = TRUE, cause = name)
/obj/effect/temp_visual/thunderbolt_targeting
+3 -3
View File
@@ -361,11 +361,11 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
spawn(det_time)
if(primed)
if(quality == GIBTONITE_QUALITY_HIGH)
explosion(loc, 2, 4, 9, adminlog = notify_admins)
explosion(loc, 2, 4, 9, adminlog = notify_admins, cause = "Movable Gibtonite")
if(quality == GIBTONITE_QUALITY_MEDIUM)
explosion(loc, 1, 2, 5, adminlog = notify_admins)
explosion(loc, 1, 2, 5, adminlog = notify_admins, cause = "Movable Gibtonite")
if(quality == GIBTONITE_QUALITY_LOW)
explosion(loc, -1, 1, 3, adminlog = notify_admins)
explosion(loc, -1, 1, 3, adminlog = notify_admins, cause = "Movable Gibtonite")
qdel(src)