[2.0] Allow to add comparator string to quick bar filter with set_quick_bar_slot

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
picklock
Fast Inserter
Fast Inserter
Posts: 237
Joined: Sat Nov 09, 2019 6:49 am
Contact:

[2.0] Allow to add comparator string to quick bar filter with set_quick_bar_slot

Post by picklock »

With player.get_quick_bar_slot you get the quick bar filter with name, quality and comparator for the slot.

However, these values cannot be written back with player.set_quick_bar_slot. There is no option to set the string for the comparator.

With the inventories this is possible without any problems. With inventory.get_filter you get the filter with name, quality and comparator string. The same values can also be set with inventory.set_filter, i.e. name, quality and also the comparator string.

Please also enable this for player.set_quick_bar_slot.

Specifically: Please enable the setting of the filters of a quick bar slot via player.set_quick_bar_slot with the values name, quality and comparator.
My Mods: Picklocks Fusion Power | Picklocks Inserter | Picklocks Lithium Polymer Accumulator | Picklocks rocket silo stats | Picklocks Set Inventory Filters | Picklocks QuickBar Import/Export | Picklocks Nauvis Cliff-Explosives
Post Reply

Return to “Modding interface requests”