From effca3d5a192ff42c6f0e4550ec299316565635d Mon Sep 17 00:00:00 2001 From: Aquanim Date: Sun, 26 Nov 2017 16:24:43 +1100 Subject: [PATCH] Fixed flavour, image, etc. for missions 34 and 70. --- campaign/sample/planets/planet34.lua | 8 ++++---- campaign/sample/planets/planet70.lua | 24 ++++++++++++++---------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/campaign/sample/planets/planet34.lua b/campaign/sample/planets/planet34.lua index da1ffb31e..fcc6961b0 100644 --- a/campaign/sample/planets/planet34.lua +++ b/campaign/sample/planets/planet34.lua @@ -19,10 +19,10 @@ local function GetPlanet(planetUtilities, planetID) image = image, size = planetUtilities.PLANET_SIZE_INFO, backgroundImage = planetUtilities.backgroundImages[math.floor(math.random()*#planetUtilities.backgroundImages) + 1], - terrainType = "Igneous", - radius = "6370 km", - primary = "Easnor", - primaryType = "A4IV", + terrainType = "Steppe", + radius = "7440 km", + primary = "Woondai", + primaryType = "G8V", milRating = 1, text = [[The enemy has dug into a reasonable defensive position, assisted by aircraft. Supplement your ground forces with Thunderbirds to disarm enemy defences and Swifts to shoot down their planes.]] }, diff --git a/campaign/sample/planets/planet70.lua b/campaign/sample/planets/planet70.lua index 5898d88ff..92d276c4c 100644 --- a/campaign/sample/planets/planet70.lua +++ b/campaign/sample/planets/planet70.lua @@ -4,27 +4,28 @@ local function GetPlanet(planetUtilities, planetID) - local image = planetUtilities.planetImages[math.floor(math.random()*#planetUtilities.planetImages) + 1] + --local image = planetUtilities.planetImages[math.floor(math.random()*#planetUtilities.planetImages) + 1] + local image = LUA_DIRNAME .. "images/planets/terran03_damaged.png" local planetData = { - name = "Blank", + name = "Onsally", startingPlanet = false, mapDisplay = { x = (planetUtilities.planetPositions and planetUtilities.planetPositions[planetID][1]) or 0.77, y = (planetUtilities.planetPositions and planetUtilities.planetPositions[planetID][2]) or 0.13, image = image, - size = planetUtilities.PLANET_SIZE_MAP * 1.25, + size = planetUtilities.PLANET_SIZE_MAP, }, infoDisplay = { image = image, size = planetUtilities.PLANET_SIZE_INFO, backgroundImage = planetUtilities.backgroundImages[math.floor(math.random()*#planetUtilities.backgroundImages) + 1], - terrainType = "Terran", - radius = "6550 km", - primary = "Blank", - primaryType = "G8V", + terrainType = "Igneous", + radius = "6370 km", + primary = "Easnor", + primaryType = "A4IV", milRating = 1, - text = [[Two duelling Zenith meteor controllers threaten to reduce this planet to space dust. Sneak into the enemy base and destroy their Zenith so you'll at least have the satisfaction of being the owner of that space dust.]] + text = [[Phoenix blah]] }, gameConfig = { mapName = "LowTideV3", @@ -38,7 +39,9 @@ local function GetPlanet(planetUtilities, planetID) defeatIfDestroyedObjectiveID = 2, }, extraUnlocks = { - "zenith" + "factoryplane", + "bomberriot", + "planeheavyfighter", }, startUnits = { } @@ -83,7 +86,8 @@ local function GetPlanet(planetUtilities, planetID) completionReward = { experience = planetUtilities.MAIN_EXP, units = { - "zenith", + "bomberriot", + "planeheavyfighter", }, modules = { },