mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 09:27:45 +01:00
Large Multi-Bugfix (#4917)
* fixes #4877 * fixes #4797 * fixes #4827 * newscaster formatting fixes, fixes #4907, fixes character limit
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
coat = null
|
||||
update_icon()
|
||||
|
||||
/obj/structure/coatrack/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
/obj/structure/coatrack/attackby(obj/item/W as obj, mob/user as mob)
|
||||
var/can_hang = 0
|
||||
if(is_type_in_list(W, allowed))
|
||||
can_hang = 1
|
||||
@@ -51,4 +51,9 @@
|
||||
/obj/structure/coatrack/update_icon()
|
||||
cut_overlays()
|
||||
if (coat)
|
||||
if(istype(coat, /obj/item/clothing/suit/storage/toggle))
|
||||
var/obj/item/clothing/suit/storage/toggle/T = coat
|
||||
if(T.icon_state == T.icon_open) // avoid icon conflicts
|
||||
T.icon_state = T.icon_closed
|
||||
T.item_state = T.icon_closed
|
||||
add_overlay("coat_[coat.icon_state]")
|
||||
|
||||
Reference in New Issue
Block a user