27 lines
485 B
Plaintext
27 lines
485 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 2.3
|
|
|
|
For download info, please visit:
|
|
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
|
|
|
#include "nw_i0_tool"
|
|
void main()
|
|
{
|
|
object oPC;
|
|
|
|
if (!GetIsPC(GetItemActivatedTarget())
|
|
){
|
|
|
|
SendMessageToPC(GetItemActivator(), "Improper use of item!");
|
|
return;}
|
|
|
|
oPC = GetItemActivatedTarget();
|
|
|
|
RewardPartyXP(24000, oPC, FALSE);
|
|
|
|
RewardPartyGP(70000, oPC, FALSE);
|
|
|
|
CreateItemOnObject("heroestoken", oPC);
|
|
|
|
}
|