Merge pull request #7198 from Crazylemon64/organ_varname_refactor

Refactors "organs" to be "bodyparts" to end confusion once and for all
This commit is contained in:
Fox McCloud
2017-04-30 17:00:44 -04:00
committed by GitHub
61 changed files with 167 additions and 179 deletions
+1 -1
View File
@@ -103,7 +103,7 @@
target.adjustFireLoss(-4)
if(ishuman(target))
var/var/mob/living/carbon/human/H = target
for(var/obj/item/organ/external/E in H.organs)
for(var/obj/item/organ/external/E in H.bodyparts)
if(prob(10))
if(E.mend_fracture())
E.perma_injury = 0
+1 -1
View File
@@ -162,7 +162,7 @@ proc/wabbajack(mob/living/M)
if(ishuman(M))
var/mob/living/carbon/human/H = M
// Make sure there are no organs or limbs to drop
for(var/t in H.organs)
for(var/t in H.bodyparts)
qdel(t)
for(var/i in H.internal_organs)
qdel(i)