Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions SMODS.Center/SMODS.Booster.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- Set to string of destination card area, ex. `'consumeables'`, to save cards from the pack instead of using them.
- Set to table of form `{Set = 'area'}` to change behaviour according to a card's `Set` (e.g. `{Tarot = 'consumeables'}` to only save `Tarot` cards, relevant if you have multiple types of consumables in a booster).
- Set to a function `select_card(self, card, pack) -> string?` to control if and where `card` should be saved for any `card, pack` combination.
- `disable_shine`: Disables the default 'shine' shader.

## API methods
- `loc_vars, generate_ui` [(reference)](https://github.com/Steamodded/smods/wiki/Localization#Localization-functions)
Expand Down
1 change: 1 addition & 0 deletions SMODS.Center/SMODS.Consumable.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- Set to string of destination card area, ex. `'consumeables'`, to save this card from Booster packs instead of using it.
- Set to a function `select_card(card, pack) -> string?` to control if and where `card` should be saved for any `card, pack` combination.
- Takes priority over `select_card` on the ConsumableType or Booster pack
- `disable_shine`: Disables the default 'shine' shader for Spectrals.

## API methods
- `calculate(self, card, context)` [(reference)](https://github.com/Steamodded/smods/wiki/Calculate-Functions)
Expand Down
1 change: 1 addition & 0 deletions SMODS.Center/SMODS.Voucher.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
```
- `cost = 10`,
- `requires`: specify a list of one or more vouchers by their **full key** (e.g. `'v_grabber'` for vanilla vouchers, or `'v_pref_myvoucher'` for a modded voucher from the mod with prefix `'pref'`)
- `disable_shine`: Disables the default 'shine' shader for Spectrals.

## API methods
- `calculate(self, card, context)` [(reference)](https://github.com/Steamodded/smods/wiki/Calculate-Functions)
Expand Down