mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
removes TRAIT_RESTRAINED from xeno nests (#60676)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user