This commit is contained in:
2024-11-27 23:17:30 +09:00
parent c49f0c1083
commit 92f76cadfe
7 changed files with 111 additions and 39 deletions

View File

@@ -1,3 +1,11 @@
---------------------------------------------------------------------------------------------------
Version: 3.0.40
Date: 2024-11-28
Changes:
- [CL] Changed some locale and settings values.
- [SA] Changed the map generation for single planet run.
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 3.0.39 Version: 3.0.39
Date: 2024-11-26 Date: 2024-11-26

View File

@@ -603,9 +603,110 @@ if settings.startup['PHI-SA'].value then
data.raw.planet['nauvis'].map_gen_settings.autoplace_controls['gleba_enemy_base'] = {} data.raw.planet['nauvis'].map_gen_settings.autoplace_controls['gleba_enemy_base'] = {}
data.raw.planet['nauvis'].map_gen_settings.autoplace_controls['gleba_plants'] = {} data.raw.planet['nauvis'].map_gen_settings.autoplace_controls['gleba_plants'] = {}
data.raw.planet['nauvis'].map_gen_settings.autoplace_controls['vulcanus_volcanism'] = {}
data.raw.planet['nauvis'].map_gen_settings.autoplace_controls['oil_ocean'] = {}
data.raw.planet['nauvis'].map_gen_settings.autoplace_controls['ammoniacal_ocean'] = {}
data.raw.planet['nauvis'].map_gen_settings.autoplace_settings.tile.settings['lava'] = {}
data.raw.planet['nauvis'].map_gen_settings.autoplace_settings.tile.settings['lava-hot'] = {}
data.raw.planet['nauvis'].map_gen_settings.autoplace_settings.tile.settings['oil-ocean-shallow'] = {}
data.raw.planet['nauvis'].map_gen_settings.autoplace_settings.tile.settings['oil-ocean-deep'] = {}
data.raw.planet['nauvis'].map_gen_settings.autoplace_settings.tile.settings['ammoniacal-ocean'] = {}
data.raw.planet['nauvis'].map_gen_settings.autoplace_settings.tile.settings['ammoniacal-ocean-2'] = {}
data.raw.planet['nauvis'].map_gen_settings.property_expression_names['entity:tungsten-ore:probability'] = 'vulcanus_tungsten_ore_probability'
data.raw.planet['nauvis'].map_gen_settings.property_expression_names['entity:tungsten-ore:richness'] = 'vulcanus_tungsten_ore_richness'
data.raw.planet['nauvis'].map_gen_settings.property_expression_names['entity:calcite:probability'] = 'vulcanus_calcite_probability'
data.raw.planet['nauvis'].map_gen_settings.property_expression_names['entity:calcite:richness'] = 'vulcanus_calcite_richness'
data.raw.planet['nauvis'].map_gen_settings.property_expression_names['entity:sulfuric-acid-geyser:probability'] = 'vulcanus_sulfuric_acid_geyser_probability'
data.raw.planet['nauvis'].map_gen_settings.property_expression_names['entity:sulfuric-acid-geyser:richness'] = 'vulcanus_sulfuric_acid_geyser_richness'
data:extend({{
type = 'autoplace-control',
category = 'resource',
name = 'oil_ocean',
richness = false
}})
data:extend({{
type = 'autoplace-control',
category = 'resource',
name = 'ammoniacal_ocean',
richness = false
}})
local resource_autoplace = require('resource-autoplace') local resource_autoplace = require('resource-autoplace')
data.raw.tile['oil-ocean-shallow'].autoplace = resource_autoplace.resource_autoplace_settings{
name = 'oil-ocean-shallow',
order = 'a',
random_probability = 1,
base_density = 7,
base_spots_per_km2 = 0.02,
random_spot_size_minimum = 0.02,
random_spot_size_maximum = 0.03,
has_starting_area_placement = false,
autoplace_control_name = 'oil_ocean'
}
data.raw.tile['oil-ocean-deep'].autoplace = resource_autoplace.resource_autoplace_settings{
name = 'oil-ocean-deep',
order = 'a',
random_probability = 1,
base_density = 7,
base_spots_per_km2 = 0.02,
random_spot_size_minimum = 0.02,
random_spot_size_maximum = 0.03,
has_starting_area_placement = false,
autoplace_control_name = 'oil_ocean'
}
data.raw.tile['lava'].autoplace = resource_autoplace.resource_autoplace_settings{
name = 'lava',
order = 'a',
base_density = 7,
base_spots_per_km2 = 0.04,
random_spot_size_minimum = 0.02,
random_spot_size_maximum = 0.03,
has_starting_area_placement = false,
autoplace_control_name = 'vulcanus_volcanism'
}
data.raw.tile['lava-hot'].autoplace = resource_autoplace.resource_autoplace_settings{
name = 'lava-hot',
order = 'a',
base_density = 7,
base_spots_per_km2 = 0.01,
random_spot_size_minimum = 0.2,
random_spot_size_maximum = 0.6,
has_starting_area_placement = false,
autoplace_control_name = 'vulcanus_volcanism'
}
data.raw.tile['ammoniacal-ocean'].autoplace = resource_autoplace.resource_autoplace_settings{
name = 'ammoniacal-ocean',
order = 'a',
random_probability = 1,
base_density = 8.2,
base_spots_per_km2 = 0.15,
random_spot_size_minimum = 0.3,
random_spot_size_maximum = 1,
has_starting_area_placement = false,
autoplace_control_name = 'ammoniacal_ocean'
}
data.raw.tile['ammoniacal-ocean-2'].autoplace = resource_autoplace.resource_autoplace_settings{
name = 'ammoniacal-ocean-2',
order = 'a',
random_probability = 1,
base_density = 8.3,
base_spots_per_km2 = 0.15,
random_spot_size_minimum = 0.3,
random_spot_size_maximum = 1,
has_starting_area_placement = false,
autoplace_control_name = 'ammoniacal_ocean'
}
data.raw.resource['calcite'].autoplace = resource_autoplace.resource_autoplace_settings{ data.raw.resource['calcite'].autoplace = resource_autoplace.resource_autoplace_settings{
name = 'calcite', name = 'calcite',
order = 'c', order = 'c',
@@ -617,28 +718,7 @@ if settings.startup['PHI-SA'].value then
regular_rq_factor_multiplier = 1 regular_rq_factor_multiplier = 1
} }
data.raw.resource['tungsten-ore'].autoplace = {
order = 'c',
has_starting_area_placement = false,
probability_expression = 'vulcanus_tungsten_ore_probability',
richness_expression = 'vulcanus_tungsten_ore_richness'
}
--[[ --[[
for _, v in pairs({'ammoniacal-ocean', 'ammoniacal-ocean-2', 'oil-ocean-shallow', 'oil-ocean-deep', 'lava', 'lava-hot'}) do
data.raw.planet['nauvis'].map_gen_settings.autoplace_settings.tile.settings[v] = {}
data.raw.tile[v].autoplace = resource_autoplace.resource_autoplace_settings{
name = v,
order = 'a',
base_density = 8.3,
base_spots_per_km2 = 0.15,
random_probability = 1,
random_spot_size_minimum = 0.3,
random_spot_size_maximum = 1,
has_starting_area_placement = false,
}
end
data.raw.planet['nauvis'].map_gen_settings.territory_settings = { data.raw.planet['nauvis'].map_gen_settings.territory_settings = {
units = {'small-demolisher', 'medium-demolisher', 'big-demolisher'}, units = {'small-demolisher', 'medium-demolisher', 'big-demolisher'},
territory_index_expression = 'demolisher_territory_expression', territory_index_expression = 'demolisher_territory_expression',

View File

@@ -1,8 +1,8 @@
{ {
"name": "PHI-CL", "name": "PHI-CL",
"version": "3.0.39", "version": "3.0.40",
"factorio_version": "2.0", "factorio_version": "2.0",
"date": "2024-11-27", "date": "2024-11-28",
"title": "Phidias Collection", "title": "Phidias Collection",
"author": "PHIDIAS0303", "author": "PHIDIAS0303",
"contributers": "", "contributers": "",

View File

@@ -154,10 +154,6 @@ PHI-EQ-UTILITY-TIER=Default 2
PHI-EQ-SIZE=1x1 PHI-EQ-SIZE=1x1
PHI-MI-LANDFILL=Default 20 PHI-MI-LANDFILL=Default 20
PHI-MI-REPAIR=Default 1
PHI-MI-PIPE=Default 1
PHI-MI-ROBOT=Default 1
PHI-MI-TRAIN=Default 1
PHI-SA-ROCKET-CAPACITY='000 KG PHI-SA-ROCKET-CAPACITY='000 KG
PHI-SA-CARGO-WEIGHT=KG PHI-SA-CARGO-WEIGHT=KG

View File

@@ -153,10 +153,6 @@ PHI-EQ-UTILITY-TIER=デフォルト 2
PHI-EQ-SIZE=1x1 PHI-EQ-SIZE=1x1
PHI-MI-LANDFILL=デフォルト 20 PHI-MI-LANDFILL=デフォルト 20
PHI-MI-REPAIR=デフォルト 1
PHI-MI-PIPE=デフォルト 1
PHI-MI-ROBOT=デフォルト 1
PHI-MI-TRAIN=デフォルト 1
PHI-SA-ROCKET-CAPACITY='000 KG PHI-SA-ROCKET-CAPACITY='000 KG
PHI-SA-CARGO-WEIGHT=KG PHI-SA-CARGO-WEIGHT=KG

View File

@@ -153,10 +153,6 @@ PHI-EQ-UTILITY-TIER=預設 2
PHI-EQ-SIZE=1x1 PHI-EQ-SIZE=1x1
PHI-MI-LANDFILL=預設 20 PHI-MI-LANDFILL=預設 20
PHI-MI-REPAIR=預設 1
PHI-MI-PIPE=預設 1
PHI-MI-ROBOT=預設 1
PHI-MI-TRAIN=預設 1
PHI-SA-ROCKET-CAPACITY='000 KG PHI-SA-ROCKET-CAPACITY='000 KG
PHI-SA-CARGO-WEIGHT=KG PHI-SA-CARGO-WEIGHT=KG

View File

@@ -153,10 +153,6 @@ PHI-EQ-UTILITY-TIER=預設 2
PHI-EQ-SIZE=1x1 PHI-EQ-SIZE=1x1
PHI-MI-LANDFILL=預設 20 PHI-MI-LANDFILL=預設 20
PHI-MI-REPAIR=預設 1
PHI-MI-PIPE=預設 1
PHI-MI-ROBOT=預設 1
PHI-MI-TRAIN=預設 1
PHI-SA-ROCKET-CAPACITY='000 KG PHI-SA-ROCKET-CAPACITY='000 KG
PHI-SA-CARGO-WEIGHT=KG PHI-SA-CARGO-WEIGHT=KG