The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Pay Chest
54 条留言
ZODIACC 9 月 9 日 下午 5:41 
something is causing these to infinitely spawn lol so laggy
ExWaiZee 1 月 9 日 上午 4:57 
I'll have to do a bit more digging to find the specific mod/item, cause I don't remember the item's name or what mod it comes from. I'll let you know when I do figure it out.
☢ Nato Potato ☢  [作者] 1 月 8 日 下午 5:15 
ah yeah that would be a mod conflict, paychests don't replace eternal chests, I guess a normal chest spawned and then this mod tried to turn it into a paychest and the other mod tried to turn it into an eternal chest both at the same time
what's the mod/item? might do a bit of testing
ExWaiZee 1 月 8 日 上午 8:45 
I just wanted to come here and say that this mod has issues with eternal chests, if the mod tries to force an eternal chest to become a pay chest, the eternal chest remains but interacting with it still consumes the player's gold, like some code for the pay chest is still running despite it not properly having become a pay chest.

Although, I encountered this bug when playing with another mod that has an item that forces all chests to become eternal chests, so take my words with a grain of salt.
☢ Nato Potato ☢  [作者] 1 月 7 日 下午 8:26 
you might be spawning it in with the wrong subtype (theres a 'full' subtype and an 'empty' subtype) , try spawn 5.99.1
FORGE 1 月 7 日 上午 11:27 
nothing in console btw
FORGE 1 月 7 日 上午 11:27 
this doesnt work. maybe because of conflict with other mods but whenever i spawn one in via the console, i cant interact with it even if i have coins and they disappear when i leave and reenter the room. might because of rgon? i would recommend updating this to work with rgon cause i really like this idea but im not willing to give up rgon lol
☢ Nato Potato ☢  [作者] 2024 年 12 月 29 日 下午 8:25 
I've been checking both the pack version and the stand alone version of the mod and haven't noticed any problems, if people having issues could check their debug console by pressing ~ and see if there's any error messages that might help.
Unami Fox 2024 年 12 月 29 日 下午 7:43 
These are broken for me, after putting in the required amount of coins the chest glitches out and spams the opening sound but nothing comes out, after leaving the room the chest disappears and nothing is dropped.
Gorse 2024 年 3 月 13 日 下午 1:55 
my game is so broken i dont have to pay and the chests duplicate and spawn gold chests
Goobert 2023 年 3 月 22 日 上午 10:55 
and ALSO gold chests that come from chests can still become pay chests, and spam even MORE G/P chests.
Goobert 2023 年 3 月 22 日 上午 10:55 
if im not careful they spam and spawn until i re-enter the room, and bringing in a bunch of gold and pay chests.
Handsome 2022 年 7 月 3 日 上午 1:16 
EA loot box
:praisesun:
☢ Nato Potato ☢  [作者] 2022 年 6 月 26 日 上午 5:47 
have added a synergy for pay to play in AB+ to bring it closer to the Repentance implementation (and in Rep it just stops the random replacing since gold chests with pay to play are literally just pay chests anyway)
all paychests will only cost 1 coin while you have the item regardless of which version of the game you have
Zekava 2022 年 3 月 24 日 下午 12:04 
Hey now these really exist with Pay to Play lol
EnderGrimm 2021 年 12 月 10 日 下午 5:47 
Can I suggest a tweak/compat added well to actually, add the ability for the mod Time Machine to work with this (would also make sense to be added to the beggar bundle you have) the other suggestion is to change the item pool that the pay chests pull from of instead of the golden chest pool change to the Shop/Secret Room pools since I personally affiliate these chests with greed.
V 2021 年 6 月 10 日 上午 11:28 
:ori:
☢ Nato Potato ☢  [作者] 2021 年 6 月 10 日 上午 5:37 
updated this for repentance, should also now reveal contents with guppy's eye and able to be opened using bombs with broken padlock
V 2021 年 5 月 19 日 上午 1:00 
Updated for reptence?
brickey.8 2020 年 2 月 2 日 下午 8:28 
This is a very cool addition to the game. Once you've played with them, it becomes a wonder they weren't in there to start.
☢ Nato Potato ☢  [作者] 2019 年 7 月 21 日 下午 7:11 
literally uses the gold chest spawn pool, gives whatever you would get if it were a gold chest instead
Badsy the Edgecat 2019 年 7 月 21 日 下午 3:39 
also out of curiosity do these use the gold chest drop pool? like, do they have a chance of spawning items?
Badsy the Edgecat 2019 年 7 月 21 日 下午 3:27 
this is what the spiked chests should be, nice mod
☢ Nato Potato ☢  [作者] 2018 年 10 月 3 日 上午 3:48 
could just be your RNG, but you can always decrease their spawn rate if it keeps happening
Enzo1403 2018 年 10 月 2 日 上午 10:53 
Is it just me or do they appear a bit to often?
☢ Nato Potato ☢  [作者] 2018 年 9 月 8 日 上午 5:19 
ah, yeah it seemed to sometimes have a frame of overlap between creating the reward chest and checking for chest conversions, wouldnt happen in the old version since everything used to happen sequentially, should be fixed now
warmCabin 2018 年 9 月 8 日 上午 1:13 
Hey, you did it! Very nice! There's one more callback you may be interested in: MC_POST_GAME_STARTED passes you a savestate parameter, which is exactly the continuedRun flag you compute in your code.

