mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -576,7 +576,7 @@ if settings.startup['PHI-SA'].value then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if v.max_level and v.max_level == 'infinite' and (not string.find(v.name, 'productivity')) then
|
if v.max_level and v.max_level == 'infinite' and (not (string.find(v.name, 'productivity') or v.name == 'health')) then
|
||||||
table.insert(v.unit.ingredients, {'space-science-pack', 1})
|
table.insert(v.unit.ingredients, {'space-science-pack', 1})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -16,14 +16,14 @@ data:extend({
|
|||||||
type = 'int-setting',
|
type = 'int-setting',
|
||||||
name = 'PHI-EN-POWER-TIER',
|
name = 'PHI-EN-POWER-TIER',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = 5,
|
default_value = 1,
|
||||||
allowed_values = {1, 2, 3, 4, 5},
|
allowed_values = {1, 2, 3, 4, 5},
|
||||||
order = 'A02'
|
order = 'A02'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-MB',
|
name = 'PHI-MB',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = true,
|
default_value = false,
|
||||||
order = 'B00'
|
order = 'B00'
|
||||||
}, {
|
}, {
|
||||||
type = 'int-setting',
|
type = 'int-setting',
|
||||||
@@ -36,7 +36,7 @@ data:extend({
|
|||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-WE',
|
name = 'PHI-WE',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = true,
|
default_value = false,
|
||||||
order = 'C00'
|
order = 'C00'
|
||||||
}, {
|
}, {
|
||||||
type = 'int-setting',
|
type = 'int-setting',
|
||||||
|
|||||||
Reference in New Issue
Block a user