deck of cards ![code/obj/item/playing_cards.dm 361](git.png)
since "playing_card"s are singular cards, card_groups handling groups of playing_cards in the form of either a deck or hand
Vars | |
card_name | same function as playing_card card name |
---|---|
card_style | the type of card back used for this group (references icon_state names in the dmi) |
max_hand_size | the number of cards you can have in a hand before it automatically becomes a deck |
total_cards | how many cards are in a fully built deck of this type? (54 for plain decks, 78 for tarot, etc.) : used for reference on stack heights |
Var Details
card_name ![code/obj/item/playing_cards.dm 373](git.png)
same function as playing_card card name
card_style ![code/obj/item/playing_cards.dm 375](git.png)
the type of card back used for this group (references icon_state names in the dmi)
max_hand_size ![code/obj/item/playing_cards.dm 380](git.png)
the number of cards you can have in a hand before it automatically becomes a deck
total_cards ![code/obj/item/playing_cards.dm 377](git.png)
how many cards are in a fully built deck of this type? (54 for plain decks, 78 for tarot, etc.) : used for reference on stack heights