Playing Cards: Difference between revisions

From PZwiki
(Automated update of distribution header)
m (Automated Formatting)
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
{{header/sandbox2|Project Zomboid|Items|Miscellaneous items|Junk}}
{{Page version|41.78.16}}
{{page version|41.78.16}}
{{Infobox item
{{Infobox item
|display_name=Playing Cards
|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
|class_name=Base.CardDeck
|item_id=Base.CardDeck
}}
}}
'''Playing cards''' are a miscellaneous [[items|item]] with very little use.
'''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]].


{{clear}}
==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
|-
|-
| rowspan="1"|garagestorage  
|garagestorage
| [[crate]]  
|[[crate]]
| 4  
|4
| 1
|1
|-
|-
| rowspan="1"|generalstore  
|generalstore
| [[shelves]]  
|[[shelves]]
| 4  
|4
| 8
|8
|-
|-
| rowspan="1"|office  
|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 82: Line 86:
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 78.16
  | date = 1 jan 2024
   | code =
   | code =
item CardDeck
item CardDeck
{
{
DisplayCategory = Junk,
    DisplayCategory = Junk,
Weight = 0.2,
Weight = 0.2,
Type = Normal,
Type = Normal,
DisplayName = Playing Cards,
DisplayName = Playing Cards,
Icon = CardDeck,
Icon = CardDeck,
WorldStaticModel = CardDeck,
WorldStaticModel = CardDeck,
}
}
}}
}}
}}
}}
Line 100: Line 102:
==See also==
==See also==
*[[Dice]]
*[[Dice]]
 
{{Navbox items|junk}}
[[Category:Items]]

Revision as of 11:06, 14 April 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
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

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

See also