Matches: Difference between revisions

From PZwiki
m (grammar)
(Applied new boilerplate including item distribution and infobox)
Line 1: Line 1:
__NOTOC__
{{languages|Matches}}
{{languages|Matches}}
{{header|The Game World|Items|Illumination|version=Version 39|incver=52}}
{{header|The Game World|Items|Illumination|version=Version 39|incver=67.5}}{{Infobox drainable
{{Tools
|display_name=Matches
| image = Matches_120px.png
|image=Matches_120px.png
| primaryuse = Start Fires
|weight=0.1
| otheruses = Light Source
|weight_bkg=1
| weight = 0.1
|primary_use=Fire starting
|primary_use_bkg=
|secondary_use=Light source
|secondary_use_bkg=1
|max_units=10
|max_units_bkg=
|contents=Matches
|contents_bkg=1
|light_distance=2
|light_distance_bkg=
|light_strength=0.4
|light_strength_bkg=1
|class_name=Base.Lighter
|class_name_bkg=
}}
}}
'''Matches''' are a ''drainable'' item with various uses. It can be used to light [[Candle|unlit candles]], [[Molotov cocktail|molotov cocktails]], [[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, 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 found in many kitchen [[Containers#Counters|counters]].
'''Matches''' are a ''drainable'' item that can be used up to 10 times.


==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.
===Light source===
The light provided by matches is the worst of any light source and will function similarly to 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 the matches and light one. Once equipped, pressing 'F' will light and extinguish them, being a handy way to save matches, rather than having it on all the time.
The light provided by matches is the worst of any light source and will function similarly to 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 the matches and light one. Once equipped, pressing 'F' will light and extinguish them, being a handy way to save matches, rather than having it on all the time.


 
===Recipes===
==Crafting==
{| class="wikitable sortable" style="text-align:center;"
{| class="wikitable sortable" style="text-align:center;"
|-
|-
Line 23: Line 38:
|}
|}


==Item distribution==
Matches can be found in many kitchen [[Containers#Counters|counters]].
=== Buildings ===
{| class="wikitable" style="text-align:center;"
|-
!Building/Room
!Container
!Rolls
!Chance
|-
|rowspan=4|All
|[[Containers#Counters|Counter]]
|1
|4
|-
<!--|All-->
|[[Containers#Bedroom Storage|Side Table]]
|1
|3
|-
<!--|All-->
|[[Containers#Desks|Office Drawers]]
|1
|2
|-
<!--|All-->
|[[Containers|Other]]
|1
|1
|-
|Kitchen
|[[Containers#Counters|Counter]]
|2
|5
|-
|}
=== Vehicles ===
{| class="wikitable" style="text-align:center;"
|-
!Profession
!Container
!Rolls
!Chance
|-
|rowspan=2|All
|[[Glove Box]]
|1
|5
|-
<!--|All -->
|[[Seat]]
|1
|1
|-
|}


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=39|incver=67.5}}
  <nowiki>
  <nowiki>
item Matches
item Matches
Line 34: Line 106:
DisplayName = Matches,
DisplayName = Matches,
Icon = Matches,
Icon = Matches,
cantBeConsolided = TRUE,
cantBeConsolided = TRUE,</nowiki>
</nowiki>
 


==See Also==
==See Also==

Revision as of 18:04, 11 July 2018

Matches
Matches
General
Category Item
Encumbrance
Heavy Load
0.1
Function Fire starting
Light source
Capacity 10 units
Contents Matches
Light distance 2 tiles
Light strength 0.4
Technical details
item ID Base.Lighter

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

Usage

Matches can be used to light candles, molotov cocktails, cigarettes, campfires, or antique ovens, burn 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 is in the secondary slot.

Light source

The light provided by matches is the worst of any light source and will function similarly to 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 the matches and light one. Once equipped, pressing 'F' will light and extinguish them, being a handy way to save matches, rather than having it on all the time.

Recipes

Name Recipe Description Skill Level












Item distribution

Matches can be found in many kitchen counters.

Buildings

Building/Room Container Rolls Chance
All Counter 1 4
Side Table 1 3
Office Drawers 1 2
Other 1 1
Kitchen Counter 2 5

Vehicles

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

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 39.67.5

	item Matches
		Weight			= 0.1,
		Type			= Drainable,
		UseWhileEquipped	= FALSE,
		UseDelta		= 0.1,
		DisplayName		= Matches,
		Icon			= Matches,
		cantBeConsolided	= TRUE,

See Also

Template:Navbox/Tools