1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-26 03:52:22 +02:00
danielmartin0 9859d0d9d8 v1.0.4.2
2022-03-05 23:42:47 +00:00

89 lines
1.6 KiB
Lua

local Common = require 'maps.pirates.common'
local Utils = require 'maps.pirates.utils_local'
local Math = require 'maps.pirates.math'
local Public = {}
Public.display_names = {'Poisonous Fen'}
Public.terraingen_frame_width = 325
Public.terraingen_frame_height = 325
Public.static_params_default = {
starting_time_of_day = 0.4,
daynightcycletype = 1,
brightness_visual_weights = {0.1, 0.1, 0.1},
default_decoratives = true,
base_starting_treasure = 1000,
base_starting_rock_material = 800,
base_starting_wood = 1200,
base_starting_treasure_maps = 0,
}
function Public.base_ores()
return {
['copper-ore'] = 1.4,
['iron-ore'] = 2.6,
['coal'] = 6.8,
['stone'] = 0.5,
['crude-oil'] = 50,
}
end
local rscale = 170
Public.noiseparams = {
radius = {
type = 'simplex_2d',
normalised = false,
params = {
{wavelength = 0, amplitude = rscale * 1},
{wavelength = 2, amplitude = rscale * 0.2},
},
},
height_background = {
type = 'island1',
normalised = false,
params = {
-- {upperscale = 1000, amplitude = hscale * 200},
{upperscale = 600, amplitude = 0.1},
},
},
forest = {
type = 'forest1',
normalised = true,
params = {
{upperscale = 70, amplitude = 1},
},
},
rock = {
type = 'forest1',
normalised = true,
params = {
{upperscale = 120, amplitude = 1, seedfactor = 2},
},
},
mood = {
type = 'simplex_2d',
normalised = true,
params = {
{wavelength = 250, amplitude = 70},
{wavelength = 50, amplitude = 20},
},
},
terrain = {
type = 'island1',
normalised = true,
params = {
{upperscale = 40, amplitude = 1, seedfactor = 2},
},
},
}
return Public