Radically improves explosion logging. (#61419)

Adds some extra vars and logic to explosion code to make powerful logging entries that should help admins narrow down when explosives get misused.

Records this new info in the feedback database and bumps the explosion version +1 as a result of this.
This commit is contained in:
Timberpoes
2021-09-18 18:13:16 +01:00
committed by GitHub
parent bf0a949ef9
commit d14b6cc849
48 changed files with 168 additions and 101 deletions
@@ -271,7 +271,7 @@
if(8)
//Fuel tank Explosion
T.visible_message(span_userdanger("An explosion bursts into existence around [user]!"))
explosion(get_turf(user), devastation_range = -1, light_impact_range = 2, flame_range = 2)
explosion(get_turf(user), devastation_range = -1, light_impact_range = 2, flame_range = 2, explosion_cause = src)
if(9)
//Cold
var/datum/disease/D = new /datum/disease/cold()
@@ -153,7 +153,7 @@
var/datum/effect_system/spark_spread/s = new /datum/effect_system/spark_spread
s.set_up(3, 1, src)
s.start()
explosion(src, devastation_range = 1)
explosion(src, devastation_range = 1, explosion_cause = src)
qdel(src)
/////For the Wishgranter///////////