Posted 29 June 2014 - 03:32 AM
This observation is similar to the post by Inksaver, May 25 2014 09:08 AM.
turtle.placeDown() successfully places dirt directly below turtle unless there is tall grass or fern or vine two blocks down (in the block below the empty space below the turtle). If one of these plants is present then the dirt replaces it, leaving an empty space where the dirt was supposed to go. If the plant is directly below the turtle, the dirt replaces the plant as expected. These plants are special in that if they are in front of the turtle, then turtle.detect() will return true, but turtle.forward() will not be obstructed and the turtle will destroy the block without a drop (not even occasional seeds from grass). This is the same behavior that the player experiences in creative mode. You can place a block on top of a flower but if you try the same thing with grass, the grass will be lost and the block will be in it's place. Even so, we expect the turtle to place a block in an empty space directly above, in front or below itself without being affected by any block that might be in a space farther away.
This is my first post. I've been playing with computer craft for a month or so and I really enjoy it. Thanks to all who work to create, maintain and improve it.
turtle.placeDown() successfully places dirt directly below turtle unless there is tall grass or fern or vine two blocks down (in the block below the empty space below the turtle). If one of these plants is present then the dirt replaces it, leaving an empty space where the dirt was supposed to go. If the plant is directly below the turtle, the dirt replaces the plant as expected. These plants are special in that if they are in front of the turtle, then turtle.detect() will return true, but turtle.forward() will not be obstructed and the turtle will destroy the block without a drop (not even occasional seeds from grass). This is the same behavior that the player experiences in creative mode. You can place a block on top of a flower but if you try the same thing with grass, the grass will be lost and the block will be in it's place. Even so, we expect the turtle to place a block in an empty space directly above, in front or below itself without being affected by any block that might be in a space farther away.
This is my first post. I've been playing with computer craft for a month or so and I really enjoy it. Thanks to all who work to create, maintain and improve it.