This commit is contained in:
2026-07-01 18:43:42 +09:00
parent fde6916407
commit c5fe9fa5c9
2 changed files with 9 additions and 85 deletions
+9 -23
View File
@@ -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