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:
17
_module/nss/sd_setdrop.nss
Normal file
17
_module/nss/sd_setdrop.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "sd_lootsystem"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastOpenedBy();
|
||||
|
||||
DropSetItem(oPC, OBJECT_SELF);
|
||||
|
||||
|
||||
object oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||||
while (GetIsObjectValid(oItem))
|
||||
{
|
||||
if (GetIdentified(oItem)==FALSE)SetIdentified(oItem, TRUE);
|
||||
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user