Skip to content

Commit d98c5c1

Browse files
authored
Updated Booster's select_card property (#52)
* Upated `select_card` property of `SMODS.Booster` *Title * New line *Title
1 parent a3aeeeb commit d98c5c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SMODS.Center/SMODS.Booster.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
- `weight = 1`: Determines how freqently the pack appears in the shop.
2424
- `draw_hand = false`: If this is `true`, draw playing cards to hand when this pack is opened.
2525
- `kind`: Used for grouping packs together. For example, this can be used in `get_pack()` to generate a booster pack of a given type.
26-
- `select_card`: Set to string of card area, `consumeables`, to save cards from the pack instead of using them.
26+
- `select_card`: Set to string of card area, `consumeables`, to save cards from the pack instead of using them.
27+
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).
2728

2829
## API methods
2930
- `loc_vars, generate_ui` [(reference)](https://github.com/Steamodded/smods/wiki/Localization#Localization-functions)

0 commit comments

Comments
 (0)