mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
New benches, colourable sofas (#17985)
* new benches, colourable sofas, directional beds * removes bench corners * slight sprite tweak * inverse corners! * removes rotatable beds due to mob jank and bedsheets * fixes that one freaking always wrong cyberiad sofa * make things use the in-built spraycan menu
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
// And yes this does have to be in the constructor, BYOND ignores it if you set it as a normal var
|
||||
|
||||
// Helper similar to image()
|
||||
/proc/mutable_appearance(icon, icon_state = "", layer = FLOAT_LAYER, plane = FLOAT_PLANE, alpha = 255, appearance_flags = NONE)
|
||||
/proc/mutable_appearance(icon, icon_state = "", layer = FLOAT_LAYER, plane = FLOAT_PLANE, alpha = 255, appearance_flags = NONE, color)
|
||||
var/mutable_appearance/MA = new()
|
||||
MA.icon = icon
|
||||
MA.icon_state = icon_state
|
||||
@@ -18,6 +18,8 @@
|
||||
MA.plane = plane
|
||||
MA.alpha = alpha
|
||||
MA.appearance_flags |= appearance_flags
|
||||
if(color)
|
||||
MA.color = color
|
||||
return MA
|
||||
|
||||
/mutable_appearance/clean/New()
|
||||
|
||||
Reference in New Issue
Block a user