Skip to content

Commit

Permalink
Add leafElogation and flowers to the forest
Browse files Browse the repository at this point in the history
  • Loading branch information
careeoki authored and IntegratedQuantum committed Feb 4, 2025
1 parent b384ec9 commit 07be80d
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 1 deletion.
33 changes: 32 additions & 1 deletion assets/cubyz/biomes/forest/base.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
.type = .round,
.height = 6,
.height_variation = 3,
.leafElongation = 1.0,
.deltaLeafElongation = 0.2,
},
.{
.id = "cubyz:simple_tree",
Expand All @@ -33,8 +35,10 @@
.type = .round,
.height = 10,
.height_variation = 5,
.leafRadius = 3.5,
.leafRadius = 2.5,
.leafRadius_variation = 1.5,
.leafElongation = 1.7,
.deltaLeafElongation = 0.2,
},
.{
.id = "cubyz:fallen_tree",
Expand All @@ -59,5 +63,32 @@
.height = 1,
.height_variation = 0,
},
.{
.id = "cubyz:flower_patch",
.block = "cubyz:daisies",
.chance = 0.008,
.width = 6,
.variation = 3,
.density = 0.3,
.priority = 0.1,
},
.{
.id = "cubyz:flower_patch",
.block = "cubyz:daffodil",
.chance = 0.01,
.width = 6,
.variation = 3,
.density = 0.1,
.priority = 0.1,
},
.{
.id = "cubyz:flower_patch",
.block = "cubyz:castilleja",
.chance = 0.006,
.width = 8,
.variation = 3,
.density = 0.1,
.priority = 0.1,
},
},
}
43 changes: 43 additions & 0 deletions assets/cubyz/biomes/forest/clearing.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,56 @@
.size = 5,
.size_variance = 1,
},
.{
.id = "cubyz:fallen_tree",
.log = "cubyz:oak_log",
.top = "cubyz:oak_log",
.chance = 0.05,
.height = 6,
.height_variation = 3,
},
.{
.id = "cubyz:fallen_tree",
.log = "cubyz:birch_log",
.top = "cubyz:birch_log",
.chance = 0.02,
.height = 6,
.height_variation = 3,
},
.{
.id = "cubyz:simple_vegetation",
.block = "cubyz:grass_vegetation",
.chance = 0.6,
.height = 1,
.height_variation = 0,
},
.{
.id = "cubyz:flower_patch",
.block = "cubyz:daisies",
.chance = 0.008,
.width = 6,
.variation = 3,
.density = 0.3,
.priority = 0.1,
},
.{
.id = "cubyz:flower_patch",
.block = "cubyz:daffodil",
.chance = 0.01,
.width = 6,
.variation = 3,
.density = 0.1,
.priority = 0.1,
},
.{
.id = "cubyz:flower_patch",
.block = "cubyz:castilleja",
.chance = 0.006,
.width = 8,
.variation = 3,
.density = 0.1,
.priority = 0.1,
},
},
.parentBiomes = .{
.{
Expand Down

0 comments on commit 07be80d

Please sign in to comment.