This commit is contained in:
2024-12-03 20:33:26 +09:00
parent 17f3cc8f14
commit dd28b7a098
3 changed files with 65 additions and 24 deletions

View File

@@ -1,3 +1,11 @@
---------------------------------------------------------------------------------------------------
Version: 3.0.46
Date: 2024-12-04
Changes:
- [MI] Changed better train logic.
- [SA] Changed the logic of map generation.
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 3.0.45 Version: 3.0.45
Date: 2024-12-03 Date: 2024-12-03

View File

@@ -299,9 +299,17 @@ if settings.startup['PHI-MI'].value then
for _, t in pairs({data.raw['locomotive'], data.raw['cargo-wagon'], data.raw['fluid-wagon'], data.raw['artillery-wagon']}) do for _, t in pairs({data.raw['locomotive'], data.raw['cargo-wagon'], data.raw['fluid-wagon'], data.raw['artillery-wagon']}) do
for _, v in pairs(t) do for _, v in pairs(t) do
v.max_health = v.max_health * s if v.max_health then
v.max_speed = v.max_speed * s v.max_health = v.max_health * s
v.braking_force = v.braking_force * s end
if v.max_speed then
v.max_speed = v.max_speed * s
end
if v.braking_force then
v.braking_force = v.braking_force * s
end
if v.max_power then if v.max_power then
v.max_power = tostring(tonumber(string.match(v.max_power, '[%d%.]+')) * s) .. string.match(v.max_power, '%a+') v.max_power = tostring(tonumber(string.match(v.max_power, '[%d%.]+')) * s) .. string.match(v.max_power, '%a+')
@@ -602,29 +610,56 @@ if settings.startup['PHI-SA'].value then
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: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.raw.planet['nauvis'].map_gen_settings.property_expression_names['entity:sulfuric-acid-geyser:richness'] = 'vulcanus_sulfuric_acid_geyser_richness'
data.raw['unit-spawner']['gleba-spawner'].autoplace = data.raw['unit-spawner']['biter-spawner'].autoplace
data.raw['unit-spawner']['gleba-spawner-small'].autoplace = data.raw['unit-spawner']['spitter-spawner'].autoplace
local resource_autoplace = require('resource-autoplace') local resource_autoplace = require('resource-autoplace')
data.raw.resource['fluorine-vent'].autoplace = { data.raw.resource['fluorine-vent'].autoplace = resource_autoplace.resource_autoplace_settings{
order = 'a[resources]-a[fluorine]', name = 'fluorine-vent',
probability_expression = 'aquilo_flourine_vent_probability', order = 'b',
richness_expression = 'aquilo_flourine_vent_richness' control = 'fluorine_vent',
base_density = 8.2,
base_spots_per_km2 = 1.8,
random_probability = 1/48,
random_spot_size_minimum = 1,
random_spot_size_maximum = 1,
additional_richness = 220000,
has_starting_area_placement = false,
regular_rq_factor_multiplier = 1
} }
data.raw.resource['lithium-brine'].autoplace = { data.raw.resource['lithium-brine'].autoplace = resource_autoplace.resource_autoplace_settings{
order = 'a[resources]-b[lithium]', name = 'lithium-brine',
probability_expression = 'aquilo_lithium_brine_probability', order = 'a-b-a',
richness_expression = 'aquilo_lithium_brine_richness' control = 'lithium_brine',
base_density = 8.2,
base_spots_per_km2 = 1.8,
random_probability = 1/48,
random_spot_size_minimum = 1,
random_spot_size_maximum = 1,
additional_richness = 220000,
has_starting_area_placement = false,
regular_rq_factor_multiplier = 1
} }
data.raw.resource['sulfuric-acid-geyser'].autoplace = { data.raw.resource['sulfuric-acid-geyser'].autoplace = resource_autoplace.resource_autoplace_settings{
order = 'a[resources]-c[sulfuric]', name = 'sulfuric-acid-geyser',
probability_expression = 'vulcanus_sulfuric_acid_geyser_probability', order = 'a-b-b',
richness_expression = 'vulcanus_sulfuric_acid_geyser_richness' control = 'sulfuric_acid_geyser',
base_density = 8.2,
base_spots_per_km2 = 1.8,
random_probability = 1/48,
random_spot_size_minimum = 1,
random_spot_size_maximum = 1,
additional_richness = 220000,
has_starting_area_placement = false,
regular_rq_factor_multiplier = 1
} }
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 = 'b',
base_density = 0.9, base_density = 0.9,
base_spots_per_km2 = 1.25, base_spots_per_km2 = 1.25,
has_starting_area_placement = false, has_starting_area_placement = false,
@@ -635,7 +670,7 @@ if settings.startup['PHI-SA'].value then
data.raw.resource['tungsten-ore'].autoplace = resource_autoplace.resource_autoplace_settings{ data.raw.resource['tungsten-ore'].autoplace = resource_autoplace.resource_autoplace_settings{
name = 'tungsten-ore', name = 'tungsten-ore',
order = 'c', order = 'b',
base_density = 0.9, base_density = 0.9,
base_spots_per_km2 = 1.25, base_spots_per_km2 = 1.25,
has_starting_area_placement = false, has_starting_area_placement = false,
@@ -655,11 +690,6 @@ if settings.startup['PHI-SA'].value then
regular_rq_factor_multiplier = 1 regular_rq_factor_multiplier = 1
} }
--[[
data.raw['noise-expression']['demolisher_starting_area']['demolisher_starting_area'] = '0 < starting_spot_at_angle{angle = vulcanus_mountains_angle - 5 * vulcanus_starting_direction, distance = 256 * vulcanus_starting_area_radius + 32, radius = 24 * 32, x_distortion = 0, y_distortion = 0}'
data.raw.planet['nauvis'].map_gen_settings.territory_settings = data.raw.planet['vulcanus'].map_gen_settings.territory_settings
]]
for _, v in pairs({'platform_science', 'platform_moving', 'platform_messy_nuclear', 'vulcanus_lava_forge', 'vulcanus_crossing', 'vulcanus_punishmnent', 'vulcanus_sulfur_drop', 'gleba_agri_towers', 'gleba_pentapod_ponds', 'gleba_egg_escape', 'gleba_farm_attack', 'gleba_grotto', 'fulgora_city_crossing', 'fulgora_recycling_hell', 'fulgora_nightfall', 'fulgora_race', 'aquilo_send_help', 'aquilo_starter'}) do for _, v in pairs({'platform_science', 'platform_moving', 'platform_messy_nuclear', 'vulcanus_lava_forge', 'vulcanus_crossing', 'vulcanus_punishmnent', 'vulcanus_sulfur_drop', 'gleba_agri_towers', 'gleba_pentapod_ponds', 'gleba_egg_escape', 'gleba_farm_attack', 'gleba_grotto', 'fulgora_city_crossing', 'fulgora_recycling_hell', 'fulgora_nightfall', 'fulgora_race', 'aquilo_send_help', 'aquilo_starter'}) do
data.raw['utility-constants']['default'].main_menu_simulations[v] = nil data.raw['utility-constants']['default'].main_menu_simulations[v] = nil
end end
@@ -806,6 +836,9 @@ if settings.startup['PHI-SA'].value then
data.raw.resource['lithium-brine'].normal = 300000 data.raw.resource['lithium-brine'].normal = 300000
data.raw.resource['lithium-brine'].infinite_depletion_amount = 10 data.raw.resource['lithium-brine'].infinite_depletion_amount = 10
data.raw.resource['fluorine-vent'].minimum = 60000
data.raw.resource['fluorine-vent'].normal = 300000
data.raw.technology['cliff-explosives'].prerequisites = {'explosives', 'military-2'} data.raw.technology['cliff-explosives'].prerequisites = {'explosives', 'military-2'}
data.raw.technology['cliff-explosives'].unit.count = 200 data.raw.technology['cliff-explosives'].unit.count = 200
data.raw.technology['cliff-explosives'].unit.ingredients = { data.raw.technology['cliff-explosives'].unit.ingredients = {

View File

@@ -1,8 +1,8 @@
{ {
"name": "PHI-CL", "name": "PHI-CL",
"version": "3.0.45", "version": "3.0.46",
"factorio_version": "2.0", "factorio_version": "2.0",
"date": "2024-12-03", "date": "2024-12-04",
"title": "Phidias Collection", "title": "Phidias Collection",
"author": "PHIDIAS0303", "author": "PHIDIAS0303",
"contributers": "", "contributers": "",