mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -1684,6 +1684,31 @@ if settings.startup['PHI-CT'].value then
|
|||||||
}})
|
}})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if data.raw['linked-container']['linked-chest'] then
|
||||||
|
data.raw['item']['linked-chest'].subgroup = 'storage'
|
||||||
|
data.raw['item']['linked-chest'].order = 'a[items]-d[linked-chest]'
|
||||||
|
data.raw['item']['linked-chest'].stack_size = 50
|
||||||
|
|
||||||
|
data.raw['linked-container']['linked-chest'].circuit_connector = table.deepcopy(data.raw['container']['steel-chest'].circuit_connector)
|
||||||
|
data.raw['linked-container']['linked-chest'].circuit_wire_max_distance = data.raw['container']['steel-chest'].circuit_wire_max_distance
|
||||||
|
data.raw['linked-container']['linked-chest'].quality_affects_inventory_size = false
|
||||||
|
data.raw['linked-container']['linked-chest'].inventory_type = 'with_filters_and_bar'
|
||||||
|
data.raw['linked-container']['linked-chest'].inventory_size = 48
|
||||||
|
data.raw['linked-container']['linked-chest'].gui_mode = 'all'
|
||||||
|
data.raw['linked-container']['linked-chest'].surface_conditions = nil
|
||||||
|
|
||||||
|
data:extend({{
|
||||||
|
type = 'recipe',
|
||||||
|
name = 'linked-chest',
|
||||||
|
energy_required = 2,
|
||||||
|
enabled = false,
|
||||||
|
ingredients = {{type = 'item', name = 'steel-chest', amount = 1}},
|
||||||
|
results = {{type = 'item', name = 'linked-chest', amount = 1}},
|
||||||
|
main_product = 'linked-chest'
|
||||||
|
}})
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
if data.raw['radar']['radar'] then
|
if data.raw['radar']['radar'] then
|
||||||
local item = table.deepcopy(data.raw['item']['radar'])
|
local item = table.deepcopy(data.raw['item']['radar'])
|
||||||
item.name = 'super-radar'
|
item.name = 'super-radar'
|
||||||
@@ -1751,30 +1776,6 @@ if settings.startup['PHI-CT'].value then
|
|||||||
}})
|
}})
|
||||||
end
|
end
|
||||||
|
|
||||||
if data.raw['linked-container']['linked-chest'] then
|
|
||||||
data.raw['item']['linked-chest'].subgroup = 'storage'
|
|
||||||
data.raw['item']['linked-chest'].order = 'a[items]-d[linked-chest]'
|
|
||||||
data.raw['item']['linked-chest'].stack_size = 50
|
|
||||||
|
|
||||||
data.raw['linked-container']['linked-chest'].circuit_connector = table.deepcopy(data.raw['container']['steel-chest'].circuit_connector)
|
|
||||||
data.raw['linked-container']['linked-chest'].circuit_wire_max_distance = data.raw['container']['steel-chest'].circuit_wire_max_distance
|
|
||||||
data.raw['linked-container']['linked-chest'].quality_affects_inventory_size = false
|
|
||||||
data.raw['linked-container']['linked-chest'].inventory_type = 'with_filters_and_bar'
|
|
||||||
data.raw['linked-container']['linked-chest'].inventory_size = 48
|
|
||||||
data.raw['linked-container']['linked-chest'].gui_mode = 'all'
|
|
||||||
data.raw['linked-container']['linked-chest'].surface_conditions = nil
|
|
||||||
|
|
||||||
data:extend({{
|
|
||||||
type = 'recipe',
|
|
||||||
name = 'linked-chest',
|
|
||||||
energy_required = 2,
|
|
||||||
enabled = false,
|
|
||||||
ingredients = {{type = 'item', name = 'steel-chest', amount = 1}},
|
|
||||||
results = {{type = 'item', name = 'linked-chest', amount = 1}},
|
|
||||||
main_product = 'linked-chest'
|
|
||||||
}})
|
|
||||||
end
|
|
||||||
|
|
||||||
for _, v in pairs(data.raw.fluid) do
|
for _, v in pairs(data.raw.fluid) do
|
||||||
if (not data.raw.recipe['pump-' .. v.name]) and v.subgroup == 'fluid' then
|
if (not data.raw.recipe['pump-' .. v.name]) and v.subgroup == 'fluid' then
|
||||||
data:extend({{
|
data:extend({{
|
||||||
|
|||||||
Reference in New Issue
Block a user