Compare commits
3 Commits
d7e81d2e2e
...
5c9553e5ac
Author | SHA1 | Date |
---|---|---|
mckaygerhard | 5c9553e5ac | |
mckaygerhard | 0097f270aa | |
mckaygerhard | 1abc4906a9 |
|
@ -14,6 +14,8 @@ and also provides improved xperience over the tool as much you use it..
|
|||
# Technical information
|
||||
---------------------
|
||||
|
||||
This mod is named `toolranks`
|
||||
|
||||
This ranktool is the tenplus1's version, featured custom values throught
|
||||
configuration interface for dig speed, mutiplier and durability.
|
||||
|
||||
|
|
4
init.lua
4
init.lua
|
@ -1,7 +1,7 @@
|
|||
local S
|
||||
|
||||
if minetest.get_translator ~= nil then
|
||||
S = minetest.get_translator("toolrank") -- 5.x translation function
|
||||
S = minetest.get_translator("toolranks") -- 5.x translation function
|
||||
else
|
||||
if minetest.get_modpath("intllib") then
|
||||
dofile(minetest.get_modpath("intllib") .. "/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,
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# textdomain: toolranks
|
||||
@1@2@n@3Level @4 @5@n@6Node dug: @7=@1@2@n@3Nivel @4 @5@n@6Nodos picado: @7
|
||||
pickaxe=pickaxe
|
||||
axe=axe
|
||||
shovel=shovel
|
||||
hoe=hoe
|
||||
sword=sword
|
||||
tool=tool
|
||||
Most used tool is now a @1@2@3 owned by @4 with @5 uses.=La herramienta mas usada es @1@2@3 pertenece a @4 con @5 veces.
|
||||
Your tool is about to break!=Tu herramienta esta a punto de romperse!
|
||||
Your @1@2@3 just leveled up!=Tu @1@2@3 acaba de subir nivel!
|
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Loading…
Reference in New Issue