1
0
Fork 0
mirror of https://fem.mint.lgbt/m/Rhythmblock.git synced 2024-08-14 20:27:11 +00:00
Rhythmblock/neodj.lua

17 lines
357 B
Lua

local accentColor = colors.gray
local buttonColor = colors.lightGray
local backgroundColor = colors.black
local drive = peripheral.getType("disk_drive")
function playDisk()
disk.playAudio(drive)
end
if disk.isPresent(drive) and disk.hasAudio(drive) then
playDisk(drive)
elseif disk.isPresent() then
print "Not a music disc"
else
print "No disc"
end