forked from Mineclonia/Mineclonia
Reduce dependencies of mcl_anvils
This commit is contained in:
parent
2f0987b529
commit
c55714ea0c
|
@ -1,6 +1,4 @@
|
||||||
mcl_init
|
mcl_init
|
||||||
mcl_sounds
|
mcl_sounds
|
||||||
mcl_core
|
mcl_core?
|
||||||
mcl_hunger
|
|
||||||
mcl_death_messages
|
|
||||||
screwdriver?
|
screwdriver?
|
||||||
|
|
|
@ -443,6 +443,7 @@ minetest.register_node("mcl_anvils:anvil", anvildef0)
|
||||||
minetest.register_node("mcl_anvils:anvil_damage_1", anvildef1)
|
minetest.register_node("mcl_anvils:anvil_damage_1", anvildef1)
|
||||||
minetest.register_node("mcl_anvils:anvil_damage_2", anvildef2)
|
minetest.register_node("mcl_anvils:anvil_damage_2", anvildef2)
|
||||||
|
|
||||||
|
if minetest.get_modpath("mcl_core") then
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_anvils:anvil",
|
output = "mcl_anvils:anvil",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
@ -451,6 +452,7 @@ minetest.register_craft({
|
||||||
{ "mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot" },
|
{ "mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot" },
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("doc") then
|
if minetest.get_modpath("doc") then
|
||||||
doc.add_entry_alias("nodes", "mcl_anvils:anvil", "nodes", "mcl_anvils:anvil_damage_1")
|
doc.add_entry_alias("nodes", "mcl_anvils:anvil", "nodes", "mcl_anvils:anvil_damage_1")
|
||||||
|
|
Loading…
Reference in New Issue