mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00: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:
parent
f21dae6339
commit
986d70ccec
1 changed files with 10 additions and 11 deletions
|
@ -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},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue