Ancordia_PRC8/_module/nss/col_noitems.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

24 lines
534 B
Plaintext

#include "nw_i0_plot"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int nLevel = GetHitDice(oPC);
int nMinorNum;
int nMajorNum;
if (nLevel <= 3)
{
nMinorNum = GetNumItems(oPC, "anc_it_slimeball");
nMajorNum = GetNumItems(oPC, "anc_it_cubeskull");
}
else //if (nLevel <= 7)
{
nMinorNum = GetNumItems(oPC, "anc_it_colhidew");
nMajorNum = GetNumItems(oPC, "anc_it_colhideb");
}
if (nMinorNum > 0 || nMajorNum > 0) return FALSE;
return TRUE;
}