Lankhmar_PRC8/_module/nss/x2_hen_2comp.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

51 lines
876 B
Plaintext

//::///////////////////////////////////////////////
//:: Name x2_hen_2comp
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Test to see if the PC has two companions already.
Return True if PC already has more than 1 companion
NOTE - July 15 - multiple henchmen not implemented yet
- testing for 1 henchman
UPDATE - July 25th - support for multiple henchmen added
*/
//:://////////////////////////////////////////////
//:: Created By: Keith Warner
//:: Created On: July 15/03
//:://////////////////////////////////////////////
#include "x0_i0_henchman"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int nNumHench = X2_GetNumberOfHenchmen(oPC);
if (nNumHench >= 3)
{
return TRUE;
}
else
{
return FALSE; // Less than 2 henches
}
}