mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +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:
@@ -137,7 +137,7 @@
|
||||
log_admin("LOG: Rigged power cell explosion, last touched by [fingerprintslast]")
|
||||
message_admins("LOG: Rigged power cell explosion, last touched by [fingerprintslast]")
|
||||
|
||||
explosion(T, devastation_range, heavy_impact_range, light_impact_range, flash_range)
|
||||
explosion(T, devastation_range, heavy_impact_range, light_impact_range, flash_range, cause = "Powercell explosion")
|
||||
charge = 0 //Extra safety in the event the cell does not QDEL right
|
||||
qdel(src)
|
||||
|
||||
|
||||
@@ -511,7 +511,7 @@ GLOBAL_VAR_INIT(global_singulo_id, 1)
|
||||
/obj/singularity/singularity_act()
|
||||
var/gain = (energy/2)
|
||||
var/dist = max((current_size - 2), 1)
|
||||
explosion(loc, (dist), (dist * 2), (dist * 4))
|
||||
explosion(loc, (dist), (dist * 2), (dist * 4), cause = "singularity on singularity violence")
|
||||
qdel(src)
|
||||
return(gain)
|
||||
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
//Dear mappers, balance the sm max explosion radius to 17.5, 37, 39, 41
|
||||
if(forced_gasmix_power_ratio)
|
||||
gasmix_power_ratio = forced_gasmix_power_ratio
|
||||
explosion(get_turf(T), explosion_power * max(gasmix_power_ratio, 0.205) * 0.5 , explosion_power * max(gasmix_power_ratio, 0.205) + 2, explosion_power * max(gasmix_power_ratio, 0.205) + 4 , explosion_power * max(gasmix_power_ratio, 0.205) + 6, 1, 1)
|
||||
explosion(get_turf(T), explosion_power * max(gasmix_power_ratio, 0.205) * 0.5 , explosion_power * max(gasmix_power_ratio, 0.205) + 2, explosion_power * max(gasmix_power_ratio, 0.205) + 4 , explosion_power * max(gasmix_power_ratio, 0.205) + 6, 1, 1, cause = "Exploding Supermatter")
|
||||
qdel(src)
|
||||
|
||||
/obj/machinery/atmospherics/supermatter_crystal/process_atmos()
|
||||
|
||||
@@ -339,7 +339,7 @@
|
||||
/obj/machinery/power/port_gen/pacman/super/explode()
|
||||
//a nice burst of radiation
|
||||
radiation_pulse(get_turf(src), 2000, ALPHA_RAD)
|
||||
explosion(loc, 3, 3, 5, 3)
|
||||
explosion(loc, 3, 3, 5, 3, cause = "Exploding [name]")
|
||||
qdel(src)
|
||||
|
||||
/obj/machinery/power/port_gen/pacman/mrs
|
||||
@@ -372,7 +372,7 @@
|
||||
|
||||
/obj/machinery/power/port_gen/pacman/mrs/explode()
|
||||
//no special effects, but the explosion is pretty big (same as a supermatter shard).
|
||||
explosion(loc, 3, 6, 12, 16, 1)
|
||||
explosion(loc, 3, 6, 12, 16, 1, cause = "Exploding [name]")
|
||||
qdel(src)
|
||||
|
||||
#undef SHEET_VOLUME
|
||||
|
||||
@@ -78,5 +78,5 @@
|
||||
stat &= ~EMPED
|
||||
|
||||
/obj/machinery/power/port_gen/proc/explode()
|
||||
explosion(loc, -1, 3, 5, -1)
|
||||
explosion(loc, -1, 3, 5, -1, cause = "Exploding [name]")
|
||||
qdel(src)
|
||||
|
||||
@@ -936,7 +936,7 @@
|
||||
zap_flags &= ~(ZAP_MACHINE_EXPLOSIVE | ZAP_OBJ_DAMAGE)
|
||||
. = ..()
|
||||
if(explosive)
|
||||
explosion(src, 0, 0, 0, flame_range = 5, adminlog = FALSE)
|
||||
explosion(src, 0, 0, 0, flame_range = 5, cause = "Exploding light")
|
||||
qdel(src)
|
||||
|
||||
// timed process
|
||||
@@ -963,7 +963,7 @@
|
||||
|
||||
/obj/machinery/light/proc/actually_explode()
|
||||
var/turf/T = get_turf(loc)
|
||||
explosion(T, 0, 0, 2, 2)
|
||||
explosion(T, 0, 0, 2, 2, cause = "exploding light")
|
||||
qdel(src)
|
||||
|
||||
/obj/machinery/light/extinguish_light(force = FALSE)
|
||||
|
||||
Reference in New Issue
Block a user