Playing Cards: Difference between revisions
mNo edit summary |
(Update distribution file) |
||
(34 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Junk}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Playing Cards | ||
|weight = 0.2 | |model=CardDeck_Model.png | ||
| | |icon=CardDeck.png | ||
| | |category=Junk | ||
}}'''Playing cards''' are a miscellaneous [[ | |weight=0.2 | ||
|function=Draw a random card | |||
|item_id=Base.CardDeck | |||
}} | |||
'''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. | |||
== | <!--BOT FLAG|CardDeck|41.78.16--> | ||
{{Clear}} | |||
{{ | <div class="togglebox theme-red"> | ||
< | <div>CardDeck distribution | ||
Weight | <span class="mw-customtoggle-togglebox-CardDeck" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div> | ||
Type | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CardDeck"> | ||
DisplayName = Playing Cards, | Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | ||
Icon | <div class="pz-container"> | ||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| all | |||
| {{ll|Outfit_PokerDealer}} | |||
| 6.41% | |||
|- | |||
| bar | |||
| {{ll|counter}} | |||
| 15.1% | |||
|- | |||
| barkitchen | |||
| {{ll|counter}} | |||
| 15.1% | |||
|- | |||
| barstorage | |||
| {{ll|counter}} | |||
| 15.1% | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| bedroom | |||
| {{ll|desk}} | |||
| 3.98% | |||
|- | |||
| bedroom | |||
| {{ll|wardrobe}} | |||
| 6.29% | |||
|- | |||
| beergarden | |||
| {{ll|counter}} | |||
| 15.1% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| daycare | |||
| {{ll|wardrobe}} | |||
| 6.29% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| generalstore | |||
| {{ll|shelves}} | |||
| 19.27% | |||
|- | |||
| generalstorestorage | |||
| {{ll|shelves}} | |||
| 19.27% | |||
|- | |||
| giftstorage | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| giftstore | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| giftstore | |||
| {{ll|shelves}} | |||
| 19.27% | |||
|- | |||
| gigamart | |||
| {{ll|shelves}} | |||
| 19.27% | |||
|- | |||
| livingroom | |||
| {{ll|wardrobe}} | |||
| 19.27% | |||
|- | |||
| office | |||
| {{ll|desk}} | |||
| 3.98% | |||
|- | |||
| policestorage | |||
| {{ll|counter}} | |||
| 3.98% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 1.01% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| toystore | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| toystore | |||
| {{ll|shelves}} | |||
| 19.27% | |||
|- | |||
| toystorestorage | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| toystorestorage | |||
| {{ll|shelves}} | |||
| 19.27% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-CardDeck" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|CardDeck|41.78.16--> | |||
==Code== | |||
{{CodeBox | | |||
===Item=== | |||
[[File:CardDeck.png]] {{ID|Base.CardDeck}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1746 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item CardDeck | |||
{ | |||
DisplayCategory = Junk, | |||
Weight = 0.2, | |||
Type = Normal, | |||
DisplayName = Playing Cards, | |||
Icon = CardDeck, | |||
WorldStaticModel = CardDeck, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[Dice]] | *[[Dice]] | ||
{{Navbox items|junk}} |
Latest revision as of 13:34, 30 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.
Building/Room | Container | Effective chance |
---|---|---|
all | Outfit_PokerDealer | 6.41% |
bar | counter | 15.1% |
barkitchen | counter | 15.1% |
barstorage | counter | 15.1% |
bedroom | crate | 1.01% |
bedroom | desk | 3.98% |
bedroom | wardrobe | 6.29% |
beergarden | counter | 15.1% |
closet | crate | 1.01% |
closet | crate | 19.27% |
daycare | wardrobe | 6.29% |
garagestorage | crate | 1.01% |
garagestorage | crate | 19.27% |
garagestorage | crate | 23.28% |
generalstore | shelves | 19.27% |
generalstorestorage | shelves | 19.27% |
giftstorage | crate | 19.27% |
giftstore | counter | 19.27% |
giftstore | shelves | 19.27% |
gigamart | shelves | 19.27% |
livingroom | wardrobe | 19.27% |
office | desk | 3.98% |
policestorage | counter | 3.98% |
storageunit | crate | 1.01% |
storageunit | crate | 19.27% |
storageunit | crate | 23.28% |
storageunit | metal_shelves | 1.01% |
storageunit | metal_shelves | 23.28% |
toystore | counter | 19.27% |
toystore | shelves | 19.27% |
toystorestorage | crate | 19.27% |
toystorestorage | shelves | 19.27% |
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,
}