Skip to content

Feat: Debuffed contexts & UI - #1499

Open
Aikoyori wants to merge 1 commit into
Steamodded:mainfrom
Aikoyori:main
Open

Feat: Debuffed contexts & UI#1499
Aikoyori wants to merge 1 commit into
Steamodded:mainfrom
Aikoyori:main

Conversation

@Aikoyori

@Aikoyori Aikoyori commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

This PR introduces additional contexts for dealing with debuffed cards in particular.

ALSO BLIND_SIZE_DISPLAY_QUEUE is reset on every run start feel free to pull it out if this PR is rejected.

Rationale

There is no context for this yet so I think it would benefit everyone even if it is extremely niche 😭

New Contexts

context.debuffed_main_scoring, context.debuffed_individual, context.debuffed_repetition. These works exactly like their non-debuffed counterparts but they act on debuffed playing cards instead.

New Vars return

Setting no_debuffed_description to true when returning vars table will make the original ability text show up as if it is not debuffed (it will still have the Debuffed badge, however).

New Function

SMODS.should_use_debuffed_description is used to determine if a card's ability description should be replaced with "Debuffed" texts. Used in situation listed above.

Example Video

SMODS_Dev_20260816-232908.mp4

Feel free to suggest for edits.

Additional Info:

  • I didn't modify api's or I've made a PR to the wiki repo.
  • I didn't modify api's or I've updated lsp definitions.
  • I didn't make new lovely files or all new lovely files have appropriate priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant