[HERCULES] Follow-up to b294026
- Added documentation for the pc->search_item function and formalized its return values. If the searched item is not found, now it returns the newly introduced constant INDEX_NOT_FOUND.
- Updated pc->search_item checks to make use of INDEX_NOT_FOUND.
- Fixed an issue with anvils not detected by the weapon forginc code, if they were in the first position of the inventory.
- Added ITEMID constants for the four anvil types.
https://github.com/HerculesWS/Hercules/commit/769b1d05aa5cfa8cddfe7d21b35d5c5e4da3bbd6