This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
swanjr's profile picture

Stairs with railings

Started by swanjr, 22 April 2012 - 03:09 PM
swanjr #1
Posted 22 April 2012 - 05:09 PM
An updated version of this script has been posted here: http://www.computercraft.info/forums2/index.php?/topic/1399-stairs-and-stairwells/. Please see this thread for any updates.

I have created a stairs digging program where you can set the width, height, depth, and railing width. Try it out and let me know if you find any bugs.

Program description: stairs <width> <height> <depth> <railing width>
- width = number of blocks wide excluding the railing
- height = number of blocks from stair to ceiling
- depth = number of block deep to go
- railing width = number of blocks to the side of the stairs the rails should be wide. The railing is always 1 block high. Zero may be passed in for no railing.

Note: Also the program digs a 1 block landing at the bottom that is as wide as the stairs and railing and as tall as the height.
ging3rr #2
Posted 03 June 2012 - 08:17 PM
hello there i used your stairs program i spent the time to put the code in my turtle since i dont have access to the server file i play on but i keep getting string :3: attempting to call nil
any ideas?
thank you for your help