Lighter: Difference between revisions

From PZwiki
No edit summary
m (Distribution table update)
(40 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}}
{{Infobox item
|name=Lighter
|model=Zippo_Model.png
|icon=Lighter.png
|icon_name=Lighter
|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.
 
==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.


{{Items
==Crafting==
| image = Lighter.png
{{Crafting/sandbox2
| weight = 0.1
|lit_candle
}}
}}


==Description==
==Distribution==
The '''lighter''' is a handy tool which can be used to generate light, light up unlit candles, to light a [[Molotov cocktail]] or to burn zombie corpses. To light a molotov, the lighter has to be in the secondary slot of the inventory. To burn a zombie corpse, you need a lighter in the primary slot and a [[Gas Can]] in the secondary slot. The lighter can be found in many [[Containers|kitchen drawers]] and on zombies.
The loot distributions can be found in the table(s) below.


The light provided by the lighter is far inferior to the flashlight but will let you see a short distance around you if you lack light.
<!--BOT FLAG|Lighter|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Lighter distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Lighter">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|Bag_ALICEpack}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|crate}}
    | 1
    | 4.0
    |-
    | all
    | {{ll|desk}}
    | 4
    | 4.0
    |-
    | all
    | {{ll|inventoryfemale}}
    | 1
    | 0.5
    |-
    | all
    | {{ll|other}}
    | 1
    | 4.0
    |-
    | armysurplus
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | bar
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | bedroom
    | {{ll|desk}}
    | 4
    | 4.0
    |-
    | conveniencestore
    | {{ll|shelves}}
    | 4
    | 20.0
    |-
    | conveniencestore
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | drugshack
    | {{ll|counter}}
    | 4
    | 4.0
    |-
    | empty
    | {{ll|crate}}
    | 4
    | 4.0
    |-
    | gasstorage
    | {{ll|counter}}
    | 4
    | 4.0
    |-
    | gasstorage
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 4.0
    |-
    | office
    | {{ll|desk}}
    | 4
    | 4.0
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 4
    | 4.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | AmbulanceGloveBox
    | 4
    | 4
    |-
    | CarpenterGloveBox
    | 4
    | 4
    |-
    | ConstructionWorkerGloveBox
    | 4
    | 4
    |-
    | DistilleryGloveBox
    | 4
    | 4
    |-
    | DoctorGloveBox
    | 4
    | 4
    |-
    | ElectricianGloveBox
    | 4
    | 4
    |-
    | FarmerGloveBox
    | 4
    | 4
    |-
    | FireGloveBox
    | 4
    | 4
    |-
    | FishermanGloveBox
    | 4
    | 4
    |-
    | FossoilGloveBox
    | 4
    | 4
    |-
    | GloveBox
    | 4
    | 4
    |-
    | GolfGloveBox
    | 4
    | 4
    |-
    | HeraldsGloveBox
    | 4
    | 4
    |-
    | HunterGloveBox
    | 4
    | 4
    |-
    | MassGenFacGloveBox
    | 4
    | 4
    |-
    | McCoyGloveBox
    | 4
    | 4
    |-
    | MetalWelderGloveBox
    | 4
    | 4
    |-
    | PainterGloveBox
    | 4
    | 4
    |-
    | PoliceGloveBox
    | 4
    | 4
    |-
    | PostalGloveBox
    | 4
    | 4
    |-
    | RadioGloveBox
    | 4
    | 4
    |-
    | RangerGloveBox
    | 4
    | 4
    |-
    | SpiffoGloveBox
    | 4
    | 4
    |-
    | SurvivalistGlovebox
    | 4
    | 4
    |-
    | TaxiGloveBox
    | 4
    | 4
    |-
    | TransitGloveBox
    | 4
    | 4
    |}
</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-->


==Crafting==
===Vehicles===
{| class="wikitable sortable" style="text-align:center;"
{| class="wikitable theme-red" style="text-align:center;"
|-
!Profession
!Container
!Rolls
!Chance
|-
|rowspan=2|All
|[[Glove Box]]
|1
|5
|-
|-
! Name
<!--|All -->
! class="unsortable" | Recipe
|[[Seat]]
! class="unsortable" | Description
|1
{{RecipeLookup|4004}}
|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==
<nowiki>item Lighter
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 827
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Lighter
{
{
    DisplayCategory = LightSource,
LightDistance = 2,
LightDistance = 2,
Weight = 0.1,
Weight = 0.1,
Type = Drainable,
Type = Drainable,
UseWhileEquipped = FALSE,
UseWhileEquipped = TRUE,
TorchCone = FALSE,
TorchCone = FALSE,
LightStrength = 0.4,
LightStrength = 0.4,
Line 33: Line 291:
ActivatedItem = TRUE,
ActivatedItem = TRUE,
Icon = Lighter,
Icon = Lighter,
}</nowiki>
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
|-
| RC 2.9 || Added to the game
|-
| 2.9.9.17<br>Build 23 || All light sources are a bit stronger
|-
|-
! Alpha ||
| Build 28 || Burn zombie corpses ! It'll need some petrol and a lighter/matches.
|-
|-
| RC 2.9 || Add History here.
| Build 35 || Bug Fix: lighter can't be consolidated
|}
|}


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


{{Navbox/Tools}}
{{Navbox items|survival}}
[[Category:Tools]]
[[Category:Items]]
[[Category:Version 0.2.0p]]
[[Category:Illumination]]

Revision as of 15:54, 24 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
Containers
Building / Room Container Rolls Chance
all Bag_ALICEpack 1 1.0
all crate 1 4.0
all desk 4 4.0
all inventoryfemale 1 0.5
all other 1 4.0
armysurplus counter 4 10.0
bar counter 4 10.0
bedroom desk 4 4.0
conveniencestore shelves 4 20.0
conveniencestore shelves 4 10.0
drugshack counter 4 4.0
empty crate 4 4.0
gasstorage counter 4 4.0
gasstorage crate 4 10.0
kitchen counter 4 4.0
office desk 4 4.0
prisoncells wardrobe 4 4.0
Vehicles
Vehicle Type/Location Rolls Chance
AmbulanceGloveBox 4 4
CarpenterGloveBox 4 4
ConstructionWorkerGloveBox 4 4
DistilleryGloveBox 4 4
DoctorGloveBox 4 4
ElectricianGloveBox 4 4
FarmerGloveBox 4 4
FireGloveBox 4 4
FishermanGloveBox 4 4
FossoilGloveBox 4 4
GloveBox 4 4
GolfGloveBox 4 4
HeraldsGloveBox 4 4
HunterGloveBox 4 4
MassGenFacGloveBox 4 4
McCoyGloveBox 4 4
MetalWelderGloveBox 4 4
PainterGloveBox 4 4
PoliceGloveBox 4 4
PostalGloveBox 4 4
RadioGloveBox 4 4
RangerGloveBox 4 4
SpiffoGloveBox 4 4
SurvivalistGlovebox 4 4
TaxiGloveBox 4 4
TransitGloveBox 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