(Literal) Pool Chairs (#10238)

This commit is contained in:
Geeves
2020-10-17 12:06:55 +02:00
committed by GitHub
parent 1c0c5043e3
commit bc8ac0d11c
2 changed files with 21 additions and 0 deletions
@@ -279,3 +279,24 @@
else
icon_state = initial(icon_state)
// pool chair, to sit with your feet in the water. only works when facing south, because water overlays weirdly otherwise
/obj/structure/bed/chair/pool
name = "pool chair"
desc = "A simple plastic contraption that allows you to sit comfortably, dipping your feet into the pool."
icon_state = "pool_chair"
/obj/structure/bed/chair/pool/update_icon()
return
/obj/structure/bed/chair/pool/buckle_mob(mob/living/M)
if(!iscarbon(M))
return FALSE
return ..()
/obj/structure/bed/chair/pool/post_buckle_mob(mob/living/M)
. = ..()
if(M == buckled_mob)
M.pixel_y = -6
else
M.pixel_y = initial(M.pixel_y)