| 16940 | } |
| 16941 | |
| 16942 | bool playerKnowsRecipe(const int player, ItemType basePotion, ItemType secondaryPotion, ItemType result) |
| 16943 | { |
| 16944 | for ( auto& entry : clientLearnedAlchemyRecipes[player] ) |
| 16945 | { |
| 16946 | if ( entry.first == result |
| 16947 | && ((entry.second.first == basePotion && entry.second.second == secondaryPotion) |
| 16948 | || (entry.second.first == secondaryPotion && entry.second.second == basePotion)) ) |
| 16949 | { |
| 16950 | return true; |
| 16951 | } |
| 16952 | } |
| 16953 | return false; |
| 16954 | } |
| 16955 | |
| 16956 | void getInventoryItemAlchemyAnimSlotPos(Frame* slotFrame, Player* player, int itemx, int itemy, int& outPosX, int& outPosY, int yOffset) |
| 16957 | { |