mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-31 04:11:39 +09:00
.
This commit is contained in:
@@ -619,10 +619,6 @@ if settings.startup['PHI-CT'].value then
|
|||||||
data.raw.recipe['fast-loader'].hidden = false
|
data.raw.recipe['fast-loader'].hidden = false
|
||||||
data.raw.recipe['express-loader'].hidden = false
|
data.raw.recipe['express-loader'].hidden = false
|
||||||
|
|
||||||
data.raw['loader']['loader'].max_belt_stack_size = 4
|
|
||||||
data.raw['loader']['fast-loader'].max_belt_stack_size = 4
|
|
||||||
data.raw['loader']['express-loader'].max_belt_stack_size = 4
|
|
||||||
|
|
||||||
table.insert(data.raw.technology['logistics'].effects, {type='unlock-recipe', recipe='loader'})
|
table.insert(data.raw.technology['logistics'].effects, {type='unlock-recipe', recipe='loader'})
|
||||||
table.insert(data.raw.technology['logistics-2'].effects, {type='unlock-recipe', recipe='fast-loader'})
|
table.insert(data.raw.technology['logistics-2'].effects, {type='unlock-recipe', recipe='fast-loader'})
|
||||||
table.insert(data.raw.technology['logistics-3'].effects, {type='unlock-recipe', recipe='express-loader'})
|
table.insert(data.raw.technology['logistics-3'].effects, {type='unlock-recipe', recipe='express-loader'})
|
||||||
@@ -630,6 +626,12 @@ if settings.startup['PHI-CT'].value then
|
|||||||
if mods['space-age'] then
|
if mods['space-age'] then
|
||||||
data.raw.recipe['turbo-loader'].hidden = false
|
data.raw.recipe['turbo-loader'].hidden = false
|
||||||
table.insert(data.raw.technology['turbo-transport-belt'].effects, {type='unlock-recipe', recipe='turbo-loader'})
|
table.insert(data.raw.technology['turbo-transport-belt'].effects, {type='unlock-recipe', recipe='turbo-loader'})
|
||||||
|
|
||||||
|
local s = data.raw['inserter']['stack-inserter'].max_belt_stack_size
|
||||||
|
data.raw['loader']['loader'].max_belt_stack_size = s
|
||||||
|
data.raw['loader']['fast-loader'].max_belt_stack_size = s
|
||||||
|
data.raw['loader']['express-loader'].max_belt_stack_size = s
|
||||||
|
data.raw['loader']['turbo-loader'].max_belt_stack_size = s
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -670,22 +672,16 @@ if settings.startup['PHI-CT'].value then
|
|||||||
|
|
||||||
if settings.startup['PHI-CT-SA'].value then
|
if settings.startup['PHI-CT-SA'].value then
|
||||||
if mods['space-age'] then
|
if mods['space-age'] then
|
||||||
data:extend({{
|
local recipe = table.deepcopy(data.raw['recipe']['cliff-explosives'])
|
||||||
type = 'recipe',
|
recipe.name = 'cliff-explosives-o'
|
||||||
name = 'cliff-explosives-o',
|
recipe.ingredients = {
|
||||||
energy_required = 1,
|
{type='item', name='explosives', amount=10},
|
||||||
enabled = false,
|
{type='item', name='grenade', amount=1},
|
||||||
ingredients = {
|
{type='item', name='barrel', amount=1}
|
||||||
{type='item', name='explosives', amount=10},
|
}
|
||||||
{type='item', name='grenade', amount=1},
|
|
||||||
{type='item', name='barrel', amount=1}
|
|
||||||
},
|
|
||||||
results = {{type='item', name='cliff-explosives', amount=1}},
|
|
||||||
main_product = 'cliff-explosives',
|
|
||||||
localised_name = data.raw['recipe']['cliff-explosives'].localised_name
|
|
||||||
}})
|
|
||||||
|
|
||||||
table.insert(data.raw.technology['cliff-explosives'].effects, {type='unlock-recipe', recipe='cliff-explosives-o'})
|
data:extend({recipe})
|
||||||
|
table.insert(data.raw.technology['cliff-explosives'].effects, {type='unlock-recipe', recipe=recipe.name})
|
||||||
end
|
end
|
||||||
|
|
||||||
if mods['elevated-rails'] then
|
if mods['elevated-rails'] then
|
||||||
@@ -693,6 +689,7 @@ if settings.startup['PHI-CT'].value then
|
|||||||
{'automation-science-pack', 1},
|
{'automation-science-pack', 1},
|
||||||
{'logistic-science-pack', 1}
|
{'logistic-science-pack', 1}
|
||||||
}
|
}
|
||||||
|
data.raw.technology['elevated-rail'].unit.count = 200
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user