mirror of
				https://fem.mint.lgbt/m/Rhythmblock.git
				synced 2024-08-14 20:27:11 +00:00 
			
		
		
		
	first steps
This commit is contained in:
		
							parent
							
								
									13c8cc4e97
								
							
						
					
					
						commit
						bc4c7aaefe
					
				
					 1 changed files with 15 additions and 0 deletions
				
			
		
							
								
								
									
										15
									
								
								neodj.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								neodj.lua
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
local accentColor = colors.gray 
 | 
			
		||||
local buttonColor = colors.lightGray
 | 
			
		||||
local backgroundColor = colors.black
 | 
			
		||||
 | 
			
		||||
function playDisk()
 | 
			
		||||
	disk.playAudio()
 | 
			
		||||
		
 | 
			
		||||
 | 
			
		||||
if disk.isPresent() and disk.hasAudio() then
 | 
			
		||||
	playDisk()
 | 
			
		||||
elseif disk.isPresent() then
 | 
			
		||||
	print "Not a music disc"
 | 
			
		||||
else
 | 
			
		||||
	print "No disc"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue