mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -392,6 +392,17 @@ if settings.startup['PHI-MI'].value then
|
|||||||
result = 'electric-boiler',
|
result = 'electric-boiler',
|
||||||
}})
|
}})
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
for k, v in pairs(items['setting']) do
|
for k, v in pairs(items['setting']) do
|
||||||
|
|||||||
@@ -240,6 +240,12 @@ data:extend({
|
|||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = true,
|
default_value = true,
|
||||||
order = 'F5'
|
order = 'F5'
|
||||||
|
}, {
|
||||||
|
type = 'bool-setting',
|
||||||
|
name = 'PHI-MI-CHEST',
|
||||||
|
setting_type = 'startup',
|
||||||
|
default_value = true,
|
||||||
|
order = 'F6'
|
||||||
}, {
|
}, {
|
||||||
type = 'int-setting',
|
type = 'int-setting',
|
||||||
name = 'PHI-RS-RECIPE-1',
|
name = 'PHI-RS-RECIPE-1',
|
||||||
|
|||||||
@@ -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
|
for i=1, #ups_chests, 1 do
|
||||||
local item = table.deepcopy(data.raw['item'][ups_chests[i]])
|
local item = table.deepcopy(data.raw['item'][ups_chests[i]])
|
||||||
|
|||||||
Reference in New Issue
Block a user