mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-31 04:11:39 +09:00
.
This commit is contained in:
@@ -744,6 +744,7 @@ local items = {
|
|||||||
name='nuclear-fuel',
|
name='nuclear-fuel',
|
||||||
tech='kovarex-enrichment-process'
|
tech='kovarex-enrichment-process'
|
||||||
},
|
},
|
||||||
|
--[[
|
||||||
{
|
{
|
||||||
name='fast-inserter',
|
name='fast-inserter',
|
||||||
tech='fast-inserter'
|
tech='fast-inserter'
|
||||||
@@ -764,6 +765,7 @@ local items = {
|
|||||||
name='stack-filter-inserter',
|
name='stack-filter-inserter',
|
||||||
tech='stack-inserter'
|
tech='stack-inserter'
|
||||||
},
|
},
|
||||||
|
]]
|
||||||
{
|
{
|
||||||
name='uranium-rounds-magazine',
|
name='uranium-rounds-magazine',
|
||||||
tech='uranium-ammo'
|
tech='uranium-ammo'
|
||||||
|
|||||||
@@ -103,10 +103,10 @@ if settings.startup['PHI-RS'].value then
|
|||||||
if #recipe_multiplier > 0 then
|
if #recipe_multiplier > 0 then
|
||||||
for i=1, #items['recipe'], 1 do
|
for i=1, #items['recipe'], 1 do
|
||||||
if data.raw.recipe[items['recipe'][i].name] then
|
if data.raw.recipe[items['recipe'][i].name] then
|
||||||
item = table.deepcopy(data.raw.recipe[items['recipe'][i].name])
|
|
||||||
item.enabled = false
|
|
||||||
|
|
||||||
for j=1, #recipe_multiplier, 1 do
|
for j=1, #recipe_multiplier, 1 do
|
||||||
|
item = table.deepcopy(data.raw.recipe[items['recipe'][i].name])
|
||||||
|
item.enabled = false
|
||||||
|
|
||||||
if item.normal and item.normal then
|
if item.normal and item.normal then
|
||||||
for k, v in pairs(item.normal.ingredients) do
|
for k, v in pairs(item.normal.ingredients) do
|
||||||
if v[1] and v[2] then
|
if v[1] and v[2] then
|
||||||
@@ -215,10 +215,10 @@ if settings.startup['PHI-RS'].value then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
item.name = item.name .. '-s' .. j
|
item.name = items['recipe'][i].name .. '-s' .. j
|
||||||
|
|
||||||
data:extend({item})
|
data:extend({item})
|
||||||
table.insert(data.raw.technology[items[i].tech].effects, {type='unlock-recipe', recipe=item.name})
|
table.insert(data.raw.technology[items['recipe'][i].tech].effects, {type='unlock-recipe', recipe=item.name})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -3,13 +3,13 @@ data:extend({
|
|||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-EN',
|
name = 'PHI-EN',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = true,
|
default_value = false,
|
||||||
order = 'A1'
|
order = 'A1'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-MB',
|
name = 'PHI-MB',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = true,
|
default_value = false,
|
||||||
order = 'A2'
|
order = 'A2'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
|
|||||||
Reference in New Issue
Block a user