Scriptname AddFishItemandDelete extends ObjectReference  
{For the fake critters you add the given ingredient and delete the object.}

ingredient Property myIngredient Auto
potion Property myFood Auto
MiscObject Property myItem  Auto
int Property numberOfIngredients = 1 Auto
int Property numberOfFood= 1 Auto
Int Property numberOfItem= 1  Auto
objectReference myPlayer

Event OnActivate(ObjectReference akActionRef)
    myPlayer = game.getPlayer()
    if akActionRef == myPlayer
        if myIngredient
            myPlayer.addItem(myIngredient, numberOfIngredients)
        endIf
        if myFood
            myPlayer.addItem(myFood, numberOfFood)
        endIf
        if myItem
            myPlayer.addItem(myItem, numberOfItem)
        endIf
        self.disable()
        utility.wait(0.1)
        self.delete()        
    endIf
EndEvent