mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
..
This commit is contained in:
@@ -4,6 +4,7 @@ Date: 2025-05-24
|
|||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
- [SA] Further changes for the space age generic settings.
|
- [SA] Further changes for the space age generic settings.
|
||||||
|
- [SA] Support for heat pipe heat radius is dropped.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 3.0.105
|
Version: 3.0.105
|
||||||
|
|||||||
@@ -516,14 +516,6 @@ if (settings.startup['PHI-SA'].value and (not settings.startup['PHI-SA-SPOIL'].v
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-SA'].value and settings.startup['PHI-SA-HEAT-RADIUS'].value and mods['space-age'] then
|
|
||||||
for _, v in pairs({data.raw['heat-pipe'], data.raw['reactor']}) do
|
|
||||||
for _, v2 in pairs(v) do
|
|
||||||
v2.heating_radius = settings.startup['PHI-SA-HEAT-RADIUS'].value
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if mods['space-age'] and ((settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value) or settings.startup['PHI-VP'].value) then
|
if mods['space-age'] and ((settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value) or settings.startup['PHI-VP'].value) then
|
||||||
data.raw['character']['character']['mining_categories'] = {'basic-solid', 'hard-solid'}
|
data.raw['character']['character']['mining_categories'] = {'basic-solid', 'hard-solid'}
|
||||||
|
|
||||||
|
|||||||
@@ -171,28 +171,20 @@ data:extend({
|
|||||||
default_value = false,
|
default_value = false,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA'}, {'mod-setting-name.PHI-SA'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA'}, {'mod-setting-name.PHI-SA'}},
|
||||||
order = 'C00'
|
order = 'C00'
|
||||||
}, {
|
|
||||||
type = 'int-setting',
|
|
||||||
name = 'PHI-SA-HEAT-RADIUS',
|
|
||||||
setting_type = 'startup',
|
|
||||||
default_value = 1,
|
|
||||||
allowed_values = {1, 2, 3, 4, 5, 6, 7},
|
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-HEAT-RADIUS'}, {'mod-setting-name.PHI-SA-HEAT-RADIUS'}},
|
|
||||||
order = 'C01'
|
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-SA-SPOIL',
|
name = 'PHI-SA-SPOIL',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = false,
|
default_value = false,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-SPOIL'}, {'mod-setting-name.PHI-SA-SPOIL'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-SPOIL'}, {'mod-setting-name.PHI-SA-SPOIL'}},
|
||||||
order = 'C02'
|
order = 'C01'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-SA-SPOIL-FREEZE',
|
name = 'PHI-SA-SPOIL-FREEZE',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = false,
|
default_value = false,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-SPOIL-FREEZE'}, {'mod-setting-name.PHI-SA-SPOIL-FREEZE'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-SPOIL-FREEZE'}, {'mod-setting-name.PHI-SA-SPOIL-FREEZE'}},
|
||||||
order = 'C03'
|
order = 'C02'
|
||||||
}, {
|
}, {
|
||||||
type = 'int-setting',
|
type = 'int-setting',
|
||||||
name = 'PHI-SA-SPOIL-FREEZE-RATIO',
|
name = 'PHI-SA-SPOIL-FREEZE-RATIO',
|
||||||
@@ -201,14 +193,14 @@ data:extend({
|
|||||||
minimum_value = 1,
|
minimum_value = 1,
|
||||||
maximum_value = 1000,
|
maximum_value = 1000,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-SPOIL-FREEZE-RATIO'}, {'mod-setting-name.PHI-SA-SPOIL-FREEZE-RATIO'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-SPOIL-FREEZE-RATIO'}, {'mod-setting-name.PHI-SA-SPOIL-FREEZE-RATIO'}},
|
||||||
order = 'C04'
|
order = 'C03'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-SA-ENABLE-QUALITY',
|
name = 'PHI-SA-ENABLE-QUALITY',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = false,
|
default_value = false,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-ENABLE-QUALITY'}, {'mod-setting-name.PHI-SA-ENABLE-QUALITY'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-ENABLE-QUALITY'}, {'mod-setting-name.PHI-SA-ENABLE-QUALITY'}},
|
||||||
order = 'C05'
|
order = 'C04'
|
||||||
}, {
|
}, {
|
||||||
type = 'int-setting',
|
type = 'int-setting',
|
||||||
name = 'PHI-SA-QUALITY',
|
name = 'PHI-SA-QUALITY',
|
||||||
@@ -217,14 +209,14 @@ data:extend({
|
|||||||
minimum_value = 1,
|
minimum_value = 1,
|
||||||
maximum_value = 100,
|
maximum_value = 100,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-QUALITY'}, {'mod-setting-name.PHI-SA-QUALITY'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-QUALITY'}, {'mod-setting-name.PHI-SA-QUALITY'}},
|
||||||
order = 'C06'
|
order = 'C05'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-SA-GENERIC',
|
name = 'PHI-SA-GENERIC',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = true,
|
default_value = true,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-GENERIC'}, {'mod-setting-name.PHI-SA-GENERIC'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-GENERIC'}, {'mod-setting-name.PHI-SA-GENERIC'}},
|
||||||
order = 'C07'
|
order = 'C06'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-VP',
|
name = 'PHI-VP',
|
||||||
|
|||||||
Reference in New Issue
Block a user