Also, a new bug has cropped up. Your chests have a weird habit of giving me empty chests as rewards... My guess is the golden chests you spawn for payouts are getting caught in the replacement code, but I haven't looked into it too much.
☢ Nato Potato ☢  [作者] 2018 年 9 月 5 日 下午 7:41 
thanks for the feedback, between work and uni I don't really get much time to go through and check my mods for stuff like this, I'm sure there's a lot that could be done for my mods (especially the older ones that were made back when the API had less features), suprised I never thought of using a 'fake' stat to trigger cache update before, will probably update later today.
warmCabin 2018 年 9 月 5 日 上午 7:15 
Guess I can't do cool formatting in comments? Just pretend the tags parsed...
warmCabin 2018 年 9 月 5 日 上午 7:12 
If you do decide to refactor your code a bit, these ideas should get you started:
[list]
[*]Put the collide/pay code in a MC_PRE_NPC_COLLISION callback. The game is already making distance checks for collison, so no need to do it again yourself. Plus, you can now specify a radius in entites.xml.
[*]Add a luck cache to all your trinkets. This will make them trigger a cache update (MC_EVALUATE_CACHE) when collected, which is a good place to alter probabilities and flags and things. Even though you're technically using a luck cache update, you don't necessarily have to alter luck! I use this trick all the time.
[/list]

I hope you don't take this the wrong way--I only go this in-depth for mods that I really like. I can't tell you how many times I've been in ♥♥♥♥♥♥ runs with no keys, and one of your chests came along and gave me something useful!
warmCabin 2018 年 9 月 5 日 上午 7:10 
Hey, just letting you know your code is really inefficient.
In general, if you find yourself writing:

[code]
local entities = Isaac.GetRoomEntities()
for i = 1, #entities do
[/code]

You're doing something wrong.

Right now your code is doing a lot of unecessary checks and math 60 times a second. It's simple math, but this stuff really adds up when you get a lot of mods running. You should try and use callbacks for most of this stuff; the only thing in this mod that shouldn't be in a callback is your key decrementing for the challenge.
BosS 2018 年 6 月 11 日 下午 4:30 
agreed
rojix 2018 年 6 月 4 日 下午 12:56 
Any chance you can make the pay chests themselves and the trinkets seperate? I like the mod but I'm not a fan of the trinkets
☢ Nato Potato ☢  [作者] 2018 年 3 月 2 日 上午 4:11 
added data saving and console commands so people can adjust the spawn rates however they like
Sora-MMK 2017 年 10 月 22 日 下午 11:38 
i think the trinket sprites are too big. The should be smaller.
Waffles From Nowhere 2017 年 9 月 10 日 下午 3:18 
cool idea, but they show up too much...
白给五只猪 2017 年 7 月 18 日 上午 7:45 
i hope this enter in the next booster pack
mutantdevle 2017 年 7 月 11 日 上午 8:32 
The chests are WAY too common. I don't know if it is bad luck but essentially every chest I see now is a pay chest with the occasional stone ones. I've only seen 1 gold and 0 normal chests since downloading this.
Shiro 2017 年 6 月 1 日 下午 3:53 
can you make a verson with just the chests
OctoberFEST 2017 年 5 月 31 日 下午 6:35 
Maybe you should change your challenge name to "Pay Up"
☢ Nato Potato ☢  [作者] 2017 年 5 月 29 日 下午 7:41 
have changed how chests treat luck, now the higher your luck the more likely the chests cost will be lowererd, still with a minimum of 2 (and a maximum of 7 if you have negative luck), mathmatically speaking having say 7 luck makes it impossible for a chest to cost 7 and unlikely to cost 6, while 10+ luck brings the highest possible cost down to 5,
(and 15+ for 4 and 20+ for 3, max cost won't go lower than 3)

not that you need 10 luck to have chests typically cost 5 or less, just that if you have less than 10 luck there's always a chance a chest could cost 6
BR1MST0NE_ 2017 年 5 月 29 日 上午 6:36 
Really cool. Only (minor) criticism is that they seem to show up waaaayyyy too often, even without the trinkets you added.

theadods 2017 年 5 月 29 日 上午 4:43 
could you make it to pay max to 5? 7 is kinda not worth the content most of the time, even with mom's key sometime it doesn't pay well
Rougheredge 2017 年 5 月 24 日 下午 3:50 
I vote this for implementation in the next booster pack
☢ Nato Potato ☢  [作者] 2017 年 5 月 21 日 下午 10:00 
chests should no longer turn into paychests if the player has the left hand trinket
dwazemie 2017 年 5 月 21 日 上午 10:38 
the trinket "the left hand" does not replace pay chests to red chests, is this normal?
knoten 2017 年 5 月 21 日 上午 2:08 
we need this in the game
vote it up
Kalamari Octopy 2017 年 5 月 19 日 下午 11:49 
Oh, I misread, sorry!
Bree Fird 2017 年 5 月 19 日 下午 12:17 
Kalamari Octopy, you might have skipped the first part of that paragraph, it replaces those types of chests
Kalamari Octopy 2017 年 5 月 19 日 上午 11:42 
There's already a trinket for red chests, the left hand: http://bindingofisaacrebirth.gamepedia.com/The_Left_Hand

And you don't have a trinket for stone chests?