use basic_materials mod where possible.

This commit is contained in:
Vanessa Dannenberg
2018-10-30 20:29:28 -04:00
committed by Ekdohibs
parent f702a6597b
commit 44cb8df048
44 changed files with 139 additions and 153 deletions

View File

@ -19,7 +19,7 @@ minetest.register_craft({
minetest.register_craft({
output = 'technic:copper_locked_chest 1',
recipe = {
{'default:steel_ingot'},
{'basic_materials:padlock'},
{'technic:copper_chest'},
}
})

View File

@ -1,4 +1,6 @@
default
basic_materials
moreblocks?
moreores?
pipeworks?
intllib?

View File

@ -30,7 +30,7 @@ end
minetest.register_craft({
output = 'technic:gold_locked_chest',
recipe = {
{'default:steel_ingot'},
{'basic_materials:padlock'},
{'technic:gold_chest'},
}
})

View File

@ -15,6 +15,63 @@ dofile(modpath.."/silver_chest.lua")
dofile(modpath.."/gold_chest.lua")
dofile(modpath.."/mithril_chest.lua")
-- undo all of the locked wooden chest recipes created by default and
-- moreblocks, and just make them use a padlock.
if minetest.get_modpath("moreblocks") then
minetest.clear_craft({
type = "shapeless",
recipe = {
"default:chest",
"default:gold_ingot",
}
})
minetest.clear_craft({
type = "shapeless",
recipe = {
"default:chest",
"default:bronze_ingot",
}
})
minetest.clear_craft({
type = "shapeless",
recipe = {
"default:chest",
"default:copper_ingot",
}
})
end
minetest.clear_craft({
type = "shapeless",
recipe = {
"default:chest",
"default:steel_ingot",
}
})
minetest.clear_craft({output = "default:chest_locked"})
minetest.register_craft({
output = "default:chest_locked",
recipe = {
{ "group:wood", "group:wood", "group:wood" },
{ "group:wood", "basic_materials:padlock", "group:wood" },
{ "group:wood", "group:wood", "group:wood" }
}
})
minetest.register_craft({
output = "default:chest_locked",
type = "shapeless",
recipe = {
"default:chest",
"basic_materials:padlock"
}
})
minetest.register_lbm({
name = "technic_chests:fix_wooden_chests",
nodenames = {"default:chest"},

View File

@ -26,7 +26,7 @@ minetest.register_craft({
minetest.register_craft({
output = 'technic:iron_locked_chest 1',
recipe = {
{'default:steel_ingot'},
{'basic_materials:padlock'},
{'technic:iron_chest'},
}
})

View File

@ -21,7 +21,7 @@ end
minetest.register_craft({
output = 'technic:mithril_locked_chest 1',
recipe = {
{'default:steel_ingot'},
{'basic_materials:padlock'},
{'technic:mithril_chest'},
}
})

View File

@ -21,7 +21,7 @@ end
minetest.register_craft({
output = 'technic:silver_locked_chest',
recipe = {
{'default:steel_ingot'},
{'basic_materials:padlock'},
{'technic:silver_chest'},
}
})