merge beacon-branch into fork beacon branch #7

Merged
chmodsayshello merged 453 commits from VoxeLibre/VoxeLibre:beacons into beacon-"fork" 2022-07-23 11:30:49 +02:00
1 changed files with 8 additions and 16 deletions
Showing only changes of commit bd6d777f05 - Show all commits

View File

@ -8,22 +8,14 @@ minetest.register_tool("mcl_spyglass:spyglass",{
_mcl_toollike_wield = true,
})
local function craft_spyglass(ingot)
minetest.register_craft({
output = "mcl_spyglass:spyglass",
recipe = {
{"xpanes:pane_natural_flat"},
{ingot},
{ingot},
}
})
end
if minetest.get_modpath("mcl_copper") then
craft_spyglass("mcl_copper:copper_ingot")
else
craft_spyglass("mcl_core:iron_ingot")
end
minetest.register_craft({
output = "mcl_spyglass:spyglass",
recipe = {
{"mcl_amethyst:amethyst_shard"},
{"mcl_copper:copper_ingot"},
{"mcl_copper:copper_ingot"},
}
})
local spyglass_scope = {}