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 BlindSMODS.Blind.summon(string): After Blind is defeated, immediately sets new Blind with keyG.GAME.blind.original_blind(string): Key of the first Blind if Blinds are summonedSMODS.Blind.phases(number): Amount of times Blind needs to be defeated to end the roundG.GAME.current_round.phases_beaten(number): Amount of times Blind was beaten if Blind has phasesSMODS.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 blindSMODS.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 occursSMODS.current_mod.passive_ui_size() -> number: Allows changing width of passive UIBox, default 6find_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.