mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-03 13:12:11 +02:00
87 lines
1.8 KiB
Lua
87 lines
1.8 KiB
Lua
-- This file is part of thesixthroc's Pirate Ship softmod, licensed under GPLv3 and stored at https://github.com/danielmartin0/ComfyFactorio-Pirates.
|
|
|
|
|
|
-- local Common = require 'maps.pirates.common'
|
|
-- local Utils = require 'maps.pirates.utils_local'
|
|
-- local Math = require 'maps.pirates.math'
|
|
|
|
local Public = {}
|
|
|
|
Public.display_names = {{'pirates.location_displayname_standard_variant_1'}}
|
|
|
|
Public.terraingen_frame_width = 896
|
|
Public.terraingen_frame_height = 896
|
|
Public.static_params_default = {
|
|
default_decoratives = true,
|
|
base_starting_treasure = 1000,
|
|
base_starting_rock_material = 800,
|
|
base_starting_wood = 1200,
|
|
base_starting_treasure_maps = 1,
|
|
starting_time_of_day = 0,
|
|
daynightcycletype = 3,
|
|
brightness_visual_weights = {0.12, 0.12, 0.12}, --light night, but still workable without lights
|
|
min_brightness = 0.2,
|
|
}
|
|
|
|
function Public.base_ores()
|
|
return {
|
|
['copper-ore'] = 4.4,
|
|
['iron-ore'] = 4.9,
|
|
['coal'] = 4,
|
|
['stone'] = 1.2,
|
|
}
|
|
end
|
|
|
|
local rscale = 220
|
|
local hscale = 0.1
|
|
Public.noiseparams = {
|
|
radius = {
|
|
type = 'simplex_2d',
|
|
normalised = false,
|
|
params = {
|
|
{wavelength = 0, amplitude = rscale * 1},
|
|
{wavelength = 1.6, amplitude = rscale * 0.25},
|
|
},
|
|
},
|
|
|
|
height_background = {
|
|
type = 'island1',
|
|
normalised = false,
|
|
params = {
|
|
-- {upperscale = 1000, amplitude = hscale * 200},
|
|
{upperscale = 1600, amplitude = hscale * 1},
|
|
{upperscale = 80, amplitude = hscale * 0.1},
|
|
},
|
|
},
|
|
|
|
forest = {
|
|
type = 'forest1',
|
|
normalised = true,
|
|
params = {
|
|
{upperscale = 75, amplitude = 1},
|
|
-- {upperscale = 0, amplitude = 0.15},
|
|
},
|
|
},
|
|
|
|
rock = {
|
|
type = 'forest1',
|
|
normalised = true,
|
|
params = {
|
|
{upperscale = 110, amplitude = 1, seedfactor = 2},
|
|
},
|
|
},
|
|
|
|
mood = {
|
|
type = 'simplex_2d',
|
|
normalised = true,
|
|
params = {
|
|
{wavelength = 250, amplitude = 70},
|
|
{wavelength = 50, amplitude = 20},
|
|
},
|
|
},
|
|
}
|
|
|
|
|
|
|
|
|
|
return Public |