Credit Card: Difference between revisions
(Created page) |
m (Distribution table fix) |
||
(26 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Junk}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Credit Card | ||
| | |model=CreditCard_Model.png | ||
| | |model_width=200px | ||
| | |icon=CreditCard.png | ||
| weight = 0.1 | |icon_name=Credit Card | ||
| | <!--GENERAL--> | ||
|category=Junk | |||
|weight=0.1 | |||
|item_id=Base.CreditCard | |||
}} | |||
A '''credit card''' is currently a useless [[Items|item]], and often considered as ''junk''. | |||
==Usage== | ==Usage== | ||
A credit card has no use, being added purely for the purpose of clutter, creating more realism for the | A credit card has no use, being added purely for the purpose of clutter, creating more realism for the [[player]] when looting. | ||
==Distribution== | ==Distribution== | ||
== | The loot distributions can be found in the table(s) below. | ||
<!--BOT FLAG|CreditCard|41.78.16--> | |||
{{ | {{Clear}} | ||
< | <div class="togglebox theme-red"> | ||
<div>CreditCard distribution | |||
<span class="mw-customtoggle-togglebox-CreditCard" 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> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CreditCard"> | |||
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"> | |||
<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 | |||
|- | |||
| Handbag | |||
| {{ll|Handbag}} | |||
| 1.61% | |||
|- | |||
| Handbag | |||
| {{ll|Handbag}} | |||
| 6.41% | |||
|- | |||
| Purse | |||
| {{ll|Purse}} | |||
| 1.61% | |||
|- | |||
| Purse | |||
| {{ll|Purse}} | |||
| 6.41% | |||
|- | |||
| all | |||
| {{ll|inventoryfemale}} | |||
| 1.01% | |||
|- | |||
| all | |||
| {{ll|inventorymale}} | |||
| 1.01% | |||
|} | |||
</div> | |||
<div id="vehicles" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Vehicles}} | |||
! Type | |||
! Container | |||
! Effective chance | |||
|- | |||
| Ambulance | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Carpenter | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Construction Worker | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Distillery | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Doctor | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Electrician | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Farmer | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Fire | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Fisherman | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Fossoil | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| All | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Golf | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Heralds | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Hunter | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Mass Gen Fac | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| McCoy | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Metal Welder | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Painter | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Postal | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Radio | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Ranger | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Spiffo | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Survivalist | |||
| {{ll|Glovebox}} | |||
| 10.78% | |||
|- | |||
| Transit | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-CreditCard" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|CreditCard|41.78.16--> | |||
Credit cards can be found on [[corpse]]s and in [[purse]]s. | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 380 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item CreditCard | |||
{ | |||
DisplayCategory = Junk, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = CreditCard, | |||
Icon = CreditCard, | |||
WorldStaticModel = CreditCard, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
* [[Purse]] | *[[Purse]] | ||
* [[Wallet]] | *[[Wallet]] | ||
{{Navbox items|junk}} |
Latest revision as of 19:07, 30 April 2024
A credit card is currently a useless item, and often considered as junk.
Usage
A credit card has no use, being added purely for the purpose of clutter, creating more realism for the player when looting.
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
Handbag | Handbag | 1.61% |
Handbag | Handbag | 6.41% |
Purse | Purse | 1.61% |
Purse | Purse | 6.41% |
all | inventoryfemale | 1.01% |
all | inventorymale | 1.01% |
Type | Container | Effective chance |
---|---|---|
Ambulance | Glove Box | 10.78% |
Carpenter | Glove Box | 10.78% |
Construction Worker | Glove Box | 10.78% |
Distillery | Glove Box | 10.78% |
Doctor | Glove Box | 10.78% |
Electrician | Glove Box | 10.78% |
Farmer | Glove Box | 10.78% |
Fire | Glove Box | 10.78% |
Fisherman | Glove Box | 10.78% |
Fossoil | Glove Box | 10.78% |
All | Glove Box | 10.78% |
Golf | Glove Box | 10.78% |
Heralds | Glove Box | 10.78% |
Hunter | Glove Box | 10.78% |
Mass Gen Fac | Glove Box | 10.78% |
McCoy | Glove Box | 10.78% |
Metal Welder | Glove Box | 10.78% |
Painter | Glove Box | 10.78% |
Postal | Glove Box | 10.78% |
Radio | Glove Box | 10.78% |
Ranger | Glove Box | 10.78% |
Spiffo | Glove Box | 10.78% |
Survivalist | Glove Box | 10.78% |
Transit | Glove Box | 10.78% |
Credit cards can be found on corpses and in purses.
Code
Source: ProjectZomboid\media\scripts\newitems.txt
item CreditCard
{
DisplayCategory = Junk,
Weight = 0.1,
Type = Normal,
DisplayName = CreditCard,
Icon = CreditCard,
WorldStaticModel = CreditCard,
}