diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index 1a57cef..2716fa2 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -392,6 +392,17 @@ if settings.startup['PHI-MI'].value then result = 'electric-boiler', }}) end + + if settings.startup['PHI-MI-BOILER'].value then + local chests = { + 'steel-chest', + 'logistic-chest-passive-provider', + 'logistic-chest-active-provider', + 'logistic-chest-storage', + 'logistic-chest-buffer', + 'logistic-chest-requester' + } + end end for k, v in pairs(items['setting']) do diff --git a/PHI-CL/settings.lua b/PHI-CL/settings.lua index 5b15fb0..bb34eda 100644 --- a/PHI-CL/settings.lua +++ b/PHI-CL/settings.lua @@ -240,6 +240,12 @@ data:extend({ setting_type = 'startup', default_value = true, order = 'F5' + }, { + type = 'bool-setting', + name = 'PHI-MI-CHEST', + setting_type = 'startup', + default_value = true, + order = 'F6' }, { type = 'int-setting', name = 'PHI-RS-RECIPE-1', diff --git a/PHI-MI/data.lua b/PHI-MI/data.lua index d0b81be..e6020dc 100644 --- a/PHI-MI/data.lua +++ b/PHI-MI/data.lua @@ -1,14 +1,4 @@ -local alpha_order = {'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm'} -local graphics_location = '__PHI-MI__/graphics/' -local ups_chests = { - 'steel-chest', - 'logistic-chest-passive-provider', - 'logistic-chest-active-provider', - 'logistic-chest-storage', - 'logistic-chest-buffer', - 'logistic-chest-requester' -} for i=1, #ups_chests, 1 do local item = table.deepcopy(data.raw['item'][ups_chests[i]])