| 113 | } |
| 114 | |
| 115 | String ItemDatabase::guiFilterString(ItemPtr const& item) { |
| 116 | return (item->name() + item->friendlyName() + item->description()).toLower().splitAny(" ,.?*\\+/|\t").join(""); |
| 117 | } |
| 118 | |
| 119 | bool ItemDatabase::canMakeRecipe(ItemRecipe const& recipe, HashMap<ItemDescriptor, uint64_t> const& availableIngredients, StringMap<uint64_t> const& availableCurrencies) { |
| 120 | for (auto const& p : recipe.currencyInputs) { |
nothing calls this directly
no test coverage detected