18 lines
331 B
Plaintext
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);
|
||
|
}
|
||
|
|
||
|
}
|