Merge remote-tracking branch 'origin/master' into upstream-feb12-2026

# Conflicts:
#	_maps/map_files/moonstation/moonstation.dmm
#	tgstation.dme
This commit is contained in:
nevimer
2026-03-10 17:10:57 -04:00
126 changed files with 57368 additions and 3868 deletions
@@ -10,13 +10,16 @@
/// whether the removal needs to be surgical for it to explode. If you're adding more modes, just pass the signal directly instead
var/surgical
/// whether the removal causes the organ to qdel
var/annihilate
/datum/element/dangerous_organ_removal/Attach(datum/target, surgical = FALSE)
/datum/element/dangerous_organ_removal/Attach(datum/target, surgical = FALSE, annihilate = TRUE) //BUBBER EDIT - Adds new variable to make organ not qdel
. = ..()
if(!isorgan(target))
return ELEMENT_INCOMPATIBLE
src.surgical = surgical
src.annihilate = annihilate
if(surgical)
RegisterSignal(target, COMSIG_ORGAN_SURGICALLY_REMOVED, PROC_REF(on_removal))
@@ -40,4 +43,10 @@
source.audible_message("[source] explodes into tiny pieces!")
explosion(source, light_impact_range = 1, explosion_cause = source)
qdel(source)
//BUBBER EDIT - if it doesn't qdel, set it to take all its health in damage
//qdel(source)
if(annihilate)
qdel(source)
else
source.set_organ_damage(source.maxHealth)
//EDIT END