Update data.lua

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

View File

@@ -84,14 +84,25 @@ local function ER(source, tier)
result = source.name .. '-' .. tier, result = source.name .. '-' .. tier,
}}) }})
else else
data:extend({{ if tier == 2 then
type = 'recipe', data:extend({{
name = source.name .. '-' .. tier, type = 'recipe',
energy_required = 2, name = source.name .. '-' .. tier,
enabled = false, energy_required = 2,
ingredients = {{na, 1}, {source.name, 1}}, enabled = false,
result = source.name .. '-' .. tier, ingredients = {{na, 1}},
}}) result = source.name .. '-' .. tier,
}})
else
data:extend({{
type = 'recipe',
name = source.name .. '-' .. tier,
energy_required = 2,
enabled = false,
ingredients = {{na, 1}, {source.name, 1}},
result = source.name .. '-' .. tier,
}})
end
end end
end end