aboutsummaryrefslogtreecommitdiffstats
path: root/data/map.lua
blob: 13f9c946b102d99110e3e794e93be3e9abcdf21a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- Base scenario map: metal deposits and pre-placed devices. Mods append (the
-- enemy-fort mod adds the enemy reactor). Coordinates are world units; y ~ 1 is
-- the ground surface.
Deposits   = Deposits   or {}
MapDevices = MapDevices or {}

-- Metal deposits (mines must sit on these). Player side (left) + enemy side (right).
for _, x in ipairs({ -24, -11, 23, 31 }) do
    table.insert(Deposits, { x, 1.0 })
end

-- Player reactor on the left.
table.insert(MapDevices, { type = "reactor", x = -22, y = 2.0, team = 0 })