27 lines
499 B
Plaintext
27 lines
499 B
Plaintext
|
#include "nw_j_assassin"
|
||
|
|
||
|
#include "nw_i0_tool"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
|
||
|
// Give the speaker some XP
|
||
|
RewardPartyXP(200, GetPCSpeaker());
|
||
|
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SmallChalice");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
|
||
|
|
||
|
AdjustAlignment(oPC, ALIGNMENT_GOOD, 20);
|
||
|
|
||
|
aSetPLocalInt(GetPCSpeaker(), "GrailQuest", 2);
|
||
|
|
||
|
}
|