Playing Cards: Difference between revisions

From PZwiki
m (Automated class_name fix)
m (Added {{Navbox junk}} to the end of the page)
Line 98: Line 98:
==See also==
==See also==
*[[Dice]]
*[[Dice]]
{{Navbox junk}}

Revision as of 09:10, 19 March 2024

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
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 (1 January 2024)
item CardDeck
{
	DisplayCategory = Junk,
	Weight	=	0.2,
	Type	=	Normal,
	DisplayName	=	Playing Cards,
	Icon	=	CardDeck,
	WorldStaticModel = CardDeck,
}

See also

Template:Navbox junk