generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
25
_module/nss/qst_ck_4_itm_x2.nss
Normal file
25
_module/nss/qst_ck_4_itm_x2.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
Forsettii's Quest Builder System.
|
||||
Version 1.0
|
||||
Created for Layonara Online
|
||||
Forsettii Forsettii@yahoo.com
|
||||
April 7, 2004
|
||||
Quest Used to Check for tow items to take.
|
||||
Variables: item_2_take - Item to Take #1
|
||||
item_2_take1 - Item to Take #2
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */
|
||||
#include "nw_i0_tool"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
string sGet_Item = GetLocalString(OBJECT_SELF, "item_2_take");
|
||||
string sGet_Item1 = GetLocalString(OBJECT_SELF, "item_2_take1");
|
||||
// Make sure the PC speaker has these items in their inventory
|
||||
if(!HasItem(GetPCSpeaker(), sGet_Item))
|
||||
return FALSE;
|
||||
if(!HasItem(GetPCSpeaker(), sGet_Item1))
|
||||
return FALSE;
|
||||
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
Reference in New Issue
Block a user