27 lines
963 B
Plaintext
27 lines
963 B
Plaintext
|
string sSayThis;
|
||
|
int iTalkVolume = TALKVOLUME_TALK;
|
||
|
int iTalkFlag = 0;
|
||
|
#include "nw_i0_tool"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
if((!HasItem(GetPCSpeaker(), "QWEST_30")) == FALSE){
|
||
|
RewardPartyXP(2000, GetPCSpeaker());
|
||
|
CreateItemOnObject("foghornofacid", GetPCSpeaker(), 1);
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "QWEST_30");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
DestroyObject(oItemToTake);
|
||
|
DestroyObject(oItemToTake);
|
||
|
sSayThis = "Here. You can have my wife's horn. I never learned to play it anyway.";
|
||
|
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
|
||
|
AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));
|
||
|
DelayCommand(2.0, ExecuteScript("quest_spawn", OBJECT_SELF));}
|
||
|
|
||
|
else {
|
||
|
sSayThis = "Where is his head?";
|
||
|
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
|
||
|
AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));}
|
||
|
}
|