Slowdown on pulling (#21056)

* slowdown on pulling

* slowdown only when pulling structure or machinery

* moving speed modifier to /mob/living/carbon instead of all atoms

* added pull_speed to /atom/movable, moved movement_delay proc to carbon/human

* no-slowdown-trash-bin

* Update code/game/atoms_movable.dm

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

* removed pull_speed on /obj/item/storage/bag/trash, no need to set this

* more 0 pull_speed objects

* added gravity check, moved pull_speed to /obj

---------

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
HMBGERDO
2023-06-07 21:08:25 +02:00
committed by GitHub
parent 89f8bba648
commit fcbd8174e6
13 changed files with 19 additions and 0 deletions
@@ -408,6 +408,7 @@
icon_state = "bluespace"
open_door_sprite = "bluespace_door"
storage_capacity = 60
pull_speed = 0
var/materials = list(MAT_METAL = 5000, MAT_PLASMA = 2500, MAT_TITANIUM = 500, MAT_BLUESPACE = 500)
/obj/structure/closet/bluespace/CheckExit(atom/movable/AM)
+1
View File
@@ -6,6 +6,7 @@
face_while_pulling = FALSE
anchored = FALSE
density = TRUE
pull_speed = 0
var/obj/item/stack/sheet/glass/myglass = null
var/obj/item/stack/sheet/metal/mymetal = null
var/obj/item/stack/sheet/plasteel/myplasteel = null
+1
View File
@@ -9,6 +9,7 @@
density = TRUE
face_while_pulling = FALSE
container_type = OPENCONTAINER
pull_speed = 0
//copypaste sorry
var/maximum_volume = 150
var/amount_per_transfer_from_this = 5 //shit I dunno, adding this so syringes stop runtime erroring. --NeoFite
@@ -136,6 +136,7 @@
resistance_flags = NONE
anchored = FALSE
comfort = 1
pull_speed = 0
var/icon_up = "up"
var/icon_down = "down"
var/folded = /obj/item/roller
@@ -238,6 +238,7 @@
movable = TRUE
item_chair = null
buildstackamount = 5
pull_speed = 0
/obj/structure/chair/comfy/shuttle
name = "shuttle seat"
@@ -763,6 +763,7 @@
icon_state = "tray"
buildstack = /obj/item/stack/sheet/mineral/titanium
buildstackamount = 2
pull_speed = 0
var/list/typecache_can_hold = list(/mob, /obj/item)
var/list/held_items = list()