So, the Clickable pickup script is missing from the inventory.zip file. Below is the script for those who need it
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GameDevTV.Inventories;
namespace RPG.Control
{
[RequireComponent(typeof(Pickup))]
public class ClickablePickup : MonoBehaviour, IRaycastable
{
Pickup pickup;
private void Awake()
{
pickup = GetComponent<Pickup>();
}
public CursorType GetCursorType()
{
if (pickup.CanBePickedUp())
{
return CursorType.Pickup;
}
else
{
return CursorType.FullPickup;
}
}
public bool HandleRaycast(PlayerAttackingStateController callingController)
{
if (Input.GetMouseButton(0))
{
pickup.PickupItem();
}
return true;
}
}
}