mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Improve hand override documentation
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user