MORE DOE FIXES ARENT YOU HAPPY - #887
Conversation
|
@borb43 Are you gonna merge this? Is the code too schizo for you 🫠 |
|
i dont get the point of doing like the majority of these things |
|
I mean ok, but like you have to address it one way or another no? Cuz right now what's happening is: these cards that spawn in the voucher slot, they behave like vouchers in one way that they stay in that slot after you beat a blind but they also respawn when you buy them, which is not what vouchers do. So in my mind, you either make them act fully like vouchers, or change the way they operate to make them not like vouchers. Correct card dimensions is just a small visual fix so that cards in booster packs don't appear big. I mean I know it like looks funny or whatever but it's obviously a bug. The celestial jokers spawning without an edition is like just a regular bug that needs to be fixed no matter what though? |
|
non-vouchers respawning in the voucher slots has always been a thing, i feel like it would be weird to change that personally |
|
I meannn like modest gameset not fucking working for like half the jokers was also technically always a thing, should I have left it untouched too then? 🫠 |
AHHHHHHHHHHHHH
Issues Fixed
G.shop_vouchers) were not clearing their spawn tracking, causing them to reappear in subsequent shops before the Boss Blind defeat.j_cry_universe), Meteor, Exoplanet, and Stardust Jokers spawned in shop slots without their required mandatory editions (e.g., Universe Joker missing Astral edition).Summary of Changes
1. Voucher Slot Purchase Tracking (
lovely/equilibrium.toml&lib/overrides.lua)SMODS.get_next_vouchersinlib/overrides.luato track voucher slots by array index (spawn[#vouchers] = true) alongside center keys.G.shop_vouchers_vidxduring voucher initialization ingame.luaso created cards receivecard.shop_voucher_idx = i.G.FUNCS.buy_from_shop: PatchedG.FUNCS.buy_from_shopinfunctions/button_callbacks.luato clearspawn[c1.shop_voucher_idx] = falsewhen an item is purchased fromG.shop_vouchers.2. Stateless & Deterministic Front Playing Card Seeding (
lovely/equilibrium.toml)pseudorandom_element(G.P_CARDS, pseudoseed('cry_equifrontbrium'..ante..key..vidx, G.GAME.pseudorandom.seed))).G.shop_boosterso booster pack slots properly reroll fresh items on every round.3. Correct Card Dimensions in SMODS Booster Slots (
lovely/equilibrium.toml)SMODS.add_booster_to_shopinsrc/utils.luato scale cards dynamically (1.27forBoosterset items,1.0for non-booster items).4. Mandatory Edition Hook for Celestial Jokers (
lovely/equilibrium.toml)create_shop_card_uifor shop booster and voucher slots to apply required editions andCryptid.manipulate(card)when celestial jokers instantiate directly viaCard(...):j_cry_universe)e_cry_astral)j_cry_meteor)e_foil)j_cry_exoplanet)e_holo)j_cry_stardust)e_polychrome)