Update data.lua

This commit is contained in:
2023-05-09 02:23:42 +09:00
parent 60e07f5733
commit 481f267771

View File

@@ -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',
@@ -94,6 +104,7 @@ local function ER(source, tier)
}}) }})
end end
end end
end
-- technology -- technology
local function ET(source, tier) local function ET(source, tier)