deck 
Vars | |
cardgame_desc | The description of the cardgame that is played with this deck (used for memories) |
---|---|
deck_base_icon | The base sprite for the deck. |
decksize | The amount of cards to spawn in the deck (optional) |
deckstyle | The art style of deck used (determines both deck and card icons used) |
has_unique_card_icons | If the cards in the deck have different card faces icons (blank and CAS decks do not) |
holodeck | The holodeck computer used to spawn a holographic deck (see /obj/item/toy/cards/deck/syndicate/holographic) |
shuffle_cooldown | Deck shuffling cooldown. |
shuffle_time | The amount of time it takes to shuffle |
Procs | |
CardgameEvent | This checks if nearby mobs are playing a cardgame and triggers a mood and memory |
get_top_card | Grabs the top card in the deck, but does not actually manipulate the deck. |
initialize_cards | Generates the cards in this deck. If not overridden, generates a standard 52-card deck (and 2 jokers). |
shuffle_cards | Shuffles the cards in the deck |
throw_impact | This is how we play 52 card pickup |
Var Details
cardgame_desc 
The description of the cardgame that is played with this deck (used for memories)
deck_base_icon 
The base sprite for the deck.
decksize 
The amount of cards to spawn in the deck (optional)
deckstyle 
The art style of deck used (determines both deck and card icons used)
has_unique_card_icons 
If the cards in the deck have different card faces icons (blank and CAS decks do not)
holodeck 
The holodeck computer used to spawn a holographic deck (see /obj/item/toy/cards/deck/syndicate/holographic)
shuffle_cooldown 
Deck shuffling cooldown.
shuffle_time 
The amount of time it takes to shuffle
Proc Details
CardgameEvent
This checks if nearby mobs are playing a cardgame and triggers a mood and memory
get_top_card
Grabs the top card in the deck, but does not actually manipulate the deck.
initialize_cards
Generates the cards in this deck. If not overridden, generates a standard 52-card deck (and 2 jokers).
shuffle_cards
Shuffles the cards in the deck
Arguments:
- user - The person shuffling the cards.
throw_impact
This is how we play 52 card pickup