.
This commit is contained in:
parent
d025fd3b38
commit
8f8cf4df14
@ -28,6 +28,12 @@ function LightsOn()
|
|||||||
inLightsMenu = false
|
inLightsMenu = false
|
||||||
selectedItem = 1
|
selectedItem = 1
|
||||||
end
|
end
|
||||||
|
function AlarmOn()
|
||||||
|
redstone.setBundledOutput("top", colors.orange)
|
||||||
|
inLightsMenu = false
|
||||||
|
selectedItem = 1
|
||||||
|
end
|
||||||
|
end
|
||||||
function LightsOff()
|
function LightsOff()
|
||||||
redstone.setBundledOutput("top", 0)
|
redstone.setBundledOutput("top", 0)
|
||||||
inLightsMenu = false
|
inLightsMenu = false
|
||||||
@ -55,7 +61,8 @@ mainMenu = {
|
|||||||
}
|
}
|
||||||
lightsMenu={
|
lightsMenu={
|
||||||
[1]= { text="Lights On", handler=LightsOn},
|
[1]= { text="Lights On", handler=LightsOn},
|
||||||
[2]= { text="Lights Off", handler=LightsOff}
|
[2]= { text="Alarm On", handler=AlarmOn},
|
||||||
|
[3]= { text="All Off", handler=Off}
|
||||||
}
|
}
|
||||||
|
|
||||||
--[[Printing Methods]]--
|
--[[Printing Methods]]--
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user