Skip to content

Commit

Permalink
Default/schematics: Re-add force-placed root node to mapgen trees
Browse files Browse the repository at this point in the history
Avoids trees or large cacti being placed multiple times at a single
position, by changing the node at the heightmap y value
  • Loading branch information
paramat committed Feb 6, 2016
1 parent c198d8c commit 5994ac8
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 0 deletions.
Binary file modified mods/default/schematics/acacia_tree.mts
Binary file not shown.
Binary file modified mods/default/schematics/apple_tree.mts
Binary file not shown.
Binary file modified mods/default/schematics/aspen_tree.mts
Binary file not shown.
Binary file modified mods/default/schematics/large_cactus.mts
Binary file not shown.
Binary file modified mods/default/schematics/pine_tree.mts
Binary file not shown.

3 comments on commit 5994ac8

@sofar
Copy link
Contributor

@sofar sofar commented on 5994ac8 Feb 10, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem I have with this is that it makes the dirt surface full of holes after all the trees get axed. I'd prefer a solution where the dirt node is maybe marked in a way that mapgen won't place another tree in the same location instead.

@sofar
Copy link
Contributor

@sofar sofar commented on 5994ac8 Feb 10, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also push the change to saveschems? I'd like to keep minetest-mods/saveschems in sync.

@paramat
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes i don't like the holes either, that was the reason i removed the root nodes a while ago. Hopefully some players will carry some dirt around to fill in the holes as they harvest.

And yes, i guess i 'clone' saveschems for my local copy. I will try to push changes.

Please sign in to comment.