27 lines
1013 B
Plaintext
27 lines
1013 B
Plaintext
|
string sSayThis;
|
||
|
int iTalkVolume = TALKVOLUME_TALK;
|
||
|
int iTalkFlag = 0;
|
||
|
#include "nw_i0_tool"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
if((!HasItem(GetPCSpeaker(), "QWEST_19")) == FALSE){
|
||
|
RewardPartyXP(2000, GetPCSpeaker());
|
||
|
CreateItemOnObject("item016", GetPCSpeaker(), 1);
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "QWEST_19");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
DestroyObject(oItemToTake);
|
||
|
DestroyObject(oItemToTake);
|
||
|
sSayThis = "I like that I can stare him in the face now. Here is this for your trouble. Whatever you do...don't drink it.";
|
||
|
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
|
||
|
AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));
|
||
|
DelayCommand(2.0, ExecuteScript("quest_spawn", OBJECT_SELF));}
|
||
|
|
||
|
else {
|
||
|
sSayThis = "Hey! Did you kill Wyzazon or not?";
|
||
|
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
|
||
|
AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));}
|
||
|
}
|