PWE_PRC8/_module/nss/end_hamley_gear.nss

25 lines
457 B
Plaintext
Raw Permalink Normal View History

2025-04-03 10:29:41 -04:00
#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);
}