mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-31 20:21:40 +09:00
Update data.lua
This commit is contained in:
@@ -83,6 +83,16 @@ local function ER(source, tier)
|
||||
ingredients = {{na, 4}},
|
||||
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
|
||||
data:extend({{
|
||||
type = 'recipe',
|
||||
@@ -94,6 +104,7 @@ local function ER(source, tier)
|
||||
}})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- technology
|
||||
local function ET(source, tier)
|
||||
|
||||
Reference in New Issue
Block a user