Files
Bubberstation/code/modules/games/tarot.dm
EOBGames 961513f59c Codename: Jeu Tarot- Tarot Cards, for games and divination, risen like a phoenix (#51318)
About The Pull Request

Re-PR of #51027 due to a git hiccup.
Adds tarot cards, for business and pleasure. The tarot deck consists of 78 cards, split into 56 Minor Arcana cards (each suit consists of 10 number cards, and 4 face cards) and 22 Major Arcana cards. The deck has new art:
minorarcana
majorarcana
Special thanks to Fikou for deciding which jobs should correspond to each of the Major Arcana.
Why It's Good For The Game

It's a fun distraction from the dull humdrum of station life, and opens up some good RP opportunities.
Changelog

cl Inept
add: The Nanotrasen Entertainment Division has released a new product: Tarot cards! They're available from the Fun vendor for all your divination needs.
/cl
2020-06-09 15:57:23 +12:00

26 lines
1.1 KiB
Plaintext

//These cards certainly won't tell the future, but you can play some nice games with them.
/obj/item/toy/cards/deck/tarot
name = "tarot game deck"
desc = "A full 78 card game deck of tarot cards. Complete with 4 suites of 14 cards, and a full suite of trump cards."
icon = 'icons/obj/toy.dmi'
icon_state = "deck_tarot_full"
deckstyle = "tarot"
/obj/item/toy/cards/deck/tarot/populate_deck()
for(var/suit in list("Hearts", "Pikes", "Clovers", "Tiles"))
for(var/i in 1 to 10)
cards += "[i] of [suit]"
for(var/person in list("Valet", "Chevalier", "Dame", "Roi"))
cards += "[person] of [suit]"
for(var/trump in list("The Magician", "The High Priestess", "The Empress", "The Emperor", "The Hierophant", "The Lover", "The Chariot", "Justice", "The Hermit", "The Wheel of Fortune", "Strength", "The Hanged Man", "Death", "Temperance", "The Devil", "The Tower", "The Star", "The Moon", "The Sun", "Judgement", "The World", "The Fool"))
cards += "[trump]"
/obj/item/toy/cards/deck/tarot/draw_card(mob/user)
. = ..()
var/obj/item/toy/cards/singlecard/C = .
var/matrix/M = matrix()
M.Turn(180)
if(prob(50))
C.transform = M
return