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 18:49:57 +00:00
committed by GitHub
parent c63dc53202
commit fde22d1c43
77 changed files with 120 additions and 117 deletions
+1 -1
View File
@@ -185,7 +185,7 @@
/obj/item/relic/proc/explode_callback(mob/user)
if(loc == user)
visible_message("<span class='notice'>[src]'s top opens, releasing a powerful blast!</span>")
explosion(user.loc, -1, rand(1,5), rand(1,5), rand(1,5), rand(1,5), flame_range = 2)
explosion(user.loc, -1, rand(1,5), rand(1,5), rand(1,5), rand(1,5), flame_range = 2, cause = "Exploding relic")
warn_admins(user, "Explosion")
qdel(src)
@@ -230,7 +230,7 @@
var/turf/T = get_turf(loc)
if(T)
T.hotspot_expose(700, 125)
explosion(T, -1, -1, 2, 3)
explosion(T, -1, -1, 2, 3, cause = "Repeated Sentience Potion")
qdel(src)
return
var/reason_text = tgui_input_text(user, "Enter reason for giving sentience", "Reason for sentience potion")