22 lines
508 B
Plaintext
22 lines
508 B
Plaintext
|
#include "nw_j_assassin"
|
||
|
#include "nw_i0_tool"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
// Give the speaker some gold
|
||
|
RewardPartyGP(300, GetPCSpeaker());
|
||
|
|
||
|
// Give the speaker some XP
|
||
|
RewardPartyXP(100, GetPCSpeaker());
|
||
|
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "MerasLetter");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
// Set the variables
|
||
|
aSetPLocalInt(GetPCSpeaker(), "Mera1st", 2);
|
||
|
|
||
|
}
|