Initial commit

Initial commit
This commit is contained in:
Jaysyn904
2024-09-13 09:10:39 -04:00
parent 09dc8aec92
commit d1c309ae63
8437 changed files with 8727659 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
void main()
{
object oTrash = OBJECT_SELF;
object oStuff = GetFirstItemInInventory(oTrash);
object oPc = GetLastOpenedBy();
int iPc = GetIsPC(oPc);
if (iPc == TRUE){
do{
int iP = GetPlotFlag(oStuff);
if (iP == TRUE){
SetPlotFlag(oStuff, FALSE);
DestroyObject(oStuff, 0.0f);
}
if (iP == FALSE){
SetPlotFlag(oStuff, FALSE);
DestroyObject(oStuff, 0.0f);
}
}while ((oStuff = GetNextItemInInventory(oTrash)) != OBJECT_INVALID);
}
}