Lighter: Difference between revisions

From PZwiki
m (grammar)
(Applied new boilerplate including item distribution and infobox)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{languages|Lighter}}
{{languages|Lighter}}
{{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=Lighter
| image = Lighter_120px.png
|image=Lighter_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=''Unknown''
|max_units_bkg=
|contents=Lighter fluid
|contents_bkg=1
|light_distance=2
|light_distance_bkg=
|light_strength=0.4
|light_strength_bkg=1
|class_name=Base.Lighter
|class_name_bkg=
}}
}}
A '''lighter''' is 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, a lighter must be equipped in the secondary slot of the inventory. Corpses can be burnt if a lighter is in the primary slot and a [[Gas Can|gas can]] is in the secondary slot. Lighters can be found in many kitchen [[Containers#Counters|counters]] and on [[Containers#Corpses|zombies]].
The '''lighter''' is a ''drainable'' item with various uses.  


==Usage==
The lighter 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, a lighter must be equipped in the secondary slot of the inventory. Corpses can be burnt if a lighter is in the primary slot and a [[Gas Can|gas can]] is in the secondary slot.
===Light source===
The light provided by a lighter is inferior to a [[flashlight]], but will provide a ring of light around the player. If a flashlight isn't in the player's inventory, pressing the 'F' key (default) will equip the lighter and turn it on. Once equipped, pressing 'F' will turn it on or off, being a handy way to save fuel, rather than having it on all the time.
The light provided by a lighter is inferior to a [[flashlight]], but will provide a ring of light around the player. If a flashlight isn't in the player's inventory, pressing the 'F' key (default) will equip the lighter and turn it on. Once equipped, pressing 'F' will turn it on or off, being a handy way to save fuel, 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 39:
|}
|}


