Ports card icons from Eris. Implements them for VOREStation

This commit is contained in:
Casey
2022-05-22 18:10:30 -04:00
committed by CHOMPStation2
parent 7e9b5e592f
commit 62c04f34d1
4 changed files with 59 additions and 1 deletions

View File

@@ -94,5 +94,15 @@
/datum/gear/schnapsen
display_name = "schnapsen playing cards"
<<<<<<< HEAD
description = "French-suit playing cards! Pre-picked for 2-player mode."
path = /obj/item/weapon/deck/schnapsen
path = /obj/item/weapon/deck/schnapsen
=======
description = "An ancient Austro-Hungarian suit of cards!"
path = /obj/item/weapon/deck/schnapsen
/datum/gear/egy_game
display_name = "EGY playing cards"
description = "A deck of cards for playing EGY! Be the first to lose all cards!"
path = /obj/item/weapon/deck/egy
>>>>>>> 421d3113d2... Merge pull request #12996 from Runa-Dacino/uno_eris

View File

@@ -0,0 +1,47 @@
//Sprites ported from Eris
/obj/item/weapon/deck/egy
name = "deck of EGY playing cards"
desc = "A simple deck of EGY playing cards. Be the first to lose all cards, but forget not to declare: EGY on your second to last trick."
icon_state = "deck3"
/obj/item/weapon/deck/egy/New()
..()
var/datum/playingcard/P
//Universal cards
for(var/i=0; i<=3; i++)
P = new()
P.name = "\improper Wild +4"
P.card_icon = "+4"
P.back_icon = "deck1"
cards += P
for(var/i=0; i<=3; i++)
P = new()
P.name = "\improper Wildcard"
P.card_icon = "colorswap"
P.back_icon = "deck1"
cards += P
//Colour cards
for(var/colour in list("red", "yellow", "blue", "green"))
//Specials
for(var/special in list("reverse","+2","skip"))
//2 of each
for(var/i=0; i<=1; i++)
P = new()
P.name = "\improper [colour] [special]"
P.card_icon = "[colour]_[special]"
P.back_icon = "deck1"
cards += P
//Number cards
for(var/number in list("0","1","2","3","4","5","6","7","8","9"))
//2 of each for 0-9, using 2 of "0" per Crow's request
for(var/i=0; i<=1; i++)
P = new()
P.name = "\improper [colour] [number]"
P.card_icon = "[colour]_[number]"
P.back_icon = "deck1"
cards += P

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@@ -2519,6 +2519,7 @@
#include "code\modules\games\cards.dm"
#include "code\modules\games\cards_ch.dm"
#include "code\modules\games\dice.dm"
#include "code\modules\games\egy_cards_vr.dm"
#include "code\modules\games\schnapsen_vr.dm"
#include "code\modules\games\spaceball_cards.dm"
#include "code\modules\games\tarot.dm"