mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-19 19:12:31 +01:00
Merge branch 'master' of https://github.com/PolarisSS13/Polaris into aro-sync
# Conflicts: # code/ATMOSPHERICS/pipes.dm # code/game/turfs/flooring/flooring.dm # code/modules/clothing/clothing_accessories.dm # code/modules/mob/living/carbon/human/inventory.dm # html/changelogs/.all_changelog.yml
This commit is contained in:
@@ -545,7 +545,7 @@ This function completely restores a damaged organ to perfect condition.
|
||||
//external organs handle brokenness a bit differently when it comes to damage. Instead brute_dam is checked inside process()
|
||||
//this also ensures that an external organ cannot be "broken" without broken_description being set.
|
||||
/obj/item/organ/external/is_broken()
|
||||
return ((status & ORGAN_CUT_AWAY) || ((status & ORGAN_BROKEN) && !(splinted)))
|
||||
return ((status & ORGAN_CUT_AWAY) || (status & ORGAN_BROKEN) && (!splinted || (splinted && splinted in src.contents && prob(30))))
|
||||
|
||||
//Determines if we even need to process this organ.
|
||||
/obj/item/organ/external/proc/need_process()
|
||||
|
||||
Reference in New Issue
Block a user