mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Fixes clones runtiming the scanner (#31578)
* Fixes clones runtiming the scanner * Contra review * a Merge bypass authorized by me (Burzah) for testing purposes.
This commit is contained in:
@@ -805,16 +805,19 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
owner.emote("scream")
|
||||
|
||||
status |= ORGAN_BROKEN
|
||||
create_fracture_wound(fracture_name_override)
|
||||
|
||||
// Fractures have a chance of getting you out of restraints
|
||||
if(prob(25))
|
||||
release_restraints()
|
||||
|
||||
/obj/item/organ/external/proc/create_fracture_wound(fracture_name_override)
|
||||
var/picked_type = pick(typesof(/datum/wound/fracture))
|
||||
var/datum/wound/fracture = new picked_type(src)
|
||||
if(fracture_name_override)
|
||||
fracture.name = fracture_name_override
|
||||
wound_list += fracture
|
||||
|
||||
// Fractures have a chance of getting you out of restraints
|
||||
if(prob(25))
|
||||
release_restraints()
|
||||
|
||||
/obj/item/organ/external/proc/mend_fracture()
|
||||
if(is_robotic())
|
||||
return FALSE // ORGAN_BROKEN doesn't have the same meaning for robot limbs
|
||||
|
||||
Reference in New Issue
Block a user