Merge pull request #1778 from Citadel-Station-13/upstream-merge-28766
[MIRROR] Robotic legs are not weak to glass shards
This commit is contained in:
@@ -197,6 +197,8 @@ GLOBAL_LIST_INIT(reinforced_glass_recipes, list ( \
|
|||||||
var/obj/item/bodypart/O = H.get_bodypart(picked_def_zone)
|
var/obj/item/bodypart/O = H.get_bodypart(picked_def_zone)
|
||||||
if(!istype(O))
|
if(!istype(O))
|
||||||
return
|
return
|
||||||
|
if(O.status == BODYPART_ROBOTIC)
|
||||||
|
return
|
||||||
var/feetCover = (H.wear_suit && H.wear_suit.body_parts_covered & FEET) || (H.w_uniform && H.w_uniform.body_parts_covered & FEET)
|
var/feetCover = (H.wear_suit && H.wear_suit.body_parts_covered & FEET) || (H.w_uniform && H.w_uniform.body_parts_covered & FEET)
|
||||||
if(H.shoes || feetCover || H.movement_type & FLYING || H.buckled)
|
if(H.shoes || feetCover || H.movement_type & FLYING || H.buckled)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user