geforkt von mtcontrib/minetest-toolranks
Commits vergleichen
3 Commits
2ce4efa2cd
...
1a9996b76c
| Autor | SHA1 | Datum | |
|---|---|---|---|
| 1a9996b76c | |||
|
|
ea5426316e | ||
|
|
5f87854323 |
4
init.lua
4
init.lua
@@ -10,7 +10,9 @@ toolranks.colors = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function toolranks.get_tool_type(description)
|
function toolranks.get_tool_type(description)
|
||||||
if string.find(description, "Pickaxe") then
|
if not description then
|
||||||
|
return "tool"
|
||||||
|
elseif string.find(description, "Pickaxe") then
|
||||||
return "pickaxe"
|
return "pickaxe"
|
||||||
elseif string.find(description, "Axe") then
|
elseif string.find(description, "Axe") then
|
||||||
return "axe"
|
return "axe"
|
||||||
|
|||||||
1
mod.conf
Normale Datei
1
mod.conf
Normale Datei
@@ -0,0 +1 @@
|
|||||||
|
name = toolranks
|
||||||
In neuem Issue referenzieren
Einen Benutzer sperren