Item & PlayerInventoryUI: Bags now have the ability to filter items by groups

This commit is contained in:
Van
2026-04-28 19:30:32 +03:00
parent 0b372111cf
commit b314f7adf8
3 changed files with 104 additions and 4 deletions

View File

@@ -57,6 +57,19 @@ Settings._itemstack_inventory_size = nil
---@type string?
Settings._itemstack_inventory_background = nil
---Defines a list of group names that items
---with which can be placed in an item's inventory.
---
---If it is `nil`, then any items will be allowed except those disallowed in `_itemstack_inventory_disallowed_groups`.
---@type string[]?
Settings._itemstack_inventory_allowed_groups = nil
---Defines a list of group names that items
---with which cannot be placed in an item's inventory.
---@type string[]?
Settings._itemstack_inventory_disallowed_groups = nil
---Texture shown in the inventory GUI.
---Defaults to a 3D rendering of the node if left empty.