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
@@ -1,4 +1,5 @@
/datum/quirk/prosthetic_organ
// BUBBER EDIT: moved to modular_zubbers\code\datums\quirks\negative_quirks\prosthetic_organ_bubber.dm
/* /datum/quirk/prosthetic_organ
name = "Prosthetic Organ"
desc = "An accident caused you to lose one of your organs. Because of this, you now have a surplus prosthetic!"
icon = FA_ICON_LUNGS
@@ -72,3 +73,4 @@
if(old_organ)
old_organ.Insert(quirk_holder, special = TRUE)
old_organ = null
*/