==Item distribution==
Lighters can be found in many kitchen [[Containers#Counters|counters]] and on [[Vehicles|vehicle]] [[Glove Box|glove boxes]] and [[seat]]s.
=== Buildings ===
{| class="wikitable" style="text-align:center;"
|-
!Building/Room
!Container
!Rolls
!Chance
|-
|rowspan=7|All
|[[Containers#Bedroom Storage|Wardrobe]]
|4
|2
|-
<!--|All-->
|[[Containers#Crates|Crate]]
|1
|4
|-
<!--|All-->
|[[Containers#Bedroom Storage|Side Table]]
|1
|2
|-
<!--|All-->
|[[Containers#Bins|Bin]]
|1
|2
|-
<!--|All-->
|[[Containers#Desks|Office Drawers]]
|1
|3
|-
<!--|All-->
|[[Containers|Other]]
|1
|3
|-
<!--|All-->
|[[Garbage Bag]]
|1
|1
|-
|rowspan=3|Bar
|[[Containers#Shelves|Shelves]]
|4
|3
|-
<!--|Bar-->
|[[Containers#Counters|Counter]]
|2
|3
|-
<!--|Bar-->
|[[Containers#Bins|Bin]]
|1
|2
|-
|Convenience Store
|[[Containers#Shelves|Shelves]]
|4
|2 (x3)
|-
|rowspan=2|Corner Store
|[[Containers#Counters|Counter]]
|2
|2 (x2)
|-
<!--|Corner Store-->
|[[Containers#Counters|Counter]]
|2
|2 (x2)
|-
|rowspan=3|Fossoil
|[[Containers#Counters|Counter]]
|4
|2 (x2)
|-
<!--|Fossoil-->
|[[Containers#Shelves|Shelves]]
|4
|2 (x2)
|-
<!--|Fossoil-->
|[[Containers#Crates|Crate]]
|4
|2 (x2)
|-
|Grocery Storage
|[[Containers#Bins|Bin]]
|1
|2
|-
|rowspan=2|Grocery
|[[Containers#Counters|Counter]]
|4
|2 (x2)
|-
<!--|Grocery-->
|[[Containers#Crates|Crate]]
|4
|2 (x2)
|-
|Garage Storage
|[[Containers|All]]
|2
|3 (+2)
|-
|rowspan=2|Gas Store
|[[Containers#Shelves|Shelves]]
|5
|2
|-
<!--|Gas Store-->
|[[Containers#Counters|Counter]]
|2
|2
|-
|Gas storage
|[[Containers#Counters|Counter]]
|5
|2
|-
|General Store
|[[Containers|Other]]
|5
|1
|-
|General Store Storage
|[[Containers|Other]]
|5
|1
|-
|Kitchen
|[[Containers#Counters|Counter]]
|2
|2
|-
|Mechanic
|[[Containers#Lockers|Metal Locker]]
|3
|3
|-
|Motel Room (Occupied)
|[[Containers#Bins|Bin]]
|1
|2
|-
|Post Office
|[[Containers#Counters|Counter]]
|2
|1
|-
|Storage Unit
|[[Containers|All]]
|3
|2
|-
|rowspan=3|Zippee Store
|[[Containers#Counters|Counter]]
|1
|2 (x3)
|-
<!--|Zippee Store-->
|[[Containers#Shelves|Shelves]]
|4
|2 (x2)
|-
<!--|Zippee Store-->
|[[Containers#Crates|Crate]]
|4
|2 (x2)
|-
|}
=== 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 Lighter
item Lighter

Revision as of 17:47, 11 July 2018


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

The lighter is a drainable item with various uses.

Usage

The lighter 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, a lighter must be equipped in the secondary slot of the inventory. Corpses can be burnt if a lighter is in the primary slot and a gas can is in the secondary slot.

Light source

The light provided by a lighter is inferior to a flashlight, but will provide a ring of light around the player. If a flashlight isn't in the player's inventory, pressing the 'F' key (default) will equip the lighter and turn it on. Once equipped, pressing 'F' will turn it on or off, being a handy way to save fuel, rather than having it on all the time.

Recipes

Name Recipe Description Level












Item distribution

Lighters can be found in many kitchen counters and on vehicle glove boxes and seats.

Buildings

Building/Room Container Rolls Chance
All Wardrobe 4 2
Crate 1 4
Side Table 1 2
Bin 1 2
Office Drawers 1 3
Other 1 3
Garbage Bag 1 1
Bar Shelves 4 3
Counter 2 3
Bin 1 2
Convenience Store Shelves 4 2 (x3)
Corner Store Counter 2 2 (x2)
Counter 2 2 (x2)
Fossoil Counter 4 2 (x2)
Shelves 4 2 (x2)
Crate 4 2 (x2)
Grocery Storage Bin 1 2
Grocery Counter 4 2 (x2)
Crate 4 2 (x2)
Garage Storage All 2 3 (+2)
Gas Store Shelves 5 2
Counter 2 2
Gas storage Counter 5 2
General Store Other 5 1
General Store Storage Other 5 1
Kitchen Counter 2 2
Mechanic Metal Locker 3 3
Motel Room (Occupied) Bin 1 2
Post Office Counter 2 1
Storage Unit All 3 2
Zippee Store Counter 1 2 (x3)
Shelves 4 2 (x2)
Crate 4 2 (x2)

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 Lighter
		LightDistance		= 2,
		Weight			= 0.1,
		Type			= Drainable,
		UseWhileEquipped	= FALSE,
		TorchCone		= FALSE,
		LightStrength		= 0.4,
		DisplayName		= Lighter,
		ActivatedItem		= TRUE,
		Icon			= Lighter,
		MetalValue 		= 1,
		cantBeConsolided 	= TRUE,


History

Alpha
RC 2.9 Added to the game
2.9.9.17
Build 23
All light sources are a bit stronger
Build 28 Burn zombie corpses ! It'll need some petrol and a lighter/matches.
Build 35 Bug Fix: lighter can't be consolidated


See Also

Template:Navbox/Tools