sEi_

TUR - Test r shell (house)

Mar 21st, 2022 (edited)
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.80 KB | None | 0 0
  1. local version = 1.0
  2. --[[
  3.     A Minecraft ComputerCraft MOD TURTLE script
  4.     HOUSE - Demo script to show how to make a batchfile that use the R script (main turtle script) to build a house
  5.     by sEi'2022 - (C)opyleft (Do what you want with the script)
  6.  
  7.     Get this script here: https://pastebin.com/r2eMA7WB
  8.     or ingame: pastebin get r2eMA7WB house
  9.  
  10.     ===============================================
  11.     IMPORTANT: In order to run this program you need to have the main program installed
  12.     and with the name "r"
  13.     Get the R script here: https://pastebin.com/aDY5Ez8M
  14.     or ingame: pastebin get aDY5Ez8M r
  15.     ===============================================
  16.    
  17.     Fill the slots with the requested material in the list below.
  18.     and then type "house" in the consol to run this script
  19.     SLOTS:
  20.     1 = 64 Dirt
  21.     2 = 64 Floor (block)
  22.     3 = 64 Wall/Roof (block)
  23.     4 = 64 Wall/Roof (block)
  24.     5 = 1 door
  25.     6 = 2 glass (block)
  26. ]]--
  27. --== INITIALIZE ==
  28.  
  29. --== FUNCTIONS ==
  30. local function BuildString()
  31.     local sString = "r Bw"
  32.     --[[
  33.     hubba bubba
  34.     ]]--
  35.     sString = sString.."1yfyfyfyfyfyfyfyrfr"
  36.     sString = sString.."1yf2yfyfyfyfyfy1fyll"
  37.     sString = sString.."uf3yfyfyfyfyfyrr"
  38.     sString = sString.."u3yfy6fyfy3fyfyrr"
  39.     sString = sString.."u3yfyfyfyfyfyfdddrfr"
  40.     sString = sString.."1y2fyfyfyfyfyfy1fyrruf3yfffffyrruyfffffy"
  41.     sString = sString.."rru3yfffffyrru"
  42.     sString = sString.."3yfyfyfyfyfyflfldddd"
  43.     sString = sString.."1yf2yfyfyfyfyfy1fyrruf3yffffffrrd5P"
  44.     sString = sString.."uuffffffrr3y"
  45.     sString = sString.."u3yfffffyrruyfyfyfyfyfyfrfrdddd"
  46.     sString = sString.."1y2fyfyfyfyfyfyf1yrruf3yfffffyrruyfffffyrruyfffffyrruyfyfyfyfyfy"
  47.     sString = sString.."flfldddd1yf2yfyfyfyfyfyf1yrruf3yfyfyfyfyfyurryfyfyfyfyfyurryfyfyfyfyfyfrDffffr"
  48.    
  49.     return sString
  50. end
  51. --== MAIN PROGRAM ==
  52. local result = BuildString()
  53. print(result)
  54. shell.run(result)
Add Comment
Please, Sign In to add comment