From 64d1b89f43e35bc81b92a8e91015b492a647397a Mon Sep 17 00:00:00 2001 From: Clonkonaut Date: Sun, 25 Oct 2015 14:33:58 +0100 Subject: [PATCH] Added tree variations to Golden Mountain, Gold Rush and Iron Peak. --- planet/Missions.ocf/GoldenMountain.ocs/Objects.c | 10 +++++----- planet/Worlds.ocf/GoldRush.ocs/Script.c | 2 +- planet/Worlds.ocf/IronPeak.ocs/Script.c | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/planet/Missions.ocf/GoldenMountain.ocs/Objects.c b/planet/Missions.ocf/GoldenMountain.ocs/Objects.c index dd797923e..ab818a2a9 100644 --- a/planet/Missions.ocf/GoldenMountain.ocs/Objects.c +++ b/planet/Missions.ocf/GoldenMountain.ocs/Objects.c @@ -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); diff --git a/planet/Worlds.ocf/GoldRush.ocs/Script.c b/planet/Worlds.ocf/GoldRush.ocs/Script.c index a439c511b..abc21b74c 100644 --- a/planet/Worlds.ocf/GoldRush.ocs/Script.c +++ b/planet/Worlds.ocf/GoldRush.ocs/Script.c @@ -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); diff --git a/planet/Worlds.ocf/IronPeak.ocs/Script.c b/planet/Worlds.ocf/IronPeak.ocs/Script.c index b9decbe56..e07a97d07 100644 --- a/planet/Worlds.ocf/IronPeak.ocs/Script.c +++ b/planet/Worlds.ocf/IronPeak.ocs/Script.c @@ -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 });