Makes you turn when pulling and adds sound to rolling bed and chair (#32778)

* Makes you turn at what you are pulling and adds sound to rolling bed and chair

* ShizCalev's sound
This commit is contained in:
nicbn
2017-11-16 22:43:37 -02:00
committed by CitadelStationBot
parent 0e0eb351b3
commit df514d7411
4 changed files with 14 additions and 1 deletions
@@ -95,6 +95,10 @@
M.pixel_x = M.get_standard_pixel_x_offset(M.lying)
M.pixel_y = M.get_standard_pixel_y_offset(M.lying)
/obj/structure/bed/roller/Moved()
. = ..()
if(has_gravity())
playsound(src, 'sound/effects/roll.ogg', 100, 1)
/obj/item/roller
name = "roller bed"
@@ -194,6 +194,12 @@
buildstackamount = 5
item_chair = null
/obj/structure/chair/office/Moved()
. = ..()
if(has_gravity())
playsound(src, 'sound/effects/roll.ogg', 100, 1)
/obj/structure/chair/office/light
icon_state = "officechair_white"