25 lines
457 B
Plaintext
25 lines
457 B
Plaintext
|
#include "nw_i0_tool"
|
||
|
/* Script generated by
|
||
|
DM Kaine
|
||
|
|
||
|
For info, please visit:
|
||
|
http://www.kaineonline.net */
|
||
|
|
||
|
//Put this on action taken in the conversation editor
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
RewardPartyXP(4000, oPC, FALSE);
|
||
|
|
||
|
CreateItemOnObject("edgeamulet", oPC);
|
||
|
|
||
|
object oItem;
|
||
|
oItem = GetItemPossessedBy(oPC, "KellsHead");
|
||
|
|
||
|
if (GetIsObjectValid(oItem)) DestroyObject(oItem);
|
||
|
SetLocalInt(GetPCSpeaker(),"hamley",1);
|
||
|
}
|
||
|
|