Search the Community
Showing results for tags 'tree'.
Hello, I am using a script that is not mine, as I have no idea how to write one yet, and it does everything that it is suppose to do except for cutting the full grown trees down. I am trying to figure out why but am very unsuccessfully doing so. here is the code i am using, any help would be appreciated. local W, H = 7, 11 local INTERVAL = 30 local DROPTOOL = false local com = require("component") local robot = require("robot") local term = require("term") local comp = require("computer") local magnet = com.tractor_beam local inv =
TREE command Updated Added a new rewritten file called tree2.lua. You can test both tree.lua and tree2.lua. tree2.lua is a bit slower version but it shows the tree properly unlike the other version (tree.lua). At the moment the command does not sopport parameters. You can help to add things to the command if you like. Even though this is a little program, you could give some ideas for display or parameters. @GreaseMonkey Thank you for your comment There is still one problem with piping even thouth I changed to io library from "term". I thought "tree | more" or "tree | less" would work