REO-EE/_module/nss/nwnx_haks.nss
Jaysyn904 f82740bbbd Initial commit
Initial commit
2024-02-22 13:22:03 -05:00

33 lines
927 B
Plaintext

int SetFallBackTLK(string sTLK);
int SetHakHidden(string sHak, int nLevel = 1);
void DumpHakList();
void SetPlayerEnhanced(object oPC, int nEnhanced);
void DumpHakList()
{
SetLocalString(GetModule(), "NWNX!HAKS!DUMPMESSAGE", "nothing");
}
void DumpHiddenHakList()
{
SetLocalString(GetModule(), "NWNX!HAKS!DUMPHIDDENHAKS", "nothing");
}
int SetHakHidden(string sHak, int nLevel = 1)
{
if(nLevel <= 0)
return -1;
SetLocalString(GetModule(), "NWNX!HAKS!SETHAKHIDDEN", sHak + "¬" + IntToString(nLevel));
return StringToInt(GetLocalString(GetModule(), "NWNX!HAKS!SETHAKHIDDEN"));
}
int SetFallBackTLK(string sTLK)
{
SetLocalString(GetModule(), "NWNX!HAKS!SETFALLBACKTLK", sTLK);
return StringToInt(GetLocalString(GetModule(), "NWNX!HAKS!SETFALLBACKTLK"));
}
void SetPlayerEnhanced(object oPC, int nEnhanced)
{
SetLocalString(oPC, "NWNX!HAKS!SETPLAYERENHANCED", IntToString(nEnhanced));
}