mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Fix skeleton flags
This commit is contained in:
@@ -499,7 +499,7 @@ This function completely restores a damaged organ to perfect condition.
|
||||
if(HEAD)
|
||||
if(owner.species.flags & IS_SYNTHETIC)
|
||||
organ= new /obj/item/weapon/organ/head/posi(owner.loc, owner)
|
||||
else if(owner.mutations & SKELETON)
|
||||
else if(SKELETON in owner.mutations)
|
||||
organ= new /obj/item/weapon/skeleton/head(owner.loc)
|
||||
else
|
||||
organ= new /obj/item/weapon/organ/head(owner.loc, owner)
|
||||
@@ -511,55 +511,55 @@ This function completely restores a damaged organ to perfect condition.
|
||||
if(ARM_RIGHT)
|
||||
if(status & ORGAN_ROBOT)
|
||||
organ = new /obj/item/robot_parts/r_arm(owner.loc)
|
||||
else if(owner.mutations & SKELETON)
|
||||
else if(SKELETON in owner.mutations)
|
||||
organ = new /obj/item/weapon/skeleton/r_arm(owner.loc)
|
||||
else
|
||||
organ= new /obj/item/weapon/organ/r_arm(owner.loc, owner)
|
||||
if(ARM_LEFT)
|
||||
if(status & ORGAN_ROBOT)
|
||||
organ= new /obj/item/robot_parts/l_arm(owner.loc)
|
||||
else if(owner.mutations & SKELETON)
|
||||
else if(SKELETON in owner.mutations)
|
||||
organ = new /obj/item/weapon/skeleton/l_arm(owner.loc)
|
||||
else
|
||||
organ= new /obj/item/weapon/organ/l_arm(owner.loc, owner)
|
||||
if(LEG_RIGHT)
|
||||
if(status & ORGAN_ROBOT)
|
||||
organ = new /obj/item/robot_parts/r_leg(owner.loc)
|
||||
else if(owner.mutations & SKELETON)
|
||||
else if(SKELETON in owner.mutations)
|
||||
organ = new /obj/item/weapon/skeleton/r_leg(owner.loc)
|
||||
else
|
||||
organ= new /obj/item/weapon/organ/r_leg(owner.loc, owner)
|
||||
if(LEG_LEFT)
|
||||
if(status & ORGAN_ROBOT)
|
||||
organ = new /obj/item/robot_parts/l_leg(owner.loc)
|
||||
else if(owner.mutations & SKELETON)
|
||||
else if(SKELETON in owner.mutations)
|
||||
organ = new /obj/item/weapon/skeleton/l_leg(owner.loc)
|
||||
else
|
||||
organ= new /obj/item/weapon/organ/l_leg(owner.loc, owner)
|
||||
if(HAND_RIGHT)
|
||||
if(!(status & ORGAN_ROBOT))
|
||||
if(owner.mutations & SKELETON)
|
||||
if(SKELETON in owner.mutations)
|
||||
organ = new /obj/item/weapon/skeleton/r_hand(owner.loc)
|
||||
else
|
||||
organ= new /obj/item/weapon/organ/r_hand(owner.loc, owner)
|
||||
owner.u_equip(owner.gloves)
|
||||
if(HAND_LEFT)
|
||||
if(!(status & ORGAN_ROBOT))
|
||||
if(owner.mutations & SKELETON)
|
||||
if(SKELETON in owner.mutations)
|
||||
organ = new /obj/item/weapon/skeleton/l_hand(owner.loc)
|
||||
else
|
||||
organ= new /obj/item/weapon/organ/l_hand(owner.loc, owner)
|
||||
owner.u_equip(owner.gloves)
|
||||
if(FOOT_RIGHT)
|
||||
if(!(status & ORGAN_ROBOT))
|
||||
if(owner.mutations & SKELETON)
|
||||
if(SKELETON in owner.mutations)
|
||||
organ = new /obj/item/weapon/skeleton/r_foot(owner.loc)
|
||||
else
|
||||
organ= new /obj/item/weapon/organ/r_foot/(owner.loc, owner)
|
||||
owner.u_equip(owner.shoes)
|
||||
if(FOOT_LEFT)
|
||||
if(!(status & ORGAN_ROBOT))
|
||||
if(owner.mutations & SKELETON)
|
||||
if(SKELETON in owner.mutations)
|
||||
organ = new /obj/item/weapon/skeleton/l_foot(owner.loc)
|
||||
else
|
||||
organ = new /obj/item/weapon/organ/l_foot(owner.loc, owner)
|
||||
|
||||
Reference in New Issue
Block a user