Allows you to craft with resources in any storage container.
This is a mod for Raft based on the Craft From Storage mod by Azzmurr
This mods allows you to craft items with resources from both your inventory and other storages. Resources are taken in the following priority
It can take partial resources from each inventory. It should not count resources in inventories opened by other players
crafting should sync used resources to other players containers opened by other players will be skipped when checking for amount of resources.
This mod is released as is and may contain bugs
In case of problems, please create an issue
[HarmonyPatch(typeof(CostMultiple), "HasEnoughInInventory")] [HarmonyPatch(typeof(BuildingUI_CostBox), "SetAmountInInventory")] [HarmonyPatch(typeof(PlayerInventory), "RemoveCostMultiple")] [HarmonyPatch(typeof(Inventory), "GetItemCount", typeof(Item_Base))] [HarmonyPatch(typeof(Inventory), "RemoveItem", typeof(string), typeof(int))] [HarmonyPatch(typeof(CookingTable_Slot), "InsertItem")]
Description last changed on 2021-07-28