Initial commit
Initial commit [1.18]
This commit is contained in:
31
_module/nss/quest_10_b.nss
Normal file
31
_module/nss/quest_10_b.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
string sSayThis;
|
||||
string sSayThis1;
|
||||
int iTalkVolume = TALKVOLUME_TALK;
|
||||
int iTalkFlag = 0;
|
||||
#include "nw_i0_tool"
|
||||
|
||||
void main()
|
||||
{
|
||||
if((!HasItem(GetPCSpeaker(), "QWEST_10")) == FALSE){
|
||||
RewardPartyXP(800, GetPCSpeaker());
|
||||
CreateItemOnObject("gloveof", GetPCSpeaker(), 1);
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "QWEST_10");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
DestroyObject(oItemToTake);
|
||||
DestroyObject(oItemToTake);
|
||||
sSayThis = "Um...yes...thank you. Here...take these gloves...they were my father's.";
|
||||
sSayThis1 = "These gloves don't happen to have a magic ability of smell removal do they?";
|
||||
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
|
||||
AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));
|
||||
AssignCommand(GetPCSpeaker(), ClearAllActions(TRUE));
|
||||
DelayCommand(2.0, AssignCommand(GetPCSpeaker(), ActionSpeakString(sSayThis1, iTalkVolume)));
|
||||
DelayCommand(2.0, ExecuteScript("quest_spawn", OBJECT_SELF));
|
||||
AdjustAlignment(GetPCSpeaker(), ALIGNMENT_NEUTRAL, 5);}
|
||||
|
||||
else {
|
||||
sSayThis = "Hey! Did you get his body or not?";
|
||||
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
|
||||
AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));}
|
||||
}
|
||||
Reference in New Issue
Block a user