codetaylor / artisan-worktables-1.12

Themed worktables with a tool slot.
Other
17 stars 6 forks source link

Recipes with more than one item in a slot fail #255

Closed democat3457 closed 3 years ago

democat3457 commented 3 years ago

Expected Behavior

Recipes that specify multiple items in one slot should remove that number of items from the slot when the output is taken out.

Current Behavior

Recipes that specify multiple items in one slot will only work if there is the specified amount in that slot, but the recipes will only remove one item from that slot. It is similar to vanilla's method of handling multiple items in one slot as well.

Steps to Reproduce (for bugs)

  1. Add any crafting recipe via CrT that has an item with an amount greater than one in a slot.
  2. Put that number of items into one slot and observe that the output shows.
  3. Take out the output, observe that the number of items only goes down by one.

Script

https://haste.antti.codes/lagiworeti.less

Your Environment

codetaylor commented 3 years ago

The current behavior is the expected behavior.

AW is designed to be used with recipes that specify only one ingredient per slot in the crafting grid. It does, however, allow multiple ingredients in the secondary ingredient slots.

I do not intend to change this behavior.