mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-19 10:19:59 +09:00
.
This commit is contained in:
@@ -29,7 +29,7 @@ end
|
||||
|
||||
-- CT C 1 BASE ENTITY,ITEM
|
||||
-- CT A 1 BASE RECIPE
|
||||
if data.raw['linked-container']['linked-chest'] then
|
||||
if data.raw['linked-container'] and data.raw['linked-container']['linked-chest'] then
|
||||
data.raw['item']['linked-chest'].subgroup = 'storage'
|
||||
data.raw['item']['linked-chest'].order = 'a[items]-d[linked-chest]'
|
||||
data.raw['item']['linked-chest'].stack_size = 50
|
||||
@@ -56,7 +56,7 @@ if data.raw['linked-container']['linked-chest'] then
|
||||
end
|
||||
|
||||
-- CT A 1 BASE ENTITY,ITEM,RECIPE
|
||||
if data.raw['radar']['radar'] then
|
||||
if data.raw['radar'] and data.raw['radar']['radar'] then
|
||||
local item = table.deepcopy(data.raw['item']['radar'])
|
||||
item.name = 'super-radar'
|
||||
item.place_result = item.name
|
||||
@@ -92,7 +92,7 @@ if data.raw['radar']['radar'] then
|
||||
end
|
||||
|
||||
-- CT A 2 BASE ENTITY,ITEM,RECIPE
|
||||
if data.raw['electric-energy-interface']['electric-energy-interface'] then
|
||||
if data.raw['electric-energy-interface'] and data.raw['electric-energy-interface']['electric-energy-interface'] then
|
||||
for _, v in pairs({'active', 'passive'}) do
|
||||
local item = table.deepcopy(data.raw['item']['electric-energy-interface'])
|
||||
item.name = v .. '-energy-void'
|
||||
|
||||
@@ -12,7 +12,9 @@ local mod_tint = {
|
||||
}
|
||||
|
||||
-- MBE C 1 BASE FLUID
|
||||
if data.raw['fluid'] and data.raw['fluid']['steam'] then
|
||||
data.raw['fluid']['steam'].max_temperature = ((settings.startup['PHI-MB-ENERGY-POWER-TIER'].value > 1) and 5000) or data.raw['fluid']['steam'].max_temperature
|
||||
end
|
||||
|
||||
-- MBE A 7 BASE RESEARCH
|
||||
for i = 1, 7 do
|
||||
|
||||
Reference in New Issue
Block a user