Playing Cards: Difference between revisions
m (Automated CodeBox update) |
m (Automated Formatting) |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Junk}} | ||
{{Page version|41.78.16}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
| | |name=Playing Cards | ||
|model=CardDeck_Model.png | |model=CardDeck_Model.png | ||
|icon=CardDeck.png | |icon=CardDeck.png | ||
Line 9: | Line 8: | ||
|weight=0.2 | |weight=0.2 | ||
|function=Draw a random card | |function=Draw a random card | ||
| | |item_id=Base.CardDeck | ||
}} | }} | ||
'''Playing cards''' are a miscellaneous [[ | '''Playing cards''' are a miscellaneous [[Items|item]] with very little use. | ||
==Usage== | ==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 <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. | 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. | ||
Note that the playing cards cannot be used to improve the player's [[moodles|mood]]. | Note that the playing cards cannot be used to improve the player's [[moodles|mood]]. | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
Line 25: | Line 23: | ||
! colspan="4" | Containers | ! colspan="4" | Containers | ||
|- | |- | ||
!Building/Room | ! Building/Room | ||
!Container | ! Container | ||
! style="width: 3.2em;" |Rolls | ! style="width: 3.2em;" | Rolls | ||
! style="width: 3.2em;" |Chance | ! style="width: 3.2em;" | Chance | ||
|- | |- | ||
| rowspan="3"|bedroom | |bar | ||
| [[desk]] | |[[counter]] | ||
| 4 | |4 | ||
| 1 | |6 | ||
|- | |||
|rowspan="3"|bedroom | |||
|[[desk]] | |||
|4 | |||
|1 | |||
|- | |- | ||
|[[desk]] | |[[desk]] | ||
Line 43: | Line 46: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="3"|closet | |rowspan="3"|closet | ||
| [[crate]] | |[[crate]] | ||
| 4 | |4 | ||
| 8 | |8 | ||
|- | |- | ||
|[[crate]] | |[[crate]] | ||
Line 56: | Line 59: | ||
|8 | |8 | ||
|- | |- | ||
|garagestorage | |||
| [[crate]] | |[[crate]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|generalstore | |||
| [[shelves]] | |[[shelves]] | ||
| 4 | |4 | ||
| 8 | |8 | ||
|- | |- | ||
|office | |||
| [[desk]] | |[[desk]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|} | |} | ||
==Code== | ==Code== | ||
{{CodeBox | | {{CodeBox | | ||
===Item=== | ===Item=== | ||
[[File:CardDeck.png]] {{ID|Base.CardDeck}}<br> | [[File:CardDeck.png]] {{ID|Base.CardDeck}}<br> | ||
Line 83: | Line 87: | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item CardDeck | item CardDeck | ||
{ | { | ||
DisplayCategory = Junk, | |||
Weight = 0.2, | |||
Type = Normal, | |||
DisplayName = Playing Cards, | |||
Icon = CardDeck, | |||
WorldStaticModel = CardDeck, | |||
} | } | ||
}} | }} | ||
}} | }} | ||
Line 99: | Line 102: | ||
==See also== | ==See also== | ||
*[[Dice]] | *[[Dice]] | ||
{{Navbox items|junk}} | |||
Revision as of 11:06, 14 April 2024
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 |
bar | counter | 4 | 6 |
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
Item
Base.CardDeck
Source: ProjectZomboid\media\scripts\newitems.txt
item CardDeck
{
DisplayCategory = Junk,
Weight = 0.2,
Type = Normal,
DisplayName = Playing Cards,
Icon = CardDeck,
WorldStaticModel = CardDeck,
}