Files
HeroesStone_PRC8/_module/nss/tlr_ifrightsval.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

23 lines
760 B
Plaintext

//::///////////////////////////////////////////////
//:: Tailoring - If RightHand Item is Valid
//:: tlr_ifrightsval.nss
//:: Copyright (c) 2006 Stacy L. Ropella
//:://////////////////////////////////////////////
/*
Checks to make sure there is a valid item
equipped in the PC's right hand slot & in the
model's right hand slot
*/
//:://////////////////////////////////////////////
//:: Created By: Stacy L. Ropella
//:: Created On: January 29, 2006
//:://////////////////////////////////////////////
int StartingConditional()
{
if (GetIsObjectValid(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, GetPCSpeaker()))
&& GetIsObjectValid(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, OBJECT_SELF)))
return TRUE;
else
return FALSE;
}