-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Builder cannot seed wheat #46
Comments
Have you tried setting the builder's facing variable to "1"? Farming mods all use their own custom code to turn seed placement into growing plants, I've tried to generalize Digtron's handling of this stuff but there's still some finicky tricks like this that are hard to automate. In the case of wheat, the seed is a "wallmounted" node that needs to be placed on the ground facing upward, which is facing 1, and it immediately replaces itself with a plant that has a different facing so it's hard to just read an example like you can with facing normally. I'll ponder adding a hard-coded list of "default" facings for common items like wheat seed, that may help. |
Facing 1 works for wheat. The facing option is not really clear to me. |
@mase76 Facing is, roughly speaking, rotation. For many nodes (like stairs), it’s a so-called 6d-rotation, or facedir rotation; it consists of node “upwards” direction (6 options: x+, x-, y+, etc.) and rotation (4 options, from 0° to 270°). You can change these using a screwdriver. But some nodes like signs and torches use different rotation system. It’s called wallmounted, and has 6 options only: the wall the node is “mounted” on; these options are numbered differently, for legacy reasons. It also has a special meaning: if the wall is destroyed, the mounted node is dropped. The digtron could assume the wall is opposing the builder and set the facing accordingly; such guess may not be always right, though (esp. with intermittent builders; consider an example:
here torch T may be rotated differently) |
Hi!
![screenshot_20190313_180028](https://user-images.githubusercontent.com/2173853/54299168-9bb3db80-45ba-11e9-97ba-df833e8cfca0.png)
I wanted to use the builder to seed wheat, but it is not possible. Other stuff like blueberries works.
Here is a screenshot of my mower and seeder.
The text was updated successfully, but these errors were encountered: