Initial commit
Initial commit [1.18]
This commit is contained in:
27
_module/nss/quest_21_e.nss
Normal file
27
_module/nss/quest_21_e.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
string sSayThis;
|
||||
int iTalkVolume = TALKVOLUME_TALK;
|
||||
int iTalkFlag = 0;
|
||||
#include "nw_i0_tool"
|
||||
|
||||
void main()
|
||||
{
|
||||
if((!HasItem(GetPCSpeaker(), "QWEST_21")) == FALSE){
|
||||
RewardPartyXP(1500, GetPCSpeaker());
|
||||
CreateItemOnObject("flaskofbravery", GetPCSpeaker(), 1);
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "QWEST_21");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
DestroyObject(oItemToTake);
|
||||
DestroyObject(oItemToTake);
|
||||
sSayThis = "Oh my. Well...thank you. Here...take this as a token of my gratitude.";
|
||||
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 = "How do I know you found her if you don't have proof?";
|
||||
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
|
||||
AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));}
|
||||
}
|
||||
Reference in New Issue
Block a user