Matches: Difference between revisions

From PZwiki
mNo edit summary
m (Remove lines))
(28 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|version=Version 39|incver=67.5}}{{Infobox drainable
{{Page version|41.65}}
|display_name=Matches
{{Infobox item
|image=Matches_120px.png
|name=Matches
|model=Matches_Model.png
|icon=Matches.png
|icon_name=Matches
|weight=0.1
|weight=0.1
|weight_bkg=1
|primary_use=Fire starting
|primary_use=Fire starting
|primary_use_bkg=
|secondary_use=Light source
|secondary_use=Light source
|secondary_use_bkg=1
|max_units=10
|max_units=10
|max_units_bkg=
|contents=Matches
|contents=Matches
|contents_bkg=1
|light_distance=2
|light_distance=2
|light_distance_bkg=
|light_strength=0.4
|light_strength=0.4
|light_strength_bkg=1
|item_id=Base.Matches
|class_name=Base.Matches
|class_name_bkg=
}}
}}
'''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|corpses]], 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="wikitable sortable" style="text-align:center;"
==Crafting==
{{Crafting/sandbox2
|lit_candle
}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
|-
! Name
! Building/Room
! class="unsortable" | Recipe
! Container
! class="unsortable" | Description
! style="width: 3.2em;" | Rolls
! Skill Level
! style="width: 3.2em;" | Chance
{{RecipeLookup|4004}}
|-
|}
|rowspan="2"|all
 
|[[desk]]
==Item distribution==
|4
Matches can be found in many [[Containers#Counters|counters]] and on [[Vehicles|vehicle]] [[Glove Box|glove boxes]] and [[seat]]s.
|8
=== Buildings ===
|-
{| class="wikitable" style="text-align:center;"
|[[other]]
|1
|8
|-
|-
!Building/Room
|armysurplus
!Container
|[[counter]]
!Rolls
|4
!Chance
|1
|-
|-
|rowspan=4|All
|bar
|[[Containers#Counters|Counter]]
|[[counter]]
|4
|1
|1
|-
|rowspan="2"|bedroom
|[[desk]]
|4
|4
|8
|-
|[[desk]]
|4
|8
|-
|rowspan="2"|closet
|[[crate]]
|4
|1
|-
|-
<!--|All-->
|[[crate]]
|[[Containers#Bedroom Storage|Side Table]]
|4
|1
|1
|3
|-
|-
<!--|All-->
|rowspan="2"|conveniencestore
|[[Containers#Desks|Office Drawers]]
|[[shelves]]
|4
|1
|1
|-
|[[shelves]]
|4
|2
|2
|-
|-
<!--|All-->
|druglab
|[[Containers|Other]]
|[[counter]]
|4
|1
|1
|-
|drugshack
|[[counter]]
|4
|8
|-
|empty
|[[crate]]
|4
|8
|-
|rowspan="2"|gasstorage
|[[counter]]
|4
|8
|-
|[[crate]]
|4
|1
|1
|-
|-
|Kitchen
|kitchen
|[[Containers#Counters|Counter]]
|[[counter]]
|2
|4
|5
|8
|-
|office
|[[desk]]
|4
|8
|-
|-
|prisoncells
|[[wardrobe]]
|4
|8
|}
|}


=== Vehicles ===
===Vehicles===
{| class="wikitable" style="text-align:center;"
{| class="wikitable theme-red" style="text-align:center;"
|-
|-
!Profession
!Profession
Line 91: Line 142:
|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}}

Revision as of 07:10, 15 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.

Containers
Building/Room Container Rolls Chance
all desk 4 8
other 1 8
armysurplus counter 4 1
bar counter 4 1
bedroom desk 4 8
desk 4 8
closet crate 4 1
crate 4 1
conveniencestore shelves 4 1
shelves 4 2
druglab counter 4 1
drugshack counter 4 8
empty crate 4 8
gasstorage counter 4 8
crate 4 1
kitchen counter 4 8
office desk 4 8
prisoncells wardrobe 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