1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2024-12-23 01:10:26 +01:00

add toolranks support to lava pick

This commit is contained in:
TenPlus1 2017-07-28 08:46:48 +01:00
parent c0aaf9f8bb
commit 5431359e73
2 changed files with 10 additions and 0 deletions

View File

@ -2,3 +2,4 @@ default
mobs mobs
intllib? intllib?
lucky_block? lucky_block?
toolranks?

View File

@ -168,3 +168,12 @@ minetest.register_craft({
{"", "default:obsidian_shard", ""}, {"", "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