Advertisement
Guest User

museum

a guest
Jul 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.72 KB | None | 0 0
  1. sub1 = "wither skeleton" -- Primary Subject Singular
  2. sub2 = "wither skeletons" -- Primary Subject Plural
  3. sub3 = "sword" -- Secondary Subject
  4.  
  5. shell.run("security", string.lower(sub1), string.lower(sub2), string.lower(sub3))  
  6.  
  7. function display(text)
  8.   shell.run("clear")
  9.   textutils.slowPrint(text)
  10.   sleep(4)
  11. end
  12.  
  13. while true do
  14.   text = string.format("This is the head of a %s.", sub1)
  15.   display(text)
  16.   text = string.format("While regular skeletons wield bows, a %s\nfights with a %s,", sub1,sub3)
  17.   display(text)
  18.   text = string.format("All %s live in Nether Fortresses.", sub2)
  19.   display(text)
  20.   text = string.format("If a %s hits you with its %s, you keep\ntaking damage!", sub1, sub3)
  21.   display(text)  
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement