mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-25 21:29:06 +02:00
less decorative spam in memory
This commit is contained in:
parent
56dbf762ea
commit
0b75a8c8a2
@ -7,7 +7,7 @@ Public.display_names = { { 'pirates.location_displayname_cave_1' } }
|
||||
Public.terraingen_frame_width = 640
|
||||
Public.terraingen_frame_height = 640
|
||||
Public.static_params_default = {
|
||||
decorative_settings = prototypes.space_location.nauvis.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
decorative_preset = 'nauvis',
|
||||
base_starting_treasure = 1000,
|
||||
base_starting_rock_material = 800,
|
||||
base_starting_wood = 1200,
|
||||
|
@ -12,7 +12,7 @@ Public.terraingen_frame_width = 325
|
||||
Public.terraingen_frame_height = 325
|
||||
Public.static_params_default = {
|
||||
starting_time_of_day = 0,
|
||||
decorative_settings = prototypes.space_location.nauvis.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
decorative_preset = 'nauvis',
|
||||
daynightcycletype = 1,
|
||||
boat_extra_distance_from_shore = 0,
|
||||
-- boat_extra_distance_from_shore = 0.1 * Common.boat_default_starting_distance_from_shore,
|
||||
|
@ -17,7 +17,7 @@ Public.terraingen_frame_height = 896
|
||||
Public.static_params_default = {
|
||||
starting_time_of_day = 0,
|
||||
daynightcycletype = 1,
|
||||
decorative_settings = prototypes.space_location.nauvis.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
decorative_preset = 'nauvis',
|
||||
base_starting_treasure = 1000,
|
||||
base_starting_rock_material = 800,
|
||||
base_starting_wood = 1200,
|
||||
|
@ -13,7 +13,7 @@ Public.terraingen_frame_height = 896
|
||||
Public.static_params_default = {
|
||||
starting_time_of_day = 0,
|
||||
daynightcycletype = 1,
|
||||
decorative_settings = prototypes.space_location.nauvis.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
decorative_preset = 'nauvis',
|
||||
base_starting_treasure = 1000,
|
||||
base_starting_rock_material = 800,
|
||||
base_starting_wood = 1200,
|
||||
|
@ -19,8 +19,8 @@ Public.static_params_default = {
|
||||
base_starting_rock_material = 1200,
|
||||
base_starting_wood = 800,
|
||||
base_starting_treasure_maps = 1,
|
||||
decorative_settings = prototypes.space_location.nauvis.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
-- decorative_settings = prototypes.space_location.fulgora.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
decorative_preset = 'nauvis',
|
||||
-- decorative_preset = 'fulgora',
|
||||
}
|
||||
|
||||
function Public.base_ores() --here, just for the gui:
|
||||
|
@ -16,7 +16,7 @@ Public.terraingen_frame_height = 700
|
||||
Public.static_params_default = {
|
||||
starting_time_of_day = 0,
|
||||
daynightcycletype = 1,
|
||||
decorative_settings = prototypes.space_location.nauvis.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
decorative_preset = 'nauvis',
|
||||
base_starting_treasure = 0,
|
||||
base_starting_rock_material = 8600,
|
||||
base_starting_wood = 600,
|
||||
|
@ -11,7 +11,7 @@ Public.display_names = { { 'pirates.location_displayname_standard_1' } }
|
||||
Public.terraingen_frame_width = 896
|
||||
Public.terraingen_frame_height = 896
|
||||
Public.static_params_default = {
|
||||
decorative_settings = prototypes.space_location.nauvis.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
decorative_preset = 'nauvis',
|
||||
base_starting_treasure = 1000,
|
||||
base_starting_rock_material = 800,
|
||||
base_starting_wood = 1200,
|
||||
|
@ -11,7 +11,7 @@ Public.display_names = { { 'pirates.location_displayname_standard_variant_1' } }
|
||||
Public.terraingen_frame_width = 896
|
||||
Public.terraingen_frame_height = 896
|
||||
Public.static_params_default = {
|
||||
decorative_settings = prototypes.space_location.nauvis.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
decorative_preset = 'nauvis',
|
||||
base_starting_treasure = 1000,
|
||||
base_starting_rock_material = 800,
|
||||
base_starting_wood = 1200,
|
||||
|
@ -14,7 +14,7 @@ Public.static_params_default = {
|
||||
starting_time_of_day = 0.26,
|
||||
daynightcycletype = 1,
|
||||
brightness_visual_weights = { 0, 0, 0 },
|
||||
decorative_settings = prototypes.space_location.nauvis.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
decorative_preset = 'nauvis',
|
||||
base_starting_treasure = 1000,
|
||||
base_starting_rock_material = 800,
|
||||
base_starting_wood = 1200,
|
||||
|
@ -15,8 +15,8 @@ Public.static_params_default = {
|
||||
daynightcycletype = 4,
|
||||
min_brightness = 0.05,
|
||||
brightness_visual_weights = { 1, 1, 1 }, --almost pitch black
|
||||
decorative_settings = prototypes.space_location.nauvis.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
-- decorative_settings = prototypes.space_location.vulcanus.map_gen_settings.autoplace_settings.decorative.settings,
|
||||
decorative_preset = 'nauvis',
|
||||
-- decorative_preset = 'vulcanus',
|
||||
base_starting_rock_material = 800,
|
||||
}
|
||||
|
||||
|
@ -765,8 +765,10 @@ function Public.create_surface(destination)
|
||||
|
||||
--todo: put into static_params
|
||||
|
||||
if destination.static_params.decorative_settings ~= nil then
|
||||
mgs.autoplace_settings.decorative = { settings = destination.static_params.decorative_settings }
|
||||
if destination.static_params.decorative_preset ~= nil then
|
||||
mgs.autoplace_settings.decorative = {
|
||||
settings = prototypes.space_location[destination.static_params.decorative_preset].map_gen_settings.autoplace_settings.decorative.settings,
|
||||
}
|
||||
end
|
||||
|
||||
-- TODO: Remove this code if Wube fixes this 'bug'
|
||||
|
Loading…
x
Reference in New Issue
Block a user