diff --git a/PHI-CL/data/b/gm-vp-c.lua b/PHI-CL/data/b/gm-vp-c.lua index 4d380f1..29ec7f6 100644 --- a/PHI-CL/data/b/gm-vp-c.lua +++ b/PHI-CL/data/b/gm-vp-c.lua @@ -1,66 +1,4 @@ local items = { - ['entity_surface_conditions'] = { - -- BASE 0 - 'rocket-silo', - 'cargo-landing-pad', - 'fluid-turret', - -- 2X - 'furnace', - -- BASE 5 - 'mining-drill', - 'inserter', - 'boiler', - 'roboport', - 'spider-vehicle', - -- BASE 10 - -- 2X - 'car', - 'locomotive', - 'cargo-wagon', - 'fluid-wagon', - -- BASE 15 - 'artillery-wagon', - 'train-stop', - 'rail-signal', - 'rail-chain-signal', - 'straight-rail', - -- BASE 20 - 'curved-rail-a', - 'curved-rail-b', - 'half-diagonal-rail', - -- 3X - 'container', - -- BASE 25 - -- 5X - 'logistic-container', - -- BASE 30 - -- ELEVATED_RAIL 0 - 'rail-support', - 'rail-ramp', - 'elevated-straight-rail', - 'elevated-half-diagonal-rail', - 'elevated-curved-rail-a', - -- ELEVATED_RAIL 5 - 'elevated-curved-rail-b', - -- SPACE_AGE 0 - -- 6X - 'assembling-machine', - -- SPACE_AGE 5 - 'agricultural-tower', - 'asteroid-collector', - 'fusion-reactor', - 'fusion-generator', - -- SPACE_AGE 10 - 'reactor', - 'furnace', - 'thruster', - 'lab', - -- 2X - 'cargo-bay', - -- SPACE_AGE 15 - -- 3X - 'plant', - }, ['recipe_reform'] = { -- BASE 0 ['stack-inserter'] = { diff --git a/PHI-CL/data/b/gm-vp.lua b/PHI-CL/data/b/gm-vp.lua index de99d05..4f3d62b 100644 --- a/PHI-CL/data/b/gm-vp.lua +++ b/PHI-CL/data/b/gm-vp.lua @@ -6,10 +6,6 @@ local resource_autoplace = require('resource-autoplace') mc.space_age() --- GM-VP C 31 BASE ENTITY --- GM-VP C 6 ELEVATED_RAILS ENTITY --- GM-VP C 19 SPACE_AGE ENTITY --- entity_surface_conditions for c, _ in pairs(defines.prototypes.entity) do if data.raw[c] then for _, v in pairs(data.raw[c]) do @@ -18,6 +14,14 @@ for c, _ in pairs(defines.prototypes.entity) do end end +for c, _ in pairs(defines.prototypes.item) do + if data.raw[c] then + for _, v in pairs(data.raw[c]) do + v.auto_recycle = false + end + end +end + for _, v in pairs(data.raw.recipe) do v.surface_conditions = nil v.maximum_productivity = nil @@ -450,16 +454,6 @@ if items['technology_reform'] then end end -if items['technology_reform'] then - for _, v in pairs(data.raw.technology) do - if items['technology_reform'][v.name] then - if v.unit then - - end - end - end -end - if settings.startup['PHI-MB-MACHINE'].value and settings.startup['PHI-MB-MACHINE'].value > 1 and mbm and data.raw.technology and data.raw.recipe then for i = 2, settings.startup['PHI-MB-MACHINE'].value do for _, v in pairs({'foundry', 'electromagnetic-plant', 'cryogenic-plant'}) do @@ -470,16 +464,8 @@ if settings.startup['PHI-MB-MACHINE'].value and settings.startup['PHI-MB-MACHINE end end --- GM-VP H 1 QUALITY ITEM -for c, _ in pairs(defines.prototypes.item) do - if data.raw[c] then - for _, v in pairs(data.raw[c]) do - v.auto_recycle = false - end - end -end - -- GM-VP H 24 SPACE_AGE ITEM +-- GM-VP H 1 QUALITY ITEM if items['item'] then for i, _ in pairs(items['item']) do if data.raw.item[i] then