The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

86 ratings
Spindown D4
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
75.746 KB
Jul 10, 2021 @ 11:01am
Jul 24, 2021 @ 6:04pm
4 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Spindown D4

In 1 collection by NeoDement
NeoDement's Isaac Mods
5 items
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.
41 Comments
NeoDement  [author] Apr 11, 2022 @ 7:22am 
the spin down d4 will reroll into the next valid passive item
fugedor Apr 11, 2022 @ 7:17am 
what happens if I have 3 puch teardrops (it's id is one more than the "r key") and i use this item?
Mango Mar 31, 2022 @ 9:11pm 
Ah okay, fair enough -- well fingers crossed it happens eventually haha
NeoDement  [author] Mar 31, 2022 @ 7:21pm 
It could but I'd have to devote some time to make it happen at some point
Mango Mar 31, 2022 @ 6:29pm 
Oh, I didn't realize it was gonna have to cache every time I launch the game lol -- guess I'll disable it then :(

Is it possible to make the mod permanently store the cached unlock info after the first time, by chance?
Mango Mar 29, 2022 @ 8:45pm 
Oh, I meant to ask if the game could be paused while I left it idle to cache the unlocks haha. But I can probably bear to sit with the game in focus for about 2 min while it caches if you reckon that's all it would take :P
NeoDement  [author] Mar 29, 2022 @ 7:20pm 
It will stop lagging after being left idle for a while. It should take about 2 minutes iirc, sorry to hear it's laggy on your machine.

It can't be paused but it can be disabled either by using the Mod Config Menu or by opening 'Steam\steamapps\common\The Binding of Isaac Rebirth\data\spindownd4_item\saveX.dat' and changing '"checkUnlocked":true' to '"checkUnlocked":false'.
Mango Mar 29, 2022 @ 7:13pm 
Oh, so... It'll stop lagging eventually if I leave it idle for a while? Can it be paused?
NeoDement  [author] Mar 29, 2022 @ 5:33pm 
Yeah, it has to cache the unlocked state of every item. You can get a speed boost by disabling "Check if items are unlocked" in the mod config menu.
Mango Mar 29, 2022 @ 5:09pm 
Not sure why, but having this mod enabled causes my game to intermittently, heavily lag every 3 seconds for about 5 seconds at a time, making the game basically unplayable. Shame, because the concept of the mod is fun.