1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-26 03:52:22 +02:00
Piratux 2f4baa8d87 Reduced coal amount across islands
Changes:
- Reduced coal amount across islands.
2023-02-19 15:50:03 +02:00

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,
['iron-ore'] = 7,
['coal'] = 5,
['stone'] = 3,
['uranium-ore'] = 0.5,
}
end
function Public.spawn_fish(args)
if math.random(1, 16) == 1 then
args.entities[#args.entities + 1] = {name = 'fish', position = args.p}
end
end
return Public