Skip to content

Commit

Permalink
Fix non-chest lung organ subtypes not showing ruptures on scan
Browse files Browse the repository at this point in the history
  • Loading branch information
out-of-phaze committed Dec 27, 2024
1 parent fa70946 commit 67ce8b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions code/modules/organs/external/diagnostics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@
for(var/obj/item/organ/internal/augment/aug in internal_organs)
if(istype(aug) && aug.known)
. += "[capitalize(aug.name)] implanted"
var/obj/item/organ/internal/lungs/L = locate() in src
if( L && L.is_bruised())
. += "Lung ruptured"

/obj/item/organ/external/proc/inspect(mob/user)

Expand Down
6 changes: 0 additions & 6 deletions code/modules/organs/external/standard.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@
/obj/item/organ/external/chest/proc/get_current_skin()
return

/obj/item/organ/external/get_scan_results()
. = ..()
var/obj/item/organ/internal/lungs/L = locate() in src
if( L && L.is_bruised())
. += "Lung ruptured"

/obj/item/organ/external/chest/die()
//Special handling for synthetics
if(BP_IS_PROSTHETIC(src) || BP_IS_CRYSTAL(src))
Expand Down

0 comments on commit 67ce8b8

Please sign in to comment.