mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -116,6 +116,14 @@ if settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and set
|
|||||||
v.filter_count = 5
|
v.filter_count = 5
|
||||||
end
|
end
|
||||||
|
|
||||||
|
for _, v in pairs(data.raw['active-defense-equipment']) do
|
||||||
|
v.automatic = true
|
||||||
|
end
|
||||||
|
|
||||||
|
for _, v in pairs(data.raw['reactor']) do
|
||||||
|
v.scale_energy_usage = (v.fast_replaceable_group and v.fast_replaceable_group == 'reactor')
|
||||||
|
end
|
||||||
|
|
||||||
if mods['space-age'] then
|
if mods['space-age'] then
|
||||||
for _, v in pairs(data.raw['mining-drill']) do
|
for _, v in pairs(data.raw['mining-drill']) do
|
||||||
v.drops_full_belt_stacks = true
|
v.drops_full_belt_stacks = true
|
||||||
@@ -627,14 +635,6 @@ if settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and set
|
|||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-MI'].value then
|
if settings.startup['PHI-MI'].value then
|
||||||
for _, v in pairs(data.raw['active-defense-equipment']) do
|
|
||||||
v.automatic = true
|
|
||||||
end
|
|
||||||
|
|
||||||
for _, v in pairs(data.raw['reactor']) do
|
|
||||||
v.scale_energy_usage = (v.fast_replaceable_group and v.fast_replaceable_group == 'reactor')
|
|
||||||
end
|
|
||||||
|
|
||||||
data.raw.recipe['landfill'].ingredients[1].amount = math.min(20, data.raw.recipe['landfill'].ingredients[1].amount)
|
data.raw.recipe['landfill'].ingredients[1].amount = math.min(20, data.raw.recipe['landfill'].ingredients[1].amount)
|
||||||
|
|
||||||
if settings.startup['PHI-MI-PIPE'].value then
|
if settings.startup['PHI-MI-PIPE'].value then
|
||||||
|
|||||||
Reference in New Issue
Block a user