Credit Card: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
m (Insert empty line above each {{Navbox}})
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|version=Version 41|incver=78.16}}{{Infobox item
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
|display_name=Credit Card
{{Page version|41.78.16}}
|name_colour=
{{Infobox item
|name_text_colour=
|name=Credit Card
|model=CreditCard_Model.png
|model=CreditCard_Model.png
|model_width=200px
|model_width=200px
|icon=CreditCard.png
|icon=CreditCard.png
|icon_name=Credit Card
|icon_name=Credit Card
|icon_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Junk
|category=Junk
|weight=0.1
|weight=0.1
|class_name=Base.CreditCard
|item_id=Base.CreditCard
}}A '''credit card''' is currently a useless {{T|item}}, and often considered as ''junk''.
}}
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 {{T|player}} when looting.  
A credit card has no use, being added purely for the purpose of clutter, creating more realism for the [[player]] when looting.


==Distribution==
==Distribution==
Credit cards can be found on [[corpse]]s and in [[purse]]s.


==Gallery==
The loot distributions can be found in the table(s) below.
<gallery>
<!--BOT FLAG|CreditCard|41.78.16-->
File:CreditCard_Model.png|Credit card model.
{{clear}}
</gallery>
<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">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|Handbag}}
    | 1
    | 10.0
    |-
    | all
    | {{ll|Handbag}}
    | 1
    | 2.0
    |-
    | all
    | {{ll|inventoryfemale}}
    | 1
    | 1.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | AmbulanceGloveBox
    | 4
    | 4
    |-
    | CarpenterGloveBox
    | 4
    | 4
    |-
    | ConstructionWorkerGloveBox
    | 4
    | 4
    |-
    | DistilleryGloveBox
    | 4
    | 4
    |-
    | DoctorGloveBox
    | 4
    | 4
    |-
    | ElectricianGloveBox
    | 4
    | 4
    |-
    | FarmerGloveBox
    | 4
    | 4
    |-
    | FireGloveBox
    | 4
    | 4
    |-
    | FishermanGloveBox
    | 4
    | 4
    |-
    | FossoilGloveBox
    | 4
    | 4
    |-
    | GloveBox
    | 4
    | 4
    |-
    | GolfGloveBox
    | 4
    | 4
    |-
    | HeraldsGloveBox
    | 4
    | 4
    |-
    | HunterGloveBox
    | 4
    | 4
    |-
    | MassGenFacGloveBox
    | 4
    | 4
    |-
    | McCoyGloveBox
    | 4
    | 4
    |-
    | MetalWelderGloveBox
    | 4
    | 4
    |-
    | PainterGloveBox
    | 4
    | 4
    |-
    | PostalGloveBox
    | 4
    | 4
    |-
    | RadioGloveBox
    | 4
    | 4
    |-
    | RangerGloveBox
    | 4
    | 4
    |-
    | SpiffoGloveBox
    | 4
    | 4
    |-
    | SurvivalistGlovebox
    | 4
    | 4
    |-
    | TransitGloveBox
    | 4
    | 4
    |}
</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==
==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 = 380
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CreditCard
     {
     {
         DisplayCategory = Junk,
         DisplayCategory = Junk,
Line 38: Line 179:
         WorldStaticModel = CreditCard,
         WorldStaticModel = CreditCard,
     }
     }
</pre>
}}
}}


==See also==
==See also==
*[[Purse]]
*[[Purse]]
*[[Wallet]]
*[[Wallet]]
{{Navbox items|junk}}

Revision as of 14:50, 25 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]
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

The loot distributions can be found in the table(s) below.

CreditCard distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Handbag 1 10.0
all Handbag 1 2.0
all inventoryfemale 1 1.0
Vehicles
Vehicle Type/Location Rolls Chance
AmbulanceGloveBox 4 4
CarpenterGloveBox 4 4
ConstructionWorkerGloveBox 4 4
DistilleryGloveBox 4 4
DoctorGloveBox 4 4
ElectricianGloveBox 4 4
FarmerGloveBox 4 4
FireGloveBox 4 4
FishermanGloveBox 4 4
FossoilGloveBox 4 4
GloveBox 4 4
GolfGloveBox 4 4
HeraldsGloveBox 4 4
HunterGloveBox 4 4
MassGenFacGloveBox 4 4
McCoyGloveBox 4 4
MetalWelderGloveBox 4 4
PainterGloveBox 4 4
PostalGloveBox 4 4
RadioGloveBox 4 4
RangerGloveBox 4 4
SpiffoGloveBox 4 4
SurvivalistGlovebox 4 4
TransitGloveBox 4 4

Credit cards can be found on corpses and in purses.

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