summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-03 20:55:24 +0100
committerubq323 <ubq323@ubq323.website>2024-04-03 20:55:24 +0100
commitff2651a0db468595a80f289314636bb2102afbe6 (patch)
tree27bbc17f18097a2510f7a092da47609a086d190a
parentc391400d970ff7e4ad39c8712f915baaa73f5b62 (diff)
launch staircase
-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