Goonstation 13 - Modules - TypesVar Details

deck of cards

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_namesame function as playing_card card name
card_stylethe type of card back used for this group (references icon_state names in the dmi)
max_hand_sizethe number of cards you can have in a hand before it automatically becomes a deck
total_cardshow 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

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