Skip to content

Commit

Permalink
Improve aspen generation
Browse files Browse the repository at this point in the history
  • Loading branch information
izharus committed Dec 27, 2024
1 parent f1d0796 commit 31eed9e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion resources/trees.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def generate(rm: ResourceManager):
species(rm, name, tapering=0.15, signal_energy=12, up_probability=0, lowest_branch_height=3, growth_rate=0.7)
elif name == 'birch':
species(rm, name, tapering=0.1, signal_energy=14, up_probability=4, lowest_branch_height=4, growth_rate=1.25),
elif name == 'aspen':
species(rm, name, tapering=0.12, signal_energy=14, up_probability=4, lowest_branch_height=4, growth_rate=1.25),
elif name == 'sequoia':
species(rm, name, tapering=0.25, signal_energy=48, up_probability=9, lowest_branch_height=12, growth_rate=0.4, growth_logic_kit=MEGA_SPRUCE_LOGIC_KIT, extra_data={'max_branch_radius': 16})
elif name == 'spruce':
Expand Down Expand Up @@ -78,7 +80,7 @@ def generate(rm: ResourceManager):
leaves_properties(rm, name, leaf_type='scruffy', smother=6)
elif name == "rosewood":
leaves_properties(rm, name, cell_kit='dynamictrees:acacia')
elif name == 'sycamore':
elif name in ['sycamore', 'aspen']:
leaves_properties(rm, name, smother=2)
elif name == 'pine':
leaves_properties(rm, name, cell_kit='dynamictrees:conifer', smother=2)
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/trees/dttfc/leaves_properties/aspen.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"__comment__": "This file was automatically created by mcresources",
"primitive_leaves": "tfc:wood/leaves/aspen"
"primitive_leaves": "tfc:wood/leaves/aspen",
"smother": 2
}
7 changes: 6 additions & 1 deletion src/main/resources/trees/dttfc/species/aspen.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"__comment__": "This file was automatically created by mcresources",
"family": "dttfc:aspen",
"can_bone_meal_tree": false
"can_bone_meal_tree": false,
"tapering": 0.12,
"signal_energy": 14,
"up_probability": 4,
"lowest_branch_height": 4,
"growth_rate": 1.25
}

0 comments on commit 31eed9e

Please sign in to comment.