AdditionalPylons

build_room.lua

Jun 5th, 2026
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. local wall = require("build_wall")
  2. local floor = require("build_floor")
  3.  
  4. local l,w,h = ...
  5.  
  6. floor.build(l,w)
  7. if w%2==0 then
  8.     turtle.turnLeft()
  9. else
  10.     turtle.turnLeft()
  11.     turtle.turnLeft()
  12. end
  13. wall.build(l,w,h)
  14. turtle.up()
  15. floor.build(l,w)
Advertisement
Add Comment
Please, Sign In to add comment