generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
22
_module/nss/oqs_chk_min5.nss
Normal file
22
_module/nss/oqs_chk_min5.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Olander's and 9Fires' Quest/Commodities/Bounties System
|
||||
// o9f_chk_min5
|
||||
// By Don Anderson
|
||||
// dandersonru@msn.com
|
||||
//
|
||||
// Called from the NPC Commodity Convo
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oNPC = OBJECT_SELF;
|
||||
object oMod = GetModule();
|
||||
|
||||
int nQTY = GetLocalInt(oNPC,"BUY_TOTALITEMS");
|
||||
|
||||
//All Checks
|
||||
if(nQTY >= 5) return TRUE;
|
||||
else return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user