Amon_PRC8/_module/nss/hatckel_givekey.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

23 lines
342 B
Plaintext

#include "nw_i0_tool"
/* DM Thorn */
//Put this on action taken in the conversation editor
void main()
{
object oPC = GetPCSpeaker();
object oItem;
oItem = GetItemPossessedBy(oPC, "HatckelGuardJournal");
if (GetIsObjectValid(oItem)) DestroyObject(oItem);
RewardPartyXP(500, oPC, FALSE);
CreateItemOnObject("hatckelkey", oPC);
}