Bag of Crafting

**Bag of Crafting** is an unlockable activated item added in *The Binding of Isaac: Repentance*.

## Effects

* Upon use, pressing an attack direction will cause a swipe attack with high knockback and 3 damage.
	+ The swipe scales in size with Isaac's size.
	+ The swipe will appear further from Isaac the higher his range is.
	+ The swipe can be used to open Spiked Chests and Mimic Chests without taking damage.
	+ The swipe can be used to block bullets.
	+ The swipe can be aimed at any direction.
* Swiping a pickup on the floor will add it to the bag. The bag's contents cannot be dropped. Up to 8 pickups can be stored.
	+ Double pickups like Double Hearts will add two copies to the bag. Blended hearts will add one red heart and one soul heart.
	+ Sticky nickels can't be picked up unless unstuck.
	+ Chests and sacks can't be picked up, but can be opened with a swipe even behind obstacles.
	+ If Isaac has enough money to buy a pickup from a Shop, using Bag of Crafting on that pickup will purchase it and automatically add it to the bag.
* Once 8 pickups are held in the bag, the bag can be used once more to spawn an item pedestal.
	+ If a recipe would result in an item that hasn't yet been unlocked, a random item will be crafted instead.
* There are a total of 29 different types of consumables that can be placed in the bag. The ordering does not matter for the outcome.

**As  Tainted Cain:**

* If pickups are collected after the max of 8 is reached, the contents shift left and up, deleting the top left slot and adding at the bottom right. Tapping the switch key cycles the bag's contents left and up in a loop, making it possible to choose which pickup to overwrite.
* Once 8 pickups are held in the bag, the bag will show a preview what would be crafted. Holding down the Use Pill/Card button will craft the item and place it directly in Tainted Cain's inventory.
	+ Crafting an activated item while already holding one will turn the old one into pickups like collecting it would.
	+ Curse of the Blind hides the crafting preview.

**Item Tags:**

The Bag of Crafting respects item tags, and which items are available during the current run. This includes the following:

* As  The Lost,  prevents items with the `nolostbr` item tag from appearing when using the Bag of Crafting.
* As  Tainted Lost, items without the `offensive` item tag will not appear.
* As  Keeper, items with the `nokeeper` item tag will not appear.
* In Greed Mode or Greedier Mode, items with the `nogreed` item tag will not appear.
* In Daily Challenges, items with the `nodaily` item tag will not appear.
* In Challenge, items with the `nochallenge` item tag will not appear.
* If NO! is held, active items will be skipped.
* If Sacred Orb is held, items with Quality 0 or 1 will be skipped. If a recipe that can only result in a quality 0-1 item is put in the bag, it will replace the item with Breakfast instead.

## Component Types and Qualities

The cumulative quality of the components impacts the quality of the item received. The pickups belonging to each component type and their qualities are listed as below. The item received can be from the Treasure Room item pool (1× chance), Shop item pool (2× chance), Boss Room item pool (2× chance), or one of the pools listed in the table below. The pools in the table below require at least 1 of the corresponding component. For example, Devil Room items require at least 1 Black Heart.

If the recipe chooses an item from Devil, Angel, or Secret Room pools, the total component quality is lowered by 5 before the resulting item quality, and consequently the resulting item, is determined.

* 'Special Pools' are defined for this chart as Angel Room, Devil Room, and Secret Room item pools.

## Synergies

* /: Can be used in conjunction with Bag of Crafting to gain a large amount of locusts/stat boosts.
* +  as  Judas /  Dark Judas: Collecting Red Hearts, Half Red Hearts or Double Hearts with this item has a chance to transform them into Black Hearts. When a heart is transformed in this way, a special sound plays and a black smoke puff appears. Does not work with Scared Hearts.
* /: Can be a powerful combination for when Isaac is not  Tainted Cain as he can craft multiple item pedestals in the Treasure Room which can be rerolled repeatedly using the generated Shop Restock Machine.

## Interactions

* : Bag of Crafting is dropped before pickups can be collected or items crafted.
* : No effect.
* : Swiping the bag at the Ludovico tear will bat it in the direction of the knockback.
* : Sacred Orb prevents crafting quality 1 and 0 items, typically resulting in them being replaced by quality 2 items. If a recipe that can only result in a quality 0-1 item is put in the bag, it will replace the item with Breakfast instead.
* : Holding up Bag of Crafting counts as an active item use for Wild Card, and can be replicated.

## Recipes

Bag of Crafting's recipes are based on seed, but there are some fixed recipes that exist in every run. These items need to be unlocked to be crafted.

## Uncraftable Items

These items have no recipes and cannot be crafted using the Bag of Crafting.[*Check ingame*]

* Glitch items created by  or  Corrupted Data

## Trivia

* There are

(

(

29
8

)

)

=

(

29
8
−
1

8

)

=
30
,
260
,
340

{\displaystyle \left(\!\!\binom{29}{8}\!\!\right) = \binom{29+8-1}{8} = 30,260,340}

, or about 30.3 million, combinations of pickups and consumables that can be used in the Bag of Crafting. The item chosen is based on a formula mapping the chosen consumables, item weights, and quality values into a single outcome. On average, about 1/4th of all items will represent over 1/2 of all recipes.
* The average consumable value is ~4.31.
* Bag of Crafting's item description hints to 's item description as well as  Tainted Cain's description, implying that "Destiny" is the items that will appear in a given seed.
* Bag of Crafting used to have the "`nochallenge`" and "`nodaily`" tag instead of the "`offensive`" tag. The resulting changes now allow it to be encountered on Challenges, Daily Challenges, and by  Tainted Lost.

## References

1. ↑ Fixed recipes are defined in `recipes.xml`.