mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-03 13:12:11 +02:00
72b5391ce8
Changes: - Car and nuclear fuel related technologies are now enabled. - Cliff base now contains tank instead of car after 25 islands.
37 lines
947 B
Lua
37 lines
947 B
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,
|
|
}
|
|
|
|
function Public.base_ores()
|
|
return {
|
|
['copper-ore'] = 0.7,
|
|
['iron-ore'] = 5.9,
|
|
['coal'] = 4.4,
|
|
['stone'] = 1.0,
|
|
['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 |