13 lines
1.4 KiB
Plaintext
13 lines
1.4 KiB
Plaintext
int StartingConditional()
|
|
{
|
|
|
|
int iHasntItems = 0;
|
|
if((GetItemInSlot(INVENTORY_SLOT_CHEST, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_ARMS, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_ARROWS, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_BELT, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_BOLTS, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_BOOTS, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_BULLETS, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_CLOAK, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_CWEAPON_B, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_CWEAPON_L, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_CWEAPON_R, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_HEAD, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_LEFTHAND, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_LEFTRING, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_NECK, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, GetPCSpeaker()) == OBJECT_INVALID) && (GetItemInSlot(INVENTORY_SLOT_RIGHTRING, GetPCSpeaker()) == OBJECT_INVALID))
|
|
iHasntItems = 1;
|
|
if(iHasntItems == 0)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
|
|
}
|