HiddenTradition_PRC8/_module/nss/at_kerakquest2.nss
2024-06-20 15:47:42 -04:00

25 lines
610 B
Plaintext

#include "nw_j_assassin"
#include "nw_i0_tool"
void main()
{
// Give the speaker some gold
RewardPartyGP(5000, GetPCSpeaker());
// Give the speaker some XP
RewardPartyXP(500, GetPCSpeaker());
// Give the speaker the items
CreateItemOnObject("bookofthelaw", GetPCSpeaker(), 1);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "it_ReynaldsHead");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
// Set the variables
aSetPLocalInt(GetPCSpeaker(), "KerakQuest", 2);
}