Allow set_filter for any filterable inventory (tanks, cars)

Post Reply
fcaf
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri Sep 18, 2015 10:47 pm
Contact:

Allow set_filter for any filterable inventory (tanks, cars)

Post by fcaf »

Opening a tank or car and invoking

Code: Select all

/c game.player.opened.set_filter('raw-wood', 1)
Gives the error "Callable only on inserters or cargowagons". Same for get_filter.

This restriction seems arbitrary since tank and car inventories do support filtering.

Post Reply

Return to “Implemented mod requests”