Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

15
_module/nss/xp_reload.nss Normal file
View File

@@ -0,0 +1,15 @@
#include "xp_inc"
void _initDefaults()
{
// These will fail if anything exists in the database
int lvl;
for (lvl = 1; lvl <= 16; lvl++)
NWNX_SQL_ExecuteQuery("INSERT INTO "+SQL_TABLE_XPDATA+" (Level) VALUES("+IntToString(lvl)+")");
}
void main()
{
WriteTimestampedLogEntry("XP reload");
_initDefaults();
xp_ReloadTables();
}