mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-27 15:17:21 +01:00
Merge pull request #8195 from Cerebulon/skyratmisc
Misc. Skyrat Sprites Port
This commit is contained in:
@@ -383,6 +383,41 @@
|
||||
base_icon = "corp_sofacorner"
|
||||
corner_piece = TRUE
|
||||
|
||||
//Metal benches
|
||||
|
||||
/obj/structure/bed/chair/sofa/bench
|
||||
name = "metal bench"
|
||||
desc = "Almost as comfortable as waiting at a shuttle station for hours on end."
|
||||
base_icon = "benchmiddle"
|
||||
icon_state = "benchmiddle"
|
||||
applies_material_colour = FALSE
|
||||
color = null
|
||||
var/padding_color = "#CC0000"
|
||||
|
||||
/obj/structure/bed/chair/sofa/bench/Initialize()
|
||||
. = ..()
|
||||
var/mutable_appearance/MA
|
||||
MA = mutable_appearance(icon, icon_state = "o[icon_state]")
|
||||
// If we're north-facing, metal goes above mob, padding overlay goes below mob.
|
||||
if((dir & NORTH) && !corner_piece)
|
||||
plane = MOB_PLANE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
MA.color = padding_color
|
||||
add_overlay(MA)
|
||||
|
||||
/obj/structure/bed/chair/sofa/bench/left
|
||||
icon_state = "bench_left"
|
||||
base_icon = "bench_left"
|
||||
|
||||
/obj/structure/bed/chair/sofa/bench/right
|
||||
icon_state = "bench_right"
|
||||
base_icon = "bench_right"
|
||||
|
||||
/obj/structure/bed/chair/sofa/bench/corner
|
||||
icon_state = "benchcorner"
|
||||
base_icon = "benchcorner"
|
||||
|
||||
|
||||
//color variations
|
||||
|
||||
/obj/structure/bed/chair/sofa
|
||||
@@ -517,4 +552,4 @@
|
||||
icon_state = "sofaend_right"
|
||||
|
||||
/obj/structure/bed/chair/sofa/orange/corner
|
||||
icon_state = "sofacorner"
|
||||
icon_state = "sofacorner"
|
||||
Reference in New Issue
Block a user