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

some extra details

This commit is contained in:
mint 2021-05-07 16:02:14 -04:00
parent 954b839efa
commit c94b8fe441

View file

@ -17,7 +17,7 @@ if arg[1] == nil then
peripherals = peripheral.getNames() -- Gets peripherals to check if any disk drives are avavailable
if #peripherals == 0 then
term.setTextColor(colors.red)
print "No drive"
print("No drive")
return false -- Exits if there's no disk drive
else
driveCount = 0
@ -34,7 +34,7 @@ if arg[1] == nil then
return false
elseif driveCount == 0 then
term.setTextColor(colors.red)
print "No drive"
print("No drive")
return false -- Exits if there's no disk drive
end
end
@ -103,7 +103,7 @@ function renderStopButton() -- Renders the Stop button
end
function renderEjectButton() -- Renders the Eject button
paintutils.drawLine(centerWidth - 2, centerHeight + 4, centerWidth + 2, centerHeight + 4, accentColor)
paintutils.drawLine(centerWidth - 3, centerHeight + 4, centerWidth + 3, centerHeight + 4, accentColor)
term.setTextColor(buttonColor)
term.setCursorPos(centerWidth - 2, centerHeight + 4)
term.write(ejectText)