19 lines
450 B
Plaintext
19 lines
450 B
Plaintext
#include "nw_j_assassin"
|
|
#include "nw_i0_tool"
|
|
|
|
void main()
|
|
{
|
|
// Give the speaker some XP
|
|
RewardPartyXP(400, GetPCSpeaker());
|
|
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "LettertoPresterJohn");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
// Set the variables
|
|
aSetPLocalInt(GetPCSpeaker(), "PresterJohnQuest", 5);
|
|
|
|
}
|