public function putInMountInv(SR_Item $item) { if ($item->isItemStackable()) { if (false !== ($other = $this->getMountInvItemByName($item->getItemName()))) { $other->increase('sr4it_amount', $item->getAmount()); $item->delete(); return true; } } $item->changeOwnerAndPosition($this->getID(), 'mount_inv'); $this->sr4_mount_inv[$item->getID()] = $item; return true; }