mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-17 18:14:25 +01:00
Adds Uno playing cards
Ports sprites from eris into playing_cards.dmi. Adjusts vorestation.dme to include uno_vr.dm Adds uno_vr.dm to create uno playing card hand and deck.
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
//Sprites ported from Eris
|
||||
|
||||
/obj/item/weapon/deck/uno
|
||||
name = "deck of Uno playing cards"
|
||||
desc = "A simple deck of uno playing cards."
|
||||
icon_state = "deck3"
|
||||
|
||||
|
||||
|
||||
|
||||
/obj/item/weapon/deck/uno/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 |
+2
-1
@@ -2366,6 +2366,7 @@
|
||||
#include "code\modules\games\schnapsen_vr.dm"
|
||||
#include "code\modules\games\spaceball_cards.dm"
|
||||
#include "code\modules\games\tarot.dm"
|
||||
#include "code\modules\games\uno_vr.dm"
|
||||
#include "code\modules\games\wizoff.dm"
|
||||
#include "code\modules\genetics\side_effects.dm"
|
||||
#include "code\modules\ghosttrap\trap.dm"
|
||||
@@ -4125,6 +4126,7 @@
|
||||
#include "maps\expedition_vr\beach\submaps\mountains.dm"
|
||||
#include "maps\expedition_vr\beach\submaps\mountains_areas.dm"
|
||||
#include "maps\gateway_archive_vr\blackmarketpackers.dm"
|
||||
#include "maps\groundbase\groundbase.dm"
|
||||
#include "maps\offmap_vr\om_ships\abductor.dm"
|
||||
#include "maps\southern_cross\items\clothing\sc_accessory.dm"
|
||||
#include "maps\southern_cross\items\clothing\sc_suit.dm"
|
||||
@@ -4132,7 +4134,6 @@
|
||||
#include "maps\southern_cross\loadout\loadout_suit.dm"
|
||||
#include "maps\southern_cross\loadout\loadout_uniform.dm"
|
||||
#include "maps\southern_cross\loadout\loadout_vr.dm"
|
||||
#include "maps\stellardelight\stellar_delight.dm"
|
||||
#include "maps\submaps\_helpers.dm"
|
||||
#include "maps\submaps\_readme.dm"
|
||||
#include "maps\submaps\engine_submaps\engine.dm"
|
||||
|
||||
Reference in New Issue
Block a user