Instal Steam
login
|
bahasa
简体中文 (Tionghoa Sederhana)
繁體中文 (Tionghoa Tradisional)
日本語 (Bahasa Jepang)
한국어 (Bahasa Korea)
ไทย (Bahasa Thai)
Български (Bahasa Bulgaria)
Čeština (Bahasa Ceko)
Dansk (Bahasa Denmark)
Deutsch (Bahasa Jerman)
English (Bahasa Inggris)
Español - España (Bahasa Spanyol - Spanyol)
Español - Latinoamérica (Bahasa Spanyol - Amerika Latin)
Ελληνικά (Bahasa Yunani)
Français (Bahasa Prancis)
Italiano (Bahasa Italia)
Magyar (Bahasa Hungaria)
Nederlands (Bahasa Belanda)
Norsk (Bahasa Norwegia)
Polski (Bahasa Polandia)
Português (Portugis - Portugal)
Português-Brasil (Bahasa Portugis-Brasil)
Română (Bahasa Rumania)
Русский (Bahasa Rusia)
Suomi (Bahasa Finlandia)
Svenska (Bahasa Swedia)
Türkçe (Bahasa Turki)
Tiếng Việt (Bahasa Vietnam)
Українська (Bahasa Ukraina)
Laporkan kesalahan penerjemahan






what's the mod/item? might do a bit of testing
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.
all paychests will only cost 1 coin while you have the item regardless of which version of the game you have
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.
[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!
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.
(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
vote it up
And you don't have a trinket for stone chests?