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

25 lines
529 B
Plaintext

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