summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorChristopher Head <chead@chead.ca>2017-10-15 22:56:06 -0700
committerChristopher Head <chead@chead.ca>2017-10-15 22:59:20 -0700
commit15bb7b129c7d9dabba3617a5f17cf3ddbf0d6154 (patch)
treea547cb65236feff648084afe40943bb9acb7c834 /models
parent30bedbfecc57f515f3c8578e225e27671e52316b (diff)
downloadpipeworks-15bb7b129c7d9dabba3617a5f17cf3ddbf0d6154.tar
pipeworks-15bb7b129c7d9dabba3617a5f17cf3ddbf0d6154.tar.gz
pipeworks-15bb7b129c7d9dabba3617a5f17cf3ddbf0d6154.tar.bz2
pipeworks-15bb7b129c7d9dabba3617a5f17cf3ddbf0d6154.tar.xz
pipeworks-15bb7b129c7d9dabba3617a5f17cf3ddbf0d6154.zip
Enhance params to can_remove and remove_item
By passing the list name and the slot index, these functions now receive all data related to removal of an item from an inventory: the side on which the removal is taking place, as well as which stack is being pulled from. This means it’s no longer necessary to choose between implementing `on_metadata_inventory_take` (which tells you which item stack was pulled from but not from which side of the node) or `remove_item` (which tells you which side the filter is on but not which item stack it wants to take).
Diffstat (limited to 'models')
0 files changed, 0 insertions, 0 deletions