class DisassembleOwnedJunkEffector extends Effector
{

	protected override function ActionOn( owner : GameObject )
	{
		var i : Int32;
		var list : array< weak< gameItemData > >;
		GameInstance.GetTransactionSystem( owner.GetGame() ).GetItemListByTag( owner, 'Junk', list );
		for( i = 0; i < list.Size(); i += 1 )
		{
			if( !( list[ i ].HasTag( 'Jewellery' ) ) )
			{
				ItemActionsHelper.DisassembleItem( owner, list[ i ].GetID(), list[ i ].GetQuantity() );
			}
		}
	}

}

