Credit Card: Difference between revisions

From PZwiki
mNo edit summary
m (Insert empty line above each {{Navbox}})
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages|Credit Card}}
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
{{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
{{Page version|41.78.16}}
| display_name = Credit Card
{{Infobox item
| name_colour =  
|name=Credit Card
| name_text_colour =  
|model=CreditCard_Model.png
| image = CreditCard.png
|model_width=200px
| image_width = 128px
|icon=CreditCard.png
| weight = 0.1
|icon_name=Credit Card
| function = ''None''
<!--GENERAL-->
| class_name = Base.CreditCard
|category=Junk
}}A '''credit card''' is currently a useless {{T|item}}, and often considered as ''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 {{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.


== Code ==
The loot distributions can be found in the table(s) below.
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
<!--BOT FLAG|CreditCard|41.78.16-->
{{Retrieved|version=40|incver=43}}
{{clear}}
<pre> item CreditCard
<div class="togglebox theme-red">
Weight = 0.1,
    <div>CreditCard distribution
Type = Normal,
        <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>
DisplayName = CreditCard,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CreditCard">
Icon = CreditCard,
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
</pre>
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
==Gallery==
    |+ {{ll|Containers}}
<gallery>
    ! Building / Room
File:CreditCard high-det.png|Custom higher detailed credit card image.
    ! Container
</gallery>
    ! 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==
{{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}}

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