Spindown D4

If you liked this item, please rate it up on Steam Workshop page.

Author: NeoDement

Last revision: 25 Jul, 2021 at 01:04 UTC

File size: 73.73 KB

On Steam Workshop

Description:

This item works exactly like the D4, except instead of randomizing the items held, it subtracts 1 from the items internal ID (just like the Spindown Dice)! This makes it very powerful, as you can roll into items from any pool. Because of this it’s a Quality 4 item, just like the Spindown Dice. 6 Room charge.

This item has some additional settings which can be accessed if you have the Mod Config Menu installed, including settings to make the Spindown D4 reroll work more like the Afterbirth+ D4 (granting extra heart containers and pickups as you roll through the item pool) or to Spin UP through item IDs instead of down!

-By default, will not reroll into items you don’t already have unlocked (just like the Spindown Dice)! This can be disabled for a bit of a performance boost.

-Works with custom passive items, as long as they are in a valid pool!

-Properly handles Book of Virtues and Car Battery interactions!

UPDATES:

25/07/2021 – Added tracking for three more tags – Tech, Food and Stars. The Spindown D4 will now correctly preserve any modded transformations that make use of those tags.

Set the "null tag" items this item uses to correctly grant transformations to hidden. This should stop the Spindown Dice showing them when rerolling items with very high IDs.

KNOWN BUGS:

-The layers on the Giantbook animation for the Spindown D4 are slightly messed up. This visual bug also applies to the Berkano rune. It’s a very minor issue and I have no idea how to fix it, so for now, I’m leaving it.

-Your inventory on the pause and game over screen may appear to have some question mark icons on them. This is a side effect from a workaround to make sure Transformations get granted while health and other pickups don’t when rerolling. It’s a minor problem and is unlikely to be fixed unless the API changes.

-Very rarely, rerolling will crash the game. This is unavoidable due to the random nature of this item. Sometimes disabling other mods temporarily may stop the crash.

-Rolling away or rolling into Mongo Baby is currently disabled due to the instability it seems to cause on some PCs. This may be changed in a later version.

SPECIAL THANKS:

Thanks to RoboticTea, who let me use their Mod Config Menu integration code.

Thanks to piber, who made the Mod Config Menu and Giantbook rendering override code.

Thanks to Wofsauge for the code snippet to check if an item is unlocked.

Download
Required DLC:

These DLC should be installed in order to use this item.


The Binding of Isaac: Repentance