Lighter: Difference between revisions

From PZwiki
m (grammar)
m (Remove lines))
(36 intermediate revisions by 11 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Equipment|Light sources}}
{{languages|Lighter}}
{{Page version|41.65}}
{{header|The Game World|Items|Illumination|version=Version 39|incver=52}}
{{Infobox item
{{Tools
|name=Lighter
| image = Lighter_120px.png
|model=Zippo_Model.png
| primaryuse = Start Fires
|icon=Lighter.png
| otheruses = Light Source
|icon_name=Lighter
| weight = 0.1
|weight=0.1
|primary_use=Fire starting
|secondary_use=Light source
|max_units=32
|contents=Lighter fluid
|light_distance=2
|light_strength=0.4
|item_id=Base.Lighter
}}
}}
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]].
A '''lighter''' is a drainable item with various uses.


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.
==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.


===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 {{key|F}} will turn it on or off.


==Crafting==
==Crafting==
{| class="wikitable sortable" style="text-align:center;"
{{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
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="2"|all
|[[desk]]
|4
|4
|-
|[[other]]
|1
|4
|-
|armysurplus
|[[counter]]
|4
|1
|-
|bar
|[[counter]]
|4
|1
|-
|rowspan="2"|bedroom
|[[desk]]
|4
|4
|-
|[[desk]]
|4
|4
|-
|-
! Name
|rowspan="2"|conveniencestore
! class="unsortable" | Recipe
|[[shelves]]
! class="unsortable" | Description
|4
! Level
|1
{{RecipeLookup|4004}}
|-
|[[shelves]]
|4
|2
|-
|drugshack
|[[counter]]
|4
|4
|-
|empty
|[[crate]]
|4
|4
|-
|rowspan="2"|gasstorage
|[[counter]]
|4
|4
|-
|[[crate]]
|4
|1
|-
|kitchen
|[[counter]]
|4
|4
|-
|office
|[[desk]]
|4
|4
|-
|prisoncells
|[[wardrobe]]
|4
|4
|}
|}


===Vehicles===
{| class="wikitable theme-red" style="text-align:center;"
|-
!Profession
!Container
!Rolls
!Chance
|-
|rowspan=2|All
|[[Glove Box]]
|1
|5
|-
<!--|All -->
|[[Seat]]
|1
|1
|}
==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]].


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
<nowiki>
| {{CodeSnip
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,
Weight = 0.1,
</nowiki>
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 56: Line 179:
|}
|}


 
==See also==
==See Also==
*[[Matches]]
*[[Matches]]
*[[Flashlight]]
*[[Flashlight]]
*[[Heat Source]]
*[[Heat source]]
*[[Fire]]
*[[Fire]]


{{Navbox/Tools}}
{{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