LoD_PRC8/_module/nss/sd_forge_cond01.nss

19 lines
478 B
Plaintext
Raw Normal View History

2023-09-21 21:20:34 -04:00
#include "sd_forge_util"
int StartingConditional()
{
int iCond = 1;
int iResult;
object oPC = GetLastSpeaker();
iResult = GetLocalInt(oPC, "ForgeItemCount");
iResult = (iResult>=((Forge_GetCurrentPage(oPC) * 10) + iCond));
//SpeakString("ForgeItemCount: " + IntToString(GetLocalInt(oPC, "ForgeItemCount")), TALKVOLUME_SHOUT);
//SpeakString("ForgeCurrentpage: " + IntToString(Forge_GetCurrentPage(oPC)), TALKVOLUME_SHOUT);
return iResult;
}