Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tArgs = {...}
- term.redirect(peripheral.find("monitor"))
- term.clear()
- w,h = term.getSize()
- local img = paintutils.loadImage("taco")
- --print(#img) --81 y
- --print(#img[1]) --165 x
- print(tArgs[1])
- if tArgs[1] == 1 then
- a,b = 1,1
- elseif tArgs[1] == 2 then
- a,b = -83,1
- elseif tArgs[1] == 3 then
- a,b = 1,-41
- elseif tArgs[1] == 4 then
- a,b = -83,-41
- end
- print(a,b)
- paintutils.drawImage(img,-83,1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement