-
-
Notifications
You must be signed in to change notification settings - Fork 680
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ports Tarot Cards, for Thematics:tm: (#9978)
* Uhh, adds tarot cards that don't build? * Fixes the issues Works now! Just need to change sprites and names and descriptions and vendor stuff and loadout stuff and probably other stuff. * Fixed runtime, added to vendors/loadout. * Oops * New Card Sprites, names, etc * Forgor to change this * I did a fucky wucky Fixes Syndicate Playing Cards, and something to do with embeds? * Fixed!!! Unum exists again and the checks should work now * Why am I like this * WHY DOES IT STILL WORK WITH TWO #END DMI's??? * Why do I never check anything Fixed issues, and now uploading a Big Testing Evidence Video shortly.
- Loading branch information
Showing
6 changed files
with
126 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
//Some silly tarot cards for predicting when the Clown will die. Ported from TG. https://github.com/tgstation/tgstation/pull/51318/ | ||
/obj/item/toy/cards/deck/tarot | ||
name = "Tarot Card Deck" | ||
desc = "A full 78 card deck of Tarot Cards, no refunds on false predicitons." | ||
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("Cups", "Wands", "Swords", "Coins")) | ||
for(var/i in 1 to 10) | ||
cards += "[i] of [suit]" | ||
for(var/person in list("Page", "Champion", "Queen", "King")) | ||
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) | ||
. = ..() | ||
if(prob(50)) | ||
var/obj/item/toy/cards/singlecard/C = . | ||
if(!C) | ||
return FALSE | ||
|
||
var/matrix/M = matrix() | ||
M.Turn(180) | ||
C.transform = M | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.