Aschbourne_PRC8/_module/nss/_c_page_forward.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -04:00

20 lines
362 B
Plaintext

#include "_c_inc_message"
void main()
{
object oPC = GetPCSpeaker();
int nIndex = GetDataBaseInt(_INDEX_);
int nPage = GetDataBaseInt(_PAGE_);
if(nPage >= nIndex) {
FloatingTextStringOnCreature("End of List",oPC);
PlaySound("gui_error");
return;
} else {
++nPage;
SetDataBaseInt(_PAGE_,nPage);
}
}