mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
Legion cores no longer fix bones / ib on station, unless implanted. (#20176)
* legion cores no longer fix bones / ib on station. * Apply suggestions from code review Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
@@ -344,10 +344,12 @@
|
||||
if(ishuman(owner))
|
||||
var/mob/living/carbon/human/H = owner
|
||||
H.bodytemperature = H.dna.species.body_temperature
|
||||
for(var/thing in H.bodyparts)
|
||||
var/obj/item/organ/external/E = thing
|
||||
E.fix_internal_bleeding()
|
||||
E.mend_fracture()
|
||||
if(is_mining_level(H.z))
|
||||
for(var/obj/item/organ/external/E in H.bodyparts)
|
||||
E.fix_internal_bleeding()
|
||||
E.mend_fracture()
|
||||
else
|
||||
to_chat(owner, "<span class='warning'>...But the core was weakened, it is not close enough to the rest of the legions of the necropolis.</span>")
|
||||
else
|
||||
owner.bodytemperature = BODYTEMP_NORMAL
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user