mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-26 03:52:22 +02:00
1223350cca
Changes: - Quest structure rewards now scale with leagues. - Coin amount from trees now scales with leagues. - Coin amount from rocks now scales with leagues. - Slightly nerfed item amount and rarity from chest loot in harder difficulties. - Slightly nerfed amount of ore lumberjacks acquire from trees. - Coin amount from rocks in Mysterious Caves island now scales with leagues. - Increased amount of resources you can mine from rocks in Mysterious Caves by ~20%. - Reduced amount of fish in Mysterious Caves island by 50%.
39 lines
1.0 KiB
Lua
39 lines
1.0 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 Public = {}
|
|
|
|
Public.display_names = {{'pirates.location_displayname_cave_1'}}
|
|
|
|
Public.terraingen_frame_width = 640
|
|
Public.terraingen_frame_height = 640
|
|
Public.static_params_default = {
|
|
default_decoratives = true,
|
|
base_starting_treasure = 1000,
|
|
base_starting_rock_material = 800,
|
|
base_starting_wood = 1200,
|
|
base_starting_treasure_maps = 0,
|
|
starting_time_of_day = 0.43,
|
|
daynightcycletype = 1,
|
|
brightness_visual_weights = {0.92, 0.92, 0.92},
|
|
min_brightness = 0.08,
|
|
}
|
|
|
|
|
|
-- Here we set values somewhat higher, because getting all resources requires work and bit of luck (island needs enough rock)
|
|
function Public.base_ores()
|
|
return {
|
|
['copper-ore'] = 3.3,
|
|
['iron-ore'] = 7.7,
|
|
['coal'] = 5.5,
|
|
['stone'] = 3.3,
|
|
['uranium-ore'] = 0.6,
|
|
}
|
|
end
|
|
|
|
function Public.spawn_fish(args)
|
|
if math.random(1, 32) == 1 then
|
|
args.entities[#args.entities + 1] = {name = 'fish', position = args.p}
|
|
end
|
|
end
|
|
|
|
return Public |