Player hand list: require init by mods
Mods will now have to initialize the list/slot in order to define the default player hand. They may use the inventory callbacks to prevent abuse of this list.
This commit is contained in:
@@ -2257,8 +2257,10 @@ Player Inventory lists
|
||||
|
||||
* `main`: list containing the default inventory
|
||||
* `craft`: list containing the craft input
|
||||
* `craftpreview`: list containing the craft output
|
||||
* `craftpreview`: list containing the craft prediction
|
||||
* `craftresult`: list containing the crafted output
|
||||
* `hand`: list containing an override for the empty hand
|
||||
* Is not created automatically, use `InvRef:set_size`
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user