Legacy depends fix, add grind recipes for plates

This commit is contained in:
Evert Prants 2018-08-10 11:32:35 +03:00
parent 2616a9317a
commit 1673aef090
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
2 changed files with 11 additions and 0 deletions

View File

@ -136,6 +136,7 @@ end
for mat, ingot in pairs(ingot_map) do
local plate = elepd.registered_plates[mat]
local dust = elepd.registered_dusts[mat]
if plate then
elepm.register_craft({
@ -144,6 +145,15 @@ for mat, ingot in pairs(ingot_map) do
output = plate.item,
time = 4,
})
if dust then
elepm.register_craft({
type = "grind",
recipe = { plate.item },
output = dust.item .. " 2",
time = 6,
})
end
end
end

View File

@ -1,2 +1,3 @@
default
pipeworks?
tubelib?