mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -141,6 +141,8 @@ if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (sett
|
|||||||
v.quality_affects_inventory_size = true
|
v.quality_affects_inventory_size = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-SA-ROCKET-CAPACITY'].value * 1000000
|
||||||
end
|
end
|
||||||
|
|
||||||
if mods['elevated-rails'] then
|
if mods['elevated-rails'] then
|
||||||
@@ -249,7 +251,6 @@ if settings.startup['PHI-MI'].value then
|
|||||||
end
|
end
|
||||||
|
|
||||||
data.raw['utility-constants'].default.default_pipeline_extent = settings.startup['PHI-MI-PIPE-EXTENT'].value
|
data.raw['utility-constants'].default.default_pipeline_extent = settings.startup['PHI-MI-PIPE-EXTENT'].value
|
||||||
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-MI-ROCKET-CAPACITY'].value * 1000000
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-CT'].value or (settings.startup['PHI-MI'].value) or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '-') then
|
if settings.startup['PHI-CT'].value or (settings.startup['PHI-MI'].value) or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '-') then
|
||||||
|
|||||||
@@ -123,15 +123,6 @@ data:extend({
|
|||||||
maximum_value = 10240,
|
maximum_value = 10240,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-PIPE-EXTENT'}, {'mod-setting-name.PHI-MI-PIPE-EXTENT'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-PIPE-EXTENT'}, {'mod-setting-name.PHI-MI-PIPE-EXTENT'}},
|
||||||
order = 'B05'
|
order = 'B05'
|
||||||
}, {
|
|
||||||
type = 'int-setting',
|
|
||||||
name = 'PHI-MI-ROCKET-CAPACITY',
|
|
||||||
setting_type = 'startup',
|
|
||||||
default_value = 10,
|
|
||||||
minimum_value = 1,
|
|
||||||
maximum_value = 10000,
|
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-ROCKET-CAPACITY'}, {'mod-setting-name.PHI-MI-ROCKET-CAPACITY'}},
|
|
||||||
order = 'B06'
|
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-SA',
|
name = 'PHI-SA',
|
||||||
@@ -178,6 +169,15 @@ data:extend({
|
|||||||
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 = 'C05'
|
order = 'C05'
|
||||||
|
}, {
|
||||||
|
type = 'int-setting',
|
||||||
|
name = 'PHI-SA-ROCKET-CAPACITY',
|
||||||
|
setting_type = 'startup',
|
||||||
|
default_value = 10,
|
||||||
|
minimum_value = 1,
|
||||||
|
maximum_value = 10000,
|
||||||
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-ROCKET-CAPACITY'}, {'mod-setting-name.PHI-SA-ROCKET-CAPACITY'}},
|
||||||
|
order = 'C06'
|
||||||
}, {
|
}, {
|
||||||
type = 'string-setting',
|
type = 'string-setting',
|
||||||
name = 'PHI-GM',
|
name = 'PHI-GM',
|
||||||
|
|||||||
Reference in New Issue
Block a user