Made mushroom generation account for depth

Made mushroom generation account for depth, makes mushrooms much more common , and closer to vanilla. Partially addresses #84
This commit is contained in:
CybertronicToon 2017-01-26 03:51:07 -06:00 committed by GitHub
parent 7a96cac27e
commit 5b3544983a

View File

@ -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 {
}
}
}
}
}