mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-31 04:11:39 +09:00
Update data.lua
This commit is contained in:
@@ -83,6 +83,16 @@ local function ER(source, tier)
|
|||||||
ingredients = {{na, 4}},
|
ingredients = {{na, 4}},
|
||||||
result = source.name .. '-' .. tier,
|
result = source.name .. '-' .. tier,
|
||||||
}})
|
}})
|
||||||
|
else
|
||||||
|
if tier == 2 then
|
||||||
|
data:extend({{
|
||||||
|
type = 'recipe',
|
||||||
|
name = source.name .. '-' .. tier,
|
||||||
|
energy_required = 2,
|
||||||
|
enabled = false,
|
||||||
|
ingredients = {{na, 1}},
|
||||||
|
result = source.name .. '-' .. tier,
|
||||||
|
}})
|
||||||
else
|
else
|
||||||
data:extend({{
|
data:extend({{
|
||||||
type = 'recipe',
|
type = 'recipe',
|
||||||
@@ -93,6 +103,7 @@ local function ER(source, tier)
|
|||||||
result = source.name .. '-' .. tier,
|
result = source.name .. '-' .. tier,
|
||||||
}})
|
}})
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- technology
|
-- technology
|
||||||
|
|||||||
Reference in New Issue
Block a user