mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -635,7 +635,7 @@ if settings.startup['PHI-CT'].value then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if not settings.startup['PHI-CT-SPOIL'].value then
|
if (not settings.startup['PHI-CT-SPOIL'].value) and mods['space-age'] then
|
||||||
local function spoil_handle(i)
|
local function spoil_handle(i)
|
||||||
i.spoil_ticks = nil
|
i.spoil_ticks = nil
|
||||||
i.spoil_result = nil
|
i.spoil_result = nil
|
||||||
@@ -644,7 +644,7 @@ if settings.startup['PHI-CT'].value then
|
|||||||
|
|
||||||
-- spoil_handle(data.raw['item']['iron-bacteria'])
|
-- spoil_handle(data.raw['item']['iron-bacteria'])
|
||||||
-- spoil_handle(data.raw['item']['copper-bacteria'])
|
-- spoil_handle(data.raw['item']['copper-bacteria'])
|
||||||
spoil_handle(data.raw['item']['nutrients'])
|
spoil_handle(data.raw['item']['nutrients'])
|
||||||
spoil_handle(data.raw['item']['captive-biter-spawner'])
|
spoil_handle(data.raw['item']['captive-biter-spawner'])
|
||||||
spoil_handle(data.raw['item']['biter-egg'])
|
spoil_handle(data.raw['item']['biter-egg'])
|
||||||
spoil_handle(data.raw['item']['pentapod-egg'])
|
spoil_handle(data.raw['item']['pentapod-egg'])
|
||||||
@@ -679,6 +679,7 @@ if settings.startup['PHI-CT'].value then
|
|||||||
{type='item', name='grenade', amount=1},
|
{type='item', name='grenade', amount=1},
|
||||||
{type='item', name='barrel', amount=1}
|
{type='item', name='barrel', amount=1}
|
||||||
}
|
}
|
||||||
|
recipe.localised_name = {'phi-cl.combine', '', ''}
|
||||||
|
|
||||||
data:extend({recipe})
|
data:extend({recipe})
|
||||||
table.insert(data.raw.technology['cliff-explosives'].effects, {type='unlock-recipe', recipe=recipe.name})
|
table.insert(data.raw.technology['cliff-explosives'].effects, {type='unlock-recipe', recipe=recipe.name})
|
||||||
@@ -691,6 +692,16 @@ if settings.startup['PHI-CT'].value then
|
|||||||
}
|
}
|
||||||
data.raw.technology['elevated-rail'].unit.count = 200
|
data.raw.technology['elevated-rail'].unit.count = 200
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if mods['quality'] then
|
||||||
|
for _, v in pairs(data.raw['module']) do
|
||||||
|
if v.category and v.category == 'quality' then
|
||||||
|
for _, v2 in pairs(v.effect) do
|
||||||
|
v2 = v2 * 4
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-CT-ROCKET-CAPACITY'].value * 100000
|
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-CT-ROCKET-CAPACITY'].value * 100000
|
||||||
|
|||||||
Reference in New Issue
Block a user