[2.0] Allow to add comparator string to quick bar filter with set_quick_bar_slot
Posted: Thu Nov 28, 2024 10:16 pm
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.
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.