mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
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:
+1
-1
@@ -193,7 +193,7 @@
|
||||
deltimer(explosion_callback)
|
||||
|
||||
stage = GIBTONITE_DETONATE
|
||||
explosion(source, 1, 3, 5, adminlog = notify_admins)
|
||||
explosion(source, 1, 3, 5, adminlog = notify_admins, cause = "Gibtonite")
|
||||
|
||||
if(!istype(source))
|
||||
return
|
||||
|
||||
@@ -35,5 +35,5 @@
|
||||
|
||||
/datum/spell/alien_spell/combust_facehuggers/proc/blow_it_up(obj/target, mob/user)
|
||||
add_attack_logs(user, target, "Caused it to explode")
|
||||
explosion(get_turf(target), 0, 2, 3, 3, cause = user)
|
||||
explosion(get_turf(target), 0, 2, 3, 3, cause = "[user.ckey]: [name]")
|
||||
to_chat(user, "<span class='noticealien'>[target] has detonated!</span>")
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
var/turf/corpse_turf = get_turf(target)
|
||||
new /obj/effect/temp_visual/corpse_explosion(get_turf(target))
|
||||
target.gib()
|
||||
explosion(corpse_turf, 0, 0, 0, 0, silent = TRUE, breach = FALSE)
|
||||
explosion(corpse_turf, 0, 0, 0, 0, silent = TRUE, cause = name, breach = FALSE)
|
||||
for(var/mob/living/M in range(4, corpse_turf))
|
||||
if(M == user)
|
||||
continue
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
/datum/status_effect/high_five/proc/wiz_effect(mob/living/carbon/user, mob/living/carbon/highfived)
|
||||
user.status_flags |= GODMODE
|
||||
highfived.status_flags |= GODMODE
|
||||
explosion(get_turf(user), 5, 2, 1, 3, cause = id)
|
||||
explosion(get_turf(user), 5, 2, 1, 3, cause = "Wizard high-five")
|
||||
// explosions have a spawn so this makes sure that we don't get gibbed
|
||||
addtimer(CALLBACK(src, PROC_REF(wiz_cleanup), user, highfived), 0.3 SECONDS) // I want to be sure this lasts long enough, with lag.
|
||||
add_attack_logs(user, highfived, "caused a wizard [id] explosion")
|
||||
|
||||
Reference in New Issue
Block a user