diff options
Diffstat (limited to 'data/map.lua')
| -rw-r--r-- | data/map.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/map.lua b/data/map.lua new file mode 100644 index 0000000..13f9c94 --- /dev/null +++ b/data/map.lua @@ -0,0 +1,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 }) |
