Flashlight: Difference between revisions
(Removed disproven info + updated to build 41.52 + replaced crafting table/template) |
m (added more info and included torches) |
||
Line 17: | Line 17: | ||
|torch_cone = True | |torch_cone = True | ||
|class_name=Base.Torch | |class_name=Base.Torch | ||
}} | }}'''Flashlights''' or '''Torches''' are drainable [[items|items]] that provide a source of light. | ||
==Usage== | ==Usage== | ||
A flashlight | A flashlight or torch can be used to provide light for the [[player]] when it is dark. To use them, it must be equipped in either the primary or secondary hand, meaning a [[weapon]] will either be made to [[weapons#one-handed|one-handed]] or unequipped. The light can be toggled with {{key|F}}. The light will be shone in a cone in front of the player. The torch is weaker than the flashlight, the strongest equippable light source in the game. | ||
Flashlights and torches requires a [[battery|battery]] to function. Some spawn with one, so check how much yours has. As the light is used, the battery will gradually drain. When the battery is low, the light will begin to flicker. Once completely drained, the battery will be {{abbr|consumed|disappears}} and a new battery will need to be put into the flashlight for it to function again. A full battery can be taken out of a flashlight or torch if needed for another [[Electricity and Engineering|device]]. | |||
==Crafting== | ==Crafting== |
Revision as of 01:15, 10 August 2022
Template:Infobox drainableFlashlights or Torches are drainable items that provide a source of light.
Usage
A flashlight or torch can be used to provide light for the player when it is dark. To use them, it must be equipped in either the primary or secondary hand, meaning a weapon will either be made to one-handed or unequipped. The light can be toggled with F. The light will be shone in a cone in front of the player. The torch is weaker than the flashlight, the strongest equippable light source in the game.
Flashlights and torches requires a battery to function. Some spawn with one, so check how much yours has. As the light is used, the battery will gradually drain. When the battery is low, the light will begin to flicker. Once completely drained, the battery will be consumed and a new battery will need to be put into the flashlight for it to function again. A full battery can be taken out of a flashlight or torch if needed for another device.
Crafting
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Flashlight |
0 XP | none | Flashlight (consumed) |
Battery (consumed) | |
Battery |
0 XP | none | (keep) |
Carpentry
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 | Ingredient 4 | Ingredient 5 |
---|---|---|---|---|---|---|---|---|
Lamp on Pillar |
1.25 Carpentry | Carpentry 4 | Hammer (tag) (keep) |
Plank x2 (consumed) |
Nails x4 (consumed) |
Rope x1 (consumed) |
Flashlight x1 (consumed) |
Code
From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.52
item Torch { LightDistance = 25, Weight = 1, DisappearOnUse = FALSE, Type = Drainable, TorchCone = TRUE, UseDelta = 0.0009, LightStrength = 2, TorchDot = 0.66, DisplayName = Flashlight, ActivatedItem = TRUE, Icon = Flashlight, MetalValue = 10, cantBeConsolided = TRUE, StaticModel = FlashLight, primaryAnimMask = HoldingTorchRight, secondaryAnimMask = HoldingTorchLeft, }