Skip to content
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

Open
mase76 opened this issue Mar 13, 2019 · 3 comments
Open

Builder cannot seed wheat #46

mase76 opened this issue Mar 13, 2019 · 3 comments
Labels

Comments

@mase76
Copy link

mase76 commented Mar 13, 2019

Hi!
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.
screenshot_20190313_180028

@mase76 mase76 changed the title Builder cannot seed Builder cannot seed wheat Mar 13, 2019
@FaceDeer
Copy link
Member

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.

@mase76
Copy link
Author

mase76 commented Mar 15, 2019

Facing 1 works for wheat. The facing option is not really clear to me.

@numberZero
Copy link
Contributor

@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:

S S . . . S S
S . . . . . S
S . . . . . S
S T . . . T S
S S . . . S S
S . . . . . S

here torch T may be rotated differently)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants