PoA_PRC8/_module/nss/sd_setdrop.nss
Jaysyn904 0dbb628b75 Added Skullkeep's dynamic loot generation system
Added Skullkeep's PRC8 compatible dynamic loot generation system.  Full compile.  Updated release archive.
2024-11-08 18:54:51 -05:00

18 lines
331 B
Plaintext

#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);
}
}