mirror of
https://github.com/lisacvuk/minetest-toolranks.git
synced 2024-11-14 22:10:22 +01:00
Increase required nodes per level
Might increase even more later.
This commit is contained in:
parent
5bfb603bf4
commit
923fb61054
10
init.lua
10
init.lua
|
@ -33,15 +33,15 @@ function toolranks.create_description(name, uses, level)
|
||||||
end
|
end
|
||||||
|
|
||||||
function toolranks.get_level(uses)
|
function toolranks.get_level(uses)
|
||||||
if uses <= 100 then
|
if uses <= 200 then
|
||||||
return 1
|
return 1
|
||||||
elseif uses < 200 then
|
|
||||||
return 2
|
|
||||||
elseif uses < 400 then
|
elseif uses < 400 then
|
||||||
|
return 2
|
||||||
|
elseif uses < 1000 then
|
||||||
return 3
|
return 3
|
||||||
elseif uses < 800 then
|
elseif uses < 2000 then
|
||||||
return 4
|
return 4
|
||||||
elseif uses < 1600 then
|
elseif uses < 3200 then
|
||||||
return 5
|
return 5
|
||||||
else
|
else
|
||||||
return 6
|
return 6
|
||||||
|
|
Loading…
Reference in New Issue
Block a user