mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
[MIRROR] Comfy chair code improvements [MDB IGNORE] (#9494)
* Comfy chair code improvements (#62842) * Comfy chair code improvements Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
This commit is contained in:
co-authored by
GoldenAlpharex
parent
97c8ff50ec
commit
16e3baa55e
@@ -178,6 +178,7 @@
|
||||
max_integrity = 70
|
||||
buildstackamount = 2
|
||||
item_chair = null
|
||||
// The mutable appearance used for the overlay over buckled mobs.
|
||||
var/mutable_appearance/armrest
|
||||
|
||||
/obj/structure/chair/comfy/Initialize(mapload)
|
||||
@@ -186,7 +187,7 @@
|
||||
return ..()
|
||||
|
||||
/obj/structure/chair/comfy/proc/GetArmrest()
|
||||
return mutable_appearance('icons/obj/chairs.dmi', "comfychair_armrest")
|
||||
return mutable_appearance(icon, "[icon_state]_armrest")
|
||||
|
||||
/obj/structure/chair/comfy/Destroy()
|
||||
QDEL_NULL(armrest)
|
||||
@@ -227,9 +228,6 @@
|
||||
icon_state = "shuttle_chair"
|
||||
buildstacktype = /obj/item/stack/sheet/mineral/titanium
|
||||
|
||||
/obj/structure/chair/comfy/shuttle/GetArmrest()
|
||||
return mutable_appearance('icons/obj/chairs.dmi', "shuttle_chair_armrest")
|
||||
|
||||
/obj/structure/chair/comfy/shuttle/electrify_self(obj/item/assembly/shock_kit/input_shock_kit, mob/user, list/overlays_from_child_procs)
|
||||
if(!overlays_from_child_procs)
|
||||
overlays_from_child_procs = list(image('icons/obj/chairs.dmi', loc, "echair_over", pixel_x = -1))
|
||||
@@ -241,9 +239,6 @@
|
||||
icon_state = "carp_chair"
|
||||
buildstacktype = /obj/item/stack/sheet/animalhide/carp
|
||||
|
||||
/obj/structure/chair/comfy/carp/GetArmrest()
|
||||
return mutable_appearance('icons/obj/chairs.dmi', "carp_chair_armrest")
|
||||
|
||||
/obj/structure/chair/office
|
||||
anchored = FALSE
|
||||
buildstackamount = 5
|
||||
|
||||
Reference in New Issue
Block a user