Improve scrubbers (#17892)

* sd

* unrelated bug i found

* fafsd
This commit is contained in:
Fluffy
2023-12-09 22:28:52 +01:00
committed by GitHub
parent 1a246e1dc8
commit bed6bc3d73
4 changed files with 70 additions and 20 deletions
-16
View File
@@ -57,22 +57,6 @@
else
return ..()
/obj/structure/coatrack/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
if(!coat && (istype(mover, /obj/item/clothing/suit/storage/toggle) || istype(mover, /obj/item/clothing/accessory/poncho)))
src.visible_message("[mover] lands on \the [src].")
coat = mover
coat.forceMove(src)
update_icon()
return 0
else if(!hat && istype(mover, /obj/item/clothing/head))
src.visible_message("[mover] lands on \the [src].")
hat = mover
hat.forceMove(src)
update_icon()
return 0
else
return 1
/obj/structure/coatrack/update_icon()
cut_overlays()
if(coat)