From f5172b96d794ca2485f9922cbb620f6532d3bbe1 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 30 Nov 2024 01:40:21 +0900 Subject: [PATCH] . --- PHI-CL/changelog.txt | 2 +- PHI-CL/data.lua | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/PHI-CL/changelog.txt b/PHI-CL/changelog.txt index 85ef1b0..491ffb0 100644 --- a/PHI-CL/changelog.txt +++ b/PHI-CL/changelog.txt @@ -3,7 +3,7 @@ Version: 3.0.42 Date: 2024-11-30 Features: - - [SA] Introduced nauvis platform with safe asteroid from shatter planet. + - [SA] Introduced nauvis platform with safe asteroid. Changes: - [MI] Changed better train setting logic. diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index fef5eb8..4d83354 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -536,15 +536,15 @@ if settings.startup['PHI-SA'].value then local pb = { has_promethium_asteroids = true, probability_on_range_chunk = { - {position=0.001, probability=asteroid_util.system_edge_huge * 5, angle_when_stopped=asteroid_util.chunk_angle}, + {position=0.001, probability=asteroid_util.system_edge_huge * 8, angle_when_stopped=asteroid_util.chunk_angle}, {position=0.999, probability=asteroid_util.system_edge_huge, angle_when_stopped=asteroid_util.chunk_angle} }, probability_on_range_small = { - {position=0.001, probability=asteroid_util.system_edge_huge * 4, angle_when_stopped=asteroid_util.small_angle}, + {position=0.001, probability=asteroid_util.system_edge_huge * 6, angle_when_stopped=asteroid_util.small_angle}, {position=0.999, probability=asteroid_util.system_edge_huge * 2, angle_when_stopped=asteroid_util.small_angle} }, probability_on_range_medium = { - {position=0.001, probability=asteroid_util.system_edge_huge * 3, angle_when_stopped=asteroid_util.medium_angle}, + {position=0.001, probability=asteroid_util.system_edge_huge * 4, angle_when_stopped=asteroid_util.medium_angle}, {position=0.999, probability=asteroid_util.system_edge_huge * 3, angle_when_stopped=asteroid_util.medium_angle} }, probability_on_range_big = { @@ -562,8 +562,7 @@ if settings.startup['PHI-SA'].value then } data.raw.planet['nauvis'].asteroid_spawn_definitions = asteroid_util.spawn_definitions(pb, 0.001) - - table.insert(data.raw['space-platform-starter-pack']['space-platform-starter-pack'].initial_items, {type='item',name='railgun-turret', amount=6}) + data.raw.tile['space-platform-foundation'].max_health = data.raw.tile['space-platform-foundation'].max_health * 2 data.raw.technology['tungsten-carbide'].unit = {count = 400, time = 30, ingredients={{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'space-science-pack', 1}}} data.raw.technology['tungsten-carbide'].research_trigger = nil @@ -578,8 +577,12 @@ if settings.startup['PHI-SA'].value then data.raw.technology['lithium-processing'].unit = {count = 400, time = 30, ingredients={{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'space-science-pack', 1}}} data.raw.technology['lithium-processing'].research_trigger = nil data.raw.technology['promethium-science-pack'].effects = {{type='unlock-recipe', recipe='promethium-science-pack'}} + + --[[ data.raw.technology['railgun'].prerequisites = {'military-3', 'utility-science-pack'} data.raw.technology['railgun'].unit = {count = 1000, time = 60, ingredients={{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}} + table.insert(data.raw['space-platform-starter-pack']['space-platform-starter-pack'].initial_items, {type='item',name='railgun-turret', amount=6}) + ]] for k, v in pairs(items['space-age']['technology_1']) do if data.raw.technology[k] then