mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-12 21:08:43 +09:00
.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user