Ejemplo n.º 1
0
    /*
     * ItemEntry instance may be overrided by a few unique items
     */
    public virtual void UseBy(Actor a)
    {
        if( kind == Kind.Food ) {
            a.Eat (this);
        } else {
            GUIManager.GetManager().Message(a.charName + " は " + itemName + " を つかった!" );
        }

        _TestStatusApply(a);

        if(WillUseConsumeItem) {
            Destroy (this);
        }
    }