#include "nw_i0_tool"
/*   Script generated by
Lilac Soul's NWN Script Generator, v. 1.6

For download info, please visit:
http://www.lilacsoul.revility.com    */

//Put this on action taken in the conversation editor
void main()
{

object oPC = GetPCSpeaker();

object oItem;

oItem = GetItemPossessedBy(oPC, "Foodfungi");

      int stackSize = GetItemStackSize(oItem);

      if ( stackSize == 1 )
      {
         DestroyObject( oItem );
      }
      else
      {
         stackSize -= 1;
         SetItemStackSize( oItem, stackSize );
      }


RewardPartyXP(15, oPC, FALSE);

RewardPartyGP(500, oPC, FALSE);

}