1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-03 13:12:11 +02:00

73 lines
1.5 KiB
Lua
Raw Normal View History

-- This file is part of thesixthroc's Pirate Ship softmod, licensed under GPLv3 and stored at https://github.com/danielmartin0/ComfyFactorio-Pirates.
2021-10-13 09:21:53 +01:00
2022-03-19 21:20:55 +00:00
-- local Common = require 'maps.pirates.common'
-- local Utils = require 'maps.pirates.utils_local'
-- local Math = require 'maps.pirates.math'
2021-10-13 09:21:53 +01:00
local Public = {}
Public.display_names = {{'pirates.location_displayname_first_1'}}
2021-10-13 09:21:53 +01:00
Public.terraingen_frame_width = 325
Public.terraingen_frame_height = 325
Public.static_params_default = {
starting_time_of_day = 0,
daynightcycletype = 1,
boat_extra_distance_from_shore = 0,
-- boat_extra_distance_from_shore = 0.1 * Common.boat_default_starting_distance_from_shore,
default_decoratives = true,
base_starting_treasure = 2000,
base_starting_rock_material = 800,
base_starting_wood = 2400,
}
2022-03-11 10:40:55 +00:00
function Public.base_ores()
2021-10-13 09:21:53 +01:00
return {
2022-03-05 23:42:47 +00:00
['copper-ore'] = 1.9,
['iron-ore'] = 4.2,
2022-03-01 15:57:23 +00:00
['coal'] = 3.1,
2021-10-13 09:21:53 +01:00
['stone'] = 0.4,
}
end
local rscale = 125
Public.noiseparams = {
radius = {
type = 'simplex_2d',
normalised = false,
params = {
{wavelength = 0, amplitude = rscale * 1},
-- {wavelength = 2.5, amplitude = rscale * 0.1},
},
},
height_background = {
type = 'island1',
normalised = false,
params = {
-- {upperscale = 1000, amplitude = hscale * 200},
{upperscale = 600, amplitude = 0.15},
},
},
forest = {
type = 'forest1',
normalised = true,
params = {
{upperscale = 70, amplitude = 1},
},
},
rock = {
type = 'forest1',
normalised = true,
params = {
{upperscale = 120, amplitude = 1, seedfactor = 2},
},
},
}
return Public