mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -109,16 +109,14 @@ local function entity_build(event)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-CT'].value then
|
if event.entity.type == 'infinity-container' and event.entity.name == 'trash-chest' then
|
||||||
if event.entity.type == 'infinity-container' and event.entity.name == 'trash-chest' then
|
event.entity.remove_unfiltered_items = true
|
||||||
event.entity.remove_unfiltered_items = true
|
|
||||||
|
|
||||||
elseif event.entity.type == 'infinity-pipe' and event.entity.name == 'trash-pipe' then
|
elseif event.entity.type == 'infinity-pipe' and event.entity.name == 'trash-pipe' then
|
||||||
event.entity.set_infinity_pipe_filter(nil)
|
event.entity.set_infinity_pipe_filter(nil)
|
||||||
end
|
|
||||||
|
|
||||||
return
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local function entity_destroy(event)
|
local function entity_destroy(event)
|
||||||
|
|||||||
@@ -1331,7 +1331,7 @@ if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'VP'
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-CT'].value or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '') then
|
if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '') then
|
||||||
local vir_sig = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
local vir_sig = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
local s = {}
|
local s = {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user