24 lines
336 B
Plaintext
24 lines
336 B
Plaintext
|
#include "nw_i0_tool"
|
||
|
void main()
|
||
|
{
|
||
|
object oPC;
|
||
|
|
||
|
if (!GetIsPC(GetItemActivatedTarget())
|
||
|
){
|
||
|
|
||
|
SendMessageToPC(GetItemActivator(), "Improper use of item!");
|
||
|
return;}
|
||
|
|
||
|
oPC = GetItemActivator();
|
||
|
|
||
|
RewardPartyXP(10000, oPC, FALSE);
|
||
|
|
||
|
RewardPartyGP(10000, oPC, FALSE);
|
||
|
|
||
|
FloatingTextStringOnCreature("You are Rewarded for the Quest", oPC);
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|