Item ban list
Are there items you just hate getting?
This mod lets you remove any items you don’t want to appear, allowing you to have a customised list of items that are not allowed to spawn or be held by the player, replacing them with a random item or a specific item of your choice.
The mod also forces active item pedestals to be rerolled if you have the NO! trinket, even if they were already spawned before you picked it up. (this can be disabled in the config menu)
This should work for modded items though if you add or remove a mod with items in it the numbers might need to be updated.
You can use the Mod Config Menu to update the list of items.
You can also update the list by editing the mods save file and using console commands.
The save file is formatted like this, :X>Y. where X is the banned item and Y is what it turns into.
0 = random so for example the code below is ‘turn breakfast into a random item and turn head of krampus into lump of coal’.
:25>0.
:293>132.
You can also set a list of items to use for the replacement, e.g.
:130>73-207-10-151.
The first item will be replaced by one of the other items at random.
Of course you don’t have to edit the save file to update the list, you can use console commands by pressing ~.
There is "showitemids" to see the id number of items in the room.
"hideitemids" to stop showing item id numbers.
"addtoitemlist 11>99" to set an item to replace, where the first number is the id of the item you don’t want and the second is an item you do, set the second number to 0 for it to be random.
(and again you can specify multiple items it can use for the replacement by using dashes e.g. "addtoitemlist 11>22-33-44")
"removefromitemlist 11" to remove an item from the list.
"showitemlist" to show your current item ban list.
and "clearitemlist" to wipe the item list and start over.
:MOD SUPPORT:
You can create item ban lists specific to your modded characters or challenges (or vanilla characters/challenges), just make a list of items and copy paste some code into your mod and the items will be banned while the player is using your character or playing your challenge, see the main.lua for more info.
This is included in POTATO PACK 2.
Required DLC:
These DLC should be installed in order to use this item.
The Binding of Isaac: Afterbirth+
Revisions:
Old revisions of this mod are available below. Click the link to download.