Various Surgery & Medical fixes, QoL, and adjustments (#18718)

* bunch of medical adjustments

* or so i thought

* De-death surgery

* Update carbon.dm

* Update mob_grab_specials.dm

* yeh

* Palpation

* internal bleeding

* Update life.dm

* duration increase

* adjust these

* Fixes a bug with defibs that I caused

When I reworked get_crit_point, it caused defibs to DEAL oxyloss instead of HEALING it, like it has been doing for the past 8 years. This fixes it.

* fixcees this

* fixes syringe stabbing

* Converts these to managed global lists

* gets rid of disabilities

* Change injury check to use do_after with delay

* lungfix

* actually remove the necrosis

* Fixes brain surgery

* fix language bug

* Update brain.dm

* ghetto surgery adjustments

Buffs some ghetto surgery
Makes some injuries sustained less gnarly if you fail with a ghetto tool.
Some mild typo fixes.
This commit is contained in:
Cameron Lennox
2025-11-08 18:24:55 -05:00
committed by GitHub
parent 0a4cae3217
commit 4899465a23
36 changed files with 495 additions and 340 deletions
+4 -2
View File
@@ -120,7 +120,7 @@ GLOBAL_LIST_BOILERPLATE(all_brain_organs, /obj/item/organ/internal/brain)
brainmob.add_modifier(M.type)
if(H.mind)
H.mind.transfer_to(brainmob)
H.mind.transfer_to(brainmob) //mAYBE MAKE THIS FORCE....
brainmob.languages = H.languages
@@ -146,7 +146,7 @@ GLOBAL_LIST_BOILERPLATE(all_brain_organs, /obj/item/organ/internal/brain)
var/obj/item/organ/internal/brain/B = src
if(istype(B) && owner)
if(istype(owner, /mob/living/carbon) && owner.ckey)
if(istype(owner, /mob/living/carbon) && (owner.ckey || owner.original_player))
B.transfer_identity(owner)
..()
@@ -159,8 +159,10 @@ GLOBAL_LIST_BOILERPLATE(all_brain_organs, /obj/item/organ/internal/brain)
if(brainmob)
if(brainmob.mind)
brainmob.mind.transfer_to(target)
target.languages = brainmob.languages
else
target.key = brainmob.key
target.languages = brainmob.languages
..()
/obj/item/organ/internal/brain/proc/get_control_efficiency()
-2
View File
@@ -9,8 +9,6 @@
var/acidtype = REAGENT_ID_STOMACID // Incase you want some stomach organ with, say, polyacid instead, or sulphuric.
var/max_acid_volume = 30
var/deadly_hold = TRUE // Does the stomach do damage to mobs eaten by its owner? Xenos should probably have this FALSE.
/obj/item/organ/internal/stomach/Initialize(mapload)
. = ..()
if(reagents)