HiddenTradition_PRC8/_module/nss/at_take_gm_messa.nss

22 lines
526 B
Plaintext
Raw Permalink Normal View History

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