Lighter: Difference between revisions

From PZwiki
(Automated update of distribution header)
m (Remove lines))
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Equipment|Light sources}}
{{Header|Project Zomboid|Items|Illumination|type=Tool|version=Version 41|incver=65}}
{{Page version|41.65}}
{{Infobox drainable
{{Infobox item
|display_name=Lighter
|name=Lighter
|name_colour=Tool
|model=Zippo_Model.png
|name_text_colour=Tool
|icon=Lighter.png
|image=Zippo Model.png
|icon_name=Lighter
|image_width=200px
|alternate_image=Lighter.png
|alternate_name=Lighter
|alternate_link=
|weight=0.1
|weight=0.1
|primary_use=Fire starting
|primary_use=Fire starting
Line 17: Line 13:
|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]]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.
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 header|ing=2}}
{{Crafting/sandbox2
{{Crafting general|004|ing=2}}
|lit_candle
|}
}}


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.
Line 39: Line 34:
! colspan="4" | Containers
! colspan="4" | Containers
|-
|-
!Building/Room
! Building/Room
!Container
! Container
! style="width: 3.2em;" |Rolls
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" | Chance
|-
| rowspan="1"|all
| [[other]]
| 1
| 4
|-
| rowspan="1"|armysurplus
| [[counter]]
| 4
| 1
|-
| rowspan="1"|bar
| [[counter]]
| 4
| 1
|-
| rowspan="2"|bedroom
| [[desk]]
| 4
| 4
|-
|-
|rowspan="2"|all
|[[desk]]
|[[desk]]
|4
|4
|4
|4
|-
|-
| rowspan="2"|conveniencestore
|[[other]]
| [[shelves]]  
|1
| 4
|4
| 1
|-
|-
|[[shelves]]
|armysurplus
|[[counter]]
|4
|4
|2
|1
|-
|-
| rowspan="1"|drugshack
|bar
| [[counter]]
|[[counter]]
| 4
| 4
|-
| rowspan="1"|empty
| [[crate]]
| 4
| 4
|-
| rowspan="2"|gasstorage
| [[counter]]
| 4
| 4
|-
|[[crate]]
|4
|4
|1
|1
|-
|-
| rowspan="1"|kitchen
|rowspan="2"|bedroom
| [[counter]]  
|[[desk]]
| 4  
|4
| 4
|4
|-
|-
| rowspan="1"|office
|[[desk]]
| [[desk]]  
|4
| 4  
| 4
|-
| rowspan="1"|prisoncells
| [[wardrobe]]
| 4
| 4
|}
 
===Buildings===
{| class="wikitable theme-red" style="text-align:center;"
|-
!Building/Room
!Container
!Rolls
!Chance
|-
|rowspan=7|All
|[[Containers#Bedroom Storage|Wardrobe]]
|4
|4
|2
|-
|-
<!--|All-->
|rowspan="2"|conveniencestore
|[[Containers#Crates|Crate]]
|[[shelves]]
|1
|4
|4
|-
<!--|All-->
|[[Containers#Bedroom Storage|Side Table]]
|1
|1
|2
|-
|-
<!--|All-->
|[[shelves]]
|[[Containers#Bins|Bin]]
|4
|1
|2
|2
|-
|-
<!--|All-->
|drugshack
|[[Containers#Desks|Office Drawers]]
|[[counter]]
|1
|4
|3
|4
|-
|-
<!--|All-->
|empty
|[[Containers|Other]]
|[[crate]]
|1
|3
|-
<!--|All-->
|[[Garbage Bag]]
|1
|1
|-
|rowspan=3|Bar
|[[Containers#Shelves|Shelves]]
|4
|4
|3
|-
<!--|Bar-->
|[[Containers#Counters|Counter]]
|2
|3
|-
<!--|Bar-->
|[[Containers#Bins|Bin]]
|1
|2
|-
|Convenience Store
|[[Containers#Shelves|Shelves]]
|4
|4
|2 (x3)
|-
|rowspan=2|Corner Store
|[[Containers#Counters|Counter]]
|2
|2 (x2)
|-
<!--|Corner Store-->
|[[Containers#Counters|Counter]]
|2
|2 (x2)
|-
|-
|rowspan=3|Fossoil
|rowspan="2"|gasstorage
|[[Containers#Counters|Counter]]
|[[counter]]
|4
|4
|2 (x2)
|-
<!--|Fossoil-->
|[[Containers#Shelves|Shelves]]
|4
|4
|2 (x2)
|-
|-
<!--|Fossoil-->
|[[crate]]
|[[Containers#Crates|Crate]]
|4
|4
|2 (x2)
|-
|Grocery Storage
|[[Containers#Bins|Bin]]
|1
|1
|2
|-
|-
|rowspan=2|Grocery
|kitchen
|[[Containers#Counters|Counter]]
|[[counter]]
|4
|4
|4
|2 (x2)
|-
|-
<!--|Grocery-->
|office
|[[Containers#Crates|Crate]]
|[[desk]]
|4
|4
|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-->
|prisoncells
|[[Containers#Shelves|Shelves]]
|[[wardrobe]]
|4
|4
|2 (x2)
|-
<!--|Zippee Store-->
|[[Containers#Crates|Crate]]
|4
|4
|2 (x2)
|}
|}


Line 312: Line 137:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
   | start =  
   | start = 827
   | source = items.txt
   | source = items.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 65
   | code =
   | code =
item Lighter
item Lighter
{
{
  DisplayCategory     = LightSource,
    DisplayCategory = LightSource,
  LightDistance       = 2,
LightDistance = 2,
  Weight               = 0.1,
Weight = 0.1,
  Type                 = Drainable,
Type = Drainable,
  UseWhileEquipped     = TRUE,
UseWhileEquipped = TRUE,
  TorchCone           = FALSE,
TorchCone = FALSE,
  LightStrength       = 0.4,
LightStrength = 0.4,
  DisplayName         = Lighter,
DisplayName = Lighter,
  ActivatedItem       = TRUE,
ActivatedItem = TRUE,
  Icon                 = Lighter,
Icon = Lighter,
  MetalValue           = 1,
MetalValue = 1,
  cantBeConsolided     = TRUE,
cantBeConsolided = TRUE,
  StaticModel         = Zippo,
StaticModel = Zippo,
  WorldStaticModel     = ZippoGround,
WorldStaticModel = ZippoGround,
  ticksPerEquipUse     = 110,
ticksPerEquipUse = 110,
  Tags                 = StartFire,
Tags = StartFire;Lighter,
}
}
  }}
}}
}}
}}


Line 344: Line 168:
{| class="wikitable theme-red" 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 358: Line 182:
*[[Matches]]
*[[Matches]]
*[[Flashlight]]
*[[Flashlight]]
*[[Heat Source]]
*[[Heat source]]
*[[Fire]]
*[[Fire]]


{{Navbox equipment}}
{{Navbox items|survival}}

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

Containers
Building/Room Container Rolls Chance
all desk 4 4
other 1 4
armysurplus counter 4 1
bar counter 4 1
bedroom desk 4 4
desk 4 4
conveniencestore shelves 4 1
shelves 4 2
drugshack counter 4 4
empty crate 4 4
gasstorage counter 4 4
crate 4 1
kitchen counter 4 4
office desk 4 4
prisoncells wardrobe 4 4

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