-
Notifications
You must be signed in to change notification settings - Fork 10
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
Player-Planted Trees Appear Flattened and Identical #56
Comments
Thanks for the report! The issue here is the tree growth parameters in https://github.com/Gaelmare/dynamictreestfc/blob/1.20.x/resources/trees.py do not correctly build the In general, the tree growth parameters in DTTFC may or may not match the JOCode library. The JOCode library can be rebuilt using these DT tools as described here: https://github.com/DynamicTreesTeam/DynamicTrees/wiki/Tree-Packs:-Jocodes. If the growth parameters are wrong, that won't help. If you would like to contribute, please consider making a PR to update the trees.py file to set the growth parameters to match the JOCodes. The https://github.com/Gaelmare/dynamictreestfc/blob/1.20.x/JOCODE_CREDITS.txt is mostly correct about where the tree shapes came from, and we should be able to track down the growth parameters from those sources. My analysis of the JOCode files shows: If you wanted to correct the JOCODE_CREDITS.txt file as well in your PR, feel free. Thanks for caring enough to file this! Let me know how much you want to contribute. |
Thank you for the detailed response. I will try modifying trees.py, and if everything works correctly, I'll create a PR. |
It looks like the *rm.resource_dir argument is unnecessary here: link. In the rm.write method, self.resource_dir is already being added at the beginning of the path (at least that's the case with Python 3.10). Moreover, unpacking a string that contains a path in this context seems odd. If necessary, I can create a PR for this fix as well. |
Player-Planted Trees Appear Flattened and Identical
Issue Description
Player-planted trees are not growing properly.
Observed Behavior
Expected Behavior
Player-planted trees should grow with the same variety and characteristics as naturally generated trees.
Steps to Reproduce
Additional Notes
Attachments
The text was updated successfully, but these errors were encountered: