Aleksei-bird c84ab187b6 #69 добавление табличек holographic_signs в технологию
#73 Вырезана механика потребления дополнительных конвееров и труб при размещении сверхдлинных конвееров и труб
    Вырезаны связанные с ней конфиги
    Убран флаг not-deconstructable со сверхдлинных конвееров и труб, что упрощает их использование с дронами
    Изменено английское описание сверхдлинных конвееров и труб (русское изменений не требует)
2024-06-07 19:00:04 +03:00

32 lines
1.3 KiB
Lua

local entity = data.raw["underground-belt"]["green-underground-belt"]
if entity ~= nil then --bob's logistics is installed
local entity = data.raw["underground-belt"]["green-underground-belt"]
entity.max_distance = 250
--table.insert(entity.flags, "not-deconstructable")
end
entity = data.raw["underground-belt"]["purple-underground-belt"]
if entity ~= nil then --bob's logistics is installed
entity.max_distance = 250
--table.insert(entity.flags, "not-deconstructable")
end
entity = data.raw["pipe-to-ground"]["nitinol-pipe-to-ground"]
if entity ~= nil then --bob's logistics is installed
entity.fluid_box.pipe_connections = {{position = {0, -1}}, {position = {0, 1}, max_underground_distance = 250}}
--table.insert(entity.flags, "not-deconstructable") --drd
end
entity = data.raw["pipe-to-ground"]["copper-tungsten-pipe-to-ground"]
if entity ~= nil then --bob's logistics is installed
entity.fluid_box.pipe_connections = {{position = {0, -1}}, {position = {0, 1}, max_underground_distance = 250}}
--table.insert(entity.flags, "not-deconstructable") --drd
end
entity = data.raw["pipe-to-ground"]["plastic-pipe-to-ground"]
if entity ~= nil then --bob's logistics is installed
entity.fluid_box.pipe_connections = {{position = {0, -1}}, {position = {0, 1}, max_underground_distance = 100}}
--table.insert(entity.flags, "not-deconstructable") --drd
end