Fix #20 Wrong Coconut tree (#49)

Fix small height Coconut.
Added custom generation for Coconut (drop Oak like)
This commit is contained in:
Alexander Kornilov authored and mezz committed 2017-05-06 21:04:27 -07:00
1 parent e896a31586
commit 9c27918e92
2 files changed
+2 -13

No files matched your search

@@ -17,18 +17,7 @@ public class WorldGenPalm {
width = 1.55f;
}
float f = 0.0f;
float h = leafSpawn;
leafSpawn = h - 1.0f;
generateCylinder(new Vector(f, h, 0.0f), width - 1.0f, 1, leaf, false);
float f2 = 0.0f;
float h2 = leafSpawn;
leafSpawn = h2 - 1.0f;
generateCylinder(new Vector(f2, h2, 0.0f), width, 1, leaf, false);
float f3 = 0.0f;
float h3 = leafSpawn;
leafSpawn = h3 - 1.0f;
generateCylinder(new Vector(f3, h3, 0.0f), width - 0.6f, 1, leaf, false);
generateCylinder(new Vector(0, leafSpawn, 0.0f), width - 0.6f, 1, leaf, false);
}
@Override
@@ -986,7 +986,7 @@ public enum ExtraTreeSpecies implements IAlleleTreeSpecies, IIconProvider, IGerm
ExtraTreeSpecies.Coconut
.addFamily(familyJungle)
.setHeight(ForestryAllele.TreeHeight.Smaller)
.setHeight(ForestryAllele.TreeHeight.Larger)
.setFertility(ForestryAllele.Saplings.Low)
.setYield(ForestryAllele.Yield.Average)
.setMaturation(ForestryAllele.Maturation.Fast);