mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-03-28 12:24:39 +09:00
.
This commit is contained in:
@@ -31,140 +31,7 @@ local items = {
|
||||
[7] = {r=0, g=209, b=102},
|
||||
[8] = {r=233, g=63, b=233}
|
||||
},
|
||||
['item'] = {
|
||||
['assembling-machine'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'assembling-machine',
|
||||
name = 'assembling-machine',
|
||||
ref_name = 'assembling-machine-3',
|
||||
tech = 'automation-3',
|
||||
min = 4,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value + 2
|
||||
},
|
||||
['electric-furnace'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'furnace',
|
||||
name = 'electric-furnace',
|
||||
ref_name = 'electric-furnace',
|
||||
tech = 'advanced-material-processing-2',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
['oil-refinery'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'assembling-machine',
|
||||
name = 'oil-refinery',
|
||||
ref_name = 'oil-refinery',
|
||||
tech = 'oil-processing',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
['chemical-plant'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'assembling-machine',
|
||||
name = 'chemical-plant',
|
||||
ref_name = 'chemical-plant',
|
||||
tech = 'oil-processing',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
['centrifuge'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'assembling-machine',
|
||||
name = 'centrifuge',
|
||||
ref_name = 'centrifuge',
|
||||
tech = 'uranium-processing',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
['lab'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'lab',
|
||||
name = 'lab',
|
||||
ref_name = 'lab',
|
||||
tech = 'automation',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
['electric-mining-drill'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'mining-drill',
|
||||
name = 'electric-mining-drill',
|
||||
ref_name = 'electric-mining-drill',
|
||||
tech = 'automation',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
['pumpjack'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'mining-drill',
|
||||
name = 'pumpjack',
|
||||
ref_name = 'pumpjack',
|
||||
tech = 'automation',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
['laser-turret'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'electric-turret',
|
||||
name = 'laser-turret',
|
||||
ref_name = 'laser-turret',
|
||||
tech = 'laser-turret',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
['flamethrower-turret'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'fluid-turret',
|
||||
name = 'flamethrower-turret',
|
||||
ref_name = 'flamethrower-turret',
|
||||
tech = 'flamethrower',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
['gun-turret'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'ammo-turret',
|
||||
name = 'gun-turret',
|
||||
ref_name = 'gun-turret',
|
||||
tech = 'gun-turret',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
['radar'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'base',
|
||||
type = 'radar',
|
||||
name = 'radar',
|
||||
ref_name = 'radar',
|
||||
tech = 'automation',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
},
|
||||
['item'] = {},
|
||||
['equipment'] = {
|
||||
['battery-equipment'] = {
|
||||
enabled = settings.startup['PHI-MB-EQUIPMENT'].value,
|
||||
@@ -603,150 +470,6 @@ local items = {
|
||||
}
|
||||
|
||||
if mods and mods['space-age'] then
|
||||
items['item']['railgun-turret'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'ammo-turret',
|
||||
name = 'railgun-turret',
|
||||
ref_name = 'railgun-turret',
|
||||
tech = 'railgun',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['item']['rocket-turret'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'ammo-turret',
|
||||
name = 'rocket-turret',
|
||||
ref_name = 'rocket-turret',
|
||||
tech = 'rocket-turret',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['item']['tesla-turret'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'electric-turret',
|
||||
name = 'tesla-turret',
|
||||
ref_name = 'tesla-turret',
|
||||
tech = 'tesla-weapons',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['item']['foundry'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'assembling-machine',
|
||||
name = 'foundry',
|
||||
ref_name = 'foundry',
|
||||
tech = 'foundry',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['item']['big-mining-drill'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'mining-drill',
|
||||
name = 'big-mining-drill',
|
||||
ref_name = 'big-mining-drill',
|
||||
tech = 'big-mining-drill',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['item']['biochamber'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'assembling-machine',
|
||||
name = 'biochamber',
|
||||
ref_name = 'biochamber',
|
||||
tech = 'biochamber',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['item']['crusher'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'assembling-machine',
|
||||
name = 'crusher',
|
||||
ref_name = 'crusher',
|
||||
tech = 'space-platform',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['item']['biolab'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'lab',
|
||||
name = 'biolab',
|
||||
ref_name = 'biolab',
|
||||
tech = 'biolab',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['item']['cryogenic-plant'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'assembling-machine',
|
||||
name = 'cryogenic-plant',
|
||||
ref_name = 'cryogenic-plant',
|
||||
tech = 'cryogenic-plant',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['item']['electromagnetic-plant'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'assembling-machine',
|
||||
name = 'electromagnetic-plant',
|
||||
ref_name = 'electromagnetic-plant',
|
||||
tech = 'electromagnetic-plant',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['item']['thruster'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'thruster',
|
||||
name = 'thruster',
|
||||
ref_name = 'thruster',
|
||||
tech = 'space-platform-thruster',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['item']['agricultural-tower'] = {
|
||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||
stage = 1,
|
||||
mod = 'space-age',
|
||||
type = 'agricultural-tower',
|
||||
name = 'agricultural-tower',
|
||||
ref_name = 'agricultural-tower',
|
||||
tech = 'agriculture',
|
||||
min = 2,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
}
|
||||
|
||||
items['equipment']['fusion-reactor-equipment'] = {
|
||||
enabled = settings.startup['PHI-MB-EQUIPMENT'].value,
|
||||
stage = 1,
|
||||
|
||||
Reference in New Issue
Block a user