Page 1 of 1

Allow set_filter for any filterable inventory (tanks, cars)

Posted: Thu Oct 15, 2015 10:38 pm
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.