summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--staircase.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/staircase.lua b/staircase.lua
new file mode 100644
index 0000000..28ba681
--- /dev/null
+++ b/staircase.lua
@@ -0,0 +1,9 @@
+local p = peripheral.find"3d_printer"
+for i = 0,15 do
+ print(i)
+ p.reset()
+ p.setLabel("world's greatest staircase #"..i)
+ p.addShape(i, 0, 0, i+1, 16, 16, "minecraft:block/chiseled_quartz_block")
+ p.commit(1)
+ os.pullEvent("3d_printer_complete")
+end