MORE DOE FIXES ARENT YOU HAPPY - #887
Open
Nanuzer0 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)