16 lines
520 B
Plaintext
16 lines
520 B
Plaintext
|
////////////////////////////////////////////////////////////////////////////////
|
||
|
// wazoo_it_berry - Good Berry item activation
|
||
|
// By Deva B. Winblood. November 20th, 2008
|
||
|
////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oPC=GetItemActivator();
|
||
|
object oItem=GetItemActivated();
|
||
|
effect eHeal=EffectHeal(1);
|
||
|
DestroyObject(oItem);
|
||
|
FloatingTextStringOnCreature("** Eats a good berry **",oPC);
|
||
|
ApplyEffectToObject(DURATION_TYPE_INSTANT,eHeal,oPC);
|
||
|
}
|