Skip to content

Commit

Permalink
fix shapeless recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Apr 27, 2020
1 parent f22fbfd commit 0904fc3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 24 deletions.
6 changes: 1 addition & 5 deletions technic_chests/copper_chest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand All @@ -44,4 +41,3 @@ technic.chests:register("Copper", {
color = false,
locked = true,
})

6 changes: 1 addition & 5 deletions technic_chests/gold_chest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand All @@ -55,4 +52,3 @@ technic.chests:register("Gold", {
color = true,
locked = true,
})

6 changes: 1 addition & 5 deletions technic_chests/iron_chest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand All @@ -51,4 +48,3 @@ technic.chests:register("Iron", {
color = false,
locked = true,
})

5 changes: 1 addition & 4 deletions technic_chests/mithril_chest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 1 addition & 5 deletions technic_chests/silver_chest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand All @@ -46,4 +43,3 @@ technic.chests:register("Silver", {
color = false,
locked = true,
})

0 comments on commit 0904fc3

Please sign in to comment.