From 5b3544983a8df06bd901fc45d803b8498107c01f Mon Sep 17 00:00:00 2001 From: CybertronicToon Date: Thu, 26 Jan 2017 03:51:07 -0600 Subject: [PATCH] Made mushroom generation account for depth Made mushroom generation account for depth, makes mushrooms much more common , and closer to vanilla. Partially addresses #84 --- ClassicalSharp/Generator/NotchyGenerator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ClassicalSharp/Generator/NotchyGenerator.cs b/ClassicalSharp/Generator/NotchyGenerator.cs index 7589c5e8e..658b76d8e 100644 --- a/ClassicalSharp/Generator/NotchyGenerator.cs +++ b/ClassicalSharp/Generator/NotchyGenerator.cs @@ -263,7 +263,7 @@ namespace ClassicalSharp.Generator { } void PlantMushrooms() { - int numPatches = width * length / 2000; + int numPatches = width * length * height / 2000; CurrentState = "Planting mushrooms"; for (int i = 0; i < numPatches; i++) { @@ -389,4 +389,4 @@ namespace ClassicalSharp.Generator { } } } -} \ No newline at end of file +}