Playing Cards

From PZwiki
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.

CardDeck distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all Outfit_PokerDealer 6.41%
bar counter 15.1%
barkitchen counter 15.1%
barstorage counter 15.1%
bedroom crate 1.01%
bedroom desk 3.98%
bedroom wardrobe 6.29%
beergarden counter 15.1%
closet crate 1.01%
closet crate 19.27%
daycare wardrobe 6.29%
garagestorage crate 1.01%
garagestorage crate 19.27%
garagestorage crate 23.28%
generalstore shelves 19.27%
generalstorestorage shelves 19.27%
giftstorage crate 19.27%
giftstore counter 19.27%
giftstore shelves 19.27%
gigamart shelves 19.27%
livingroom wardrobe 19.27%
office desk 3.98%
policestorage counter 3.98%
storageunit crate 1.01%
storageunit crate 19.27%
storageunit crate 23.28%
storageunit metal_shelves 1.01%
storageunit metal_shelves 23.28%
toystore counter 19.27%
toystore shelves 19.27%
toystorestorage crate 19.27%
toystorestorage shelves 19.27%

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