Matches: Difference between revisions

From PZwiki
m (clean up, replaced: wikitable → pztable (3))
m (Distribution table update)
 
(27 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{languages|Matches}}
{{Header|Project Zomboid|Items|Equipment|Light sources}}
{{header|The Game World|Items|Illumination|type=Tool|version=Version 39|incver=67.5}}{{Infobox drainable
{{Page version|41.65}}
|display_name=Matches
{{Infobox item
|name_colour=Tool
|name=Matches
|name_text_colour=Tool
|model=Matches_Model.png
|image=Matches_120px.png
|icon=Matches.png
|icon_name=Matches
|weight=0.1
|weight=0.1
|primary_use=Fire starting
|primary_use=Fire starting
Line 12: Line 13:
|light_distance=2
|light_distance=2
|light_strength=0.4
|light_strength=0.4
|class_name=Base.Matches
|item_id=Base.Matches
}}
}}
'''Matches''' are a ''drainable'' item that can be used up to 10 times.
'''Matches''' are a ''drainable'' [[Items|item]] that can be used up to 10 times.


==Usage==
==Usage==
Matches can be used to light [[candle]]s, [[Molotov Cocktail|molotov cocktails]], [[cigarette]]s, [[Heat Source#Campfire|campfires]], or [[Heat Source#Antique Oven|antique ovens]], burn [[corpse]]s, or as a light source. In order to use a molotov or cigarette, matches must be equipped in the secondary slot of the inventory. Corpses can be burnt if matches are in the primary slot and a [[Gas Can|gas can]] is in the secondary slot.  
Matches can be used to light [[candle]]s, [[cigarette]]s, [[Heat source#Campfire|campfires]], or [[Heat source#Antique Oven|antique ovens]], burn [[corpse]]s, or as a light source. Corpses can be burnt if matches are in the primary slot and a [[Gas Can|gas can]] is in the secondary slot.


===Light source===
===Light source===
The light provided by matches is the worst of any light source and will function similarly to that of the [[lighter]], forming a ring of light around the player, but at a reduced radius. If another light souce isn't in the player's inventory, pressing the 'F' key (default) will equip matches and light one. Once equipped, pressing 'F' will light and extinguish them.
The light provided by matches is the worst of any light source and will function similarly to that of the [[lighter]], forming a ring of light around the player, but at a reduced radius. If another light source isn't in the player's inventory, pressing the 'F' key (default) will equip matches and light one. Once equipped, pressing 'F' will light and extinguish them.
===Recipes===
 
{| class="pztable sortable" style="text-align:center;"
==Crafting==
|-
{{Crafting/sandbox2
! Name
|lit_candle
! class="unsortable" | Recipe
}}
! class="unsortable" | Description
 
! Skill Level
==Distribution==
{{RecipeLookup|4004}}
The loot distributions can be found in the table(s) below.
|}


==Item distribution==
<!--BOT FLAG|Matches|41.78.16-->
Matches can be found in many [[Containers#Counters|counters]] and on [[Vehicles|vehicle]] [[Glove Box|glove boxes]] and [[seat]]s.
{{clear}}
=== Buildings ===
<div class="togglebox theme-red">
{| class="pztable" style="text-align:center;"
    <div>Matches distribution
|-
        <span class="mw-customtoggle-togglebox-Matches" 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>
!Building/Room
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Matches">
!Container
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
!Rolls
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
!Chance
    |+ {{ll|Containers}}
|-
    ! Building / Room
|rowspan=4|All
    ! Container
|[[Containers#Counters|Counter]]
    ! Rolls
|1
    ! Chance
|4
    |-
|-
    | all
<!--|All-->
    | {{ll|desk}}
|[[Containers#Bedroom Storage|Side Table]]
    | 4
|1
    | 8.0
|3
    |-
|-
    | all
<!--|All-->
    | {{ll|inventoryfemale}}
|[[Containers#Desks|Office Drawers]]
    | 1
|1
    | 0.5
|2
    |-
|-
    | all
<!--|All-->
    | {{ll|other}}
|[[Containers|Other]]
    | 1
|1
    | 8.0
|1
    |-
|-
    | armysurplus
|Kitchen
    | {{ll|counter}}
|[[Containers#Counters|Counter]]
    | 4
|2
    | 10.0
|5
    |-
|-
    | bar
|}
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | bedroom
    | {{ll|desk}}
    | 4
    | 8.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | conveniencestore
    | {{ll|shelves}}
    | 4
    | 20.0
    |-
    | conveniencestore
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | druglab
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | drugshack
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | empty
    | {{ll|crate}}
    | 4
    | 8.0
    |-
    | gasstorage
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | gasstorage
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | office
    | {{ll|desk}}
    | 4
    | 8.0
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 4
    | 8.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
    | 8
    |-
    | CarpenterGloveBox
    | 4
    | 8
    |-
    | ConstructionWorkerGloveBox
    | 4
    | 8
    |-
    | DistilleryGloveBox
    | 4
    | 8
    |-
    | DoctorGloveBox
    | 4
    | 8
    |-
    | ElectricianGloveBox
    | 4
    | 8
    |-
    | FarmerGloveBox
    | 4
    | 8
    |-
    | FireGloveBox
    | 4
    | 8
    |-
    | FishermanGloveBox
    | 4
    | 8
    |-
    | FossoilGloveBox
    | 4
    | 8
    |-
    | GloveBox
    | 4
    | 8
    |-
    | GolfGloveBox
    | 4
    | 8
    |-
    | HeraldsGloveBox
    | 4
    | 8
    |-
    | HunterGloveBox
    | 4
    | 8
    |-
    | MassGenFacGloveBox
    | 4
    | 8
    |-
    | McCoyGloveBox
    | 4
    | 8
    |-
    | MetalWelderGloveBox
    | 4
    | 8
    |-
    | PainterGloveBox
    | 4
    | 8
    |-
    | PoliceGloveBox
    | 4
    | 8
    |-
    | PostalGloveBox
    | 4
    | 8
    |-
    | RadioGloveBox
    | 4
    | 8
    |-
    | RangerGloveBox
    | 4
    | 8
    |-
    | SpiffoGloveBox
    | 4
    | 8
    |-
    | SurvivalistGlovebox
    | 4
    | 8
    |-
    | TaxiGloveBox
    | 4
    | 8
    |-
    | TransitGloveBox
    | 4
    | 8
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Matches" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Matches|41.78.16-->


=== Vehicles ===
===Vehicles===
{| class="pztable" style="text-align:center;"
{| class="wikitable theme-red" style="text-align:center;"
|-
|-
!Profession
!Profession
Line 85: Line 264:
|1
|1
|1
|1
|-
|}
|}


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=39|incver=67.5}}
| {{CodeSnip
<nowiki>
  | lang = java
item Matches
  | line = true
Weight = 0.1,
  | start = 847
Type = Drainable,
  | source = items.txt
UseWhileEquipped = FALSE,
  | retrieved = true
UseDelta = 0.1,
  | version = 41.78.16
DisplayName = Matches,
  | code =
Icon = Matches,
item Matches
cantBeConsolided = TRUE,</nowiki>
{
    DisplayCategory = LightSource,
Weight = 0.1,
Type = Drainable,
UseWhileEquipped = FALSE,
UseDelta   =   0.1,
DisplayName = Matches,
Icon = Matches,
ConsolidateOption = ContextMenu_Merge,
WorldStaticModel = Matches,
Tags = StartFire,
}
}}
}}


==See also==
==See also==
*[[Lighter]]
*[[Lighter]]
*[[Flashlight]]
*[[Flashlight]]
*[[Heat Source]]
*[[Heat source]]
*[[Fire]]
*[[Fire]]


{{Navbox/Tools}}
{{Navbox items|survival}}

Latest revision as of 16:01, 24 April 2024

Spiffo controlyourself.png
This page was last updated for an older version (41.65).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Matches
Matches Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
Fire starting
Light source
Properties
Contents
Matches
Capacity
10 units
Light distance
2 tiles
Light strength
0.4
Technical
Item ID
Base.Matches

Matches are a drainable item that can be used up to 10 times.

Usage

Matches can be used to light candles, cigarettes, campfires, or antique ovens, burn corpses, or as a light source. Corpses can be burnt if matches are in the primary slot and a gas can is in the secondary slot.

Light source

The light provided by matches is the worst of any light source and will function similarly to that of the lighter, forming a ring of light around the player, but at a reduced radius. If another light source isn't in the player's inventory, pressing the 'F' key (default) will equip matches and light one. Once equipped, pressing 'F' will light and extinguish them.

Crafting

Product Ingredients Tools Requirements Workstation XP
CandleLit.png
Candle
One of:
Lighter.png Lighter ×1
Matches.png Matches ×1
Each of:
Candle.png Candle ×1
none none none none

Distribution

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

Matches distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all desk 4 8.0
all inventoryfemale 1 0.5
all other 1 8.0
armysurplus counter 4 10.0
bar counter 4 10.0
bedroom desk 4 8.0
closet crate 4 10.0
conveniencestore shelves 4 20.0
conveniencestore shelves 4 10.0
druglab counter 4 10.0
drugshack counter 4 8.0
empty crate 4 8.0
gasstorage counter 4 8.0
gasstorage crate 4 10.0
kitchen counter 4 8.0
office desk 4 8.0
prisoncells wardrobe 4 8.0
Vehicles
Vehicle Type/Location Rolls Chance
AmbulanceGloveBox 4 8
CarpenterGloveBox 4 8
ConstructionWorkerGloveBox 4 8
DistilleryGloveBox 4 8
DoctorGloveBox 4 8
ElectricianGloveBox 4 8
FarmerGloveBox 4 8
FireGloveBox 4 8
FishermanGloveBox 4 8
FossoilGloveBox 4 8
GloveBox 4 8
GolfGloveBox 4 8
HeraldsGloveBox 4 8
HunterGloveBox 4 8
MassGenFacGloveBox 4 8
McCoyGloveBox 4 8
MetalWelderGloveBox 4 8
PainterGloveBox 4 8
PoliceGloveBox 4 8
PostalGloveBox 4 8
RadioGloveBox 4 8
RangerGloveBox 4 8
SpiffoGloveBox 4 8
SurvivalistGlovebox 4 8
TaxiGloveBox 4 8
TransitGloveBox 4 8

Vehicles

Profession Container Rolls Chance
All Glove Box 1 5
Car Seat 1 1

Code

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

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item Matches
	{
	    DisplayCategory = LightSource,
		Weight	=	0.1,
		Type	=	Drainable,
		UseWhileEquipped	=	FALSE,
		UseDelta    =   0.1,
		DisplayName	=	Matches,
		Icon	=	Matches,
		ConsolidateOption = ContextMenu_Merge,
		WorldStaticModel = Matches,
		Tags = StartFire,
	}

See also