Skip to content

Suggestion to check replanting against commonly plantable nodes instead of quarry-able GroundNodes#60

Merged
joe7575 merged 1 commit intojoe7575:masterfrom
oversword:bls-265
Dec 14, 2020
Merged

Suggestion to check replanting against commonly plantable nodes instead of quarry-able GroundNodes#60
joe7575 merged 1 commit intojoe7575:masterfrom
oversword:bls-265

Conversation

@oversword
Copy link
Contributor

Fixes BLS issue 265 BlockySurvival/issue-tracker#265

This is a suggestion, and I do not believe the behaviour is a bug, since it doesn't have any real negative effects, is rarely encountered, and can easily be worked around

This PR does not check the tubelib1.GroundNodes table for nodes when deciding weather or not to replant a tree / flower / crop, instead it checks if the node is in group:soil or group:sand (for palm trees).

Checking these groups should cover most cases, while not also allowing saplings to be replanted on other quarry-able ground nodes, like stone, ores, and clay

@joe7575
Copy link
Owner

joe7575 commented Dec 14, 2020

I like the solution a lot.
Thanks oversword

@joe7575 joe7575 merged commit b87cc75 into joe7575:master Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants