Initial Upload
Initial Upload
This commit is contained in:
18
_module/nss/sd_forge_cond01.nss
Normal file
18
_module/nss/sd_forge_cond01.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user