But what is giving me the most trouble is how to check if the player eats something, I didn't find a function to do it, can someone help?
Scriptname MyFancyGarlicScript Extends ActiveMagicEffectEvent OnEffectStartSelf.AddItem(etc.)EndEvent
.....................extends referencealiasFormList property FoodList AutoEvent OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer) if akDestContainer == none && akItemReference == none if (FoodList.HasForm(akBaseItem)) ;do something Debug.Notification("Very Tasty!") endif endifDebug.Trace("item event data: " + akBaseItem + ", " + aiItemCount + ", " + akItemReference + ", " + akSourceContainer)endevent