mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Improve hand override documentation
This commit is contained in:
@@ -3768,7 +3768,8 @@ Player Inventory lists
|
||||
* `craftresult`: list containing the crafted output
|
||||
* `hand`: list containing an override for the empty hand
|
||||
* 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
|
||||
any other inventory.
|
||||
|
Reference in New Issue
Block a user