HoS_PRC8/_mod/_module/nss/wazoo_it_berry.nss

16 lines
520 B
Plaintext
Raw Normal View History

2024-11-25 19:36:07 -05:00
////////////////////////////////////////////////////////////////////////////////
// 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);
}