mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2024-12-22 17:00:26 +01:00
add toolranks support to lava pick
This commit is contained in:
parent
c0aaf9f8bb
commit
5431359e73
@ -2,3 +2,4 @@ default
|
||||
mobs
|
||||
intllib?
|
||||
lucky_block?
|
||||
toolranks?
|
||||
|
@ -168,3 +168,12 @@ minetest.register_craft({
|
||||
{"", "default:obsidian_shard", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Add [toolranks] mod support if found
|
||||
if minetest.get_modpath("toolranks") then
|
||||
|
||||
minetest.override_item("mobs:pick_lava", {
|
||||
original_description = "Lava Pickaxe",
|
||||
description = toolranks.create_description("Lava Pickaxe", 0, 1),
|
||||
after_use = toolranks.new_afteruse})
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user