Pulling lockers, chairs, etc. now gives you a slowdown. (#9785)

This commit is contained in:
mikomyazaki
2020-08-28 19:46:03 +01:00
committed by GitHub
parent 5fba6ee1c1
commit 34c6b3ed87
10 changed files with 46 additions and 7 deletions

View File

@@ -28,6 +28,8 @@
var/const/default_mob_size = 15
var/obj/item/closet_teleporter/linked_teleporter
slowdown = 5
/obj/structure/closet/LateInitialize()
if (opened) // if closed, any item at the crate's loc is put in the contents
return

View File

@@ -13,6 +13,8 @@
var/tablestatus = 0
pass_flags = PASSTABLE
slowdown = 0
/obj/structure/closet/crate/can_open()
if (tablestatus != -1)//Can't be opened while under a table

View File

@@ -30,6 +30,8 @@
var/makes_rolling_sound = TRUE
var/buckle_sound = 'sound/effects/buckle.ogg'
slowdown = 5
/obj/structure/bed/Initialize(mapload, var/new_material, var/new_padding_material)
. = ..()
color = null
@@ -213,6 +215,7 @@
var/obj/item/reagent_containers/beaker
var/iv_attached = 0
var/iv_stand = TRUE
slowdown = 0
/obj/structure/bed/roller/update_icon()
overlays.Cut()

View File

@@ -9,6 +9,8 @@
var/mob/living/pulling = null
var/bloodiness
slowdown = 0
/obj/structure/bed/chair/wheelchair/update_icon()
cut_overlays()
add_overlay(image(icon = 'icons/obj/furniture.dmi', icon_state = "w_overlay", layer = FLY_LAYER))