Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions campaign/sample/planets/planet34.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.]]
},
Expand Down
24 changes: 14 additions & 10 deletions campaign/sample/planets/planet70.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -38,7 +39,9 @@ local function GetPlanet(planetUtilities, planetID)
defeatIfDestroyedObjectiveID = 2,
},
extraUnlocks = {
"zenith"
"factoryplane",
"bomberriot",
"planeheavyfighter",
},
startUnits = {
}
Expand Down Expand Up @@ -83,7 +86,8 @@ local function GetPlanet(planetUtilities, planetID)
completionReward = {
experience = planetUtilities.MAIN_EXP,
units = {
"zenith",
"bomberriot",
"planeheavyfighter",
},
modules = {
},
Expand Down