Get item stack for a filter of the quickbar
Posted: Wed Mar 06, 2019 12:58 pm
Would it be possible to add a way to get a item stack for a filter of the quick bar?
Right now exist get_quick_bar_slot which returns a item prototype, but that is too generic for my use.
I'm trying to make a mod that swaps the first half of the quick bar with the second half, the problem is when there are blueprint in the bar it will swap them for a generic blueprint and it also seems to break links to the blueprint library(I guess those don't have a prototype)
I believe this should be a simple addition to the API, changing get_quick_bar_slot to return an item stack would also work but I'm not sure that changing existing methods is OK.
Right now exist get_quick_bar_slot which returns a item prototype, but that is too generic for my use.
I'm trying to make a mod that swaps the first half of the quick bar with the second half, the problem is when there are blueprint in the bar it will swap them for a generic blueprint and it also seems to break links to the blueprint library(I guess those don't have a prototype)
I believe this should be a simple addition to the API, changing get_quick_bar_slot to return an item stack would also work but I'm not sure that changing existing methods is OK.