mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
..
This commit is contained in:
@@ -32,6 +32,7 @@ local rail_support_pole = {
|
|||||||
|
|
||||||
if settings.startup['PHI-CT'].value then
|
if settings.startup['PHI-CT'].value then
|
||||||
local function trash_chest_creation(event)
|
local function trash_chest_creation(event)
|
||||||
|
event.entity.infinity_container_filters = {name='trash-chest', mode='exactly', count=0, index=1}
|
||||||
event.entity.remove_unfiltered_items = true
|
event.entity.remove_unfiltered_items = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -1523,6 +1523,7 @@ if settings.startup['PHI-CT'].value then
|
|||||||
entity.type = 'infinity-container'
|
entity.type = 'infinity-container'
|
||||||
entity.gui_mode = 'none'
|
entity.gui_mode = 'none'
|
||||||
entity.erase_contents_when_mined = true
|
entity.erase_contents_when_mined = true
|
||||||
|
entity.preserve_contents_when_created = true
|
||||||
entity.quality_affects_inventory_size = false
|
entity.quality_affects_inventory_size = false
|
||||||
entity.logistic_mode = nil
|
entity.logistic_mode = nil
|
||||||
entity.next_upgrade = nil
|
entity.next_upgrade = nil
|
||||||
|
|||||||
Reference in New Issue
Block a user