mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 13:56:20 +09:00
.
This commit is contained in:
+45
-53
@@ -1,70 +1,62 @@
|
|||||||
local items = {
|
local items = {
|
||||||
['entity_surface_conditions'] = {
|
['entity_surface_conditions'] = {
|
||||||
-- BASE 0
|
-- BASE 0
|
||||||
['rocket-silo'] = 'rocket-silo',
|
'rocket-silo',
|
||||||
['cargo-landing-pad'] = 'cargo-landing-pad',
|
'cargo-landing-pad',
|
||||||
['flamethrower-turret'] = 'fluid-turret',
|
'fluid-turret',
|
||||||
['stone-furnace'] = 'furnace',
|
-- 2X
|
||||||
['steel-furnace'] = 'furnace',
|
'furnace',
|
||||||
-- BASE 5
|
-- BASE 5
|
||||||
['burner-mining-drill'] = 'mining-drill',
|
'mining-drill',
|
||||||
['burner-inserter'] = 'inserter',
|
'inserter',
|
||||||
['boiler'] = 'boiler',
|
'boiler',
|
||||||
['roboport'] = 'roboport',
|
'roboport',
|
||||||
['car'] = 'car',
|
'spider-vehicle',
|
||||||
-- BASE 10
|
-- BASE 10
|
||||||
['tank'] = 'car',
|
-- 2X
|
||||||
['spidertron'] = 'spider-vehicle',
|
'car',
|
||||||
['locomotive'] = 'locomotive',
|
'locomotive',
|
||||||
['cargo-wagon'] = 'cargo-wagon',
|
'cargo-wagon',
|
||||||
['fluid-wagon'] = 'fluid-wagon',
|
'fluid-wagon',
|
||||||
-- BASE 15
|
-- BASE 15
|
||||||
['artillery-wagon'] = 'artillery-wagon',
|
'artillery-wagon',
|
||||||
['train-stop'] = 'train-stop',
|
'train-stop',
|
||||||
['rail-signal'] = 'rail-signal',
|
'rail-signal',
|
||||||
['rail-chain-signal'] = 'rail-chain-signal',
|
'rail-chain-signal',
|
||||||
['straight-rail'] = 'straight-rail',
|
'straight-rail',
|
||||||
-- BASE 20
|
-- BASE 20
|
||||||
['legacy-curved-rail'] = 'legacy-curved-rail',
|
'legacy-curved-rail',
|
||||||
['legacy-straight-rail'] = 'legacy-straight-rail',
|
'legacy-straight-rail',
|
||||||
['curved-rail-a'] = 'curved-rail-a',
|
'curved-rail-a',
|
||||||
['curved-rail-b'] = 'curved-rail-b',
|
'curved-rail-b',
|
||||||
['half-diagonal-rail'] = 'half-diagonal-rail',
|
'half-diagonal-rail',
|
||||||
-- BASE 25
|
-- BASE 25
|
||||||
['wooden-chest'] = 'container',
|
-- 5X
|
||||||
['iron-chest'] = 'container',
|
'logistic-container',
|
||||||
['steel-chest'] = 'container',
|
|
||||||
['passive-provider-chest'] = 'logistic-container',
|
|
||||||
['active-provider-chest'] = 'logistic-container',
|
|
||||||
-- BASE 30
|
-- BASE 30
|
||||||
['storage-chest'] = 'logistic-container',
|
-- 3X
|
||||||
['buffer-chest'] = 'logistic-container',
|
'container',
|
||||||
['requester-chest'] = 'logistic-container',
|
|
||||||
-- ELEVATED_RAIL 0
|
-- ELEVATED_RAIL 0
|
||||||
['rail-support'] = 'rail-support',
|
'rail-support',
|
||||||
['rail-ramp'] = 'rail-ramp',
|
'rail-ramp',
|
||||||
['elevated-straight-rail'] = 'elevated-straight-rail',
|
'elevated-straight-rail',
|
||||||
['elevated-half-diagonal-rail'] = 'elevated-half-diagonal-rail',
|
'elevated-half-diagonal-rail',
|
||||||
['elevated-curved-rail-a'] = 'elevated-curved-rail-a',
|
'elevated-curved-rail-a',
|
||||||
-- ELEVATED_RAIL 5
|
-- ELEVATED_RAIL 5
|
||||||
['elevated-curved-rail-b'] = 'elevated-curved-rail-b',
|
'elevated-curved-rail-b',
|
||||||
-- SPACE_AGE 0
|
-- SPACE_AGE 0
|
||||||
['captive-biter-spawner'] = 'assembling-machine',
|
-- 6X
|
||||||
['biochamber'] = 'assembling-machine',
|
'assembling-machine',
|
||||||
['crusher'] = 'assembling-machine',
|
|
||||||
['cryogenic-plant'] = 'assembling-machine',
|
|
||||||
['electromagnetic-plant'] = 'assembling-machine',
|
|
||||||
-- SPACE_AGE 5
|
-- SPACE_AGE 5
|
||||||
['foundry'] = 'assembling-machine',
|
'agricultural-tower',
|
||||||
['agricultural-tower'] = 'agricultural-tower',
|
'asteroid-collector',
|
||||||
['asteroid-collector'] = 'asteroid-collector',
|
'fusion-reactor',
|
||||||
['fusion-reactor'] = 'fusion-reactor',
|
'fusion-generator',
|
||||||
['fusion-generator'] = 'fusion-generator',
|
|
||||||
-- SPACE_AGE 10
|
-- SPACE_AGE 10
|
||||||
['heating-tower'] = 'reactor',
|
'reactor',
|
||||||
['recycler'] = 'furnace',
|
'furnace',
|
||||||
['thruster'] = 'thruster',
|
'thruster',
|
||||||
['biolab'] = 'lab',
|
'lab',
|
||||||
},
|
},
|
||||||
['technology_ingredient_removal'] = {
|
['technology_ingredient_removal'] = {
|
||||||
-- SPACE_AGE 0
|
-- SPACE_AGE 0
|
||||||
|
|||||||
@@ -18,8 +18,14 @@ end
|
|||||||
-- GM-VP C 33 BASE ENTITY
|
-- GM-VP C 33 BASE ENTITY
|
||||||
-- GM-VP C 6 ELEVATED_RAILS ENTITY
|
-- GM-VP C 6 ELEVATED_RAILS ENTITY
|
||||||
-- GM-VP C 14 SPACE_AGE ENTITY
|
-- GM-VP C 14 SPACE_AGE ENTITY
|
||||||
for k, v in pairs(items['entity_surface_conditions']) do
|
if items['entity_surface_conditions'] then
|
||||||
data.raw[v][k].surface_conditions = nil
|
for _, v in pairs(items['entity_surface_conditions']) do
|
||||||
|
if data.raw[v] then
|
||||||
|
for _, v2 in pairs(data.raw[v]) do
|
||||||
|
v2.surface_conditions = nil
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- GM-VP C 1 BASE UTILITY_CONSTANTS
|
-- GM-VP C 1 BASE UTILITY_CONSTANTS
|
||||||
|
|||||||
Reference in New Issue
Block a user