WoR_PRC8/_module/nss/quest_07_e.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

28 lines
1.1 KiB
Plaintext

string sSayThis;
int iTalkVolume = TALKVOLUME_TALK;
int iTalkFlag = 0;
#include "nw_i0_tool"
void main()
{
if((!HasItem(GetPCSpeaker(), "QWEST_07")) == FALSE){
RewardPartyXP(1000, GetPCSpeaker());
CreateItemOnObject("bootsoftheelwins", GetPCSpeaker(), 1);
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "QWEST_07");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
DestroyObject(oItemToTake);
DestroyObject(oItemToTake);
sSayThis = "Very impressive. I thought I would never see you again. You can have my magic boots. They make for good traveling.";
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));
DelayCommand(2.0, ExecuteScript("quest_spawn", OBJECT_SELF));
AdjustAlignment(GetPCSpeaker(), ALIGNMENT_NEUTRAL, 5);}
else {
sSayThis = "Hey! Did you find the mask or not?";
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));}
}