1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-20 03:29:47 +02:00

unkillable nests on most maps

This commit is contained in:
danielmartin0 2024-09-12 11:23:55 +01:00
parent 0d41bf4473
commit 8705819fc2
10 changed files with 22 additions and 22 deletions

View File

@ -16,7 +16,7 @@ softmod_info_tips_1=Features of the game that are hard to work out alone
softmod_info_tips_2=• The captain (or officers) can steer the boat from the crow's nest by placing 50 rail signals in one of the blue boxes.\n• The quantity on an island is independent of the order in which you break rocks.\n• Passive pollution ramps up over time on each island.\n• Items dropped on the deck are transferred to the cabin when the boat moves for performance reasons.\n• When waiting for the captain's order to set sail, the free power supply is disabled.\n• Productivity modules can't be used in machines.\n• Resources granted to the ship appear in the captain's cabin.\n• Useful commands: /classinfo {classname} command, /plank {player}, /officer {player}, /undock, /ccolor, /clear_north_tanks, /clear_south_tanks, /tax
softmod_info_updates_1=v1.6.0
softmod_info_updates_2=• 7 simultaneous crews supported. Surface loading is paused if other crews are loading or fighting krakens.\n• New runs begin on the top lane so that beginners are more likely to encounter docks.\n• Disconnecting players once again have their items temporarily saved (though returned to the crew if they don't reconnect quickly.)\n• Island surfaces are now always deleted after the boat leaves, fixing issues with marooned players.\n• New class added. Melee classes can no longer hold weapons.\n• Spectators can now change surfaces.\n• Crew proposal endorsements system removed.\n• Balance tweaks: difficulty of Nightmare increased; biter nighttime damage bonus nerfed; mining productivity increases naturally with leagues traveled; tweaks to radioactive islands; Kovarex enrichment no longer researched at start of game; land mines drop your speed when placed; flamers nerfed further.
softmod_info_updates_2=• 7 simultaneous crews supported. Surface loading is paused if other crews are loading or fighting krakens.\n• New runs begin on the top lane so that beginners are more likely to encounter docks.\n• Disconnecting players once again have their items temporarily saved (though returned to the crew if they don't reconnect quickly.)\n• Island surfaces are now always deleted after the boat leaves, fixing issues with marooned players.\n• New class added. Melee classes can no longer hold weapons.\n• Spectators can now change surfaces.\n• Crew proposal endorsements system removed.\n• Balance tweaks: most maps now have unkillable spawners; mining productivity increases naturally with leagues traveled; biter nighttime damage bonus nerfed; tweaks to radioactive islands; Kovarex enrichment no longer researched at start of game; land mines only purchasable at docks, and drop your speed when placed; flamers nerfed further.
softmod_info_credits_1=Credits
softmod_info_credits_2=Designed/developed by thesixthroc. Updates from Piratux. Comfy codebase and help from Gerkiz, Hanakocz and Mew @ Comfy Industries (https://getcomfy.eu). Island structure blueprints contributed by Mattisso.\n\nCome chat with us: https://getcomfy.eu/discord\n\n"Those white gloves. I'll never forget them 'till the day I die." - Dr. John

View File

@ -52,7 +52,7 @@ local C = {STANDARD, STANDARD2, RED_DESERT, HORSESHOE, WALKWAYS}
local D = {NIL, NIL, NIL, STANDARD, STANDARD2, RED_DESERT, HORSESHOE, WALKWAYS, SWAMP, CAVE}
local destinationScheme = {
[0] = {FIRST, NIL, NIL},
[0] = {HORSESHOE, NIL, NIL},
[1] = {HORSESHOE, HORSESHOE, HORSESHOE}, --map where you break rocks
[2] = {STANDARD2, STANDARD2, STANDARD2}, --aesthetically different to previous map
[3] = {DOCK, NIL, NIL},

View File

@ -9,8 +9,8 @@ local Public = {}
Public.display_names = {{'pirates.location_displayname_horseshoe_1'}, {'pirates.location_displayname_horseshoe_2'}, {'pirates.location_displayname_horseshoe_3'}}
Public.terraingen_frame_width = 896
Public.terraingen_frame_height = 896
Public.terraingen_frame_width = 992
Public.terraingen_frame_height = 992
Public.static_params_default = {
starting_time_of_day = 0,
daynightcycletype = 1,
@ -30,8 +30,8 @@ function Public.base_ores()
}
end
local rscale1 = 240
local rscale2 = 210
local rscale1 = 264
local rscale2 = 230
local hscale = 0.1
Public.noiseparams = {
radius1 = {

View File

@ -117,8 +117,8 @@ function Public.chunk_structures(args)
return {
placeable = noises.farness(p) > 0.36,
spawners_indestructible = false,
-- spawners_indestructible = noises.farness(p) > 0.7,
-- spawners_indestructible = false,
spawners_indestructible = noises.farness(p) > 0.82,
density_perchunk = 9 * Math.slopefromto(noises.mood(p), 0.12, -0.18) * Math.slopefromto(noises.farness(p), 0.36, 1) * args.biter_base_density_scale,
}
end

View File

@ -106,7 +106,7 @@ function Public.mid_farness_position_1(args, points_to_avoid)
if (not Utils.contains(CoreData.tiles_that_conflict_with_resource_layer, tile.name)) and (not Utils.contains(CoreData.edgemost_tile_names, tile.name)) then
local p3 = {x = p2.x + args.static_params.terraingen_coordinates_offset.x, y = p2.y + args.static_params.terraingen_coordinates_offset.y}
if IslandsCommon.island_farness_1(args)(p3) > 0.1 and IslandsCommon.island_farness_1(args)(p3) < 0.8 then
if IslandsCommon.island_farness_1(args)(p3) > 0.1 and IslandsCommon.island_farness_1(args)(p3) < 0.7 then
local allowed = true
for _, pa in pairs(points_to_avoid) do
if Math.distance({x = pa.x, y = pa.y}, p2) < pa.r then

View File

@ -9,8 +9,8 @@ local Public = {}
Public.display_names = {{'pirates.location_displayname_standard_1'}}
Public.terraingen_frame_width = 896
Public.terraingen_frame_height = 896
Public.terraingen_frame_width = 1024
Public.terraingen_frame_height = 1024
Public.static_params_default = {
default_decoratives = true,
base_starting_treasure = 1000,
@ -32,7 +32,7 @@ function Public.base_ores()
}
end
local rscale = 250
local rscale = 280
local hscale = 0.1
Public.noiseparams = {
radius = {

View File

@ -116,9 +116,9 @@ function Public.chunk_structures(args)
return {
placeable = noises.farness(p) > 0.3,
-- spawners_indestructible = noises.farness(p) > 0.7,
spawners_indestructible = false,
density_perchunk = 30 * Math.slopefromto(noises.mood(p), 0.14, -0.1) * Math.slopefromto(noises.farness(p), 0.3, 1)^2 * args.biter_base_density_scale,
spawners_indestructible = noises.farness(p) > 0.7,
-- spawners_indestructible = false,
density_perchunk = 30 * Math.slopefromto(noises.mood(p), 0.14, -0.1) * Math.slopefromto(noises.farness(p), 0.3, 1)^(1.5) * args.biter_base_density_scale,
}
end

View File

@ -120,8 +120,8 @@ function Public.chunk_structures(args)
return {
placeable = noises.farness(p) > 0.3,
spawners_indestructible = false,
-- spawners_indestructible = noises.farness(p) > 0.7,
-- spawners_indestructible = false,
spawners_indestructible = noises.farness(p) > 0.7,
density_perchunk = 25 * Math.slopefromto(noises.mood(p), 0.16, -0.1) * Math.slopefromto(noises.farness(p), 0.3, 1)^2 * args.biter_base_density_scale,
}
end

View File

@ -9,8 +9,8 @@ local Public = {}
Public.display_names = {{'pirates.location_displayname_swamp_1'}}
Public.terraingen_frame_width = 400
Public.terraingen_frame_height = 400
Public.terraingen_frame_width = 480
Public.terraingen_frame_height = 480
Public.static_params_default = {
starting_time_of_day = 0.26,
daynightcycletype = 1,
@ -32,7 +32,7 @@ function Public.base_ores()
}
end
local rscale = 170
local rscale = 185
Public.noiseparams = {
radius = {
type = 'simplex_2d',

View File

@ -132,8 +132,8 @@ function Public.chunk_structures(args)
return {
placeable = noises.farness(p) > 0.3,
-- spawners_indestructible = noises.farness(p) > 0.75,
spawners_indestructible = false,
spawners_indestructible = noises.farness(p) > 0.75,
-- spawners_indestructible = false,
spawners_density_perchunk = 54 * Math.slopefromto(noises.mood(p), 0.7, 0.5) * Math.slopefromto(noises.farness(p), 0.35, 1.1)^(1.8) * args.biter_base_density_scale,
worms_density_perchunk = 18 * Math.slopefromto(noises.mood(p), 0.7, 0.5) * Math.slopefromto(noises.farness(p), 0.25, 1.1)^(1.8) * args.biter_base_density_scale,
}