Credit Card: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
(→‎Code: code box update)
Line 26: Line 26:


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
    item CreditCard
  | line = true
    {
  | start = 0
        DisplayCategory = Junk,
  | source = newitems.txt
        Weight = 0.1,
  | retrieved = true
        Type = Normal,
  | version = 41
        DisplayName = CreditCard,
  | incver = 78.16
        Icon = CreditCard,
  | code =
        WorldStaticModel = CreditCard,
item CreditCard
    }
{
</pre>
    DisplayCategory = Junk,
    Weight = 0.1,
    Type = Normal,
    DisplayName = CreditCard,
    Icon = CreditCard,
    WorldStaticModel = CreditCard,
}
  }}
}}


==See also==
==See also==
*[[Purse]]
*[[Purse]]
*[[Wallet]]
*[[Wallet]]

Revision as of 08:35, 8 January 2024

The Game WorldItemsCredit Card
Credit Card
CreditCard Model.png
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Technical
Item ID
Base.CreditCard

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

Credit cards can be found on corpses and in purses.

Gallery

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item CreditCard
{
    DisplayCategory = Junk,
    Weight = 0.1,
    Type = Normal,
    DisplayName = CreditCard,
    Icon = CreditCard,
    WorldStaticModel = CreditCard,
}

See also