mirror of
https://github.com/louisroyer/minetest-toolranks-extras.git
synced 2024-09-28 15:50:57 +02:00
Use updated api from toolranks
This commit is contained in:
parent
cf2549caca
commit
8ee235b096
2
hoe.lua
2
hoe.lua
@ -4,7 +4,7 @@ local function add_hoe(material)
|
||||
local hoe_on_use = ItemStack(name):get_definition().on_use
|
||||
minetest.override_item(name, {
|
||||
original_description = desc,
|
||||
description = toolranks.create_description(desc, 0, 1),
|
||||
description = toolranks.create_description(desc),
|
||||
after_use = toolranks.new_afteruse,
|
||||
-- we also want hoes to increase dugnodes when farming soil
|
||||
on_use = function(itemstack, user, pointed_thing, uses)
|
||||
|
2
init.lua
2
init.lua
@ -3,7 +3,7 @@ local MP = minetest.get_modpath("toolranks_extras")
|
||||
toolranks_extras = {}
|
||||
|
||||
-- mod information
|
||||
toolranks_extras.mod = {version = "1.3.1", author = "Louis Royer"}
|
||||
toolranks_extras.mod = {version = "1.3.2", author = "Louis Royer"}
|
||||
|
||||
-- settings
|
||||
toolranks_extras.settings =
|
||||
|
Loading…
Reference in New Issue
Block a user