2adbb6a5fe
When starting a craft, tools are now taken, and the templateId is stored in the production in the user profile When finishing a craft, space for both the tools and crafted item is verified, then both are added to the player stash correctly flagged as non-FiR and FiR respectively Included a bit of code cleanup/reorg in areas I was working in A few assumptions were made: - Tools are expected to be single items, not stacks of an item (productions.json doesn't include a count property for tools, so this seems safe) - Tools will never be a preset or have child items - That the `canPlaceItemsInInventory` method over a concatenation of the tools and crafted item(s) will result in the same result as calling it individually over the two collections of items individually Will need tested once merged into 380, I did basic testing, but there's a lot of different crafts that require tools Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/234 Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com> Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>