Initial commit. Updated release archive.
This commit is contained in:
21
_module/nss/at_take_gm_messa.nss
Normal file
21
_module/nss/at_take_gm_messa.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
#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);
|
||||
|
||||
}
|
Reference in New Issue
Block a user