Skip to main content

CanMoveItem

Usage​

  • Called when moving an item from one inventory slot to another
  • Return a non-null value to override default behavior

Examples​

""
object CanMoveItem(Item item, PlayerInventory playerLoot, uint targetContainer, int targetSlot, int amount)
{
Puts("CanMoveItem works!");
return null;
}