fix shapeless recipes

related: https://github.com/minetest-mods/technic/issues/544
This commit is contained in:
BuckarooBanzay 2020-04-27 07:26:03 +02:00
parent f22fbfd31b
commit 0904fc3a61
5 changed files with 5 additions and 24 deletions

View File

@ -19,10 +19,7 @@ minetest.register_craft({
minetest.register_craft({
output = 'technic:copper_locked_chest 1',
type = "shapeless",
recipe = {
{'basic_materials:padlock'},
{'technic:copper_chest'},
}
recipe = {'basic_materials:padlock', 'technic:copper_chest'}
})
technic.chests:register("Copper", {
@ -44,4 +41,3 @@ technic.chests:register("Copper", {
color = false,
locked = true,
})

View File

@ -30,10 +30,7 @@ end
minetest.register_craft({
output = 'technic:gold_locked_chest',
type = "shapeless",
recipe = {
{'basic_materials:padlock'},
{'technic:gold_chest'},
}
recipe = {'basic_materials:padlock', 'technic:gold_chest'}
})
technic.chests:register("Gold", {
@ -55,4 +52,3 @@ technic.chests:register("Gold", {
color = true,
locked = true,
})

View File

@ -26,10 +26,7 @@ minetest.register_craft({
minetest.register_craft({
output = 'technic:iron_locked_chest 1',
type = "shapeless",
recipe = {
{'basic_materials:padlock'},
{'technic:iron_chest'},
}
recipe = {'basic_materials:padlock', 'technic:iron_chest'}
})
technic.chests:register("Iron", {
@ -51,4 +48,3 @@ technic.chests:register("Iron", {
color = false,
locked = true,
})

View File

@ -21,10 +21,7 @@ end
minetest.register_craft({
output = 'technic:mithril_locked_chest 1',
type = "shapeless",
recipe = {
{'basic_materials:padlock'},
{'technic:mithril_chest'},
}
recipe = {'basic_materials:padlock', 'technic:mithril_chest'}
})
-- plain chest

View File

@ -21,10 +21,7 @@ end
minetest.register_craft({
output = 'technic:silver_locked_chest',
type = "shapeless",
recipe = {
{'basic_materials:padlock'},
{'technic:silver_chest'},
}
recipe = {'basic_materials:padlock', 'technic:silver_chest'}
})
technic.chests:register("Silver", {
@ -46,4 +43,3 @@ technic.chests:register("Silver", {
color = false,
locked = true,
})