mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Brown retro sofa is now craftable (#94385)
## About The Pull Request The "old ratty sofa" can now be crafted! Crafted version is called the "retro sofa." Also grouped all craftable sofas under one dropdown menu to reduce UI clutter. <img width="702" height="439" alt="retro sofa coded" src="https://github.com/user-attachments/assets/18a6f462-ffaf-4c8e-a64a-8247e9222578" /> ## Why It's Good For The Game The brown sofa looks right at home in cozy places like maints, library, bar, even the command quarters. We had the model as a map spawn, so I thought it'd be nice to give players the option to craft them too. Goes well with wood! Also, reduced UI clutter by putting all sofas into one drop-down menu.
This commit is contained in:
committed by
GitHub
parent
c7d5b744e1
commit
fdaf0a85c8
@@ -51,6 +51,27 @@ path/corner/color_name {\
|
||||
COLORED_SOFA(/obj/structure/chair/sofa, brown, SOFA_BROWN)
|
||||
COLORED_SOFA(/obj/structure/chair/sofa, maroon, SOFA_MAROON)
|
||||
|
||||
// Make crafted brown sofas use the "retro sofa" display name without changing map-spawned ones.
|
||||
/obj/structure/chair/sofa/middle/brown/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!mapload)
|
||||
name = "retro sofa"
|
||||
|
||||
/obj/structure/chair/sofa/left/brown/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!mapload)
|
||||
name = "retro sofa"
|
||||
|
||||
/obj/structure/chair/sofa/right/brown/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!mapload)
|
||||
name = "retro sofa"
|
||||
|
||||
/obj/structure/chair/sofa/corner/brown/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!mapload)
|
||||
name = "retro sofa"
|
||||
|
||||
// Original icon ported from Eris(?) and updated to work here.
|
||||
/obj/structure/chair/sofa/corp
|
||||
name = "sofa"
|
||||
|
||||
Reference in New Issue
Block a user