The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

119 arvostelua
Amazing Chest Ahead
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
68.798 KB
9.1.2022 klo 3.37
20.3.2024 klo 1.51
10 muutosilmoitusta ( näytä )
Tarvitset lisäosan käyttääksesi tätä esinettä.

Tilaa ladataksesi
Amazing Chest Ahead

Kuvaus
This mod aims to meddle a bit with them vanilla chests.

Regular chests now have 5% chance to become wooden chests.

Golden chests now have 5% chance to become old chests.

Red chests now have 25% to drop a cracked key in addition to anything that was inside, and the Red Key is more likely to appear in a red chest now.

Haunted chests, in addition to their regular content, now either drop between half and 2 soul hearts (leaning closer to 1), or a spooky pedestal item from a spooky item pool created specifically for this chest.

Why: I think it's a shame that game has content that is so underutilized. It's almost impossible to see an old chest, wooden chests appear once in a blue moon, and red room is too nice and interesting of a concept to be so rare.

As for the haunted chests, I always hated how they were just worse regular chests, especially with how hard they were to unlock, and how rare they are.
38 kommenttia
Iris Heart  [tekijä] 20.3.2024 klo 1.52 
@Guantol thank you, I implemented this change.
Guantol 12.2.2024 klo 4.33 
The mod can sometimes crash the game on room change:
this is what's written in the log file:
[INFO] - Lua stack trace:
[INFO] - [C](-1): HasCollectible
[INFO] - ...aac Rebirth/mods/amazing_chest_ahead_2713661861/main.lua(130): ?
[INFO] - Caught exception, writing minidump...

I looked at the script and I found a for loop that cycles item Id from 1 to 1000 and passes them to player:HasCollectible().

Unofortunately passing non existant Item Ids to HasCollectible leads to undefined behaviour, at best it returns incorrect results and at worst it leads to a game crash (though rarely).

The for loop at line 127 of the main.lua file should be changed to:
for i = 1, Isaac.GetItemConfig():GetCollectibles().Size -1 do
scrimblo bingus 23.11.2022 klo 17.32 
me thinking it's a chest and gets jumpscared by spider
i hate blighttown
Iris Heart  [tekijä] 7.8.2022 klo 2.42 
I checked the script, and there is nothing wrong with it. It works for me too, without crashing.

I have 3 guesses:
1. You're somehow running an outdated version, in which case uninstall it, launch the game, quit, and re-install;
2. It conflicts with another mod;
3. Actually a subsection of 2, if you have any mod that create items in the starting room, they might be what causing this.
rainy 7.8.2022 klo 0.56 
My game crashed and I found these in my game log:
[INFO] - Lua stack trace:
[INFO] - [C](-1): HasCollectible
[INFO] - ...aac Rebirth/mods/amazing_chest_ahead_2713661861/main.lua(130): ?
[INFO] - Caught exception, writing minidump...
Viewbob 1.5.2022 klo 13.30 
i think the old chest feature should be removed or given a heavily reduced chance as locked chests appear kinda often and also since it could contain a really good item and even an angel room item it could be really op
Iris Heart  [tekijä] 15.3.2022 klo 8.03 
Yeah, it gave me a dupe of the item I already had. It seems the issue is on your end.
Iris Heart  [tekijä] 15.3.2022 klo 7.51 
I mean, I didn't make it to be this way, it's just my first guess how the game did it on it's own. I would think it would just spawn a dupe of the held item regardless, but I really don't know how can it spawn a Crooked Penny. I just opened a bunch of haunted chests and they all gave me items from the haunted pool. Did you have chaos? Do you have any mods that mess with item pedestals in general?
Standing Cirno Fumo 15.3.2022 klo 7.47 
Not to my knowledge, but replacing items you already had with random stuff feels like a bad way of handling it before the entire pool is exhausted
Iris Heart  [tekijä] 15.3.2022 klo 7.31 
Hm... weird. See, items are added into item pool by ID. I just checked, and Crooked Penny ID is definitely not in the pool. So at the moment I don't know how this could've happen. When it happened, did you already have any spooky ghost related items on you?