20 lines
592 B
Plaintext
20 lines
592 B
Plaintext
|
#include "nw_i0_tool"
|
||
|
#include "NW_O2_CONINCLUDE"
|
||
|
#include "NW_I0_GENERIC"
|
||
|
void main()
|
||
|
{
|
||
|
SetListeningPatterns();
|
||
|
string sSayThis;
|
||
|
int iTalkVolume = TALKVOLUME_TALK;
|
||
|
int iTalkFlag = 0;
|
||
|
sSayThis = "I am ever grateful.";
|
||
|
DelayCommand(1.0, ActionSpeakString(sSayThis, iTalkVolume));
|
||
|
RewardPartyXP(200, GetPCSpeaker());
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SpiritStone");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
SetIsDestroyable(TRUE);
|
||
|
DelayCommand(3.0, DestroyObject(OBJECT_SELF));
|
||
|
}
|