Advertisement
TechManDylan

Builder

Dec 28th, 2020 (edited)
1,017
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. function generateCastle(size)
  2.    
  3.     term.clear()
  4.     term.setCursorPos(1,1)
  5.     print("How tall should the Castle be?")
  6.     local height = tonumber(read())
  7.     turtle.select(1)
  8.    
  9.     -- Start building!
  10.     print("Building Castle" .. height .. "tall." )
  11.    
  12. end
  13.  
  14. generateCastle()
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement