forked from Mirrors/openclonk
Added tree variations to Golden Mountain, Gold Rush and Iron Peak.
parent
f26a14f5ff
commit
64d1b89f43
|
@ -6,11 +6,11 @@ func InitializeObjects()
|
|||
CreateObjectAbove(Grass, 468, 197);
|
||||
CreateObjectAbove(Grass, 441, 202);
|
||||
|
||||
CreateObjectAbove(Tree_Coniferous, 452, 200);
|
||||
CreateObjectAbove(Tree_Coniferous, 391, 200);
|
||||
CreateObjectAbove(Tree_Coniferous, 336, 202);
|
||||
CreateObjectAbove(Tree_Coniferous, 427, 199);
|
||||
CreateObjectAbove(Tree_Coniferous, 367, 201);
|
||||
CreateObjectAbove(Tree_Coniferous3, 452, 205);
|
||||
CreateObjectAbove(Tree_Coniferous3, 391, 205);
|
||||
CreateObjectAbove(Tree_Coniferous3, 336, 207);
|
||||
CreateObjectAbove(Tree_Coniferous3, 427, 204);
|
||||
CreateObjectAbove(Tree_Coniferous3, 367, 206);
|
||||
|
||||
CreateObjectAbove(SproutBerryBush, 59, 214);
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ private func InitEnvironment()
|
|||
private func InitVegetation(int map_size)
|
||||
{
|
||||
// Place some trees in a forest shape.
|
||||
PlaceForest([Tree_Coniferous], 0, LandscapeHeight() / 2 + 50, nil, true);
|
||||
PlaceForest([Tree_Deciduous, Tree_Coniferous2], 0, LandscapeHeight() / 2 + 50, nil, true);
|
||||
|
||||
SproutBerryBush->Place();
|
||||
PlaceGrass(100);
|
||||
|
|
|
@ -124,7 +124,8 @@ private func InitEnvironment(int difficulty)
|
|||
private func InitVegetation(int map_size)
|
||||
{
|
||||
// Place some coniferous trees, but only up to 2/3 of the mountain.
|
||||
Tree_Coniferous->Place(16 + Random(5), Shape->Rectangle(0, LandscapeHeight() / 3, LandscapeWidth(), 2 * LandscapeHeight() / 3));
|
||||
Tree_Coniferous->Place(8 + Random(3), Shape->Rectangle(0, LandscapeHeight() / 3, LandscapeWidth(), 2 * LandscapeHeight() / 3));
|
||||
Tree_Coniferous2->Place(8 + Random(3), Shape->Rectangle(0, LandscapeHeight() / 3, LandscapeWidth(), 2 * LandscapeHeight() / 3));
|
||||
// Also some cave mushrooms as a source of wood.
|
||||
LargeCaveMushroom->Place(5 + 2 * map_size + Random(5), nil, { terraform = false });
|
||||
|
||||
|
|
Loading…
Reference in New Issue