/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)
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)
is_standard_deckIf the deck is the standard 52 playing card deck (used for poker and blackjack)
shuffle_cooldownDeck shuffling cooldown.
shuffle_timeThe amount of time it takes to shuffle
wieldedWielding status for holding with two hands

Procs

CardgameEventThis checks if nearby mobs are playing a cardgame and triggers a mood and memory
on_unwieldtriggered on unwield of two handed item
on_wieldtriggered on wield of two handed item
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)

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)

is_standard_deck

If the deck is the standard 52 playing card deck (used for poker and blackjack)

shuffle_cooldown

Deck shuffling cooldown.

shuffle_time

The amount of time it takes to shuffle

wielded

Wielding status for holding with two hands

Proc Details

CardgameEvent

This checks if nearby mobs are playing a cardgame and triggers a mood and memory

on_unwield

triggered on unwield of two handed item

on_wield

triggered on wield of two handed item

shuffle_cards

Shuffles the cards in the deck

Arguments:

throw_impact

This is how we play 52 card pickup