Add customizable overlay colors, works for base overlay, spawn, and slime.
I left minerals as it is so you have to still define the minerals option to get that to work.
This commit is contained in:
@@ -168,6 +168,10 @@ class ClearBase(RenderPrimitive):
|
||||
class Overlay(RenderPrimitive):
|
||||
name = "overlay"
|
||||
|
||||
options = {
|
||||
'overlay_color' : ('a tuple of (r, g, b, a) for coloring the overlay', None),
|
||||
}
|
||||
|
||||
@property
|
||||
def whitecolor(self):
|
||||
whitecolor = getattr(self, "_whitecolor", None)
|
||||
|
||||
Reference in New Issue
Block a user