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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user