Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local nArgs = (...)
- local image1 = fs.open("image1",'w')
- image1.write([[]])
- image1.close()
- local image2 = fs.open("image2",'w')
- image2.write([[]])
- image2.close()
- local image3 = fs.open("image3",'w')
- image3.write([[]])
- image3.close()
- local image4 = fs.open("image4",'w')
- image4.write([[]])
- image4.close()
- local image5 = fs.open("image5",'w')
- image5.write([[]])
- image5.close()
- local image6 = fs.open("image6",'w')
- image6.write([[]])
- image6.close()
- local image7 = fs.open("image7",'w')
- image7.write([[]])
- image7.close()
- local image8 = fs.open("image8",'w')
- image8.write([[]])
- image8.close()
- local image9 = fs.open("image9",'w')
- image9.write([[]])
- image9.close()
- local image10 = fs.open("image10",'w')
- image10.write([[]])
- image10.close()
- local image11 = fs.open("image11",'w')
- image11.write([[]])
- image11.close()
- local image12 = fs.open("image12",'w')
- image12.write([[]])
- image12.close()
- image = {}
- for i = 1,12 do
- image[i] = paintutils.loadImage("image"..tostring(i))
- end
- --image[1] = paintutils.loadImage("image1")
- local mon = peripheral.find("monitor")
- mon.setTextScale(.5)
- term.redirect(mon)
- paintutils.drawImage(image[tonumber(nArgs)],1,1)
- term.redirect(term.native())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement