Playing Cards

From PZwiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Playing Cards
CardDeck Model.png
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Draw a random card
Technical
Item ID
Base.CardDeck

Playing cards are a miscellaneous item with very little use.

Usage

The only use of the playing cards is in using multiplayer commands. If the player has playing cards in their inventory, they can use the command /card, which will draw a random card (using the modern English deck format). The uses of this mechanic are up to the player's imagination.

Note that the playing cards cannot be used to improve the player's mood.

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
bar counter 4 6
bedroom desk 4 1
desk 4 1
wardrobe 4 2
closet crate 4 8
crate 4 8
crate 4 8
garagestorage crate 4 1
generalstore shelves 4 8
office desk 4 1

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Item

CardDeck.png Base.CardDeck
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item CardDeck
	{
	    DisplayCategory = Junk,
		Weight	=	0.2,
		Type	=	Normal,
		DisplayName	=	Playing Cards,
		Icon	=	CardDeck,
		WorldStaticModel = CardDeck,
	}

See also