MSUTeam / MSU

Modding Standards and Utilities for Battle Brothers
21 stars 4 forks source link

revert: "feat: add getItemsByFunction and getItemsByFunctionAtSlot (#323)" #357

Closed LordMidas closed 3 months ago

LordMidas commented 3 months ago

As discussed on Discord. We added these features in #323 ahead of the release of 1.3.0 but are removing them before the release.

This reverts commit b3b8ab6ca81f87bf918277f983b404266b1e4467.

Because the functionality added by these functions can be achieved natively by using .filter on vanilla getAllItems and getAllItemsAtSlot functions of item_container.