Lighter: Difference between revisions

From PZwiki
(updates to layout, added trivia)
m (Distribution table fix)
 
(35 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{languages|Lighter}}
{{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=Lighter
{{Infobox item
|name_colour=Tool
|name=Lighter
|name_text_colour=Tool
|model=Zippo_Model.png
|image=Lighter_120px.png
|icon=Lighter.png
|icon_name=Lighter
|weight=0.1
|weight=0.1
|primary_use=Fire starting
|primary_use=Fire starting
|secondary_use=Light source
|secondary_use=Light source
|max_units=''Unknown''
|max_units=32
|contents=Lighter fluid
|contents=Lighter fluid
|light_distance=2
|light_distance=2
|light_strength=0.4
|light_strength=0.4
|class_name=Base.Lighter
|item_id=Base.Lighter
}}
}}
A '''lighter''' is a drainable item with various uses.  
A '''lighter''' is a drainable item with various uses.


==Usage==
==Usage==
A 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.
A 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]]s, 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.


===Light source===
===Light source===
The light provided by a lighter is inferior to that of 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 a lighter and turn it on. Once equipped, pressing 'F' will turn it on or off.
The light provided by a lighter is inferior to that of 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 a lighter and turn it on. Once equipped, pressing {{key|F}} will turn it on or off.


==Crafting==
==Crafting==
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|4004}}
|lit_candle
{{Crafting table footer}}
}}


