mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Improve hand override documentation
This commit is contained in:
parent
a94c9a73ba
commit
af1ffce084
1 changed files with 2 additions and 1 deletions
|
@ -3768,7 +3768,8 @@ Player Inventory lists
|
||||||
* `craftresult`: list containing the crafted output
|
* `craftresult`: list containing the crafted output
|
||||||
* `hand`: list containing an override for the empty hand
|
* `hand`: list containing an override for the empty hand
|
||||||
* Is not created automatically, use `InvRef:set_size`
|
* Is not created automatically, use `InvRef:set_size`
|
||||||
* Is only used to enhance the empty hand's tool capabilities
|
* Players use the first item in this list as their hand
|
||||||
|
* It behaves as if the default hand `""` has been overridden for this specific player
|
||||||
|
|
||||||
Custom lists can be added and deleted with `InvRef:set_size(name, size)` like
|
Custom lists can be added and deleted with `InvRef:set_size(name, size)` like
|
||||||
any other inventory.
|
any other inventory.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue