UW2_PRC8/_module/nss/hgll_featlist_11.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

19 lines
769 B
Plaintext

#include "zdlg_include_i"
#include "hgll_func_inc"
const string THIRD_PAGE = "feat_select";
void main()
{
int nFeat;
int nCount2;
object oPC = OBJECT_SELF;
for(nFeat = 1000; nFeat < 1072; nFeat++)//loop through the feat constants
{
if (GetIsFeatAvailable(nFeat, oPC))//if the PC can take the feat, it is displayed
{
nCount2 = AddStringElement(GetNameOfFeat(nFeat), THIRD_PAGE, oPC );
ReplaceIntElement(nCount2 - 1, nFeat, THIRD_PAGE, oPC);//store the skill int with the skill
//DoDebug(oPC, "Response Number: " + IntToString(nCount2) + ", Feat Number: " + IntToString(nFeat) + ".");
}
}
}