Playing Cards: Difference between revisions
mNo edit summary |
m (Remove 120px, minor fixes) |
||
Line 1: | Line 1: | ||
{{ | {{Languages}}{{Header|The Game World|Items|type=Default|version=Version 40|incver=5}}{{Infobox normal | ||
{{ | |display_name=Playing Cards | ||
|display_name = Playing Cards | |image=CardDeck.png | ||
|image = | |weight=0.2 | ||
|weight = 0.2 | |primary_use=Draw a random card | ||
|primary_use = Draw a random card | |class_name=Base.CardDeck | ||
|class_name = Base.CardDeck | |||
}}'''Playing cards''' are a miscellaneous [[items|item]] with very little use. | }}'''Playing cards''' are a miscellaneous [[items|item]] with very little use. | ||
Line 15: | Line 14: | ||
==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 [[Containers#Shelves|shelves]]. | ||
== Code == | ==Code== | ||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | '''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version=40|incver=5}} | {{Retrieved|version=40|incver=5}} | ||
Line 28: | Line 27: | ||
*[[Dice]] | *[[Dice]] | ||
[[Category: | [[Category:Items]] |
Revision as of 14:46, 18 February 2023
Playing Cards | |
---|---|
General | |
Category | Item |
Encumbrance | 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,