Credit Card: Difference between revisions

From PZwiki
m (Automated capitalisation)
m (Insert empty line above each {{Navbox}})
(14 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=Credit Card
|name=Credit Card
|name_colour=
|name_text_colour=
|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==
Line 33: Line 165:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 380
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
Line 39: Line 171:
   | code =
   | code =
item CreditCard
item CreditCard
{
    {
    DisplayCategory = Junk,
        DisplayCategory = Junk,
    Weight = 0.1,
        Weight = 0.1,
    Type = Normal,
        Type = Normal,
    DisplayName = CreditCard,
        DisplayName = CreditCard,
    Icon = CreditCard,
        Icon = CreditCard,
    WorldStaticModel = CreditCard,
        WorldStaticModel = CreditCard,
}
    }
  }}
}}
}}
}}


Line 53: Line 185:
*[[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