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,27 @@
////////////////////////////////////////////////////////////////////////////////
//
// Crafting Trash Can
// opw_trashcan
// By:Don Anderson
// dandersonru@msn.com
//
// This is placed in the OnClosed Event of
// a chest or whatever.
//
// Destroys anything that is placed in this can
//
////////////////////////////////////////////////////////////////////////////////
void main()
{
object oTrashCan = OBJECT_SELF;
object oItemInTrash = GetFirstItemInInventory(oTrashCan);
while(GetIsObjectValid(oItemInTrash) == TRUE)
{
DestroyObject(oItemInTrash);
oItemInTrash = GetNextItemInInventory(oTrashCan);
}
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect( VFX_FNF_SMOKE_PUFF ), OBJECT_SELF );
}