WoR_PRC8/_module/nss/quest_39_d.nss

27 lines
969 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
string sSayThis;
int iTalkVolume = TALKVOLUME_TALK;
int iTalkFlag = 0;
#include "nw_i0_tool"
void main()
{
if((!HasItem(GetPCSpeaker(), "QWEST_39")) == FALSE){
RewardPartyXP(500, GetPCSpeaker());
CreateItemOnObject("ringof003", GetPCSpeaker(), 1);
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "QWEST_39");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
DestroyObject(oItemToTake);
DestroyObject(oItemToTake);
sSayThis = "That's too bad. Well...here is a little something for your trouble.";
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));
DelayCommand(2.0, ExecuteScript("quest_spawn", OBJECT_SELF));}
else {
sSayThis = "Are you gonna show me the skull?";
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));}
}