generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
25
_module/nss/bow_check.nss
Normal file
25
_module/nss/bow_check.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: x2_con_sw_haverh
|
||||
//:: Copyright (c) 2003 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Only returns true if you have a valid
|
||||
item in your right hand.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Brent
|
||||
//:: Created On: September 2003
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, GetPCSpeaker());
|
||||
if ((GetBaseItemType(oItem) == BASE_ITEM_LONGBOW)||
|
||||
(GetBaseItemType(oItem) == BASE_ITEM_SHORTBOW)||
|
||||
(GetBaseItemType(oItem) == BASE_ITEM_HEAVYCROSSBOW)||
|
||||
(GetBaseItemType(oItem) == BASE_ITEM_LIGHTCROSSBOW))
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user