PoA_PRC8/_module/nss/sd_setdrop.nss

18 lines
331 B
Plaintext
Raw Permalink Normal View History

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