26 lines
792 B
Plaintext
26 lines
792 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: 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;
|
|
}
|