Playing Cards: Difference between revisions

From PZwiki
m (Vaileasys moved page Playing Cards to Playing Cards over redirect: official display name)
(Updated info, added new infobox and header)
Line 1: Line 1:
{{languages|Playing cards}}
{{languages|Playing Cards}}
{{Items
{{header|The Game World|Items|type=Default|version=Version 40|incver=5}}{{Infobox normal
|image = Playing cards.png  
|display_name = Playing Cards
|image = CardDeck.png
|weight = 0.2
|weight = 0.2
}} <!--/infobox-->
|primary_use = Draw a random card
An item found in many containers and corpses. No in game use as of 2.9.10
|class_name = Base.CardDeck
}}'''Playing cards''' are a miscellaneous [[items|item]] with very little use.


<!--== Crafting ==
==Usage==
Playing cards can be used in the following recipes:
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 <code>/card</code>, which will draw a random card (using the modern English deck format). The uses of this mechanic are up to the player's imagination.


{| class="wikitable" width="550" style="text-align:center;"
Note that the playing cards cannot be used to improve the player's [[moodles|mood]].
|-
 
! Ingredients || Other Items || Output || Description
==Distribution==
|-
Playing cards can be found in [[Containers#Desks|desks]], [[Containers#Bedroom Storage|wardrobes]], library [[Containers#Counters|counters]], or toy store [[Containers#Shelves|shelves]].
| Ingredient + [[Ingredient]] || None || [[What the recipe makes]] || Brief description of what it makes.
|}
-->


== Code ==
== Code ==
<nowiki>item CardDeck
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{
{{Retrieved|version=40|incver=5}}
Weight = 0.2,
<pre> item CardDeck
Type = Normal,
Weight = 0.2,
DisplayName = Playing Cards,
Type = Normal,
Icon = CardDeck,
DisplayName = Playing Cards,
}</nowiki>
Icon = CardDeck,</pre>
 
==See also==
*[[Dice]]
 
[[Category:items]]
[[Category:items]]

Revision as of 16:31, 4 August 2018

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 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