mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-13 05:08:44 +09:00
13 lines
357 B
Lua
13 lines
357 B
Lua
local main = {}
|
|
|
|
function main.build(event)
|
|
if event.entity.type == 'infinity-container' and event.entity.name == 'trash-chest' then
|
|
event.entity.remove_unfiltered_items = true
|
|
|
|
elseif event.entity.type == 'infinity-pipe' and event.entity.name == 'trash-pipe' then
|
|
event.entity.set_infinity_pipe_filter(nil)
|
|
end
|
|
end
|
|
|
|
return main
|