/tg/ Station 13 - Modules - TypesVar Details - Proc Details

deck

Vars

cardgame_descThe description of the cardgame that is played with this deck (used for memories)
deck_base_iconThe base sprite for the deck.
decksizeThe amount of cards to spawn in the deck (optional)
deckstyleThe art style of deck used (determines both deck and card icons used)
has_unique_card_iconsIf the cards in the deck have different card faces icons (blank and CAS decks do not)
holodeckThe holodeck computer used to spawn a holographic deck (see /obj/item/toy/cards/deck/syndicate/holographic)
shuffle_cooldownDeck shuffling cooldown.
shuffle_timeThe amount of time it takes to shuffle

Procs

CardgameEventThis checks if nearby mobs are playing a cardgame and triggers a mood and memory
get_top_cardGrabs the top card in the deck, but does not actually manipulate the deck.
initialize_cardsGenerates the cards in this deck. If not overridden, generates a standard 52-card deck (and 2 jokers).
shuffle_cardsShuffles the cards in the deck
throw_impactThis 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:

throw_impact

This is how we play 52 card pickup