Added Skullkeep's dynamic loot generation system

Added Skullkeep's PRC8 compatible dynamic loot generation system.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-11-08 18:54:51 -05:00
parent 2cb81ae698
commit 0dbb628b75
211 changed files with 40616 additions and 800 deletions

View File

@@ -32,6 +32,8 @@
#include "x2_inc_switches"
#include "nwnx_webhook"
#include "nwnx_util"
#include "sd_lootsystem"
#include "ms_name_inc"
const int EVENT_USER_DEFINED_PRESPAWN = 1510;
const int EVENT_USER_DEFINED_POSTSPAWN = 1511;
@@ -85,6 +87,12 @@ void main()
// Execute default OnSpawn script.
ExecuteScript("nw_c2_default9", OBJECT_SELF);
//:: Set or Randomize name
ms_Nomenclature(OBJECT_SELF);
//:: Testing OnSpawn loot system.
sd_droploot(OBJECT_SELF, OBJECT_SELF);
//Post Spawn event requeste
if (nSpecEvent == 2 || nSpecEvent == 3)