#blindexpander - A library for creating more complex Blinds

1 messages · Page 1 of 1 (latest)

scarlet thunder
#

https://github.com/Mysthaps/blindexpander

Requires Steamodded.

Functions

  • Passives, a space to display more Blind gimmicks
  • Phases, defeat a Blind multiple times to end the round
  • Summons, fight multiple Blinds back to back

Usage

  • SMODS.Blind.passives (table): Contains passives keys to attach to Blind
  • SMODS.Blind.summon (string): After Blind is defeated, immediately sets new Blind with key
  • G.GAME.blind.original_blind (string): Key of the first Blind if Blinds are summoned
  • SMODS.Blind.phases (number): Amount of times Blind needs to be defeated to end the round
  • G.GAME.current_round.phases_beaten (number): Amount of times Blind was beaten if Blind has phases
  • SMODS.Blind.phase_refresh (bool): Refreshes the deck when Blind is defeated (independent of SMODS.Blind.phases)
  • SMODS.Blind.cry_score_cap(self, score) -> number: Caps score, the same effect as Cryptid's The Tax blind
  • SMODS.Blind.phase_change(self): Called when Blind is defeated and a new phase starts (either summon or phases)
  • SMODS.Blind.pre_defeat(self): Called when the final Blind (requires summon or phases) is defeated, but before deck shuffle and round eval occurs
  • SMODS.current_mod.passive_ui_size() -> number: Allows changing width of passive UIBox, default 6
  • find_passive(string) -> bool: Check if current Blind has a specific passive key

Notes

  • Localization for Passives are taken from G.localization.descriptions.Passive
    • For localization files, this would be:
return {
    descriptions = {
        Passive = {
            ...
        }
    }
}
  • Passive key should be psv_[mod prefix]_[key] for consistency
  • SMODS.Blind.defeat(self) is called on the current Blind if it has a summon

-# Note: Code is directly taken from #1248249207526002698 with minor adjustments. LobotomyCorp v1.1.0 and above is bundled with this, and will automatically provide this library. New features will be added to the LobotomyCorp version before added here.

GitHub

A library for creating more complex Blinds in Balatro - Mysthaps/blindexpander

#

i'd love to have SMODS.Passive instead but i don't need it and i'm lazy

#

also @reef dune

merry wind
#

Would love to see a lot of this in Steamodded

#

But this is pretty nice, will be a good reference for when I need to use some similar features

ashen skiff
#

I think a lot of this can probably end up in smods at some point, I want to migrate my custom small and big blind compat from ortalab at some point too

scarlet thunder
#

i feel like apart from The Tax score cap, the rest is too "modded" to be added to Steamodded imo

#

i won't be opposed to having this implemented in smods, but i don't think it's a good idea

reef dune
#

👁️

maiden timber
#

I think some combination of playing different Blinds other than Small and Big; number of Blinds per Ante; and some of the BlindExpander features would be useful for multiple mods and therefore should be in SMODS

knotty shuttle
#

n

muted stratus
#

this shit is so fucking underrated

modern rose
#

absolute cinema right here

mighty slate
#

true

scarlet thunder
#

blindexpander tomorrow

knotty shuttle
#

holy shit

scarlet thunder
#

postponed

knotty shuttle
#

wtf

scarlet thunder
#

blindexpander in at least 2 days

knotty shuttle
#

is this true

mighty slate