2018-10-06 14:46:18 +02:00
|
|
|
local b = require 'map_gen.shared.builders'
|
2019-02-01 03:15:41 +02:00
|
|
|
local beach = require 'map_gen.maps.beach'
|
2019-01-16 22:33:32 +02:00
|
|
|
local RS = require 'map_gen.shared.redmew_surface'
|
|
|
|
local MGSP = require 'resources.map_gen_settings'
|
|
|
|
|
|
|
|
local degrees = require 'utils.math'.degrees
|
|
|
|
|
|
|
|
RS.set_map_gen_settings(
|
|
|
|
{
|
|
|
|
MGSP.ore_oil_none,
|
|
|
|
MGSP.cliff_none
|
|
|
|
}
|
|
|
|
)
|
2018-10-06 14:46:18 +02:00
|
|
|
|
|
|
|
local start_pound = b.circle(6)
|
|
|
|
start_pound = b.translate(start_pound, 0, -16)
|
|
|
|
start_pound = b.change_tile(start_pound, true, 'water')
|
|
|
|
|
|
|
|
beach = b.translate(beach, 0, -64)
|
|
|
|
|
|
|
|
local map = b.any {start_pound, beach, b.translate(b.flip_y(beach), -51200, 0)}
|
|
|
|
|
|
|
|
map = b.rotate(map, degrees(45))
|
|
|
|
|
|
|
|
return map
|