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
Schematic tree trunks destroy existing nodes #652
Comments
Yes this is intentional, schematics have per-node force-place that prevents the trunk being chopped by nearby leaves of other trees, and prevents the leaves removing nearby trunks of other trees. Also somewhat realistic, a trunk will often grow through and destroy most structures. |
I see, thank you. It's realistic between trees and it will make forests look better. But when a tree destroys player nodes, you think it's a bug. |
Thank you for reported this point @mgl512 This is an very dangerous feature ! We noticed this bug in MFF and tried to avoid it... And... My god... They can destroy unbreakable blocks... Do you have planned a parameter to "desactivate" this grief helper feature ? |
I would also like to add that according to the documentation of
And then consider this:
Unless the documentation is unclear about it, false would mean there would be no forced replacement of nodes other than air and ignore. Yet, that's what happens, and it can destroy every kind of node, including |
I will move mgv5/mgv7 sapling growing into lua code instead of 'place schematic', just like mgv6 sapling-grown trees, this way we can have precise control over what is replaced. |
That flag is a global force-place flag. Within the schematic lua table itself (see https://github.com/paramat/saveschems) there is per-node force-place data, which is currently set to force-place trunk nodes. Instead of moving trees into lua programs perhaps better to add a 'also build to' node field to 'place schematic' that allows defining the nodes (other than air and ignore) that can be replaced. It would be set to group:water (for swamps) and group:leaves. Such a feature would be useful for other uses of 'place schematic'. I will look into this. |
See #659 |
Merged 73113f3 |
Plant some trees on a v7 world to use the "new" growing functions that use schematics. Whatever the tree, its trunk nodes will destroy any existing node. The leaves seem to work though: they always preserved existing nodes in my tests.
The text was updated successfully, but these errors were encountered: