[MIRROR] removes TRAIT_RESTRAINED from xeno nests (#7382)

* removes TRAIT_RESTRAINED from xeno nests (#60676)

* removes TRAIT_RESTRAINED from xeno nests

Co-authored-by: InsaneRed <47158596+InsaneRed@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-08-04 15:09:50 +01:00
committed by GitHub
co-authored by InsaneRed
parent 0e4db4612a
commit a551aaa60f
@@ -65,14 +65,14 @@
span_hear("You hear squelching..."))
/obj/structure/bed/nest/post_buckle_mob(mob/living/M)
ADD_TRAIT(M, TRAIT_RESTRAINED, type)
ADD_TRAIT(M, TRAIT_HANDS_BLOCKED, type)
M.pixel_y = M.base_pixel_y
M.pixel_x = M.base_pixel_x + 2
M.layer = BELOW_MOB_LAYER
add_overlay(nest_overlay)
/obj/structure/bed/nest/post_unbuckle_mob(mob/living/M)
REMOVE_TRAIT(M, TRAIT_RESTRAINED, type)
REMOVE_TRAIT(M, TRAIT_HANDS_BLOCKED, type)
M.pixel_x = M.base_pixel_x + M.body_position_pixel_x_offset
M.pixel_y = M.base_pixel_y + M.body_position_pixel_y_offset
M.layer = initial(M.layer)