mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -42,7 +42,7 @@ if settings.startup['PHI-CT'].value then
|
|||||||
local function trash_entity_creation(event)
|
local function trash_entity_creation(event)
|
||||||
if event.entity and event.entity.valid and event.entity.name then
|
if event.entity and event.entity.valid and event.entity.name then
|
||||||
if event.entity.name == 'trash-chest' then
|
if event.entity.name == 'trash-chest' then
|
||||||
event.entity.infinity_container_filters = {name = 'iron-ore', count = 0, mode = 'exactly', index = 1}
|
event.entity.set_infinity_container_filter{index = 1, filter = {name = 'iron-ore', count = 0, mode = 'exactly', index = 1}}
|
||||||
event.entity.remove_unfiltered_items = true
|
event.entity.remove_unfiltered_items = true
|
||||||
|
|
||||||
elseif event.entity.name == 'trash-pipe' then
|
elseif event.entity.name == 'trash-pipe' then
|
||||||
|
|||||||
@@ -1677,7 +1677,7 @@ if settings.startup['PHI-CT'].value then
|
|||||||
energy_required = 1,
|
energy_required = 1,
|
||||||
enabled = false,
|
enabled = false,
|
||||||
ingredients = {},
|
ingredients = {},
|
||||||
results = {{type = 'fluid', name = v.name, amount = 12000 * settings.startup['PHI-MI-PIPE'].value / 10, temperature = v.max_temperature or v.default_temperature}},
|
results = {{type = 'fluid', name = v.name, amount = 12000 * settings.startup['PHI-MI-PIPE'].value / 10, temperature = v.default_temperature}},
|
||||||
main_product = v.name,
|
main_product = v.name,
|
||||||
hide_from_player_crafting = true,
|
hide_from_player_crafting = true,
|
||||||
hidden_in_factoriopedia = true,
|
hidden_in_factoriopedia = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user