Playing Cards: Difference between revisions

From PZwiki
m (Remove 120px, minor fixes)
Line 13: Line 13:


==Distribution==
==Distribution==
Playing cards can be found in [[Containers#Desks|desks]], [[Containers#Bedroom Storage|wardrobes]], library [[Containers#Counters|counters]], or toy store [[Containers#Shelves|shelves]].
Playing cards can be found in [[Containers#Desks|desks]], [[Containers#Bedroom Storage|wardrobes]], library [[Containers#Counters|counters]], or toy store and in bars [[Containers#Shelves|shelves]].


==Code==
==Code==

Revision as of 00:19, 29 June 2023

The Game WorldItemsPlaying Cards
Playing Cards
Playing Cards
General
Category Item
Encumbrance
Heavy Load
0.2
Function Draw a random card
Technical details
Base 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

Playing cards can be found in desks, wardrobes, library counters, or toy store and in bars shelves.

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.5

	item CardDeck
		Weight		= 0.2,
		Type		= Normal,
		DisplayName	= Playing Cards,
		Icon		= CardDeck,

See also