==Distribution==
==Distribution==
Lighters can be found in many [[Containers#Counters|counters]] and on [[Vehicles|vehicle]] [[Glove Box|glove boxes]] and [[seat]]s.
The loot distributions can be found in the table(s) below.
=== Buildings ===
 
{| class="wikitable" style="text-align:center;"
<!--BOT FLAG|Lighter|41.78.16-->
|-
{{Clear}}
!Building/Room
<div class="togglebox theme-red">
!Container
    <div>Lighter distribution
!Rolls
        <span class="mw-customtoggle-togglebox-Lighter" 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>
!Chance
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Lighter">
|-
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.   <div class="toggle-content">
|rowspan=7|All
<div class="pz-container">
|[[Containers#Bedroom Storage|Wardrobe]]
<div id="containers" style="flex-basis:30%">
|4
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
|2
    |+ {{ll|Containers}}
|-
    ! Building/Room
<!--|All-->
    ! Container
|[[Containers#Crates|Crate]]
    ! Effective chance
|1
    |-
|4
    | Bag_ALICEpack
|-
    | {{ll|Bag_ALICEpack}}
<!--|All-->
    | 1.01%
|[[Containers#Bedroom Storage|Side Table]]
    |-
|1
    | Bag_ALICEpack_Army
|2
    | {{ll|Bag_ALICEpack_Army}}
|-
    | 1.01%
<!--|All-->
    |-
|[[Containers#Bins|Bin]]
    | Bag_BigHikingBag
|1
    | {{ll|Bag_BigHikingBag}}
|2
    | 1.01%
|-
    |-
<!--|All-->
    | Bag_Military
|[[Containers#Desks|Office Drawers]]
    | {{ll|Bag_Military}}
|1
    | 1.01%
|3
    |-
|-
    | Bag_NormalHikingBag
<!--|All-->
    | {{ll|Bag_NormalHikingBag}}
|[[Containers|Other]]
    | 1.01%
|1
    |-
|3
    | Bag_Satchel
|-
    | {{ll|Bag_Satchel}}
<!--|All-->
    | 1.01%
|[[Garbage Bag]]
    |-
|1
    | Bag_Schoolbag
|1
    | {{ll|Bag_Schoolbag}}
|-
    | 1.01%
|rowspan=3|Bar
    |-
|[[Containers#Shelves|Shelves]]
    | Handbag
|4
    | {{ll|Handbag}}
|3
    | 1.01%
|-
    |-
<!--|Bar-->
    | Purse
|[[Containers#Counters|Counter]]
    | {{ll|Purse}}
|2
    | 1.01%
|3
    |-
|-
    | all
<!--|Bar-->
    | {{ll|crate}}
|[[Containers#Bins|Bin]]
    | 2.81%
|1
    |-
|2
    | all
|-
    | {{ll|desk}}
|Convenience Store
    | 10.78%
|[[Containers#Shelves|Shelves]]
    |-
|4
    | all
|2 (x3)
    | {{ll|inventoryfemale}}
|-
    | 0.71%
|rowspan=2|Corner Store
    |-
|[[Containers#Counters|Counter]]
    | all
|2
    | {{ll|inventorymale}}
|2 (x2)
    | 0.71%
|-
    |-
<!--|Corner Store-->
    | all
|[[Containers#Counters|Counter]]
    | {{ll|other}}
|2
    | 2.81%
|2 (x2)
    |-
|-
    | armysurplus
|rowspan=3|Fossoil
    | {{ll|counter}}
|[[Containers#Counters|Counter]]
    | 23.28%
|4
    |-
|2 (x2)
    | armysurplus
|-
    | {{ll|metal_shelves}}
<!--|Fossoil-->
    | 23.28%
|[[Containers#Shelves|Shelves]]
    |-
|4
    | armysurplus
|2 (x2)
    | {{ll|shelves}}
|-
    | 23.28%
<!--|Fossoil-->
    |-
|[[Containers#Crates|Crate]]
    | bar
|4
    | {{ll|counter}}
|2 (x2)
    | 23.28%
|-
    |-
|Grocery Storage
    | barkitchen
|[[Containers#Bins|Bin]]
    | {{ll|counter}}
|1
    | 23.28%
|2
    |-
|-
    | barstorage
|rowspan=2|Grocery
    | {{ll|counter}}
|[[Containers#Counters|Counter]]
    | 23.28%
|4
    |-
|2 (x2)
    | bedroom
|-
    | {{ll|desk}}
<!--|Grocery-->
    | 10.78%
|[[Containers#Crates|Crate]]
    |-
|4
    | beergarden
|2 (x2)
    | {{ll|counter}}
|-
    | 23.28%
|Garage Storage
    |-
|[[Containers|All]]
    | conveniencestore
|2
    | {{ll|shelves}}
|3 (+2)
    | 23.28%
|-
    |-
|rowspan=2|Gas Store
    | conveniencestore
|[[Containers#Shelves|Shelves]]
    | {{ll|shelves}}
|5
    | 41.14%
|2
    |-
|-
    | cornerstore
<!--|Gas Store-->
    | {{ll|shelves}}
|[[Containers#Counters|Counter]]
    | 23.28%
|2
    |-
|2
    | cornerstore
|-
    | {{ll|shelves}}
|Gas storage
    | 41.14%
|[[Containers#Counters|Counter]]
    |-
|5
    | drugshack
|2
    | {{ll|counter}}
|-
    | 10.78%
|General Store
    |-
|[[Containers|Other]]
    | empty
|5
    | {{ll|crate}}
|1
    | 10.78%
|-
    |-
|General Store Storage
    | fossoil
|[[Containers|Other]]
    | {{ll|counter}}
|5
    | 23.28%
|1
    |-
|-
    | fossoil
|Kitchen
    | {{ll|counter}}
|[[Containers#Counters|Counter]]
    | 41.14%
|2
    |-
|2
    | fossoil
|-
    | {{ll|shelves}}
|Mechanic
    | 23.28%
|[[Containers#Lockers|Metal Locker]]
    |-
|3
    | fossoil
|3
    | {{ll|shelves}}
|-
    | 41.14%
|Motel Room (Occupied)
    |-
|[[Containers#Bins|Bin]]
    | gasstorage
|1
    | {{ll|counter}}
|2
    | 10.78%
|-
    |-
|Post Office
    | gasstorage
|[[Containers#Counters|Counter]]
    | {{ll|crate}}
|2
    | 23.28%
|1
    |-
|-
    | gasstorage
|Storage Unit
    | {{ll|metal_shelves}}
|[[Containers|All]]
    | 23.28%
|3
    |-
|2
    | gasstore
|-
    | {{ll|counter}}
|rowspan=3|Zippee Store
    | 23.28%
|[[Containers#Counters|Counter]]
    |-
|1
    | gasstore
|2 (x3)
    | {{ll|counter}}
|-
    | 41.14%
<!--|Zippee Store-->
    |-
|[[Containers#Shelves|Shelves]]
    | gasstore
|4
    | {{ll|shelves}}
|2 (x2)
    | 23.28%
|-
    |-
<!--|Zippee Store-->
    | gasstore
|[[Containers#Crates|Crate]]
    | {{ll|shelves}}
|4
    | 41.14%
|2 (x2)
    |-
|-
    | generalstore
|}
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstore
    | {{ll|shelves}}
    | 41.14%
    |-
    | generalstorestorage
    | {{ll|counter}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|counter}}
    | 41.14%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 41.14%
    |-
    | hall
    | {{ll|counter}}
    | 10.78%
    |-
    | janitor
    | {{ll|counter}}
    | 10.78%
    |-
    | jewelrystore
    | {{ll|counter}}
    | 10.78%
    |-
    | kitchen
    | {{ll|counter}}
    | 10.78%
    |-
    | liquorstore
    | {{ll|counter}}
    | 23.28%
    |-
    | liquorstore
    | {{ll|counter}}
    | 41.14%
    |-
    | livingroom
    | {{ll|counter}}
    | 10.78%
    |-
    | lobby
    | {{ll|counter}}
    | 10.78%
    |-
    | office
    | {{ll|desk}}
    | 10.78%
    |-
    | plazastore1
    | {{ll|counter}}
    | 10.78%
    |-
    | policestorage
    | {{ll|counter}}
    | 10.78%
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 10.78%
    |-
    | schoolstorage
    | {{ll|counter}}
    | 10.78%
    |-
    | zippeestorage
    | {{ll|counter}}
    | 10.78%
    |-
    | zippeestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | zippeestorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | zippeestore
    | {{ll|shelves}}
    | 23.28%
    |-
    | zippeestore
    | {{ll|shelves}}
    | 41.14%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Ambulance
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Carpenter
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Construction Worker
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Distillery
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Doctor
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Electrician
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Farmer
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Fire
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Fisherman
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Fossoil
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | All
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Golf
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Heralds
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Hunter
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Mass Gen Fac
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | McCoy
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Metal Welder
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Painter
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Police
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Postal
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Radio
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Ranger
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Spiffo
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Survivalist
    | {{ll|Glovebox}}
    | 10.78%
    |-
    | Taxi
    | {{ll|Glove Box}}
    | 10.78%
    |-
    | Transit
    | {{ll|Glove Box}}
    | 10.78%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Lighter" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Lighter|41.78.16-->


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


==Trivia==
==Trivia==
*The icon has similarities to that of a [[wikipedia:Zippo|Zippo]] lighter which is a popular lighter in the [[wikipedia:U.S.A|U.S.A]] and founded in [[wikipedia:Bradford, Pennsylvania|Pennsylvania]]. It became increasingly popular during [[wikipedia:World War II|World War II]] and the [[wikipedia:Vietnam War|Vietnam War]].
*The icon has similarities to that of a [[Wikipedia:Zippo|Zippo]] lighter which is a popular lighter in the [[Wikipedia:U.S.A|U.S.A]] and founded in [[Wikipedia:Bradford, Pennsylvania|Pennsylvania]]. It became increasingly popular during [[Wikipedia:World War II|World War II]] and the [[Wikipedia:Vietnam War|Vietnam War]].


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=39|incver=67.5}}
| {{CodeSnip
<nowiki> item Lighter
  | lang = java
LightDistance = 2,
  | line = true
Weight = 0.1,
  | start = 827
Type = Drainable,
  | source = items.txt
UseWhileEquipped = FALSE,
  | retrieved = true
TorchCone = FALSE,
  | version = 41.78.16
LightStrength = 0.4,
  | code =
DisplayName = Lighter,
item Lighter
ActivatedItem = TRUE,
{
Icon = Lighter,
    DisplayCategory = LightSource,
MetalValue = 1,
LightDistance = 2,
cantBeConsolided = TRUE,</nowiki>
Weight = 0.1,
Type = Drainable,
UseWhileEquipped = TRUE,
TorchCone = FALSE,
LightStrength = 0.4,
DisplayName = Lighter,
ActivatedItem = TRUE,
Icon = Lighter,
MetalValue = 1,
cantBeConsolided = TRUE,
StaticModel = Zippo,
WorldStaticModel = ZippoGround,
ticksPerEquipUse = 110,
Tags = StartFire;Lighter,
}
}}
}}


==History==
==History==
{| class="wikitable" width="550" style="text-align:center;"
{| class="wikitable theme-red" width="550" style="text-align:center;"
|-
|-
! colspan="2" | Alpha  
! colspan="2" | Alpha
|-
|-
| RC 2.9 || Added to the game
| RC 2.9 || Added to the game
Line 260: Line 486:
*[[Matches]]
*[[Matches]]
*[[Flashlight]]
*[[Flashlight]]
*[[Heat Source]]
*[[Heat source]]
*[[Fire]]
*[[Fire]]


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

Latest revision as of 19:23, 30 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.
Lighter
Zippo Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
Fire starting
Light source
Properties
Contents
Lighter fluid
Capacity
32 units
Light distance
2 tiles
Light strength
0.4
Technical
Item ID
Base.Lighter

A lighter is a drainable item with various uses.

Usage

A 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, 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 that of 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 a lighter and turn it on. Once equipped, pressing F will turn it on or off.

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.

Lighter distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_ALICEpack Bag_ALICEpack 1.01%
Bag_ALICEpack_Army Bag_ALICEpack_Army 1.01%
Bag_BigHikingBag Bag_BigHikingBag 1.01%
Bag_Military Bag_Military 1.01%
Bag_NormalHikingBag Bag_NormalHikingBag 1.01%
Bag_Satchel Bag_Satchel 1.01%
Bag_Schoolbag Bag_Schoolbag 1.01%
Handbag Handbag 1.01%
Purse Purse 1.01%
all crate 2.81%
all desk 10.78%
all inventoryfemale 0.71%
all inventorymale 0.71%
all other 2.81%
armysurplus counter 23.28%
armysurplus metal_shelves 23.28%
armysurplus shelves 23.28%
bar counter 23.28%
barkitchen counter 23.28%
barstorage counter 23.28%
bedroom desk 10.78%
beergarden counter 23.28%
conveniencestore shelves 23.28%
conveniencestore shelves 41.14%
cornerstore shelves 23.28%
cornerstore shelves 41.14%
drugshack counter 10.78%
empty crate 10.78%
fossoil counter 23.28%
fossoil counter 41.14%
fossoil shelves 23.28%
fossoil shelves 41.14%
gasstorage counter 10.78%
gasstorage crate 23.28%
gasstorage metal_shelves 23.28%
gasstore counter 23.28%
gasstore counter 41.14%
gasstore shelves 23.28%
gasstore shelves 41.14%
generalstore shelves 23.28%
generalstore shelves 41.14%
generalstorestorage counter 23.28%
generalstorestorage counter 41.14%
generalstorestorage shelves 23.28%
generalstorestorage shelves 41.14%
hall counter 10.78%
janitor counter 10.78%
jewelrystore counter 10.78%
kitchen counter 10.78%
liquorstore counter 23.28%
liquorstore counter 41.14%
livingroom counter 10.78%
lobby counter 10.78%
office desk 10.78%
plazastore1 counter 10.78%
policestorage counter 10.78%
prisoncells wardrobe 10.78%
schoolstorage counter 10.78%
zippeestorage counter 10.78%
zippeestorage crate 23.28%
zippeestorage metal_shelves 23.28%
zippeestore shelves 23.28%
zippeestore shelves 41.14%
Vehicles
Type Container Effective chance
Ambulance Glove Box 10.78%
Carpenter Glove Box 10.78%
Construction Worker Glove Box 10.78%
Distillery Glove Box 10.78%
Doctor Glove Box 10.78%
Electrician Glove Box 10.78%
Farmer Glove Box 10.78%
Fire Glove Box 10.78%
Fisherman Glove Box 10.78%
Fossoil Glove Box 10.78%
All Glove Box 10.78%
Golf Glove Box 10.78%
Heralds Glove Box 10.78%
Hunter Glove Box 10.78%
Mass Gen Fac Glove Box 10.78%
McCoy Glove Box 10.78%
Metal Welder Glove Box 10.78%
Painter Glove Box 10.78%
Police Glove Box 10.78%
Postal Glove Box 10.78%
Radio Glove Box 10.78%
Ranger Glove Box 10.78%
Spiffo Glove Box 10.78%
Survivalist Glove Box 10.78%
Taxi Glove Box 10.78%
Transit Glove Box 10.78%

Vehicles

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

Trivia

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 Lighter
	{
	    DisplayCategory = LightSource,
		LightDistance	=	2,
		Weight	=	0.1,
		Type	=	Drainable,
		UseWhileEquipped	=	TRUE,
		TorchCone	=	FALSE,
		LightStrength	=	0.4,
		DisplayName	=	Lighter,
		ActivatedItem	=	TRUE,
		Icon	=	Lighter,
		MetalValue = 1,
		cantBeConsolided = TRUE,
		StaticModel = Zippo,
		WorldStaticModel = ZippoGround,
		ticksPerEquipUse = 110,
		Tags = StartFire;Lighter,
	}

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