14 lines
344 B
Plaintext
14 lines
344 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPC=GetPCSpeaker();
|
||
|
object oToken=GetItemPossessedBy(oPC,"jw_newtok4");
|
||
|
TakeGoldFromCreature(3000,oPC,TRUE);
|
||
|
DestroyObject(oToken);
|
||
|
CreateItemOnObject("jw_newitem4",oPC,1);
|
||
|
PlayAnimation(ANIMATION_LOOPING_CONJURE2,1.0,3.0);
|
||
|
|
||
|
DelayCommand(1.0,ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(481),oPC));
|
||
|
|
||
|
|
||
|
}
|