Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
11 lines
151 B
Plaintext
11 lines
151 B
Plaintext
void main()
|
|
{
|
|
object oItem=GetFirstItemInInventory();
|
|
|
|
if (!GetIsObjectValid(oItem))
|
|
{
|
|
SetPlotFlag(OBJECT_SELF,FALSE);
|
|
DestroyObject(OBJECT_SELF);
|
|
}
|
|
}
|