This commit is contained in:
2023-05-07 13:27:32 +09:00
parent 339e95dbc3
commit 228303a3d0
24 changed files with 1908 additions and 11 deletions

View File

@@ -2,6 +2,7 @@ local items = {
['assembling-machine'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'assembling-machine',
ref_name = 'assembling-machine-3',
tech = 'automation-3',
@@ -11,6 +12,7 @@ local items = {
['electric-furnace'] = {
enabled = true,
type = 'furnace',
new_type = nil,
name = 'electric-furnace',
ref_name = 'electric-furnace',
tech = 'advanced-material-processing-2',
@@ -20,6 +22,7 @@ local items = {
['oil-refinery'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'oil-refinery',
ref_name = 'oil-refinery',
tech = 'oil-processing',
@@ -29,6 +32,7 @@ local items = {
['chemical-plant'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'chemical-plant',
ref_name = 'chemical-plant',
tech = 'oil-processing',
@@ -38,6 +42,7 @@ local items = {
['centrifuge'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'centrifuge',
ref_name = 'centrifuge',
tech = 'uranium-processing',
@@ -47,6 +52,7 @@ local items = {
['lab'] = {
enabled = true,
type = 'lab',
new_type = nil,
name = 'lab',
ref_name = 'lab',
tech = 'automation',
@@ -55,10 +61,24 @@ local items = {
}
}
if mods['PHI-RS'] then
items['electric-filter-furnace'] = {
enabled = true,
type = 'assembling-machine',
new_type = 'assembling-machine',
name = 'electric-filter-furnace',
ref_name = 'electric-furnace',
tech = 'advanced-material-processing-2',
min = 2,
max = 3
}
end
if mods['aai-industry'] then
items['industrial-furnace'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'industrial-furnace',
ref_name = 'industrial-furnace',
tech = 'automation-3',
@@ -69,6 +89,7 @@ if mods['aai-industry'] then
items['fuel-processor'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'fuel-processor',
ref_name = 'fuel-processor',
tech = 'automation',
@@ -81,6 +102,7 @@ if mods['space-exploration'] then
items['se-space-assembling-machine'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'se-space-assembling-machine',
ref_name = 'se-space-assembling-machine',
tech = 'automation-3',
@@ -91,6 +113,7 @@ if mods['space-exploration'] then
items['se-space-manufactory'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'se-space-manufactory',
ref_name = 'se-space-manufactory',
tech = 'automation-3',
@@ -101,6 +124,7 @@ if mods['space-exploration'] then
items['se-casting-machine'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'se-casting-machine',
ref_name = 'se-casting-machine',
tech = 'automation-3',
@@ -111,6 +135,7 @@ if mods['space-exploration'] then
items['se-pulveriser'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'se-pulveriser',
ref_name = 'se-pulveriser',
tech = 'automation-2',
@@ -121,6 +146,7 @@ if mods['space-exploration'] then
items['se-lifesupport-facility'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'se-lifesupport-facility',
ref_name = 'se-lifesupport-facility',
tech = 'automation-2',
@@ -131,6 +157,7 @@ if mods['space-exploration'] then
items['se-fuel-refinery'] = {
enabled = true,
type = 'assembling-machine',
new_type = nil,
name = 'se-fuel-refinery',
ref_name = 'se-fuel-refinery',
tech = 'automation',

View File

@@ -27,7 +27,11 @@ local function EE(source, tier)
if (tier <= source.max - 1) then
item.next_upgrade = source.name .. '-' .. (tier + 1)
end
if (source.new_type ~= nil) then
item.type = source.new_type
end
data:extend({item})
end
@@ -62,7 +66,7 @@ end
-- tech
local function ET(source, tier)
table.insert(data.raw.technology[source.tech].effects, {type='unlock-recipe', recipe=source.name .. '-' .. tier})
table.insert(data.raw.technology[source.tech].effects, {type='unlock-recipe', recipe=source.ref_name .. '-' .. tier})
end
for _, v in pairs(items) do

View File

@@ -1,8 +1,8 @@
{
"name": "PHI-MB",
"version": "1.0.9",
"version": "1.0.10",
"factorio_version": "1.1",
"date": "2023-05-01",
"date": "2023-05-07",
"title": "Phidias Megabase",
"author": "PHIDIAS0303",
"contributers": "",
@@ -10,6 +10,7 @@
"description": "Additional Machines for Megabase",
"dependencies": [
"base >= 1.1.0",
"? PHI-RS >= 1.0.2",
"? space-exploration >= 0.6.0",
"? aai-industry >= 0.5.0"
]

View File

@@ -86,4 +86,4 @@ se-pulveriser-3=り硬い鉱物やコア断片などを粉砕・破砕するこ
se-lifesupport-facility-2=過酷な環境での生存を支えます。
se-lifesupport-facility-3=過酷な環境での生存を支えます。
se-fuel-refinery-2=燃料を自動で製作します。
se-fuel-refinery-3=燃料を自動で製作します。
se-fuel-refinery-3=燃料を自動で製作します。