mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Preleminary work on robolimbs. Expect more soon.
This commit is contained in:
@@ -85,6 +85,7 @@
|
||||
if (prob(mut_prob))
|
||||
var/list/datum/organ/external/candidates = list()
|
||||
for (var/datum/organ/external/O in organs)
|
||||
if(O.status & ORGAN_ROBOT) continue
|
||||
if(!(O.status & ORGAN_MUTATED))
|
||||
candidates |= O
|
||||
if (candidates.len)
|
||||
|
||||
@@ -91,7 +91,7 @@ mob/living/carbon/human/proc/handle_pain()
|
||||
for(var/datum/organ/external/E in organs)
|
||||
// amputated limbs don't cause pain
|
||||
if(E.amputated) continue
|
||||
if(E.status & ORGAN_DEAD) continue
|
||||
if(E.status & ORGAN_DEAD|ORGAN_ROBOT) continue
|
||||
var/dam = E.get_damage()
|
||||
// make the choice of the organ depend on damage,
|
||||
// but also sometimes use one of the less damaged ones
|
||||
|
||||
Reference in New Issue
Block a user