using UnityEngine;
using System.Collections;
using Framework.Entities;

public class DropResponsive : Responsive
{
    protected override void InnerAwake()
    {
        base.InnerAwake();
        if (this.displayName == "")
        {
            this.displayName = "Smoky Feather";
        }
    }

    protected override void InnerUpdate()
    {

    }

    protected override void Respond(RespondAction action)
    {
        AlchemistBag bag = action.GetSender().GetGameObject().GetComponent<AlchemistBag>();
        if (bag != null)
        {
            bag.invDropCount++;
            Interact(new PickUpDayCycleBehaviour.SetUsedAction());
        }
    }
}
