add toolranks support to lava pick

这个提交包含在:
TenPlus1 2017-07-28 08:46:48 +01:00
父节点 c0aaf9f8bb
当前提交 5431359e73
共有 2 个文件被更改,包括 10 次插入0 次删除

查看文件

@ -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