Nextgen lighting #2: Lights

Can paint light tubes and bulbs with paint and stick in sockets to get colored lights.
This commit is contained in:
Chinsky
2014-06-18 20:38:33 +04:00
committed by ZomgPonies
parent 3fa03af4cb
commit fc76ac01e0
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -356,6 +356,7 @@
switchcount = L.switchcount
rigged = L.rigged
brightness = L.brightness
l_color = L.color
on = has_power()
update()
@@ -514,6 +515,7 @@
L.status = status
L.rigged = rigged
L.brightness = src.brightness
L.color = l_color
// light item inherits the switchcount, then zero it
L.switchcount = switchcount
@@ -540,6 +542,7 @@
L.status = status
L.rigged = rigged
L.brightness = brightness
L.color = l_color
// light item inherits the switchcount, then zero it
L.switchcount = switchcount