mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-28 01:42:50 +00:00
Adds William Tell pattern for schnapsen
Adds William Tell playing card pattern for schnapsen Makes schnapsen_vr.dm deck use william tell pattern Adds William Tell card pattern to playing_cards.dmi Minor resprite of french deck with new colours inspired by the William Tell pattern
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
// this is a playing card deck based off of the Austrian/Hungarian national card game, Schnapsen
|
||||
//TODO: Sprite up Double German/William Tell card icons. Sending this in as is as I suck at spriting and want to play schnapsen
|
||||
//TODO: Implement functionality for "sub-decks": Create a over-schnapsen deck with nines, eights and sevens.
|
||||
//TODO:Let players choose 2,3,4 player mode to get decks of ace/ten/jack/queen/king + seven for 3 player, nine+eight for 4 player modes.
|
||||
//TODO: Implement functionality for "sub-decks": Create a over-schnapsen deck with nines, eights and sevens.
|
||||
//TODO:Let players choose 2,3,4 player mode to get decks of ace/ten/jack/queen/king + seven for 3 player, nine+eight for 4 player modes.
|
||||
//values: ace = 11, ten = 10, unter = 2, ober = 3, king = 4
|
||||
|
||||
/obj/item/weapon/deck/schnapsen
|
||||
name = "deck of schnapsen cards"
|
||||
desc = "An ancient trick-taking card game from a bygone-Earth country. For 2 players!"
|
||||
icon_state = "deck"
|
||||
|
||||
|
||||
/obj/item/weapon/deck/schnapsen/New()
|
||||
..()
|
||||
//Stealing french card icons.
|
||||
var/datum/playingcard/P
|
||||
var/colour
|
||||
for(var/suit in list("spades","clubs","diamonds","hearts"))
|
||||
if(suit == "spades" || suit == "clubs")
|
||||
colour = "black_"
|
||||
else
|
||||
colour = "red_"
|
||||
for(var/number in list("ace","ten","jack","queen","king")) //Schnapsen has knight worth 2 pts, queen 3 pts, king 4. Ace 11, ten 10
|
||||
for(var/suit in list("acorns","leaves","bells","hearts"))
|
||||
switch(suit)
|
||||
if("acorns") colour = "acorn_"
|
||||
if("leaves") colour = "leaf_"
|
||||
if("bells") colour = "bell_"
|
||||
if("hearts") colour = "red_"
|
||||
for(var/number in list("ace","ten","unter","ober","king"))
|
||||
P = new()
|
||||
P.name = "[number] of [suit]"
|
||||
if(number == "ten")
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 4.0 KiB |
Reference in New Issue
Block a user