mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 10:23:47 +01:00
Lua_api.txt: Change 'maxwear' to 'uses' in 'tool_capabilities'
'maxwear' has been deprecated for over 3 years Add spaces around '=' nearby
This commit is contained in:
@ -3489,8 +3489,7 @@ Definition tables
|
|||||||
max_drop_level = 0,
|
max_drop_level = 0,
|
||||||
groupcaps = {
|
groupcaps = {
|
||||||
-- For example:
|
-- For example:
|
||||||
snappy={times={[2]=0.80, [3]=0.40}, maxwear=0.05, maxlevel=1},
|
choppy = {times = {[1] = 2.50, [2] = 1.40, [3] = 1.00}, uses = 20, maxlevel = 2},
|
||||||
choppy={times={[3]=0.90}, maxwear=0.05, maxlevel=0}
|
|
||||||
},
|
},
|
||||||
damage_groups = {groupname = damage},
|
damage_groups = {groupname = damage},
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user