.
This commit is contained in:
		
							parent
							
								
									66821b1c58
								
							
						
					
					
						commit
						be6ab76828
					
				| @ -38,6 +38,9 @@ function Off() | |||||||
|   inLightsMenu = false |   inLightsMenu = false | ||||||
|   selectedItem = 1 |   selectedItem = 1 | ||||||
| end | end | ||||||
|  | function Snake() | ||||||
|  |   worm | ||||||
|  | end | ||||||
| function Reboot() | function Reboot() | ||||||
|   print("Rebooting...") |   print("Rebooting...") | ||||||
|   sleep(1) |   sleep(1) | ||||||
| @ -54,9 +57,10 @@ end | |||||||
| mainMenu = { | mainMenu = { | ||||||
|   [1] = { text = "Who amI?",handler=Choice1 }, |   [1] = { text = "Who amI?",handler=Choice1 }, | ||||||
|   [2] = { text = "Light Controls",handler=Choice2 }, |   [2] = { text = "Light Controls",handler=Choice2 }, | ||||||
|   [3] = { text = "Reboot",handler=Reboot }, |   [3] = { text = "Snake",handler=Snake }, | ||||||
|   [4] = { text = "Exit",handler=Exit }, |   [4] = { text = "Reboot",handler=Reboot }, | ||||||
|   [5] = { text = "Edit mode",handler=Edit } |   [5] = { text = "Exit",handler=Exit }, | ||||||
|  |   [6] = { text = "Edit mode",handler=Edit } | ||||||
| } | } | ||||||
| lightsMenu={ | lightsMenu={ | ||||||
|   [1]= { text="Lights On", handler=LightsOn}, |   [1]= { text="Lights On", handler=LightsOn}, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user