This commit is contained in:
Julian Brammer 2024-06-13 21:14:40 +02:00
parent d0b5a8ef76
commit d505661bdd

View File

@ -98,9 +98,11 @@ local function itemInInventory()
end end
end end
--[[
function main() function main()
print("Print with Chest? [yn]") print("Print with Chest? [yn]")
local withChest = confirmationDialog(read()) local withChest = confirmationDialog()
print("Filepath? (/brulijam/files/shape.svg)") print("Filepath? (/brulijam/files/shape.svg)")
local filePath = read() local filePath = read()
@ -115,9 +117,13 @@ function main()
print("One Layer would need " .. blockCounter .. " Blocks.") print("One Layer would need " .. blockCounter .. " Blocks.")
print("Continue? [yn]") print("Continue? [yn]")
local startPrinting = confirmationDialog(read()) local startPrinting = confirmationDialog()
if startPrinting then if startPrinting then
printLayer(matrix, withChest) printLayer(matrix, withChest)
end end
end end
main()
--]]