Show the new tool level in the level-up chat message and from
* backported 9e02edb5e2
* upload screenshot
master
parent
d7e81d2e2e
commit
1abc4906a9
2
init.lua
2
init.lua
|
@ -108,7 +108,7 @@ function toolranks.new_afteruse(itemstack, user, node, digparams)
|
|||
toolranks.colors.white
|
||||
)
|
||||
|
||||
minetest.chat_send_player(pname, levelup_text)
|
||||
minetest.chat_send_player(pname, levelup_text .. " "..lastlevel.." -> "..level)
|
||||
|
||||
minetest.sound_play("toolranks_levelup", {
|
||||
to_player = pname,
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Loading…
Reference in New Issue