This commit is contained in:
Artur
2021-07-22 18:59:47 +03:00
committed by Artur
parent 9fcc762b7d
commit 30016f38a8
15 changed files with 94 additions and 13 deletions
+2 -1
View File
@@ -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 = "#FFFFFF")
var/mutable_appearance/MA = new()
MA.icon = icon
MA.icon_state = icon_state
@@ -18,5 +18,6 @@
MA.plane = plane
MA.alpha = alpha
MA.appearance_flags |= appearance_flags
MA.color = color
return MA