Very minor thing, just 1 line. This signal would return the InventoryItem
It would be of minor help for various misc use-cases.
I know there is Node.child_entered_tree(node: Node) but that can be a false flag because wrong usage can have a non-InventoryItem as a child of ItemSlot. This signal has the validation of equip and always returns InventoryItem
Very minor thing, just 1 line. This signal would return the
InventoryItem
It would be of minor help for various misc use-cases.I know there is
Node.child_entered_tree(node: Node)
but that can be a false flag because wrong usage can have a non-InventoryItem
as a child ofItemSlot
. This signal has the validation ofequip
and always returnsInventoryItem
Edit: nvm, found
ItemSlotBase
has this.