From 77a599a1ad8aaf199bcd40d11c0ad4c7bb03b85c Mon Sep 17 00:00:00 2001 From: Metis <100518708+sheepishgoat@users.noreply.github.com> Date: Fri, 4 Oct 2024 00:57:29 -0400 Subject: [PATCH] sofa king --- GainStation13/code/game/objects/structures/sofa.dm | 12 ++++++++++++ code/game/objects/structures/beds_chairs/sofa.dm | 10 ++++++---- tgstation.dme | 1 + 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 GainStation13/code/game/objects/structures/sofa.dm diff --git a/GainStation13/code/game/objects/structures/sofa.dm b/GainStation13/code/game/objects/structures/sofa.dm new file mode 100644 index 0000000000..7677005d5c --- /dev/null +++ b/GainStation13/code/game/objects/structures/sofa.dm @@ -0,0 +1,12 @@ +/obj/structure/chair/sofa/old + icon_state = "sofamiddle" + +/obj/structure/chair/sofa/left/old + icon_state = "sofaend_left" + +/obj/structure/chair/sofa/right/old + icon_state = "sofaend_right" + +/obj/structure/chair/sofa/corner/old + icon_state = "sofacorner" + diff --git a/code/game/objects/structures/beds_chairs/sofa.dm b/code/game/objects/structures/beds_chairs/sofa.dm index b7968d84f4..9349a68095 100644 --- a/code/game/objects/structures/beds_chairs/sofa.dm +++ b/code/game/objects/structures/beds_chairs/sofa.dm @@ -1,6 +1,8 @@ +//GS13 EDIT, we changed the default sofa sprite here. + /obj/structure/chair/sofa name = "old ratty sofa" - icon_state = "sofamiddle" + icon_state = "corp_sofamiddle" icon = 'icons/obj/sofa.dmi' buildstackamount = 1 item_chair = null @@ -25,13 +27,13 @@ update_armrest() /obj/structure/chair/sofa/left - icon_state = "sofaend_left" + icon_state = "corp_sofaend_left" /obj/structure/chair/sofa/right - icon_state = "sofaend_right" + icon_state = "corp_sofaend_right" /obj/structure/chair/sofa/corner - icon_state = "sofacorner" + icon_state = "corp_sofacorner" /obj/structure/chair/sofa/corner/handle_layer() //only the armrest/back of this chair should cover the mob. return diff --git a/tgstation.dme b/tgstation.dme index 8d16ccf001..099eb4b3d8 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -3938,6 +3938,7 @@ #include "GainStation13\code\game\objects\items\toys.dm" #include "GainStation13\code\game\objects\items\storage\bags.dm" #include "GainStation13\code\game\objects\structures\medikit.dm" +#include "GainStation13\code\game\objects\structures\sofa.dm" #include "GainStation13\code\game\objects\structures\statues.dm" #include "GainStation13\code\game\turfs\closed.dm" #include "GainStation13\code\game\turfs\open.dm"